Class: Google::Apis::ContainerV1beta1::ResourceManagerTags
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::ResourceManagerTags
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/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>
Tags 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.
6422 6423 6424 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tags ⇒ Hash<String,String>
Tags 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`
6420 6421 6422 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6420 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6427 6428 6429 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6427 def update!(**args) @tags = args[:tags] if args.key?(:tags) end |