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.IntegrationsOperations.Versions.html Maven / Gradle / Ivy







Integrations.Projects.Locations.IntegrationsOperations.Versions (Application Integration API v1alpha-rev20230117-2.0.0)












com.google.api.services.integrations.v1alpha

Class Integrations.Projects.Locations.IntegrationsOperations.Versions

  • java.lang.Object
    • com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.IntegrationsOperations.Versions
    • Constructor Detail

      • Versions

        public Versions()
    • Method Detail

      • archive

        public Integrations.Projects.Locations.IntegrationsOperations.Versions.Archive archive(String name,
                                                                                               GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest content)
                                                                                        throws IOException
        Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being archived is DRAFT, and if the `locked_by` user is not the same as the user performing the Archive. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Archiving a integration. Currently, there is no unarchive mechanism. Create a request for the method "versions.archive". 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 version to archive. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
        content - the GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Integrations.Projects.Locations.IntegrationsOperations.Versions.Delete delete(String name)
                                                                                      throws IOException
        Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism. Create a request for the method "versions.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 version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
        Returns:
        the request
        Throws:
        IOException
      • download

        public Integrations.Projects.Locations.IntegrationsOperations.Versions.Download download(String name)
                                                                                          throws IOException
        Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string. Create a request for the method "versions.download". 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 version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
        Returns:
        the request
        Throws:
        IOException
      • get

        public Integrations.Projects.Locations.IntegrationsOperations.Versions.Get get(String name)
                                                                                throws IOException
        Get a integration in the specified project. Create a request for the method "versions.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 version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
        Returns:
        the request
        Throws:
        IOException
      • list

        public Integrations.Projects.Locations.IntegrationsOperations.Versions.List list(String parent)
                                                                                  throws IOException
        Returns the list of all integration versions in the specified project. Create a request for the method "versions.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 parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: "List versions (with filter) for a particular integration". 2. projects//locations//integrations/- Meaning: "List versions (with filter) for a client within a particular region". 3. projects//locations/-/integrations/- Meaning: "List versions (with filter) for a client".
        Returns:
        the request
        Throws:
        IOException
      • publish

        public Integrations.Projects.Locations.IntegrationsOperations.Versions.Publish publish(String name,
                                                                                               GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest content)
                                                                                        throws IOException
        This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released. Create a request for the method "versions.publish". 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 version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
        content - the GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest
        Returns:
        the request
        Throws:
        IOException
      • takeoverEditLock

        public Integrations.Projects.Locations.IntegrationsOperations.Versions.TakeoverEditLock takeoverEditLock(String integrationVersion,
                                                                                                                 GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest content)
                                                                                                          throws IOException
        Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by. Create a request for the method "versions.takeoverEditLock". 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:
        integrationVersion - Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}
        content - the GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy