Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest

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

Request to update a Choice properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest.



889
890
891
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 889

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

Instance Attribute Details

#field_idString

Required. The Selection Field to update. Corresponds to the JSON property fieldId

Returns:

  • (String)


870
871
872
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 870

def field_id
  @field_id
end

#idString

Required. The Choice to update. Corresponds to the JSON property id

Returns:

  • (String)


875
876
877
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 875

def id
  @id
end

#propertiesGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties

Basic properties of the choice. Corresponds to the JSON property properties



880
881
882
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 880

def properties
  @properties
end

#update_maskString

The fields that should be updated. At least one field must be specified. The root properties is implied and should not be specified. A single * can be used as short-hand for updating every field. Corresponds to the JSON property updateMask

Returns:

  • (String)


887
888
889
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 887

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



894
895
896
897
898
899
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 894

def update!(**args)
  @field_id = args[:field_id] if args.key?(:field_id)
  @id = args[:id] if args.key?(:id)
  @properties = args[:properties] if args.key?(:properties)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end