Class ProjectsResource.LocationsResource.MembershipsResource.ValidateCreateRequest
ValidateCreateMembership is a preflight check for CreateMembership. It checks the following: 1.
Caller has the required gkehub.memberships.create
permission. 2. The membership_id is still
available.
Inheritance
ProjectsResource.LocationsResource.MembershipsResource.ValidateCreateRequest
Inherited Members
Namespace: Google.Apis.GKEHub.v1alpha
Assembly: Google.Apis.GKEHub.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.MembershipsResource.ValidateCreateRequest : GKEHubBaseServiceRequest<ValidateCreateMembershipResponse>, IClientServiceRequest<ValidateCreateMembershipResponse>, IClientServiceRequest
Constructors
ValidateCreateRequest(IClientService, ValidateCreateMembershipRequest, string)
Constructs a new ValidateCreate request.
Declaration
public ValidateCreateRequest(IClientService service, ValidateCreateMembershipRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ValidateCreateMembershipRequest | body | |
string | parent |
Properties
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
Parent
Required. The parent (project and location) where the Memberships will be created. Specified in
the format projects/*/locations/*
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ValidateCreate parameter list.
Declaration
protected override void InitParameters()