Class: Google::Cloud::GkeHub::V1beta1::ResourceManifest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1beta1/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.



238
239
240
241
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 238

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.



238
239
240
241
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 238

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