Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest.



508
509
510
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 508

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

Instance Attribute Details

#idString

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

Returns:

  • (String)


506
507
508
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 506

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



513
514
515
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 513

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