Class protos.google.cloud.compute.v1.GlobalPublicDelegatedPrefixes

Represents a GlobalPublicDelegatedPrefixes

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new GlobalPublicDelegatedPrefixes 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): GlobalPublicDelegatedPrefixes;

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

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

delete(request, callback)

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

Calls Delete.

Parameters
NameDescription
request IDeleteGlobalPublicDelegatedPrefixeRequest

DeleteGlobalPublicDelegatedPrefixeRequest message or plain object

callback google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

Parameter
NameDescription
request IDeleteGlobalPublicDelegatedPrefixeRequest

DeleteGlobalPublicDelegatedPrefixeRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

Parameters
NameDescription
request IGetGlobalPublicDelegatedPrefixeRequest

GetGlobalPublicDelegatedPrefixeRequest message or plain object

callback google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.GetCallback

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

Returns
TypeDescription
void

get(request)

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

Calls Get.

Parameter
NameDescription
request IGetGlobalPublicDelegatedPrefixeRequest

GetGlobalPublicDelegatedPrefixeRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
NameDescription
request IInsertGlobalPublicDelegatedPrefixeRequest

InsertGlobalPublicDelegatedPrefixeRequest message or plain object

callback google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

Parameter
NameDescription
request IInsertGlobalPublicDelegatedPrefixeRequest

InsertGlobalPublicDelegatedPrefixeRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

Parameters
NameDescription
request IListGlobalPublicDelegatedPrefixesRequest

ListGlobalPublicDelegatedPrefixesRequest message or plain object

callback google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.ListCallback

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

Returns
TypeDescription
void

list(request)

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

Calls List.

Parameter
NameDescription
request IListGlobalPublicDelegatedPrefixesRequest

ListGlobalPublicDelegatedPrefixesRequest message or plain object

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

Promise

patch(request, callback)

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

Calls Patch.

Parameters
NameDescription
request IPatchGlobalPublicDelegatedPrefixeRequest

PatchGlobalPublicDelegatedPrefixeRequest message or plain object

callback google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.PatchCallback

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

Returns
TypeDescription
void

patch(request)

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

Calls Patch.

Parameter
NameDescription
request IPatchGlobalPublicDelegatedPrefixeRequest

PatchGlobalPublicDelegatedPrefixeRequest message or plain object

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

Promise