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