Class: Google::Apis::CloudidentityV1beta1::ListPoliciesResponse

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

Overview

The response message for PoliciesService.ListPolicies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPoliciesResponse

Returns a new instance of ListPoliciesResponse.



3156
3157
3158
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3156

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

Instance Attribute Details

#next_page_tokenString

The pagination token to retrieve the next page of results. If this field is empty, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3149
3150
3151
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3149

def next_page_token
  @next_page_token
end

#policiesArray<Google::Apis::CloudidentityV1beta1::Policy>

The results Corresponds to the JSON property policies



3154
3155
3156
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3154

def policies
  @policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3161
3162
3163
3164
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3161

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