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-14 UTC."],[[["This page details the `DataPolicyServiceConnection` interface, which provides virtual methods corresponding to each user-facing overload set in `DataPolicyServiceClient`."],["The `DataPolicyServiceConnection` interface enables custom behavior injection during testing, allowing the use of mock objects with `DataPolicyServiceClient`."],["The page lists the various available versions of the `DataPolicyServiceConnection`, from 2.11.0 up to the latest release candidate 2.37.0-rc."],["The `DataPolicyServiceConnection` interface includes methods such as `CreateDataPolicy`, `UpdateDataPolicy`, `RenameDataPolicy`, `DeleteDataPolicy`, and `GetDataPolicy`, all of which interact with data policies."],["`MakeDataPolicyServiceConnection()` is used to create concrete instances, while `bigquery_datapolicies_v1_mocks::MockDataPolicyServiceConnection` is available for mocking purposes."]]],[]]