class Google::Apis::GkehubV1beta1::TypeMeta
TypeMeta
is the type information needed for content unmarshalling of Kubernetes resources in the manifest.
Attributes
api_version[RW]
APIVersion of the resource (e.g. v1). Corresponds to the JSON property `apiVersion` @return [String]
kind[RW]
Kind of the resource (e.g. Deployment). Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 1323 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_v1beta1/classes.rb, line 1328 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @kind = args[:kind] if args.key?(:kind) end