Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse

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

Response following update to Selection Choice properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse.



1202
1203
1204
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1202

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

Instance Attribute Details

#priorityFixnum

The priority of the updated choice. The priority may change from what was specified to assure contiguous priorities between choices (1-n). Corresponds to the JSON property priority

Returns:

  • (Fixnum)


1200
1201
1202
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1200

def priority
  @priority
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1207
1208
1209
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1207

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