target.apidocs.com.google.api.services.run.v2.CloudRun.Projects.Locations.Services.Revisions.html Maven / Gradle / Ivy
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
-
- Enclosing class:
- CloudRun.Projects.Locations.Services
public class CloudRun.Projects.Locations.Services.Revisions
extends Object
The "revisions" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
CloudRun.Projects.Locations.Services.Revisions.Delete
class
CloudRun.Projects.Locations.Services.Revisions.ExportStatus
class
CloudRun.Projects.Locations.Services.Revisions.Get
class
CloudRun.Projects.Locations.Services.Revisions.List
-
Constructor Summary
Constructors
Constructor and Description
Revisions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudRun.Projects.Locations.Services.Revisions.Delete
delete(String name)
Deletes a Revision.
CloudRun.Projects.Locations.Services.Revisions.ExportStatus
exportStatus(String name,
String operationId)
Read the status of an image export operation.
CloudRun.Projects.Locations.Services.Revisions.Get
get(String name)
Gets information about a Revision.
CloudRun.Projects.Locations.Services.Revisions.List
list(String parent)
Lists Revisions from a given Service, or from a given location.
-
-
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