Class: Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest

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

Overview

The request sent to the ListAvailableOrgPolicyConstraints method on the project, folder, or organization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAvailableOrgPolicyConstraintsRequest

Returns a new instance of ListAvailableOrgPolicyConstraintsRequest.



931
932
933
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 931

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

Instance Attribute Details

#page_sizeFixnum

Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


923
924
925
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 923

def page_size
  @page_size
end

#page_tokenString

Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field. Corresponds to the JSON property pageToken

Returns:

  • (String)


929
930
931
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 929

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



936
937
938
939
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 936

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