Class: Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest

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 request sent to the ListOrgPolicies method.

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) ⇒ ListOrgPoliciesRequest

Returns a new instance of ListOrgPoliciesRequest



254
255
256
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 254

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)


252
253
254
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 252

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)


245
246
247
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 245

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



259
260
261
262
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 259

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