Class DataprocMetastoreFederationConnection (2.33.0-rc)

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

To create a concrete instance, see MakeDataprocMetastoreFederationConnection().

For mocking, see metastore_v1_mocks::MockDataprocMetastoreFederationConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListFederations(google::cloud::metastore::v1::ListFederationsRequest)

Parameter
Name Description
request google::cloud::metastore::v1::ListFederationsRequest
Returns
Type Description
StreamRange< google::cloud::metastore::v1::Federation >

virtual GetFederation(google::cloud::metastore::v1::GetFederationRequest const &)

Parameter
Name Description
request google::cloud::metastore::v1::GetFederationRequest const &
Returns
Type Description
StatusOr< google::cloud::metastore::v1::Federation >

virtual CreateFederation(google::cloud::metastore::v1::CreateFederationRequest const &)

Parameter
Name Description
request google::cloud::metastore::v1::CreateFederationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::metastore::v1::Federation > >

virtual CreateFederation(NoAwaitTag, google::cloud::metastore::v1::CreateFederationRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::metastore::v1::CreateFederationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateFederation(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::metastore::v1::Federation > >

virtual UpdateFederation(google::cloud::metastore::v1::UpdateFederationRequest const &)

Parameter
Name Description
request google::cloud::metastore::v1::UpdateFederationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::metastore::v1::Federation > >

virtual UpdateFederation(NoAwaitTag, google::cloud::metastore::v1::UpdateFederationRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::metastore::v1::UpdateFederationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateFederation(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::metastore::v1::Federation > >

virtual DeleteFederation(google::cloud::metastore::v1::DeleteFederationRequest const &)

Parameter
Name Description
request google::cloud::metastore::v1::DeleteFederationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::metastore::v1::OperationMetadata > >

virtual DeleteFederation(NoAwaitTag, google::cloud::metastore::v1::DeleteFederationRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::metastore::v1::DeleteFederationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteFederation(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::metastore::v1::OperationMetadata > >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::GetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status