target.apidocs.com.google.api.services.accesscontextmanager.v1.AccessContextManager.html Maven / Gradle / Ivy
AccessContextManager (Access Context Manager API v1-rev20240923-2.0.0)
com.google.api.services.accesscontextmanager.v1
Class AccessContextManager
- java.lang.Object
-
- com.google.api.client.googleapis.services.AbstractGoogleClient
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
-
- com.google.api.services.accesscontextmanager.v1.AccessContextManager
-
public class AccessContextManager
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
Service definition for AccessContextManager (v1).
An API for setting attribute based access control to requests to Google Cloud services. *Warning:* Do not mix *v1alpha* and *v1* API usage in the same access policy. The v1alpha API supports new Access Context Manager features, which may have different attributes or behaviors that are not supported by v1. The practice of mixed API usage within a policy may result in the inability to update that policy, including any access levels or service perimeters belonging to it. It is not recommended to use both v1 and v1alpha for modifying policies with critical service perimeters. Modifications using v1alpha should be limited to policies with non-production/non-critical service perimeters.
For more information about this service, see the
API Documentation
This service uses AccessContextManagerRequestInitializer
to initialize global parameters via its
AccessContextManager.Builder
.
- Since:
- 1.3
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AccessContextManager.AccessPolicies
The "accessPolicies" collection of methods.
static class
AccessContextManager.Builder
Builder for AccessContextManager
.
class
AccessContextManager.Operations
The "operations" collection of methods.
class
AccessContextManager.Organizations
The "organizations" collection of methods.
class
AccessContextManager.Services
The "services" collection of methods.
-
Field Summary
Fields
Modifier and Type
Field and Description
static String
DEFAULT_BASE_URL
The default encoded base URL of the service.
static String
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
static String
DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service.
static String
DEFAULT_ROOT_URL
The default encoded root URL of the service.
static String
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
-
Constructor Summary
Constructors
Constructor and Description
AccessContextManager(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccessContextManager.AccessPolicies
accessPolicies()
An accessor for creating requests from the AccessPolicies collection.
protected void
initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
AccessContextManager.Operations
operations()
An accessor for creating requests from the Operations collection.
AccessContextManager.Organizations
organizations()
An accessor for creating requests from the Organizations collection.
AccessContextManager.Services
services()
An accessor for creating requests from the Services collection.
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
getJsonFactory, getObjectParser
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, getUniverseDomain, validateUniverseDomain
-
-
Field Detail
-
DEFAULT_ROOT_URL
public static final String DEFAULT_ROOT_URL
The default encoded root URL of the service. This is determined when the library is generated
and normally should not be changed.
- Since:
- 1.7
- See Also:
- Constant Field Values
-
DEFAULT_MTLS_ROOT_URL
public static final String DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service. This is determined when the library is generated
and normally should not be changed.
- Since:
- 1.31
- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_PATH
public static final String DEFAULT_SERVICE_PATH
The default encoded service path of the service. This is determined when the library is
generated and normally should not be changed.
- Since:
- 1.7
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_PATH
public static final String DEFAULT_BATCH_PATH
The default encoded batch path of the service. This is determined when the library is
generated and normally should not be changed.
- Since:
- 1.23
- See Also:
- Constant Field Values
-
DEFAULT_BASE_URL
public static final String DEFAULT_BASE_URL
The default encoded base URL of the service. This is determined when the library is generated
and normally should not be changed.
- See Also:
- Constant Field Values
-
Constructor Detail
-
AccessContextManager
public AccessContextManager(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
Use AccessContextManager.Builder
if you need to specify any of the optional parameters.
- Parameters:
transport
- HTTP transport, which should normally be:
- Google App Engine:
com.google.api.client.extensions.appengine.http.UrlFetchTransport
- Android:
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
- Java:
com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory
- JSON factory, which may be:
- Jackson:
com.google.api.client.json.jackson2.JacksonFactory
- Google GSON:
com.google.api.client.json.gson.GsonFactory
- Android Honeycomb or higher:
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for none
- Since:
- 1.7
-
Method Detail
-
initialize
protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
throws IOException
- Overrides:
initialize
in class com.google.api.client.googleapis.services.AbstractGoogleClient
- Throws:
IOException
-
accessPolicies
public AccessContextManager.AccessPolicies accessPolicies()
An accessor for creating requests from the AccessPolicies collection.
The typical use is:
AccessContextManager accesscontextmanager = new AccessContextManager(...);
AccessContextManager.AccessPolicies.List request = accesscontextmanager.accessPolicies().list(parameters ...)
- Returns:
- the resource collection
-
operations
public AccessContextManager.Operations operations()
An accessor for creating requests from the Operations collection.
The typical use is:
AccessContextManager accesscontextmanager = new AccessContextManager(...);
AccessContextManager.Operations.List request = accesscontextmanager.operations().list(parameters ...)
- Returns:
- the resource collection
-
organizations
public AccessContextManager.Organizations organizations()
An accessor for creating requests from the Organizations collection.
The typical use is:
AccessContextManager accesscontextmanager = new AccessContextManager(...);
AccessContextManager.Organizations.List request = accesscontextmanager.organizations().list(parameters ...)
- Returns:
- the resource collection
-
services
public AccessContextManager.Services services()
An accessor for creating requests from the Services collection.
The typical use is:
AccessContextManager accesscontextmanager = new AccessContextManager(...);
AccessContextManager.Services.List request = accesscontextmanager.services().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.