Constructor
new NodeGroupController(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new NodeGroupController 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
createNodeGroup(request, callback) → {undefined}
Calls CreateNodeGroup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dataproc.v1.ICreateNodeGroupRequest |
CreateNodeGroupRequest message or plain object |
callback |
google.cloud.dataproc.v1.NodeGroupController.CreateNodeGroupCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createNodeGroup(request) → {Promise.<google.longrunning.Operation>}
Calls CreateNodeGroup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dataproc.v1.ICreateNodeGroupRequest |
CreateNodeGroupRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
getNodeGroup(request, callback) → {undefined}
Calls GetNodeGroup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dataproc.v1.IGetNodeGroupRequest |
GetNodeGroupRequest message or plain object |
callback |
google.cloud.dataproc.v1.NodeGroupController.GetNodeGroupCallback |
Node-style callback called with the error, if any, and NodeGroup |
Returns:
Type | Description |
---|---|
undefined |
getNodeGroup(request) → {Promise.<google.cloud.dataproc.v1.NodeGroup>}
Calls GetNodeGroup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dataproc.v1.IGetNodeGroupRequest |
GetNodeGroupRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dataproc.v1.NodeGroup> |
Promise |
resizeNodeGroup(request, callback) → {undefined}
Calls ResizeNodeGroup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dataproc.v1.IResizeNodeGroupRequest |
ResizeNodeGroupRequest message or plain object |
callback |
google.cloud.dataproc.v1.NodeGroupController.ResizeNodeGroupCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
resizeNodeGroup(request) → {Promise.<google.longrunning.Operation>}
Calls ResizeNodeGroup.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dataproc.v1.IResizeNodeGroupRequest |
ResizeNodeGroupRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {NodeGroupController}
Creates new NodeGroupController 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 |
---|---|
NodeGroupController |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateNodeGroupCallback(error, responseopt)
Callback as used by createNodeGroup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GetNodeGroupCallback(error, responseopt)
Callback as used by getNodeGroup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dataproc.v1.NodeGroup |
<optional> |
NodeGroup |
ResizeNodeGroupCallback(error, responseopt)
Callback as used by resizeNodeGroup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |