Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLabelsResponse

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

Overview

Response for listing labels.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2ListLabelsResponse

Returns a new instance of GoogleAppsDriveLabelsV2ListLabelsResponse.



2867
2868
2869
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2867

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

Instance Attribute Details

#labelsArray<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label>

Labels. Corresponds to the JSON property labels



2860
2861
2862
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2860

def labels
  @labels
end

#next_page_tokenString

The token of the next page in the response. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2865
2866
2867
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2865

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2872
2873
2874
2875
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2872

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