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

Constructor Details

#initialize(**args) ⇒ ListServicePerimetersResponse

Returns a new instance of ListServicePerimetersResponse.



891
892
893
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 891

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)


884
885
886
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 884

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



889
890
891
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 889

def service_perimeters
  @service_perimeters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



896
897
898
899
# File 'generated/google/apis/accesscontextmanager_v1/classes.rb', line 896

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