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.



3043
3044
3045
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3043

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)


3036
3037
3038
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3036

def next_page_token
  @next_page_token
end

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

The results Corresponds to the JSON property policies



3041
3042
3043
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3041

def policies
  @policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3048
3049
3050
3051
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3048

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