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