Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest
- 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 the Field.
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.
-
#id ⇒ String
Required.
-
#update_mask ⇒ String
The fields that should be updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest.
565 566 567 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 565 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
551 552 553 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 551 def disabled_policy @disabled_policy end |
#id ⇒ String
Required. Key of the Field to disable.
Corresponds to the JSON property id
556 557 558 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 556 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
563 564 565 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 563 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
570 571 572 573 574 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 570 def update!(**args) @disabled_policy = args[:disabled_policy] if args.key?(:disabled_policy) @id = args[:id] if args.key?(:id) @update_mask = args[:update_mask] if args.key?(:update_mask) end |