Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest
- 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 update Field properties.
Instance Attribute Summary collapse
-
#id ⇒ String
Required.
-
#properties ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldProperties
The basic properties of the field.
-
#update_mask ⇒ String
The fields that should be updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest.
767 768 769 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Required. The Field to update.
Corresponds to the JSON property id
753 754 755 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 753 def id @id end |
#properties ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldProperties
The basic properties of the field.
Corresponds to the JSON property properties
758 759 760 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 758 def properties @properties end |
#update_mask ⇒ String
The fields that should be updated. At least one field must be specified. The
root properties
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
765 766 767 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 765 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
772 773 774 775 776 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 772 def update!(**args) @id = args[:id] if args.key?(:id) @properties = args[:properties] if args.key?(:properties) @update_mask = args[:update_mask] if args.key?(:update_mask) end |