Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest
- 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 Field within a Label.
Instance Attribute Summary collapse
-
#field ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaField
Defines a field that has a display name, data type, and other configuration options.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest.
464 465 466 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 464 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaField
Defines a field that has a display name, data type, and other configuration
options. This field defines the kind of metadata that may be set on a Drive
item.
Corresponds to the JSON property field
462 463 464 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 462 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
469 470 471 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 469 def update!(**args) @field = args[:field] if args.key?(:field) end |