Class: Google::Apis::AccesscontextmanagerV1beta::ListAccessPoliciesResponse

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 ListAccessPoliciesRequest.

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) ⇒ ListAccessPoliciesResponse


321
322
323
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 321

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

Instance Attribute Details

#access_policiesArray<Google::Apis::AccesscontextmanagerV1beta::AccessPolicy>

List of the AccessPolicy instances. Corresponds to the JSON property accessPolicies


313
314
315
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 313

def access_policies
  @access_policies
end

#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


319
320
321
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 319

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


326
327
328
329
# File 'generated/google/apis/accesscontextmanager_v1beta/classes.rb', line 326

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