Class: Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest
- 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 SearchOrganizations
method.
Instance Attribute Summary collapse
-
#filter ⇒ String
An optional query string used to filter the Organizations to return in the response.
-
#page_size ⇒ Fixnum
The maximum number of Organizations to return in the response.
-
#page_token ⇒ String
A pagination token returned from a previous call to
SearchOrganizations
that indicates from where listing should continue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchOrganizationsRequest
constructor
A new instance of SearchOrganizationsRequest.
-
#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) ⇒ SearchOrganizationsRequest
Returns a new instance of SearchOrganizationsRequest.
205 206 207 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ String
An optional query string used to filter the Organizations to return in the
response. Filter rules are case-insensitive. Organizations may be filtered by
owner.directoryCustomerId
or by domain
, where the domain is a Google for
Work domain, for example: |Filter|Description| |------|-----------| |owner.
directorycustomerid:123456789|Organizations with owner.directory_customer_id
equal to 123456789
.| |domain:google.com|Organizations corresponding to the
domain google.com
.| This field is optional.
Corresponds to the JSON property filter
203 204 205 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 203 def filter @filter end |
#page_size ⇒ Fixnum
The maximum number of Organizations to return in the response. This field is
optional.
Corresponds to the JSON property pageSize
186 187 188 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 186 def page_size @page_size end |
#page_token ⇒ String
A pagination token returned from a previous call to SearchOrganizations
that
indicates from where listing should continue. This field is optional.
Corresponds to the JSON property pageToken
192 193 194 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 192 def page_token @page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
210 211 212 213 214 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 210 def update!(**args) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @filter = args[:filter] if args.key?(:filter) end |