Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
- 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
-
#field_id ⇒ String
Required.
-
#id ⇒ String
Required.
-
#properties ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties
Basic properties of the choice.
-
#update_mask ⇒ String
The fields that should be updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest.
895 896 897 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 895 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_id ⇒ String
Required. The Selection Field to update.
Corresponds to the JSON property fieldId
876 877 878 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 876 def field_id @field_id end |
#id ⇒ String
Required. The Choice to update.
Corresponds to the JSON property id
881 882 883 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 881 def id @id end |
#properties ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties
Basic properties of the choice.
Corresponds to the JSON property properties
886 887 888 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 886 def properties @properties end |
#update_mask ⇒ String
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
893 894 895 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 893 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
900 901 902 903 904 905 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 900 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 |