GKE Hub v1 API - Class DeleteMembershipRequest (2.2.0)

public sealed class DeleteMembershipRequest : IMessage<DeleteMembershipRequest>, IEquatable<DeleteMembershipRequest>, IDeepCloneable<DeleteMembershipRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class DeleteMembershipRequest.

Request message for GkeHub.DeleteMembership method.

Inheritance

object > DeleteMembershipRequest

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

DeleteMembershipRequest()

public DeleteMembershipRequest()

DeleteMembershipRequest(DeleteMembershipRequest)

public DeleteMembershipRequest(DeleteMembershipRequest other)
Parameter
NameDescription
otherDeleteMembershipRequest

Properties

Force

public bool Force { get; set; }

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.

Property Value
TypeDescription
bool

MembershipName

public MembershipName MembershipName { get; set; }

MembershipName-typed view over the Name resource name property.

Property Value
TypeDescription
MembershipName

Name

public string Name { get; set; }

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

Property Value
TypeDescription
string

RequestId

public string RequestId { get; set; }

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Property Value
TypeDescription
string