RegionInstances

google.cloud.compute.v1. RegionInstances

Represents a RegionInstances

Constructor

new RegionInstances(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new RegionInstances service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

bulkInsert(request, callback) → {undefined}

Calls BulkInsert.

Parameters:
Name Type Description
request google.cloud.compute.v1.IBulkInsertRegionInstanceRequest

BulkInsertRegionInstanceRequest message or plain object

callback google.cloud.compute.v1.RegionInstances.BulkInsertCallback

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

Returns:
Type Description
undefined

bulkInsert(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls BulkInsert.

Parameters:
Name Type Description
request google.cloud.compute.v1.IBulkInsertRegionInstanceRequest

BulkInsertRegionInstanceRequest message or plain object

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

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {RegionInstances}

Creates new RegionInstances service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
RegionInstances

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

Type Definitions

BulkInsertCallback(error, responseopt)

Callback as used by bulkInsert.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation