Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest
- 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 disable a Choice.
Instance Attribute Summary collapse
-
#disabled_policy ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy
The policy that governs how to treat a disabled label, field, or selection choice in different contexts.
-
#field_id ⇒ String
Required.
-
#id ⇒ String
Required.
-
#update_mask ⇒ String
The fields that should be updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest.
604 605 606 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled_policy ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy
The policy that governs how to treat a disabled label, field, or selection
choice in different contexts.
Corresponds to the JSON property disabledPolicy
585 586 587 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 585 def disabled_policy @disabled_policy end |
#field_id ⇒ String
Required. The Selection Field in which a Choice will be disabled.
Corresponds to the JSON property fieldId
590 591 592 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 590 def field_id @field_id end |
#id ⇒ String
Required. Choice to disable.
Corresponds to the JSON property id
595 596 597 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 595 def id @id end |
#update_mask ⇒ String
The fields that should be updated. At least one field must be specified. The
root disabled_policy
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
602 603 604 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 602 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
609 610 611 612 613 614 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 609 def update!(**args) @disabled_policy = args[:disabled_policy] if args.key?(:disabled_policy) @field_id = args[:field_id] if args.key?(:field_id) @id = args[:id] if args.key?(:id) @update_mask = args[:update_mask] if args.key?(:update_mask) end |