class Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ListPoliciesResponse
The response returned from the ListPolicies method. It will be empty if no ` Policies` are set on the resource.
Attributes
next_page_token[RW]
Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token. Corresponds to the JSON property `nextPageToken` @return [String]
policies[RW]
All `Policies` that exist on the resource. It will be empty if no `Policies` are set. Corresponds to the JSON property `policies` @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/orgpolicy_v2/classes.rb, line 182 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/orgpolicy_v2/classes.rb, line 187 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @policies = args[:policies] if args.key?(:policies) end