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.
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
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.
Name | Description |
request |
IDeleteGlobalAddressRequest
DeleteGlobalAddressRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalAddresses.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteGlobalAddressRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
IDeleteGlobalAddressRequest
DeleteGlobalAddressRequest message or plain object |
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.
Name | Description |
request |
google.cloud.compute.v1.IGetGlobalAddressRequest
GetGlobalAddressRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalAddresses.GetCallback
Node-style callback called with the error, if any, and Address |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetGlobalAddressRequest): Promise<google.cloud.compute.v1.Address>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetGlobalAddressRequest
GetGlobalAddressRequest message or plain object |
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.
Name | Description |
request |
IInsertGlobalAddressRequest
InsertGlobalAddressRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalAddresses.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertGlobalAddressRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
IInsertGlobalAddressRequest
InsertGlobalAddressRequest message or plain object |
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.
Name | Description |
request |
IListGlobalAddressesRequest
ListGlobalAddressesRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalAddresses.ListCallback
Node-style callback called with the error, if any, and AddressList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListGlobalAddressesRequest): Promise<google.cloud.compute.v1.AddressList>;
Calls List.
Name | Description |
request |
IListGlobalAddressesRequest
ListGlobalAddressesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.AddressList> | Promise |