target.apidocs.com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.AuthConfigs.html Maven / Gradle / Ivy
Integrations.Projects.Locations.AuthConfigs (Application Integration API v1alpha-rev20230117-2.0.0)
com.google.api.services.integrations.v1alpha
Class Integrations.Projects.Locations.AuthConfigs
- java.lang.Object
-
- com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.AuthConfigs
-
- Enclosing class:
- Integrations.Projects.Locations
public class Integrations.Projects.Locations.AuthConfigs
extends Object
The "authConfigs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Integrations.Projects.Locations.AuthConfigs.Create
class
Integrations.Projects.Locations.AuthConfigs.Delete
class
Integrations.Projects.Locations.AuthConfigs.Get
class
Integrations.Projects.Locations.AuthConfigs.List
class
Integrations.Projects.Locations.AuthConfigs.Patch
-
Constructor Summary
Constructors
Constructor and Description
AuthConfigs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Integrations.Projects.Locations.AuthConfigs.Create
create(String parent,
GoogleCloudIntegrationsV1alphaAuthConfig content)
Creates an auth config record.
Integrations.Projects.Locations.AuthConfigs.Delete
delete(String name)
Deletes an auth config.
Integrations.Projects.Locations.AuthConfigs.Get
get(String name)
Gets a complete auth config.
Integrations.Projects.Locations.AuthConfigs.List
list(String parent)
Lists all auth configs that match the filter.
Integrations.Projects.Locations.AuthConfigs.Patch
patch(String name,
GoogleCloudIntegrationsV1alphaAuthConfig content)
Updates an auth config.
-
-
Method Detail
-
create
public Integrations.Projects.Locations.AuthConfigs.Create create(String parent,
GoogleCloudIntegrationsV1alphaAuthConfig content)
throws IOException
Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g.
access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store
the encrypted credentials in Spanner. Returns the encrypted auth config.
Create a request for the method "authConfigs.create".
This request holds the parameters needed by the integrations server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
parent - Required. "projects/{project}/locations/{location}" format.
content - the GoogleCloudIntegrationsV1alphaAuthConfig
- Returns:
- the request
- Throws:
IOException
-
delete
public Integrations.Projects.Locations.AuthConfigs.Delete delete(String name)
throws IOException
Deletes an auth config.
Create a request for the method "authConfigs.delete".
This request holds the parameters needed by the integrations server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
name - Required. The name that is associated with the AuthConfig.
- Returns:
- the request
- Throws:
IOException
-
get
public Integrations.Projects.Locations.AuthConfigs.Get get(String name)
throws IOException
Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be
thrown. Returns the decrypted auth config.
Create a request for the method "authConfigs.get".
This request holds the parameters needed by the integrations server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
name - Required. The name that is associated with the AuthConfig.
- Returns:
- the request
- Throws:
IOException
-
list
public Integrations.Projects.Locations.AuthConfigs.List list(String parent)
throws IOException
Lists all auth configs that match the filter. Restrict to auth configs belong to the current
client only.
Create a request for the method "authConfigs.list".
This request holds the parameters needed by the integrations server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
parent - Required. The client, which owns this collection of AuthConfigs.
- Returns:
- the request
- Throws:
IOException
-
patch
public Integrations.Projects.Locations.AuthConfigs.Patch patch(String name,
GoogleCloudIntegrationsV1alphaAuthConfig content)
throws IOException
Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner,
decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and
update the Spanner record. For other fields, directly update the Spanner record. Returns the
encrypted auth config.
Create a request for the method "authConfigs.patch".
This request holds the parameters needed by the integrations server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
name - Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.
content - the GoogleCloudIntegrationsV1alphaAuthConfig
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy