Class: Google::Apis::ManagerV1beta2::Tag
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::Tag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Overview
A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource.
Instance Attribute Summary collapse
-
#finger_print ⇒ String
The fingerprint of the tag.
-
#items ⇒ Array<String>
Items contained in this tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Tag
constructor
A new instance of Tag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Tag
Returns a new instance of Tag
1212 1213 1214 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finger_print ⇒ String
The fingerprint of the tag.
Corresponds to the JSON property fingerPrint
1205 1206 1207 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1205 def finger_print @finger_print end |
#items ⇒ Array<String>
Items contained in this tag.
Corresponds to the JSON property items
1210 1211 1212 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1210 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1217 1218 1219 1220 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1217 def update!(**args) @finger_print = args[:finger_print] if args.key?(:finger_print) @items = args[:items] if args.key?(:items) end |