Represents a GkeHubMembershipService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gkehub.v1beta1.GkeHubMembershipServicePackage
@google-cloud/gke-hubConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new GkeHubMembershipService service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
createMembership(request)
public createMembership(request: google.cloud.gkehub.v1beta1.ICreateMembershipRequest): Promise<google.longrunning.Operation>;
Calls CreateMembership.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkehub.v1beta1.ICreateMembershipRequest
CreateMembershipRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
deleteMembership(request)
public deleteMembership(request: google.cloud.gkehub.v1beta1.IDeleteMembershipRequest): Promise<google.longrunning.Operation>;
Calls DeleteMembership.
Parameter | |
---|---|
Name | Description |
request |
IDeleteMembershipRequest
DeleteMembershipRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
generateConnectManifest(request)
public generateConnectManifest(request: google.cloud.gkehub.v1beta1.IGenerateConnectManifestRequest): Promise<google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse>;
Calls GenerateConnectManifest.
Parameter | |
---|---|
Name | Description |
request |
IGenerateConnectManifestRequest
GenerateConnectManifestRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
generateExclusivityManifest(request)
public generateExclusivityManifest(request: google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest): Promise<google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse>;
Calls GenerateExclusivityManifest.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest
GenerateExclusivityManifestRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getMembership(request)
public getMembership(request: google.cloud.gkehub.v1beta1.IGetMembershipRequest): Promise<google.cloud.gkehub.v1beta1.Membership>;
Calls GetMembership.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkehub.v1beta1.IGetMembershipRequest
GetMembershipRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
listMemberships(request)
public listMemberships(request: google.cloud.gkehub.v1beta1.IListMembershipsRequest): Promise<google.cloud.gkehub.v1beta1.ListMembershipsResponse>;
Calls ListMemberships.
Parameter | |
---|---|
Name | Description |
request |
IListMembershipsRequest
ListMembershipsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
updateMembership(request)
public updateMembership(request: google.cloud.gkehub.v1beta1.IUpdateMembershipRequest): Promise<google.longrunning.Operation>;
Calls UpdateMembership.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkehub.v1beta1.IUpdateMembershipRequest
UpdateMembershipRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
validateExclusivity(request)
public validateExclusivity(request: google.cloud.gkehub.v1beta1.IValidateExclusivityRequest): Promise<google.cloud.gkehub.v1beta1.ValidateExclusivityResponse>;
Calls ValidateExclusivity.
Parameter | |
---|---|
Name | Description |
request |
IValidateExclusivityRequest
ValidateExclusivityRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.gkehub.v1beta1.ValidateExclusivityResponse> | Promise |