Class OsConfigZonalServiceConnection (2.18.0)

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

To create a concrete instance, see MakeOsConfigZonalServiceConnection().

For mocking, see osconfig_v1_mocks::MockOsConfigZonalServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual CreateOSPolicyAssignment(google::cloud::osconfig::v1::CreateOSPolicyAssignmentRequest const &)

Parameter
NameDescription
request google::cloud::osconfig::v1::CreateOSPolicyAssignmentRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::osconfig::v1::OSPolicyAssignment > >

virtual UpdateOSPolicyAssignment(google::cloud::osconfig::v1::UpdateOSPolicyAssignmentRequest const &)

Parameter
NameDescription
request google::cloud::osconfig::v1::UpdateOSPolicyAssignmentRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::osconfig::v1::OSPolicyAssignment > >

virtual GetOSPolicyAssignment(google::cloud::osconfig::v1::GetOSPolicyAssignmentRequest const &)

Parameter
NameDescription
request google::cloud::osconfig::v1::GetOSPolicyAssignmentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::OSPolicyAssignment >

virtual ListOSPolicyAssignments(google::cloud::osconfig::v1::ListOSPolicyAssignmentsRequest)

Parameter
NameDescription
request google::cloud::osconfig::v1::ListOSPolicyAssignmentsRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::OSPolicyAssignment >

virtual ListOSPolicyAssignmentRevisions(google::cloud::osconfig::v1::ListOSPolicyAssignmentRevisionsRequest)

Parameter
NameDescription
request google::cloud::osconfig::v1::ListOSPolicyAssignmentRevisionsRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::OSPolicyAssignment >

virtual DeleteOSPolicyAssignment(google::cloud::osconfig::v1::DeleteOSPolicyAssignmentRequest const &)

Parameter
NameDescription
request google::cloud::osconfig::v1::DeleteOSPolicyAssignmentRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::osconfig::v1::OSPolicyAssignmentOperationMetadata > >

virtual GetOSPolicyAssignmentReport(google::cloud::osconfig::v1::GetOSPolicyAssignmentReportRequest const &)

Parameter
NameDescription
request google::cloud::osconfig::v1::GetOSPolicyAssignmentReportRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::OSPolicyAssignmentReport >

virtual ListOSPolicyAssignmentReports(google::cloud::osconfig::v1::ListOSPolicyAssignmentReportsRequest)

Parameter
NameDescription
request google::cloud::osconfig::v1::ListOSPolicyAssignmentReportsRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::OSPolicyAssignmentReport >

virtual GetInventory(google::cloud::osconfig::v1::GetInventoryRequest const &)

Parameter
NameDescription
request google::cloud::osconfig::v1::GetInventoryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::Inventory >

virtual ListInventories(google::cloud::osconfig::v1::ListInventoriesRequest)

Parameter
NameDescription
request google::cloud::osconfig::v1::ListInventoriesRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::Inventory >

virtual GetVulnerabilityReport(google::cloud::osconfig::v1::GetVulnerabilityReportRequest const &)

Parameter
NameDescription
request google::cloud::osconfig::v1::GetVulnerabilityReportRequest const &
Returns
TypeDescription
StatusOr< google::cloud::osconfig::v1::VulnerabilityReport >

virtual ListVulnerabilityReports(google::cloud::osconfig::v1::ListVulnerabilityReportsRequest)

Parameter
NameDescription
request google::cloud::osconfig::v1::ListVulnerabilityReportsRequest
Returns
TypeDescription
StreamRange< google::cloud::osconfig::v1::VulnerabilityReport >