Class TagHoldsConnection (2.18.0)

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

To create a concrete instance, see MakeTagHoldsConnection().

For mocking, see resourcemanager_v3_mocks::MockTagHoldsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateTagHold(google::cloud::resourcemanager::v3::CreateTagHoldRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::CreateTagHoldRequest const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::TagHold > >

virtual DeleteTagHold(google::cloud::resourcemanager::v3::DeleteTagHoldRequest const &)

Parameter
Name Description
request google::cloud::resourcemanager::v3::DeleteTagHoldRequest const &
Returns
Type Description
future< StatusOr< google::cloud::resourcemanager::v3::DeleteTagHoldMetadata > >

virtual ListTagHolds(google::cloud::resourcemanager::v3::ListTagHoldsRequest)

Parameter
Name Description
request google::cloud::resourcemanager::v3::ListTagHoldsRequest
Returns
Type Description
StreamRange< google::cloud::resourcemanager::v3::TagHold >