public sealed class ResourceManifest : IMessage<ResourceManifest>, IEquatable<ResourceManifest>, IDeepCloneable<ResourceManifest>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1 API class ResourceManifest.
ResourceManifest represents a single Kubernetes resource to be applied to the cluster.
Implements
IMessageResourceManifest, IEquatableResourceManifest, IDeepCloneableResourceManifest, IBufferMessage, IMessageNamespace
Google.Cloud.GkeHub.V1Assembly
Google.Cloud.GkeHub.V1.dll
Constructors
ResourceManifest()
public ResourceManifest()
ResourceManifest(ResourceManifest)
public ResourceManifest(ResourceManifest other)
Parameter | |
---|---|
Name | Description |
other | ResourceManifest |
Properties
ClusterScoped
public bool ClusterScoped { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
Manifest
public string Manifest { get; set; }
YAML manifest of the resource.
Property Value | |
---|---|
Type | Description |
string |