Class: Google::Apis::MarketingplatformadminV1alpha::ListOrganizationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MarketingplatformadminV1alpha::ListOrganizationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/marketingplatformadmin_v1alpha/classes.rb,
lib/google/apis/marketingplatformadmin_v1alpha/representations.rb,
lib/google/apis/marketingplatformadmin_v1alpha/representations.rb
Overview
Response message for ListOrganizations RPC.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#organizations ⇒ Array<Google::Apis::MarketingplatformadminV1alpha::Organization>
The Organization resource that the user has access to, which includes the org id and display name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListOrganizationsResponse
constructor
A new instance of ListOrganizationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListOrganizationsResponse
Returns a new instance of ListOrganizationsResponse.
290 291 292 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 290 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
282 283 284 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 282 def next_page_token @next_page_token end |
#organizations ⇒ Array<Google::Apis::MarketingplatformadminV1alpha::Organization>
The Organization resource that the user has access to, which includes the org
id and display name.
Corresponds to the JSON property organizations
288 289 290 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 288 def organizations @organizations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
295 296 297 298 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 295 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @organizations = args[:organizations] if args.key?(:organizations) end |