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 page details the `DataPolicyServiceConnection` class, which provides an interface with virtual methods for interacting with `DataPolicyServiceClient`."],["The latest version available is `2.37.0-rc`, while the current version of the documentation is `2.23.0`, and links to previous versions of this documentation are provided for versions all the way to `2.11.0`."],["`DataPolicyServiceConnection` is used for injecting custom behaviors in tests and includes methods for managing data policies such as creating, updating, renaming, deleting, getting, and listing."],["The `DataPolicyServiceConnection` class also provides functions for retrieving and setting IAM policies and testing IAM permissions, along with returning an options object."],["The `MakeDataPolicyServiceConnection()` function is provided to create a concrete instance of this service, and the `bigquery_datapolicies_v1_mocks::MockDataPolicyServiceConnection` is provided for mocking."]]],[]]