Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse

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 Selection Choice create.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse

Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse.



972
973
974
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 972

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

Instance Attribute Details

#field_idString

The server-generated id of the field. Corresponds to the JSON property fieldId

Returns:

  • (String)


965
966
967
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 965

def field_id
  @field_id
end

#idString

The server-generated ID of the created choice within the Field Corresponds to the JSON property id

Returns:

  • (String)


970
971
972
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 970

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



977
978
979
980
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 977

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