Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse
- 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 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) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse.
953 954 955 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 953 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
945 946 947 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 945 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
951 952 953 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 951 def priority @priority end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
958 959 960 961 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 958 def update!(**args) @id = args[:id] if args.key?(:id) @priority = args[:priority] if args.key?(:priority) end |