Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLabelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLabelsResponse
- 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
-
#labels ⇒ Array<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label>
Labels.
-
#next_page_token ⇒ String
The token of the next page in the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2ListLabelsResponse
constructor
A new instance of GoogleAppsDriveLabelsV2ListLabelsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2ListLabelsResponse
Returns a new instance of GoogleAppsDriveLabelsV2ListLabelsResponse.
1431 1432 1433 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 1431 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Array<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label>
Labels.
Corresponds to the JSON property labels
1424 1425 1426 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 1424 def labels @labels end |
#next_page_token ⇒ String
The token of the next page in the response.
Corresponds to the JSON property nextPageToken
1429 1430 1431 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 1429 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1436 1437 1438 1439 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 1436 def update!(**args) @labels = args[:labels] if args.key?(:labels) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |