Class protos.google.cloud.compute.v1.PublicAdvertisedPrefixes (3.9.1)

Represents a PublicAdvertisedPrefixes

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new PublicAdvertisedPrefixes service.

Parameters
NameDescription
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): PublicAdvertisedPrefixes;

Creates new PublicAdvertisedPrefixes 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
PublicAdvertisedPrefixes

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeletePublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request IDeletePublicAdvertisedPrefixeRequest

DeletePublicAdvertisedPrefixeRequest message or plain object

callback google.cloud.compute.v1.PublicAdvertisedPrefixes.DeleteCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

Parameter
NameDescription
request IDeletePublicAdvertisedPrefixeRequest

DeletePublicAdvertisedPrefixeRequest message or plain object

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

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.GetCallback): void;

Calls Get.

Parameters
NameDescription
request google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest

GetPublicAdvertisedPrefixeRequest message or plain object

callback google.cloud.compute.v1.PublicAdvertisedPrefixes.GetCallback

Node-style callback called with the error, if any, and PublicAdvertisedPrefix

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.PublicAdvertisedPrefix>;

Calls Get.

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

GetPublicAdvertisedPrefixeRequest message or plain object

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

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.InsertCallback): void;

Calls Insert.

Parameters
NameDescription
request google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest

InsertPublicAdvertisedPrefixeRequest message or plain object

callback google.cloud.compute.v1.PublicAdvertisedPrefixes.InsertCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

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

InsertPublicAdvertisedPrefixeRequest message or plain object

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

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.ListCallback): void;

Calls List.

Parameters
NameDescription
request google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest

ListPublicAdvertisedPrefixesRequest message or plain object

callback google.cloud.compute.v1.PublicAdvertisedPrefixes.ListCallback

Node-style callback called with the error, if any, and PublicAdvertisedPrefixList

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest): Promise<google.cloud.compute.v1.PublicAdvertisedPrefixList>;

Calls List.

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

ListPublicAdvertisedPrefixesRequest message or plain object

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

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.PatchCallback): void;

Calls Patch.

Parameters
NameDescription
request google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest

PatchPublicAdvertisedPrefixeRequest message or plain object

callback google.cloud.compute.v1.PublicAdvertisedPrefixes.PatchCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

patch(request)

public patch(request: google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Patch.

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

PatchPublicAdvertisedPrefixeRequest message or plain object

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

Promise