Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest
- 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 create a Selection Choice.
Instance Attribute Summary collapse
-
#choice ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice
Selection field choice.
-
#field_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest.
488 489 490 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 488 def initialize(**args) update!(**args) end |
Instance Attribute Details
#choice ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice
Selection field choice.
Corresponds to the JSON property choice
481 482 483 |
# File 'lib/google/apis/drivelabels_v2beta/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_v2beta/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_v2beta/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 |