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` object, which acts as an interface for the `DataPolicyServiceClient` in the BigQuery Data Policies API, version 2.32.0."],["The `DataPolicyServiceConnection` interface provides virtual methods that mirror the user-facing overload sets found in `DataPolicyServiceClient`, enabling users to inject custom behaviors, primarily for testing."],["The most recent version available is 2.37.0-rc, while the current version discussed is 2.32.0, and historical versions from 2.11.0 to 2.36.0 are also accessible."],["Functions included within the interface are options(), CreateDataPolicy, UpdateDataPolicy, RenameDataPolicy, DeleteDataPolicy, GetDataPolicy, ListDataPolicies, GetIamPolicy, SetIamPolicy and TestIamPermissions."],["The `MakeDataPolicyServiceConnection()` function can be used to create a concrete instance, while `bigquery_datapolicies_v1_mocks::MockDataPolicyServiceConnection` is for mocking purposes."]]],[]]