GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::ResourceManifest (v0.2.2)

Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::ResourceManifest.

ResourceManifest represents a single Kubernetes resource to be applied to the cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cluster_scoped

def cluster_scoped() -> ::Boolean
Returns
  • (::Boolean) — 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.

#cluster_scoped=

def cluster_scoped=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

Returns
  • (::Boolean) — 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.

#manifest

def manifest() -> ::String
Returns
  • (::String) — YAML manifest of the resource.

#manifest=

def manifest=(value) -> ::String
Parameter
  • value (::String) — YAML manifest of the resource.
Returns
  • (::String) — YAML manifest of the resource.