Class: Google::Apis::CssV1::ListChildAccountsResponse

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

Overview

Response message for the ListChildAccounts method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListChildAccountsResponse

Returns a new instance of ListChildAccountsResponse.



964
965
966
# File 'lib/google/apis/css_v1/classes.rb', line 964

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

Instance Attribute Details

#accountsArray<Google::Apis::CssV1::Account>

The CSS/MC accounts returned for the specified CSS parent account. Corresponds to the JSON property accounts

Returns:



956
957
958
# File 'lib/google/apis/css_v1/classes.rb', line 956

def accounts
  @accounts
end

#next_page_tokenString

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

Returns:

  • (String)


962
963
964
# File 'lib/google/apis/css_v1/classes.rb', line 962

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



969
970
971
972
# File 'lib/google/apis/css_v1/classes.rb', line 969

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