Class TagValuesConnection (2.19.0)

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

To create a concrete instance, see MakeTagValuesConnection().

For mocking, see resourcemanager_v3_mocks::MockTagValuesConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListTagValues(google::cloud::resourcemanager::v3::ListTagValuesRequest)

Parameter
NameDescription
request google::cloud::resourcemanager::v3::ListTagValuesRequest
Returns
TypeDescription
StreamRange< google::cloud::resourcemanager::v3::TagValue >

virtual GetTagValue(google::cloud::resourcemanager::v3::GetTagValueRequest const &)

Parameter
NameDescription
request google::cloud::resourcemanager::v3::GetTagValueRequest const &
Returns
TypeDescription
StatusOr< google::cloud::resourcemanager::v3::TagValue >

virtual GetNamespacedTagValue(google::cloud::resourcemanager::v3::GetNamespacedTagValueRequest const &)

Parameter
NameDescription
request google::cloud::resourcemanager::v3::GetNamespacedTagValueRequest const &
Returns
TypeDescription
StatusOr< google::cloud::resourcemanager::v3::TagValue >

virtual CreateTagValue(google::cloud::resourcemanager::v3::CreateTagValueRequest const &)

Parameter
NameDescription
request google::cloud::resourcemanager::v3::CreateTagValueRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::TagValue > >

virtual UpdateTagValue(google::cloud::resourcemanager::v3::UpdateTagValueRequest const &)

Parameter
NameDescription
request google::cloud::resourcemanager::v3::UpdateTagValueRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::TagValue > >

virtual DeleteTagValue(google::cloud::resourcemanager::v3::DeleteTagValueRequest const &)

Parameter
NameDescription
request google::cloud::resourcemanager::v3::DeleteTagValueRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::resourcemanager::v3::TagValue > >

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

Parameter
NameDescription
request google::iam::v1::GetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::SetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::TestIamPermissionsRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::TestIamPermissionsResponse >