class Google::Apis::GkehubV1beta1::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_v1beta1/classes.rb, line 1174
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 1179
def update!(**args)
  @cluster_scoped = args[:cluster_scoped] if args.key?(:cluster_scoped)
  @manifest = args[:manifest] if args.key?(:manifest)
end