Class protos.google.cloud.networkconnectivity.v1.InternalRangeService (4.6.0)

Represents an InternalRangeService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.networkconnectivity.v1.InternalRangeService

Package

@google-cloud/network-connectivity

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createInternalRange(request, callback)

public createInternalRange(request: google.cloud.networkconnectivity.v1.ICreateInternalRangeRequest, callback: google.cloud.networkconnectivity.v1.InternalRangeService.CreateInternalRangeCallback): void;

Calls CreateInternalRange.

Parameters
Name Description
request ICreateInternalRangeRequest

CreateInternalRangeRequest message or plain object

callback CreateInternalRangeCallback

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

Returns
Type Description
void

createInternalRange(request)

public createInternalRange(request: google.cloud.networkconnectivity.v1.ICreateInternalRangeRequest): Promise<google.longrunning.Operation>;

Calls CreateInternalRange.

Parameter
Name Description
request ICreateInternalRangeRequest

CreateInternalRangeRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

deleteInternalRange(request, callback)

public deleteInternalRange(request: google.cloud.networkconnectivity.v1.IDeleteInternalRangeRequest, callback: google.cloud.networkconnectivity.v1.InternalRangeService.DeleteInternalRangeCallback): void;

Calls DeleteInternalRange.

Parameters
Name Description
request IDeleteInternalRangeRequest

DeleteInternalRangeRequest message or plain object

callback DeleteInternalRangeCallback

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

Returns
Type Description
void

deleteInternalRange(request)

public deleteInternalRange(request: google.cloud.networkconnectivity.v1.IDeleteInternalRangeRequest): Promise<google.longrunning.Operation>;

Calls DeleteInternalRange.

Parameter
Name Description
request IDeleteInternalRangeRequest

DeleteInternalRangeRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

getInternalRange(request, callback)

public getInternalRange(request: google.cloud.networkconnectivity.v1.IGetInternalRangeRequest, callback: google.cloud.networkconnectivity.v1.InternalRangeService.GetInternalRangeCallback): void;

Calls GetInternalRange.

Parameters
Name Description
request IGetInternalRangeRequest

GetInternalRangeRequest message or plain object

callback GetInternalRangeCallback

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

Returns
Type Description
void

getInternalRange(request)

public getInternalRange(request: google.cloud.networkconnectivity.v1.IGetInternalRangeRequest): Promise<google.cloud.networkconnectivity.v1.InternalRange>;

Calls GetInternalRange.

Parameter
Name Description
request IGetInternalRangeRequest

GetInternalRangeRequest message or plain object

Returns
Type Description
Promise<google.cloud.networkconnectivity.v1.InternalRange>

Promise

listInternalRanges(request, callback)

public listInternalRanges(request: google.cloud.networkconnectivity.v1.IListInternalRangesRequest, callback: google.cloud.networkconnectivity.v1.InternalRangeService.ListInternalRangesCallback): void;

Calls ListInternalRanges.

Parameters
Name Description
request IListInternalRangesRequest

ListInternalRangesRequest message or plain object

callback ListInternalRangesCallback

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

Returns
Type Description
void

listInternalRanges(request)

public listInternalRanges(request: google.cloud.networkconnectivity.v1.IListInternalRangesRequest): Promise<google.cloud.networkconnectivity.v1.ListInternalRangesResponse>;

Calls ListInternalRanges.

Parameter
Name Description
request IListInternalRangesRequest

ListInternalRangesRequest message or plain object

Returns
Type Description
Promise<google.cloud.networkconnectivity.v1.ListInternalRangesResponse>

Promise

updateInternalRange(request, callback)

public updateInternalRange(request: google.cloud.networkconnectivity.v1.IUpdateInternalRangeRequest, callback: google.cloud.networkconnectivity.v1.InternalRangeService.UpdateInternalRangeCallback): void;

Calls UpdateInternalRange.

Parameters
Name Description
request IUpdateInternalRangeRequest

UpdateInternalRangeRequest message or plain object

callback UpdateInternalRangeCallback

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

Returns
Type Description
void

updateInternalRange(request)

public updateInternalRange(request: google.cloud.networkconnectivity.v1.IUpdateInternalRangeRequest): Promise<google.longrunning.Operation>;

Calls UpdateInternalRange.

Parameter
Name Description
request IUpdateInternalRangeRequest

UpdateInternalRangeRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise