Class protos.google.cloud.compute.v1.RegionUrlMaps (4.5.0)

Represents a RegionUrlMaps

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new RegionUrlMaps service.

Parameters
Name Description
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): RegionUrlMaps;

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

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

delete(request, callback)

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

Calls Delete.

Parameters
Name Description
request IDeleteRegionUrlMapRequest

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

Calls Delete.

Parameter
Name Description
request IDeleteRegionUrlMapRequest

DeleteRegionUrlMapRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

Parameters
Name Description
request IGetRegionUrlMapRequest

GetRegionUrlMapRequest message or plain object

callback GetCallback

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

Returns
Type Description
void

get(request)

public get(request: google.cloud.compute.v1.IGetRegionUrlMapRequest): Promise<google.cloud.compute.v1.UrlMap>;

Calls Get.

Parameter
Name Description
request IGetRegionUrlMapRequest

GetRegionUrlMapRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
Name Description
request IInsertRegionUrlMapRequest

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

Calls Insert.

Parameter
Name Description
request IInsertRegionUrlMapRequest

InsertRegionUrlMapRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

Parameters
Name Description
request IListRegionUrlMapsRequest

ListRegionUrlMapsRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

public list(request: google.cloud.compute.v1.IListRegionUrlMapsRequest): Promise<google.cloud.compute.v1.UrlMapList>;

Calls List.

Parameter
Name Description
request IListRegionUrlMapsRequest

ListRegionUrlMapsRequest message or plain object

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

Promise

patch(request, callback)

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

Calls Patch.

Parameters
Name Description
request IPatchRegionUrlMapRequest

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

Calls Patch.

Parameter
Name Description
request IPatchRegionUrlMapRequest

PatchRegionUrlMapRequest message or plain object

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

Promise

update(request, callback)

public update(request: google.cloud.compute.v1.IUpdateRegionUrlMapRequest, callback: google.cloud.compute.v1.RegionUrlMaps.UpdateCallback): void;

Calls Update.

Parameters
Name Description
request IUpdateRegionUrlMapRequest

UpdateRegionUrlMapRequest message or plain object

callback UpdateCallback

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

Returns
Type Description
void

update(request)

public update(request: google.cloud.compute.v1.IUpdateRegionUrlMapRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Update.

Parameter
Name Description
request IUpdateRegionUrlMapRequest

UpdateRegionUrlMapRequest message or plain object

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

Promise

validate(request, callback)

public validate(request: google.cloud.compute.v1.IValidateRegionUrlMapRequest, callback: google.cloud.compute.v1.RegionUrlMaps.ValidateCallback): void;

Calls Validate.

Parameters
Name Description
request IValidateRegionUrlMapRequest

ValidateRegionUrlMapRequest message or plain object

callback ValidateCallback

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

Returns
Type Description
void

validate(request)

public validate(request: google.cloud.compute.v1.IValidateRegionUrlMapRequest): Promise<google.cloud.compute.v1.UrlMapsValidateResponse>;

Calls Validate.

Parameter
Name Description
request IValidateRegionUrlMapRequest

ValidateRegionUrlMapRequest message or plain object

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

Promise