Represents a GatewayService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gkeconnect.gateway.v1beta1.GatewayServicePackage
@google-cloud/gke-connect-gateway!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new GatewayService service.
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): GatewayService;
Creates new GatewayService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
GatewayService | RPC service. Useful where requests and/or responses are streamed. |
deleteResource(request, callback)
public deleteResource(request: google.api.IHttpBody, callback: google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResourceCallback): void;
Calls DeleteResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
callback |
google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResourceCallback
Node-style callback called with the error, if any, and HttpBody |
Type | Description |
void |
deleteResource(request)
public deleteResource(request: google.api.IHttpBody): Promise<google.api.HttpBody>;
Calls DeleteResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
Type | Description |
Promise<google.api.HttpBody> | Promise |
getResource(request, callback)
public getResource(request: google.api.IHttpBody, callback: google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResourceCallback): void;
Calls GetResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
callback |
google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResourceCallback
Node-style callback called with the error, if any, and HttpBody |
Type | Description |
void |
getResource(request)
public getResource(request: google.api.IHttpBody): Promise<google.api.HttpBody>;
Calls GetResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
Type | Description |
Promise<google.api.HttpBody> | Promise |
patchResource(request, callback)
public patchResource(request: google.api.IHttpBody, callback: google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResourceCallback): void;
Calls PatchResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
callback |
google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResourceCallback
Node-style callback called with the error, if any, and HttpBody |
Type | Description |
void |
patchResource(request)
public patchResource(request: google.api.IHttpBody): Promise<google.api.HttpBody>;
Calls PatchResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
Type | Description |
Promise<google.api.HttpBody> | Promise |
postResource(request, callback)
public postResource(request: google.api.IHttpBody, callback: google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResourceCallback): void;
Calls PostResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
callback |
google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResourceCallback
Node-style callback called with the error, if any, and HttpBody |
Type | Description |
void |
postResource(request)
public postResource(request: google.api.IHttpBody): Promise<google.api.HttpBody>;
Calls PostResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
Type | Description |
Promise<google.api.HttpBody> | Promise |
putResource(request, callback)
public putResource(request: google.api.IHttpBody, callback: google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResourceCallback): void;
Calls PutResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
callback |
google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResourceCallback
Node-style callback called with the error, if any, and HttpBody |
Type | Description |
void |
putResource(request)
public putResource(request: google.api.IHttpBody): Promise<google.api.HttpBody>;
Calls PutResource.
Name | Description |
request |
google.api.IHttpBody
HttpBody message or plain object |
Type | Description |
Promise<google.api.HttpBody> | Promise |