Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest

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 a Choice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest.



532
533
534
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 532

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

Instance Attribute Details

#field_idString

Required. The Selection Field from which a Choice will be deleted. Corresponds to the JSON property fieldId

Returns:

  • (String)


525
526
527
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 525

def field_id
  @field_id
end

#idString

Required. Choice to delete. Corresponds to the JSON property id

Returns:

  • (String)


530
531
532
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 530

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



537
538
539
540
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 537

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