This interface defines virtual methods for each of the user-facing overload sets in DataPolicyServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DataPolicyServiceClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `DataPolicyServiceConnection` interface, which provides virtual methods corresponding to each user-facing overload set in `DataPolicyServiceClient`."],["The latest version available for `DataPolicyServiceConnection` is version 2.37.0-rc, with several prior versions listed, back to 2.11.0."],["`DataPolicyServiceConnection` enables users to inject custom behavior, such as through Google Mock objects, when writing tests that use `DataPolicyServiceClient` objects."],["The interface defines virtual functions like `CreateDataPolicy`, `UpdateDataPolicy`, `DeleteDataPolicy`, `GetIamPolicy`, and `SetIamPolicy`, among others, for interacting with data policies."],["You can create a concrete instance of `DataPolicyServiceConnection` using the `MakeDataPolicyServiceConnection()` function, and `bigquery_datapolicies_v1_mocks::MockDataPolicyServiceConnection` is available for mocking."]]],[]]