Class ProjectsResource.LocationsResource.MembershipsResource.GenerateExclusivityManifestRequest
GenerateExclusivityManifest generates the manifests to update the exclusivity artifacts in the cluster if needed. Exclusivity artifacts include the Membership custom resource definition (CRD) and the singleton Membership custom resource (CR). Combined with ValidateExclusivity, exclusivity artifacts guarantee that a Kubernetes cluster is only registered to a single GKE Hub. The Membership CRD is versioned, and may require conversion when the GKE Hub API server begins serving a newer version of the CRD and corresponding CR. The response will be the converted CRD and CR if there are any differences between the versions.
Inheritance
Inherited Members
Namespace: Google.Apis.GKEHub.v1beta1
Assembly: Google.Apis.GKEHub.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.MembershipsResource.GenerateExclusivityManifestRequest : GKEHubBaseServiceRequest<GenerateExclusivityManifestResponse>, IClientServiceRequest<GenerateExclusivityManifestResponse>, IClientServiceRequest
Constructors
GenerateExclusivityManifestRequest(IClientService, string)
Constructs a new GenerateExclusivityManifest request.
Declaration
public GenerateExclusivityManifestRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
CrManifest
Optional. The YAML manifest of the membership CR retrieved by kubectl get memberships membership
. Leave empty if the resource does not exist.
Declaration
[RequestParameter("crManifest", RequestParameterType.Query)]
public virtual string CrManifest { get; set; }
Property Value
Type | Description |
---|---|
string |
CrdManifest
Optional. The YAML manifest of the membership CRD retrieved by kubectl get customresourcedefinitions membership
. Leave empty if the resource does not exist.
Declaration
[RequestParameter("crdManifest", RequestParameterType.Query)]
public virtual string CrdManifest { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The Membership resource name in the format projects/*/locations/*/memberships/*
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GenerateExclusivityManifest parameter list.
Declaration
protected override void InitParameters()