Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest

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 enable the Field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest.



626
627
628
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 626

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

Required. ID of the Field to enable. Corresponds to the JSON property id

Returns:

  • (String)


624
625
626
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 624

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



631
632
633
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 631

def update!(**args)
  @id = args[:id] if args.key?(:id)
end