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 document outlines the `DataPolicyServiceConnection` object, which provides an interface with virtual methods for `DataPolicyServiceClient` operations."],["The latest version available is 2.37.0-rc, while the current page's version is 2.18.0, and older versions back to 2.11.0 are also listed for reference."],["`DataPolicyServiceConnection` allows users to insert custom behaviors when writing tests that utilize `DataPolicyServiceClient` objects."],["Key functions included are CreateDataPolicy, UpdateDataPolicy, RenameDataPolicy, DeleteDataPolicy, GetDataPolicy, ListDataPolicies, GetIamPolicy, SetIamPolicy, and TestIamPermissions, which all interact with DataPolicies."],["`MakeDataPolicyServiceConnection()` can be used for the creation of a concrete instance, and `bigquery_datapolicies_v1_mocks::MockDataPolicyServiceConnection` is available for mocking."]]],[]]