Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse.



920
921
922
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 920

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

Instance Attribute Details

#responsesArray<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



910
911
912
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 910

def responses
  @responses
end

#updated_labelGoogle::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



918
919
920
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 918

def updated_label
  @updated_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



925
926
927
928
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 925

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