Class OsConfigServiceConnection (2.16.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::osconfig::v1::ExecutePatchJobRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchJob >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::GetPatchJobRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchJob >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::CancelPatchJobRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchJob >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::ListPatchJobsRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::PatchJob >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::ListPatchJobInstanceDetailsRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::PatchJobInstanceDetails >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::CreatePatchDeploymentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::GetPatchDeploymentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::ListPatchDeploymentsRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::PatchDeployment >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::DeletePatchDeploymentRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::osconfig::v1::UpdatePatchDeploymentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::PausePatchDeploymentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchDeployment >

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

Parameter
NameDescription
request google::cloud::osconfig::v1::ResumePatchDeploymentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::PatchDeployment >