Represents an Addresses
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.AddressesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Addresses service.
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.v1.IAggregatedListAddressesRequest, callback: google.cloud.compute.v1.Addresses.AggregatedListCallback): void;
Calls AggregatedList.
Name | Description |
request |
IAggregatedListAddressesRequest
AggregatedListAddressesRequest message or plain object |
callback |
google.cloud.compute.v1.Addresses.AggregatedListCallback
Node-style callback called with the error, if any, and AddressAggregatedList |
Type | Description |
void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListAddressesRequest): Promise<google.cloud.compute.v1.AddressAggregatedList>;
Calls AggregatedList.
Name | Description |
request |
IAggregatedListAddressesRequest
AggregatedListAddressesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.AddressAggregatedList> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Addresses;
Creates new Addresses 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 |
Addresses | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteAddressRequest, callback: google.cloud.compute.v1.Addresses.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
google.cloud.compute.v1.IDeleteAddressRequest
DeleteAddressRequest message or plain object |
callback |
google.cloud.compute.v1.Addresses.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteAddressRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
google.cloud.compute.v1.IDeleteAddressRequest
DeleteAddressRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetAddressRequest, callback: google.cloud.compute.v1.Addresses.GetCallback): void;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetAddressRequest
GetAddressRequest message or plain object |
callback |
google.cloud.compute.v1.Addresses.GetCallback
Node-style callback called with the error, if any, and Address |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetAddressRequest): Promise<google.cloud.compute.v1.Address>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetAddressRequest
GetAddressRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Address> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertAddressRequest, callback: google.cloud.compute.v1.Addresses.InsertCallback): void;
Calls Insert.
Name | Description |
request |
google.cloud.compute.v1.IInsertAddressRequest
InsertAddressRequest message or plain object |
callback |
google.cloud.compute.v1.Addresses.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertAddressRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
google.cloud.compute.v1.IInsertAddressRequest
InsertAddressRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListAddressesRequest, callback: google.cloud.compute.v1.Addresses.ListCallback): void;
Calls List.
Name | Description |
request |
IListAddressesRequest
ListAddressesRequest message or plain object |
callback |
google.cloud.compute.v1.Addresses.ListCallback
Node-style callback called with the error, if any, and AddressList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListAddressesRequest): Promise<google.cloud.compute.v1.AddressList>;
Calls List.
Name | Description |
request |
IListAddressesRequest
ListAddressesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.AddressList> | Promise |