Class: Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest

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 SearchOrganizations 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) ⇒ SearchOrganizationsRequest

Returns a new instance of SearchOrganizationsRequest



1556
1557
1558
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1556

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

Instance Attribute Details

#filterString

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 G Suite domain, for example: clang-format off | Filter | Description | |-------------------------------------|----------------------------------| | owner.directorycustomerid:123456789 | Organizations with owner. directory_customer_id equal to 123456789.| | domain:google.com | Organizations corresponding to the domain google.com.| clang-format on This field is optional. Corresponds to the JSON property filter

Returns:

  • (String)


1541
1542
1543
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1541

def filter
  @filter
end

#page_sizeFixnum

The maximum number of Organizations to return in the response. This field is optional. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


1547
1548
1549
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1547

def page_size
  @page_size
end

#page_tokenString

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

Returns:

  • (String)


1554
1555
1556
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1554

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1561
1562
1563
1564
1565
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1561

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