This interface defines virtual methods for each of the user-facing overload sets in PoliciesClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PoliciesClient.
[[["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-21 UTC."],[[["The document details the `PoliciesConnection` object, which provides an interface for interacting with the `PoliciesClient` in the Google Cloud IAM v2 API."],["The `PoliciesConnection` interface allows users to define custom behaviors for testing `PoliciesClient` objects, offering methods for operations like `ListPolicies`, `GetPolicy`, `CreatePolicy`, `UpdatePolicy`, and `DeletePolicy`."],["It outlines that you can create concrete instances of `PoliciesConnection` via `MakePoliciesConnection()` and use `iam_v2_mocks::MockPoliciesConnection` for mocking."],["The interface features virtual methods for various policy management functions, accepting request objects and returning either status/operation results or streams of `Policy` objects, as well as a no await tag."],["There are many versions of this documentation available, ranging from version 2.11.0 up to 2.37.0-rc."]]],[]]