Represents a GlobalAddresses
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.GlobalAddressesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new GlobalAddresses 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): GlobalAddresses;Creates new GlobalAddresses 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 |
GlobalAddresses |
RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteGlobalAddressRequest, callback: google.cloud.compute.v1.GlobalAddresses.DeleteCallback): void;Calls Delete.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteGlobalAddressRequest
DeleteGlobalAddressRequest 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.v1.IDeleteGlobalAddressRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteGlobalAddressRequest
DeleteGlobalAddressRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetGlobalAddressRequest, callback: google.cloud.compute.v1.GlobalAddresses.GetCallback): void;Calls Get.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetGlobalAddressRequest
GetGlobalAddressRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and Address |
| Returns | |
|---|---|
| Type | Description |
void |
|
get(request)
public get(request: google.cloud.compute.v1.IGetGlobalAddressRequest): Promise<google.cloud.compute.v1.Address>;Calls Get.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetGlobalAddressRequest
GetGlobalAddressRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Address> |
Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertGlobalAddressRequest, callback: google.cloud.compute.v1.GlobalAddresses.InsertCallback): void;Calls Insert.
| Parameters | |
|---|---|
| Name | Description |
request |
IInsertGlobalAddressRequest
InsertGlobalAddressRequest 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.v1.IInsertGlobalAddressRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Parameter | |
|---|---|
| Name | Description |
request |
IInsertGlobalAddressRequest
InsertGlobalAddressRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListGlobalAddressesRequest, callback: google.cloud.compute.v1.GlobalAddresses.ListCallback): void;Calls List.
| Parameters | |
|---|---|
| Name | Description |
request |
IListGlobalAddressesRequest
ListGlobalAddressesRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and AddressList |
| Returns | |
|---|---|
| Type | Description |
void |
|
list(request)
public list(request: google.cloud.compute.v1.IListGlobalAddressesRequest): Promise<google.cloud.compute.v1.AddressList>;Calls List.
| Parameter | |
|---|---|
| Name | Description |
request |
IListGlobalAddressesRequest
ListGlobalAddressesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.AddressList> |
Promise |
move(request, callback)
public move(request: google.cloud.compute.v1.IMoveGlobalAddressRequest, callback: google.cloud.compute.v1.GlobalAddresses.MoveCallback): void;Calls Move.
| Parameters | |
|---|---|
| Name | Description |
request |
IMoveGlobalAddressRequest
MoveGlobalAddressRequest message or plain object |
callback |
MoveCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
move(request)
public move(request: google.cloud.compute.v1.IMoveGlobalAddressRequest): Promise<google.cloud.compute.v1.Operation>;Calls Move.
| Parameter | |
|---|---|
| Name | Description |
request |
IMoveGlobalAddressRequest
MoveGlobalAddressRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
setLabels(request, callback)
public setLabels(request: google.cloud.compute.v1.ISetLabelsGlobalAddressRequest, callback: google.cloud.compute.v1.GlobalAddresses.SetLabelsCallback): void;Calls SetLabels.
| Parameters | |
|---|---|
| Name | Description |
request |
ISetLabelsGlobalAddressRequest
SetLabelsGlobalAddressRequest message or plain object |
callback |
SetLabelsCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
setLabels(request)
public setLabels(request: google.cloud.compute.v1.ISetLabelsGlobalAddressRequest): Promise<google.cloud.compute.v1.Operation>;Calls SetLabels.
| Parameter | |
|---|---|
| Name | Description |
request |
ISetLabelsGlobalAddressRequest
SetLabelsGlobalAddressRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsGlobalAddressRequest, callback: google.cloud.compute.v1.GlobalAddresses.TestIamPermissionsCallback): void;Calls TestIamPermissions.
| Parameters | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsGlobalAddressRequest
TestIamPermissionsGlobalAddressRequest 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.v1.ITestIamPermissionsGlobalAddressRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;Calls TestIamPermissions.
| Parameter | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsGlobalAddressRequest
TestIamPermissionsGlobalAddressRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.TestPermissionsResponse> |
Promise |