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` interface, which provides virtual methods corresponding to each user-facing overload set in `DataPolicyServiceClient`."],["The `DataPolicyServiceConnection` interface enables users to customize behavior, particularly in testing scenarios, by injecting custom behavior."],["The latest version available is 2.37.0-rc, and a variety of older versions are also available, going down to version 2.11.0, all of which use the `DataPolicyServiceConnection` class."],["The document provides details on functions such as `CreateDataPolicy`, `UpdateDataPolicy`, `DeleteDataPolicy`, `GetDataPolicy`, `ListDataPolicies`, and IAM-related methods like `GetIamPolicy`, `SetIamPolicy`, and `TestIamPermissions`."],["`MakeDataPolicyServiceConnection()` is used to make a concrete instance, while `MockDataPolicyServiceConnection` is available for mocking purposes."]]],[]]