Class: Google::Apis::ContainerV1::ParentProductConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ParentProductConfig
- 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
ParentProductConfig is the configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of a GKE cluster and take the ownership of the cluster.
Instance Attribute Summary collapse
-
#labels ⇒ Hash<String,String>
Labels contain the configuration of the parent product.
-
#product_name ⇒ String
Name of the parent product associated with the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParentProductConfig
constructor
A new instance of ParentProductConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParentProductConfig
Returns a new instance of ParentProductConfig.
5311 5312 5313 |
# File 'lib/google/apis/container_v1/classes.rb', line 5311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
Labels contain the configuration of the parent product.
Corresponds to the JSON property labels
5304 5305 5306 |
# File 'lib/google/apis/container_v1/classes.rb', line 5304 def labels @labels end |
#product_name ⇒ String
Name of the parent product associated with the cluster.
Corresponds to the JSON property productName
5309 5310 5311 |
# File 'lib/google/apis/container_v1/classes.rb', line 5309 def product_name @product_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5316 5317 5318 5319 |
# File 'lib/google/apis/container_v1/classes.rb', line 5316 def update!(**args) @labels = args[:labels] if args.key?(:labels) @product_name = args[:product_name] if args.key?(:product_name) end |