Class: Google::Apis::AccesscontextmanagerV1::ListServicePerimetersResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/accesscontextmanager_v1/classes.rb,
generated/google/apis/accesscontextmanager_v1/representations.rb,
generated/google/apis/accesscontextmanager_v1/representations.rb

Overview

A response to ListServicePerimetersRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListServicePerimetersResponse

Returns a new instance of ListServicePerimetersResponse.


541
542
543
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 541

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

The pagination token to retrieve the next page of results. If the value is empty, no further results remain. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

534
535
536
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 534

def next_page_token
  @next_page_token
end

#service_perimetersArray<Google::Apis::AccesscontextmanagerV1::ServicePerimeter>

List of the Service Perimeter instances. Corresponds to the JSON property servicePerimeters


539
540
541
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 539

def service_perimeters
  @service_perimeters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


546
547
548
549
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 546

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @service_perimeters = args[:service_perimeters] if args.key?(:service_perimeters)
end