Class: Google::Cloud::GkeHub::V1::ResourceManifest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1/membership.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_scoped::Boolean

Returns 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.



206
207
208
209
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 206

class ResourceManifest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#manifest::String

Returns YAML manifest of the resource.

Returns:

  • (::String)

    YAML manifest of the resource.



206
207
208
209
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 206

class ResourceManifest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end