Class protos.google.cloud.compute.v1.PublicDelegatedPrefixes (4.8.0)

Represents a PublicDelegatedPrefixes

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new PublicDelegatedPrefixes 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.v1.IAggregatedListPublicDelegatedPrefixesRequest, callback: google.cloud.compute.v1.PublicDelegatedPrefixes.AggregatedListCallback): void;

Calls AggregatedList.

Parameters
Name Description
request IAggregatedListPublicDelegatedPrefixesRequest

AggregatedListPublicDelegatedPrefixesRequest message or plain object

callback AggregatedListCallback

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

Returns
Type Description
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListPublicDelegatedPrefixesRequest): Promise<google.cloud.compute.v1.PublicDelegatedPrefixAggregatedList>;

Calls AggregatedList.

Parameter
Name Description
request IAggregatedListPublicDelegatedPrefixesRequest

AggregatedListPublicDelegatedPrefixesRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.PublicDelegatedPrefixAggregatedList>

Promise

announce(request, callback)

public announce(request: google.cloud.compute.v1.IAnnouncePublicDelegatedPrefixeRequest, callback: google.cloud.compute.v1.PublicDelegatedPrefixes.AnnounceCallback): void;

Calls Announce.

Parameters
Name Description
request IAnnouncePublicDelegatedPrefixeRequest

AnnouncePublicDelegatedPrefixeRequest message or plain object

callback AnnounceCallback

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

Returns
Type Description
void

announce(request)

public announce(request: google.cloud.compute.v1.IAnnouncePublicDelegatedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Announce.

Parameter
Name Description
request IAnnouncePublicDelegatedPrefixeRequest

AnnouncePublicDelegatedPrefixeRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): PublicDelegatedPrefixes;

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

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

delete(request, callback)

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

Calls Delete.

Parameters
Name Description
request IDeletePublicDelegatedPrefixeRequest

DeletePublicDelegatedPrefixeRequest 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.v1.IDeletePublicDelegatedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
Name Description
request IDeletePublicDelegatedPrefixeRequest

DeletePublicDelegatedPrefixeRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

get(request, callback)

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

Calls Get.

Parameters
Name Description
request IGetPublicDelegatedPrefixeRequest

GetPublicDelegatedPrefixeRequest message or plain object

callback GetCallback

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

Returns
Type Description
void

get(request)

public get(request: google.cloud.compute.v1.IGetPublicDelegatedPrefixeRequest): Promise<google.cloud.compute.v1.PublicDelegatedPrefix>;

Calls Get.

Parameter
Name Description
request IGetPublicDelegatedPrefixeRequest

GetPublicDelegatedPrefixeRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.PublicDelegatedPrefix>

Promise

insert(request, callback)

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

Calls Insert.

Parameters
Name Description
request IInsertPublicDelegatedPrefixeRequest

InsertPublicDelegatedPrefixeRequest 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.v1.IInsertPublicDelegatedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
Name Description
request IInsertPublicDelegatedPrefixeRequest

InsertPublicDelegatedPrefixeRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

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

Calls List.

Parameters
Name Description
request IListPublicDelegatedPrefixesRequest

ListPublicDelegatedPrefixesRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

public list(request: google.cloud.compute.v1.IListPublicDelegatedPrefixesRequest): Promise<google.cloud.compute.v1.PublicDelegatedPrefixList>;

Calls List.

Parameter
Name Description
request IListPublicDelegatedPrefixesRequest

ListPublicDelegatedPrefixesRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.PublicDelegatedPrefixList>

Promise

patch(request, callback)

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

Calls Patch.

Parameters
Name Description
request IPatchPublicDelegatedPrefixeRequest

PatchPublicDelegatedPrefixeRequest message or plain object

callback PatchCallback

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

Returns
Type Description
void

patch(request)

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

Calls Patch.

Parameter
Name Description
request IPatchPublicDelegatedPrefixeRequest

PatchPublicDelegatedPrefixeRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

withdraw(request, callback)

public withdraw(request: google.cloud.compute.v1.IWithdrawPublicDelegatedPrefixeRequest, callback: google.cloud.compute.v1.PublicDelegatedPrefixes.WithdrawCallback): void;

Calls Withdraw.

Parameters
Name Description
request IWithdrawPublicDelegatedPrefixeRequest

WithdrawPublicDelegatedPrefixeRequest message or plain object

callback WithdrawCallback

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

Returns
Type Description
void

withdraw(request)

public withdraw(request: google.cloud.compute.v1.IWithdrawPublicDelegatedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Withdraw.

Parameter
Name Description
request IWithdrawPublicDelegatedPrefixeRequest

WithdrawPublicDelegatedPrefixeRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise