Class protos.google.cloud.compute.v1.Addresses (3.0.0)

Represents an Addresses

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1.Addresses

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Addresses service.

Parameters
NameDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListAddressesRequest): Promise<google.cloud.compute.v1.AddressAggregatedList>;

Calls AggregatedList.

Parameter
NameDescription
request IAggregatedListAddressesRequest

AggregatedListAddressesRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeleteAddressRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
NameDescription
request google.cloud.compute.v1.IDeleteAddressRequest

DeleteAddressRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetAddressRequest): Promise<google.cloud.compute.v1.Address>;

Calls Get.

Parameter
NameDescription
request google.cloud.compute.v1.IGetAddressRequest

GetAddressRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

insert(request)

public insert(request: google.cloud.compute.v1.IInsertAddressRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
NameDescription
request google.cloud.compute.v1.IInsertAddressRequest

InsertAddressRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListAddressesRequest): Promise<google.cloud.compute.v1.AddressList>;

Calls List.

Parameter
NameDescription
request IListAddressesRequest

ListAddressesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.AddressList>

Promise