Class: Google::Apis::ContainerV1::ResourceManagerTags
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ResourceManagerTags
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags- firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.
Instance Attribute Summary collapse
-
#tags ⇒ Hash<String,String>
TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceManagerTags
constructor
A new instance of ResourceManagerTags.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceManagerTags
Returns a new instance of ResourceManagerTags.
5743 5744 5745 |
# File 'lib/google/apis/container_v1/classes.rb', line 5743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tags ⇒ Hash<String,String>
TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1.
tagKeys/
tag_key_id=tagValues/
tag_value_id2.
org_id/
tag_key_name=
tag_value_name3.
project_id/
tag_key_name=
tag_value_name`
Corresponds to the JSON property
tags`
5741 5742 5743 |
# File 'lib/google/apis/container_v1/classes.rb', line 5741 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5748 5749 5750 |
# File 'lib/google/apis/container_v1/classes.rb', line 5748 def update!(**args) @tags = args[:tags] if args.key?(:tags) end |