All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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
    • Constructor Detail

      • AuthConfigs

        public AuthConfigs()
    • 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