Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#fieldGoogle::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