Class: Google::Apis::ContentV2_1::ListAccountLabelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ListAccountLabelsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Overview
Response message for the ListAccountLabels
method.
Instance Attribute Summary collapse
-
#account_labels ⇒ Array<Google::Apis::ContentV2_1::AccountLabel>
The labels from the specified account.
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAccountLabelsResponse
constructor
A new instance of ListAccountLabelsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAccountLabelsResponse
Returns a new instance of ListAccountLabelsResponse.
3743 3744 3745 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_labels ⇒ Array<Google::Apis::ContentV2_1::AccountLabel>
The labels from the specified account.
Corresponds to the JSON property accountLabels
3735 3736 3737 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3735 def account_labels @account_labels end |
#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
3741 3742 3743 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3741 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3748 3749 3750 3751 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3748 def update!(**args) @account_labels = args[:account_labels] if args.key?(:account_labels) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |