Class: Google::Apis::GkehubV1beta::ConfigManagementGroupVersionKind
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ConfigManagementGroupVersionKind
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
A Kubernetes object's GVK
Instance Attribute Summary collapse
-
#group ⇒ String
Kubernetes Group Corresponds to the JSON property
group. -
#kind ⇒ String
Kubernetes Kind Corresponds to the JSON property
kind. -
#version ⇒ String
Kubernetes Version Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementGroupVersionKind
constructor
A new instance of ConfigManagementGroupVersionKind.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementGroupVersionKind
Returns a new instance of ConfigManagementGroupVersionKind.
607 608 609 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group ⇒ String
Kubernetes Group
Corresponds to the JSON property group
595 596 597 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 595 def group @group end |
#kind ⇒ String
Kubernetes Kind
Corresponds to the JSON property kind
600 601 602 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 600 def kind @kind end |
#version ⇒ String
Kubernetes Version
Corresponds to the JSON property version
605 606 607 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 605 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
612 613 614 615 616 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 612 def update!(**args) @group = args[:group] if args.key?(:group) @kind = args[:kind] if args.key?(:kind) @version = args[:version] if args.key?(:version) end |