Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2/classes.rb,
lib/google/apis/drivelabels_v2/representations.rb,
lib/google/apis/drivelabels_v2/representations.rb
Overview
Response following Field create.
Instance Attribute Summary collapse
-
#id ⇒ String
The field of the created field.
-
#priority ⇒ Fixnum
The priority of the created field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
constructor
A new instance of GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
Returns a new instance of GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse.
947 948 949 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The field of the created field. When left blank in a create request, a key
will be autogenerated and can be identified here.
Corresponds to the JSON property id
939 940 941 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 939 def id @id end |
#priority ⇒ Fixnum
The priority of the created field. The priority may change from what was
specified to assure contiguous priorities between fields (1-n).
Corresponds to the JSON property priority
945 946 947 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 945 def priority @priority end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
952 953 954 955 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 952 def update!(**args) @id = args[:id] if args.key?(:id) @priority = args[:priority] if args.key?(:priority) end |