class Google::Apis::GkehubV1beta::ConfigManagementGroupVersionKind

A Kubernetes object's GVK

Attributes

group[RW]

Kubernetes Group Corresponds to the JSON property `group` @return [String]

kind[RW]

Kubernetes Kind Corresponds to the JSON property `kind` @return [String]

version[RW]

Kubernetes Version Corresponds to the JSON property `version` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1beta/classes.rb, line 584
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1beta/classes.rb, line 589
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