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.
723 724 725 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 723 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group ⇒ String
Kubernetes Group
Corresponds to the JSON property group
711 712 713 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 711 def group @group end |
#kind ⇒ String
Kubernetes Kind
Corresponds to the JSON property kind
716 717 718 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 716 def kind @kind end |
#version ⇒ String
Kubernetes Version
Corresponds to the JSON property version
721 722 723 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 721 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
728 729 730 731 732 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 728 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 |