Class protos.google.cloud.gkehub.v1beta1.GkeHubMembershipService (3.3.1)

Represents a GkeHubMembershipService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.gkehub.v1beta1.GkeHubMembershipService

Package

@google-cloud/gke-hub

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new GkeHubMembershipService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GkeHubMembershipService;

Creates new GkeHubMembershipService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
GkeHubMembershipService

RPC service. Useful where requests and/or responses are streamed.

createMembership(request, callback)

public createMembership(request: google.cloud.gkehub.v1beta1.ICreateMembershipRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.CreateMembershipCallback): void;

Calls CreateMembership.

Parameters
NameDescription
request google.cloud.gkehub.v1beta1.ICreateMembershipRequest

CreateMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.CreateMembershipCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createMembership(request)

public createMembership(request: google.cloud.gkehub.v1beta1.ICreateMembershipRequest): Promise<google.longrunning.Operation>;

Calls CreateMembership.

Parameter
NameDescription
request google.cloud.gkehub.v1beta1.ICreateMembershipRequest

CreateMembershipRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteMembership(request, callback)

public deleteMembership(request: google.cloud.gkehub.v1beta1.IDeleteMembershipRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.DeleteMembershipCallback): void;

Calls DeleteMembership.

Parameters
NameDescription
request IDeleteMembershipRequest

DeleteMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.DeleteMembershipCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteMembership(request)

public deleteMembership(request: google.cloud.gkehub.v1beta1.IDeleteMembershipRequest): Promise<google.longrunning.Operation>;

Calls DeleteMembership.

Parameter
NameDescription
request IDeleteMembershipRequest

DeleteMembershipRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

generateConnectManifest(request, callback)

public generateConnectManifest(request: google.cloud.gkehub.v1beta1.IGenerateConnectManifestRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifestCallback): void;

Calls GenerateConnectManifest.

Parameters
NameDescription
request IGenerateConnectManifestRequest

GenerateConnectManifestRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifestCallback

Node-style callback called with the error, if any, and GenerateConnectManifestResponse

Returns
TypeDescription
void

generateConnectManifest(request)

public generateConnectManifest(request: google.cloud.gkehub.v1beta1.IGenerateConnectManifestRequest): Promise<google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse>;

Calls GenerateConnectManifest.

Parameter
NameDescription
request IGenerateConnectManifestRequest

GenerateConnectManifestRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse>

Promise

generateExclusivityManifest(request, callback)

public generateExclusivityManifest(request: google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifestCallback): void;

Calls GenerateExclusivityManifest.

Parameters
NameDescription
request google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest

GenerateExclusivityManifestRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifestCallback

Node-style callback called with the error, if any, and GenerateExclusivityManifestResponse

Returns
TypeDescription
void

generateExclusivityManifest(request)

public generateExclusivityManifest(request: google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest): Promise<google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse>;

Calls GenerateExclusivityManifest.

Parameter
NameDescription
request google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest

GenerateExclusivityManifestRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse>

Promise

getMembership(request, callback)

public getMembership(request: google.cloud.gkehub.v1beta1.IGetMembershipRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembershipCallback): void;

Calls GetMembership.

Parameters
NameDescription
request google.cloud.gkehub.v1beta1.IGetMembershipRequest

GetMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembershipCallback

Node-style callback called with the error, if any, and Membership

Returns
TypeDescription
void

getMembership(request)

public getMembership(request: google.cloud.gkehub.v1beta1.IGetMembershipRequest): Promise<google.cloud.gkehub.v1beta1.Membership>;

Calls GetMembership.

Parameter
NameDescription
request google.cloud.gkehub.v1beta1.IGetMembershipRequest

GetMembershipRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkehub.v1beta1.Membership>

Promise

listMemberships(request, callback)

public listMemberships(request: google.cloud.gkehub.v1beta1.IListMembershipsRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMembershipsCallback): void;

Calls ListMemberships.

Parameters
NameDescription
request IListMembershipsRequest

ListMembershipsRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMembershipsCallback

Node-style callback called with the error, if any, and ListMembershipsResponse

Returns
TypeDescription
void

listMemberships(request)

public listMemberships(request: google.cloud.gkehub.v1beta1.IListMembershipsRequest): Promise<google.cloud.gkehub.v1beta1.ListMembershipsResponse>;

Calls ListMemberships.

Parameter
NameDescription
request IListMembershipsRequest

ListMembershipsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkehub.v1beta1.ListMembershipsResponse>

Promise

updateMembership(request, callback)

public updateMembership(request: google.cloud.gkehub.v1beta1.IUpdateMembershipRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.UpdateMembershipCallback): void;

Calls UpdateMembership.

Parameters
NameDescription
request google.cloud.gkehub.v1beta1.IUpdateMembershipRequest

UpdateMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.UpdateMembershipCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateMembership(request)

public updateMembership(request: google.cloud.gkehub.v1beta1.IUpdateMembershipRequest): Promise<google.longrunning.Operation>;

Calls UpdateMembership.

Parameter
NameDescription
request google.cloud.gkehub.v1beta1.IUpdateMembershipRequest

UpdateMembershipRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

validateExclusivity(request, callback)

public validateExclusivity(request: google.cloud.gkehub.v1beta1.IValidateExclusivityRequest, callback: google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivityCallback): void;

Calls ValidateExclusivity.

Parameters
NameDescription
request IValidateExclusivityRequest

ValidateExclusivityRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivityCallback

Node-style callback called with the error, if any, and ValidateExclusivityResponse

Returns
TypeDescription
void

validateExclusivity(request)

public validateExclusivity(request: google.cloud.gkehub.v1beta1.IValidateExclusivityRequest): Promise<google.cloud.gkehub.v1beta1.ValidateExclusivityResponse>;

Calls ValidateExclusivity.

Parameter
NameDescription
request IValidateExclusivityRequest

ValidateExclusivityRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkehub.v1beta1.ValidateExclusivityResponse>

Promise