Class BinauthzManagementServiceV1Connection (2.19.0-rc)

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

To create a concrete instance, see MakeBinauthzManagementServiceV1Connection().

For mocking, see binaryauthorization_v1_mocks::MockBinauthzManagementServiceV1Connection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual GetPolicy(google::cloud::binaryauthorization::v1::GetPolicyRequest const &)

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::GetPolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::binaryauthorization::v1::Policy >

virtual UpdatePolicy(google::cloud::binaryauthorization::v1::UpdatePolicyRequest const &)

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::UpdatePolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::binaryauthorization::v1::Policy >

virtual CreateAttestor(google::cloud::binaryauthorization::v1::CreateAttestorRequest const &)

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::CreateAttestorRequest const &
Returns
TypeDescription
StatusOr< google::cloud::binaryauthorization::v1::Attestor >

virtual GetAttestor(google::cloud::binaryauthorization::v1::GetAttestorRequest const &)

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::GetAttestorRequest const &
Returns
TypeDescription
StatusOr< google::cloud::binaryauthorization::v1::Attestor >

virtual UpdateAttestor(google::cloud::binaryauthorization::v1::UpdateAttestorRequest const &)

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::UpdateAttestorRequest const &
Returns
TypeDescription
StatusOr< google::cloud::binaryauthorization::v1::Attestor >

virtual ListAttestors(google::cloud::binaryauthorization::v1::ListAttestorsRequest)

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::ListAttestorsRequest
Returns
TypeDescription
StreamRange< google::cloud::binaryauthorization::v1::Attestor >

virtual DeleteAttestor(google::cloud::binaryauthorization::v1::DeleteAttestorRequest const &)

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::DeleteAttestorRequest const &
Returns
TypeDescription
Status