Class: Google::Apis::AccesscontextmanagerV1::ListAccessPoliciesResponse

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

Overview

A response to ListAccessPoliciesRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAccessPoliciesResponse

Returns a new instance of ListAccessPoliciesResponse.



1343
1344
1345
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1343

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

Instance Attribute Details

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

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



1335
1336
1337
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1335

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

Returns:

  • (String)


1341
1342
1343
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1341

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1348
1349
1350
1351
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1348

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