Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2beta/classes.rb,
lib/google/apis/drivelabels_v2beta/representations.rb,
lib/google/apis/drivelabels_v2beta/representations.rb
Overview
Response for Label update.
Instance Attribute Summary collapse
-
#responses ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse>
The reply of the updates.
-
#updated_label ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLabel
A label defines a taxonomy that can be applied to Drive items in order to organize and search across items.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse.
926 927 928 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 926 def initialize(**args) update!(**args) end |
Instance Attribute Details
#responses ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse>
The reply of the updates. This maps 1:1 with the updates, although responses
to some requests may be empty.
Corresponds to the JSON property responses
916 917 918 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 916 def responses @responses end |
#updated_label ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLabel
A label defines a taxonomy that can be applied to Drive items in order to
organize and search across items. Labels can be simple strings, or can contain
fields that describe additional metadata that can be further used to organize
and search Drive items.
Corresponds to the JSON property updatedLabel
924 925 926 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 924 def updated_label @updated_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
931 932 933 934 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 931 def update!(**args) @responses = args[:responses] if args.key?(:responses) @updated_label = args[:updated_label] if args.key?(:updated_label) end |