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.



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

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)


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

def priority
  @priority
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1213
1214
1215
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1213

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