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

target.apidocs.com.google.api.services.run.v2.CloudRun.Projects.Locations.Services.Revisions.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241213-2.0.0
Show newest version






CloudRun.Projects.Locations.Services.Revisions (Cloud Run Admin API v2-rev20241025-2.0.0)












com.google.api.services.run.v2

Class CloudRun.Projects.Locations.Services.Revisions

  • java.lang.Object
    • com.google.api.services.run.v2.CloudRun.Projects.Locations.Services.Revisions
    • Constructor Detail

      • Revisions

        public Revisions()
    • Method Detail

      • delete

        public CloudRun.Projects.Locations.Services.Revisions.Delete delete(String name)
                                                                     throws IOException
        Deletes a Revision. Create a request for the method "revisions.delete". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}
        Returns:
        the request
        Throws:
        IOException
      • exportStatus

        public CloudRun.Projects.Locations.Services.Revisions.ExportStatus exportStatus(String name,
                                                                                        String operationId)
                                                                                 throws IOException
        Read the status of an image export operation. Create a request for the method "revisions.exportStatus". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the resource of which image export operation status has to be fetched. Format: `projects/{project_id_or_number}/locations/{location}/services/{service}/revisions/{revisi on}` for Revision `projects/{project_id_or_number}/locations/{location}/jobs/{job}/executions/{execution}` for Execution
        operationId - Required. The operation id returned from ExportImage.
        Returns:
        the request
        Throws:
        IOException
      • get

        public CloudRun.Projects.Locations.Services.Revisions.Get get(String name)
                                                               throws IOException
        Gets information about a Revision. Create a request for the method "revisions.get". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The full name of the Revision. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}
        Returns:
        the request
        Throws:
        IOException
      • list

        public CloudRun.Projects.Locations.Services.Revisions.List list(String parent)
                                                                 throws IOException
        Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending. Create a request for the method "revisions.list". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy