Class ProjectsResource.LocationsResource.MembershipsResource.DeleteRequest
Removes a Membership. This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
Inheritance
ProjectsResource.LocationsResource.MembershipsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.GKEHub.v1alpha2
Assembly: Google.Apis.GKEHub.v1alpha2.dll
Syntax
public class ProjectsResource.LocationsResource.MembershipsResource.DeleteRequest : GKEHubBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
Force
Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GKEHub.v1alpha2.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GKEHub.v1alpha2.Data.Operation>.MethodName
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GKEHub.v1alpha2.Data.Operation>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()