Class: Google::Apis::ComputeAlpha::RouterParams
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RouterParams
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Additional router parameters.
Instance Attribute Summary collapse
-
#resource_manager_tags ⇒ Hash<String,String>
Tag keys/values directly bound to this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RouterParams
constructor
A new instance of RouterParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RouterParams
Returns a new instance of RouterParams.
55169 55170 55171 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 55169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_manager_tags ⇒ Hash<String,String>
Tag keys/values directly bound to this resource. The field is allowed for
INSERT only. The keys/values to set on the resource should be specified in
either ID : or Namespaced format :. For example the following are
valid inputs: * "tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/
456" * "123/environment" : "production", "345/abc" : "xyz" Note: * Invalid
combinations of ID & namespaced format is not supported. For instance: "123/
environment" : "tagValues/444" is invalid. * Inconsistent format is not
supported. For instance: "tagKeys/333" : "tagValues/444", "123/env" : "prod"
is invalid.
Corresponds to the JSON property resourceManagerTags
55167 55168 55169 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 55167 def @resource_manager_tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55174 55175 55176 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 55174 def update!(**args) @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags) end |