Represents a TargetHttpProxies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1beta.TargetHttpProxiesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new TargetHttpProxies service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1beta.IAggregatedListTargetHttpProxiesRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.AggregatedListCallback): void;Calls AggregatedList.
| Parameters | |
|---|---|
| Name | Description |
request |
IAggregatedListTargetHttpProxiesRequest
AggregatedListTargetHttpProxiesRequest message or plain object |
callback |
AggregatedListCallback
Node-style callback called with the error, if any, and TargetHttpProxyAggregatedList |
| Returns | |
|---|---|
| Type | Description |
void |
|
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1beta.IAggregatedListTargetHttpProxiesRequest): Promise<google.cloud.compute.v1beta.TargetHttpProxyAggregatedList>;Calls AggregatedList.
| Parameter | |
|---|---|
| Name | Description |
request |
IAggregatedListTargetHttpProxiesRequest
AggregatedListTargetHttpProxiesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.TargetHttpProxyAggregatedList> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TargetHttpProxies;Creates new TargetHttpProxies 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 |
TargetHttpProxies |
RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1beta.IDeleteTargetHttpProxyRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.DeleteCallback): void;Calls Delete.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteTargetHttpProxyRequest
DeleteTargetHttpProxyRequest message or plain object |
callback |
DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
delete(request)
public delete(request: google.cloud.compute.v1beta.IDeleteTargetHttpProxyRequest): Promise<google.cloud.compute.v1beta.Operation>;Calls Delete.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteTargetHttpProxyRequest
DeleteTargetHttpProxyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.Operation> |
Promise |
get(request, callback)
public get(request: google.cloud.compute.v1beta.IGetTargetHttpProxyRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.GetCallback): void;Calls Get.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetTargetHttpProxyRequest
GetTargetHttpProxyRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and TargetHttpProxy |
| Returns | |
|---|---|
| Type | Description |
void |
|
get(request)
public get(request: google.cloud.compute.v1beta.IGetTargetHttpProxyRequest): Promise<google.cloud.compute.v1beta.TargetHttpProxy>;Calls Get.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetTargetHttpProxyRequest
GetTargetHttpProxyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.TargetHttpProxy> |
Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1beta.IInsertTargetHttpProxyRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.InsertCallback): void;Calls Insert.
| Parameters | |
|---|---|
| Name | Description |
request |
IInsertTargetHttpProxyRequest
InsertTargetHttpProxyRequest message or plain object |
callback |
InsertCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
insert(request)
public insert(request: google.cloud.compute.v1beta.IInsertTargetHttpProxyRequest): Promise<google.cloud.compute.v1beta.Operation>;Calls Insert.
| Parameter | |
|---|---|
| Name | Description |
request |
IInsertTargetHttpProxyRequest
InsertTargetHttpProxyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.Operation> |
Promise |
list(request, callback)
public list(request: google.cloud.compute.v1beta.IListTargetHttpProxiesRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.ListCallback): void;Calls List.
| Parameters | |
|---|---|
| Name | Description |
request |
IListTargetHttpProxiesRequest
ListTargetHttpProxiesRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and TargetHttpProxyList |
| Returns | |
|---|---|
| Type | Description |
void |
|
list(request)
public list(request: google.cloud.compute.v1beta.IListTargetHttpProxiesRequest): Promise<google.cloud.compute.v1beta.TargetHttpProxyList>;Calls List.
| Parameter | |
|---|---|
| Name | Description |
request |
IListTargetHttpProxiesRequest
ListTargetHttpProxiesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.TargetHttpProxyList> |
Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1beta.IPatchTargetHttpProxyRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.PatchCallback): void;Calls Patch.
| Parameters | |
|---|---|
| Name | Description |
request |
IPatchTargetHttpProxyRequest
PatchTargetHttpProxyRequest message or plain object |
callback |
PatchCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
patch(request)
public patch(request: google.cloud.compute.v1beta.IPatchTargetHttpProxyRequest): Promise<google.cloud.compute.v1beta.Operation>;Calls Patch.
| Parameter | |
|---|---|
| Name | Description |
request |
IPatchTargetHttpProxyRequest
PatchTargetHttpProxyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.Operation> |
Promise |
setUrlMap(request, callback)
public setUrlMap(request: google.cloud.compute.v1beta.ISetUrlMapTargetHttpProxyRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.SetUrlMapCallback): void;Calls SetUrlMap.
| Parameters | |
|---|---|
| Name | Description |
request |
ISetUrlMapTargetHttpProxyRequest
SetUrlMapTargetHttpProxyRequest message or plain object |
callback |
SetUrlMapCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
setUrlMap(request)
public setUrlMap(request: google.cloud.compute.v1beta.ISetUrlMapTargetHttpProxyRequest): Promise<google.cloud.compute.v1beta.Operation>;Calls SetUrlMap.
| Parameter | |
|---|---|
| Name | Description |
request |
ISetUrlMapTargetHttpProxyRequest
SetUrlMapTargetHttpProxyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.Operation> |
Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1beta.ITestIamPermissionsTargetHttpProxyRequest, callback: google.cloud.compute.v1beta.TargetHttpProxies.TestIamPermissionsCallback): void;Calls TestIamPermissions.
| Parameters | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsTargetHttpProxyRequest
TestIamPermissionsTargetHttpProxyRequest message or plain object |
callback |
TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestPermissionsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
testIamPermissions(request)
public testIamPermissions(request: google.cloud.compute.v1beta.ITestIamPermissionsTargetHttpProxyRequest): Promise<google.cloud.compute.v1beta.TestPermissionsResponse>;Calls TestIamPermissions.
| Parameter | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsTargetHttpProxyRequest
TestIamPermissionsTargetHttpProxyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.TestPermissionsResponse> |
Promise |