Stay organized with collections Save and categorize content based on your preferences.
Google.Identity.AccessContextManager.V1Google.Identity.AccessContextManager.V1
is a.NET client library for the Identity Access Context Manager API.
Note: This documentation is for version 2.5.0
of the library. Some samples may not work with other versions.
Install the Google.Identity.AccessContextManager.V1
package from NuGet. Add it to your project in the normal way (for example by right-clicking on the project in Visual Studio and choosing "Manage NuGet Packages...").
When running on Google Cloud, no action needs to be taken to authenticate.
Otherwise, the simplest way of authenticating your API calls is to set up Application Default Credentials. The credentials will automatically be used to authenticate. See Set up Application Default Credentials for more details.
Getting startedAll operations are performed through AccessContextManagerClient.
Create a client instance by calling the static Create
or CreateAsync
methods. Alternatively, use the builder class associated with each client class (e.g. AccessContextManagerClientBuilder for AccessContextManagerClient) as an easy way of specifying custom credentials, settings, or a custom endpoint. Clients are thread-safe, and we recommend using a single instance across your entire application unless you have a particular need to configure multiple client objects separately.
This library defaults to performing RPCs using gRPC using the binary Protocol Buffer wire format. However, it also supports HTTP/1.1 and JSON, for situations where gRPC doesn't work as desired. (This is typically due to an incompatible proxy or other network issue.) To create a client using HTTP/1.1, specify a RestGrpcAdapter
reference for the GrpcAdapter
property in the client builder. Sample code:
var client = new AccessContextManagerClientBuilder
{
GrpcAdapter = RestGrpcAdapter.Default
}.Build();
For more details, see the transport selection page.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["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-08-07 UTC."],[[["The latest version of the `Google.Identity.AccessContextManager.V1` .NET client library for the Identity Access Context Manager API is 2.5.0, and documentation is specifically for this version."],["This library can be installed via NuGet, offering a standard package installation process for .NET projects."],["Authentication on Google Cloud is automatic, but when not on the cloud, setting up Application Default Credentials is the easiest method for API authentication."],["All API operations are conducted through the `AccessContextManagerClient`, with recommendations to create a single instance for application-wide use due to its thread-safe design."],["While the default transport method is gRPC, the library provides the flexibility to utilize HTTP/1.1 and JSON via the `RestGrpcAdapter` for compatibility with different network environments."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4