Class NodeGroupControllerConnection (2.26.0)

This interface defines virtual methods for each of the user-facing overload sets in NodeGroupControllerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type NodeGroupControllerClient.

To create a concrete instance, see MakeNodeGroupControllerConnection().

For mocking, see dataproc_v1_mocks::MockNodeGroupControllerConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateNodeGroup(google::cloud::dataproc::v1::CreateNodeGroupRequest const &)

Parameter
Name Description
request google::cloud::dataproc::v1::CreateNodeGroupRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataproc::v1::NodeGroup > >

virtual CreateNodeGroup(ExperimentalTag, NoAwaitTag, google::cloud::dataproc::v1::CreateNodeGroupRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::dataproc::v1::CreateNodeGroupRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateNodeGroup(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataproc::v1::NodeGroup > >

virtual ResizeNodeGroup(google::cloud::dataproc::v1::ResizeNodeGroupRequest const &)

Parameter
Name Description
request google::cloud::dataproc::v1::ResizeNodeGroupRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataproc::v1::NodeGroup > >

virtual ResizeNodeGroup(ExperimentalTag, NoAwaitTag, google::cloud::dataproc::v1::ResizeNodeGroupRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::dataproc::v1::ResizeNodeGroupRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual ResizeNodeGroup(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataproc::v1::NodeGroup > >

virtual GetNodeGroup(google::cloud::dataproc::v1::GetNodeGroupRequest const &)

Parameter
Name Description
request google::cloud::dataproc::v1::GetNodeGroupRequest const &
Returns
Type Description
StatusOr< google::cloud::dataproc::v1::NodeGroup >