Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
- 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
Request to create a Selection Choice.
Instance Attribute Summary collapse
-
#choice ⇒ Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
Selection field choice.
-
#field_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
constructor
A new instance of GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
Returns a new instance of GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest.
488 489 490 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 488 def initialize(**args) update!(**args) end |
Instance Attribute Details
#choice ⇒ Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
Selection field choice.
Corresponds to the JSON property choice
481 482 483 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 481 def choice @choice end |
#field_id ⇒ String
Required. The Selection Field in which a Choice will be created.
Corresponds to the JSON property fieldId
486 487 488 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 486 def field_id @field_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
493 494 495 496 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 493 def update!(**args) @choice = args[:choice] if args.key?(:choice) @field_id = args[:field_id] if args.key?(:field_id) end |