Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest

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

A single kind of update to apply to a Label.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest.



725
726
727
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 725

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

Instance Attribute Details

#create_fieldGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest

Request to create a Field within a Label. Corresponds to the JSON property createField



668
669
670
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 668

def create_field
  @create_field
end

#create_selection_choiceGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest

Request to create a Selection Choice. Corresponds to the JSON property createSelectionChoice



673
674
675
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 673

def create_selection_choice
  @create_selection_choice
end

#delete_fieldGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest

Request to delete the Field. Corresponds to the JSON property deleteField



678
679
680
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 678

def delete_field
  @delete_field
end

#delete_selection_choiceGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest

Request to delete a Choice. Corresponds to the JSON property deleteSelectionChoice



683
684
685
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 683

def delete_selection_choice
  @delete_selection_choice
end

#disable_fieldGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest

Request to disable the Field. Corresponds to the JSON property disableField



688
689
690
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 688

def disable_field
  @disable_field
end

#disable_selection_choiceGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest

Request to disable a Choice. Corresponds to the JSON property disableSelectionChoice



693
694
695
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 693

def disable_selection_choice
  @disable_selection_choice
end

#enable_fieldGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest

Request to enable the Field. Corresponds to the JSON property enableField



698
699
700
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 698

def enable_field
  @enable_field
end

#enable_selection_choiceGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest

Request to enable a Choice. Corresponds to the JSON property enableSelectionChoice



703
704
705
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 703

def enable_selection_choice
  @enable_selection_choice
end

#update_fieldGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest

Request to update Field properties. Corresponds to the JSON property updateField



708
709
710
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 708

def update_field
  @update_field
end

#update_field_typeGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest

Request to change the type of a Field. Corresponds to the JSON property updateFieldType



713
714
715
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 713

def update_field_type
  @update_field_type
end

#update_labelGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest

Updates basic properties of a Label. Corresponds to the JSON property updateLabel



718
719
720
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 718

def update_label
  @update_label
end

#update_selection_choice_propertiesGoogle::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest

Request to update a Choice properties. Corresponds to the JSON property updateSelectionChoiceProperties



723
724
725
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 723

def update_selection_choice_properties
  @update_selection_choice_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 730

def update!(**args)
  @create_field = args[:create_field] if args.key?(:create_field)
  @create_selection_choice = args[:create_selection_choice] if args.key?(:create_selection_choice)
  @delete_field = args[:delete_field] if args.key?(:delete_field)
  @delete_selection_choice = args[:delete_selection_choice] if args.key?(:delete_selection_choice)
  @disable_field = args[:disable_field] if args.key?(:disable_field)
  @disable_selection_choice = args[:disable_selection_choice] if args.key?(:disable_selection_choice)
  @enable_field = args[:enable_field] if args.key?(:enable_field)
  @enable_selection_choice = args[:enable_selection_choice] if args.key?(:enable_selection_choice)
  @update_field = args[:update_field] if args.key?(:update_field)
  @update_field_type = args[:update_field_type] if args.key?(:update_field_type)
  @update_label = args[:update_label] if args.key?(:update_label)
  @update_selection_choice_properties = args[:update_selection_choice_properties] if args.key?(:update_selection_choice_properties)
end