Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest
- 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 enable a Choice.
Instance Attribute Summary collapse
-
#field_id ⇒ String
Required.
-
#id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest.
650 651 652 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 650 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_id ⇒ String
Required. The Selection Field in which a Choice will be enabled.
Corresponds to the JSON property fieldId
643 644 645 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 643 def field_id @field_id end |
#id ⇒ String
Required. Choice to enable.
Corresponds to the JSON property id
648 649 650 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 648 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
655 656 657 658 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 655 def update!(**args) @field_id = args[:field_id] if args.key?(:field_id) @id = args[:id] if args.key?(:id) end |