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.



2846
2847
2848
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2846

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

Instance Attribute Details

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

Labels. Corresponds to the JSON property labels



2839
2840
2841
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2839

def labels
  @labels
end

#next_page_tokenString

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

Returns:

  • (String)


2844
2845
2846
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2844

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2851
2852
2853
2854
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2851

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