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-05 UTC."],[[["This document details the `DataPolicyServiceConnection` class, which provides an interface for interacting with the `DataPolicyServiceClient` in the Google Cloud BigQuery Data Policies API."],["The latest version of the API available is 2.37.0-rc, and it contains an extensive list of previous versions, from 2.36.0 down to 2.11.0, which are also all accessible."],["`DataPolicyServiceConnection` has functions for managing data policies, such as creating, updating, renaming, deleting, getting, and listing data policies, which includes various request parameters."],["The document also outlines the usage of the `DataPolicyServiceConnection` in mocking and testing, as well as how to create a concrete instance using `MakeDataPolicyServiceConnection()`."],["The `DataPolicyServiceConnection` enables policy management and role-based access controls, as shown in its functions to interact with IAM policies, including `GetIamPolicy`, `SetIamPolicy`, and `TestIamPermissions`."]]],[]]