Class: Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse
- Defined in:
- generated/google/apis/cloudresourcemanager_v1/classes.rb,
generated/google/apis/cloudresourcemanager_v1/representations.rb,
generated/google/apis/cloudresourcemanager_v1/representations.rb
Overview
The response returned from the ListOrgPolicies method. It will be empty
if no Policies
are set on the resource.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Page token used to retrieve the next page.
-
#policies ⇒ Array<Google::Apis::CloudresourcemanagerV1::OrgPolicy>
The
Policies
that are set on the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListOrgPoliciesResponse
constructor
A new instance of ListOrgPoliciesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListOrgPoliciesResponse
Returns a new instance of ListOrgPoliciesResponse
1008 1009 1010 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
1006 1007 1008 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1006 def next_page_token @next_page_token end |
#policies ⇒ Array<Google::Apis::CloudresourcemanagerV1::OrgPolicy>
The Policies
that are set on the resource. It will be empty if no
Policies
are set.
Corresponds to the JSON property policies
1000 1001 1002 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1000 def policies @policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1013 1014 1015 1016 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1013 def update!(**args) @policies = args[:policies] if args.key?(:policies) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |