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-08-14 UTC."],[[["\u003cp\u003eThis document details the \u003ccode\u003eDataPolicyServiceConnection\u003c/code\u003e class, which provides an interface for interacting with the \u003ccode\u003eDataPolicyServiceClient\u003c/code\u003e in the Google Cloud BigQuery Data Policies API.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataPolicyServiceConnection\u003c/code\u003e has functions for managing data policies, such as creating, updating, renaming, deleting, getting, and listing data policies, which includes various request parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe document also outlines the usage of the \u003ccode\u003eDataPolicyServiceConnection\u003c/code\u003e in mocking and testing, as well as how to create a concrete instance using \u003ccode\u003eMakeDataPolicyServiceConnection()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataPolicyServiceConnection\u003c/code\u003e enables policy management and role-based access controls, as shown in its functions to interact with IAM policies, including \u003ccode\u003eGetIamPolicy\u003c/code\u003e, \u003ccode\u003eSetIamPolicy\u003c/code\u003e, and \u003ccode\u003eTestIamPermissions\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]