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.



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

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:



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

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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