Class: Google::Apis::AccesscontextmanagerV1beta::ListServicePerimetersResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/accesscontextmanager_v1beta/classes.rb,
generated/google/apis/accesscontextmanager_v1beta/representations.rb,
generated/google/apis/accesscontextmanager_v1beta/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


347
348
349
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 347

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)

340
341
342
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 340

def next_page_token
  @next_page_token
end

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

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


345
346
347
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 345

def service_perimeters
  @service_perimeters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


352
353
354
355
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 352

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