Class: Google::Apis::CssV1::ListAccountLabelsResponse

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 ListAccountLabels method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAccountLabelsResponse

Returns a new instance of ListAccountLabelsResponse.



938
939
940
# File 'lib/google/apis/css_v1/classes.rb', line 938

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

Instance Attribute Details

#account_labelsArray<Google::Apis::CssV1::AccountLabel>

The labels from the specified account. Corresponds to the JSON property accountLabels



930
931
932
# File 'lib/google/apis/css_v1/classes.rb', line 930

def 
  @account_labels
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)


936
937
938
# File 'lib/google/apis/css_v1/classes.rb', line 936

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



943
944
945
946
# File 'lib/google/apis/css_v1/classes.rb', line 943

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