class Google::Apis::GkehubV1alpha2::ResourceManifest
ResourceManifest
represents a single Kubernetes resource to be applied to the cluster.
Attributes
cluster_scoped[RW]
Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster. Corresponds to the JSON property `clusterScoped` @return [Boolean]
cluster_scoped?[RW]
Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster. Corresponds to the JSON property `clusterScoped` @return [Boolean]
manifest[RW]
YAML manifest of the resource. Corresponds to the JSON property `manifest` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gkehub_v1alpha2/classes.rb, line 1177 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_v1alpha2/classes.rb, line 1182 def update!(**args) @cluster_scoped = args[:cluster_scoped] if args.key?(:cluster_scoped) @manifest = args[:manifest] if args.key?(:manifest) end