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 page details the `DataPolicyServiceConnection` class, which provides an interface for virtual methods in `DataPolicyServiceClient`, allowing for the injection of custom behavior during testing."],["The latest release candidate version for BigQuery DataPolicies is 2.37.0-rc, and the current version is 2.21.0 with a list of previous version references."],["The `DataPolicyServiceConnection` interface includes virtual methods for creating, updating, renaming, deleting, getting, and listing data policies, along with managing IAM policies, specifically `CreateDataPolicy`, `UpdateDataPolicy`, `RenameDataPolicy`, `DeleteDataPolicy`, `GetDataPolicy`, `ListDataPolicies`, `GetIamPolicy`, `SetIamPolicy`, and `TestIamPermissions`."],["Users can create concrete instances of the service connection using `MakeDataPolicyServiceConnection()`, and they can utilize `MockDataPolicyServiceConnection` for mocking purposes in testing environments."],["The `options()` function returns the type \"Options\"."]]],[]]