Class TagBindingsConnection (2.26.0-rc)

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

To create a concrete instance, see MakeTagBindingsConnection().

For mocking, see resourcemanager_v3_mocks::MockTagBindingsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListTagBindings(google::cloud::resourcemanager::v3::ListTagBindingsRequest)

Parameter
Name Description
request google::cloud::resourcemanager::v3::ListTagBindingsRequest
Returns
Type Description
StreamRange< google::cloud::resourcemanager::v3::TagBinding >

virtual CreateTagBinding(google::cloud::resourcemanager::v3::CreateTagBindingRequest const &)

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

virtual DeleteTagBinding(google::cloud::resourcemanager::v3::DeleteTagBindingRequest const &)

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

virtual ListEffectiveTags(google::cloud::resourcemanager::v3::ListEffectiveTagsRequest)

Parameter
Name Description
request google::cloud::resourcemanager::v3::ListEffectiveTagsRequest
Returns
Type Description
StreamRange< google::cloud::resourcemanager::v3::EffectiveTag >