Class OsConfigServiceConnection (2.29.0-rc)

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

To create a concrete instance, see MakeOsConfigServiceConnection().

For mocking, see osconfig_v1_mocks::MockOsConfigServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ExecutePatchJob(google::cloud::osconfig::v1::ExecutePatchJobRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::ExecutePatchJobRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchJob >

virtual GetPatchJob(google::cloud::osconfig::v1::GetPatchJobRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::GetPatchJobRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchJob >

virtual CancelPatchJob(google::cloud::osconfig::v1::CancelPatchJobRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::CancelPatchJobRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchJob >

virtual ListPatchJobs(google::cloud::osconfig::v1::ListPatchJobsRequest)

Parameter
Name Description
request google::cloud::osconfig::v1::ListPatchJobsRequest
Returns
Type Description
StreamRange< google::cloud::osconfig::v1::PatchJob >

virtual ListPatchJobInstanceDetails(google::cloud::osconfig::v1::ListPatchJobInstanceDetailsRequest)

Parameter
Name Description
request google::cloud::osconfig::v1::ListPatchJobInstanceDetailsRequest
Returns
Type Description
StreamRange< google::cloud::osconfig::v1::PatchJobInstanceDetails >

virtual CreatePatchDeployment(google::cloud::osconfig::v1::CreatePatchDeploymentRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::CreatePatchDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

virtual GetPatchDeployment(google::cloud::osconfig::v1::GetPatchDeploymentRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::GetPatchDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

virtual ListPatchDeployments(google::cloud::osconfig::v1::ListPatchDeploymentsRequest)

Parameter
Name Description
request google::cloud::osconfig::v1::ListPatchDeploymentsRequest
Returns
Type Description
StreamRange< google::cloud::osconfig::v1::PatchDeployment >

virtual DeletePatchDeployment(google::cloud::osconfig::v1::DeletePatchDeploymentRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::DeletePatchDeploymentRequest const &
Returns
Type Description
Status

virtual UpdatePatchDeployment(google::cloud::osconfig::v1::UpdatePatchDeploymentRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::UpdatePatchDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

virtual PausePatchDeployment(google::cloud::osconfig::v1::PausePatchDeploymentRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::PausePatchDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

virtual ResumePatchDeployment(google::cloud::osconfig::v1::ResumePatchDeploymentRequest const &)

Parameter
Name Description
request google::cloud::osconfig::v1::ResumePatchDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::osconfig::v1::PatchDeployment >