Class: Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListOrgPoliciesResponse

Returns a new instance of ListOrgPoliciesResponse



819
820
821
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 819

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


811
812
813
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 811

def next_page_token
  @next_page_token
end

#policiesArray<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



817
818
819
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 817

def policies
  @policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



824
825
826
827
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 824

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