target.apidocs.com.google.api.services.run.v2.CloudRun.Projects.Locations.Jobs.Executions.html Maven / Gradle / Ivy
CloudRun.Projects.Locations.Jobs.Executions (Cloud Run Admin API v2-rev20241025-2.0.0)
com.google.api.services.run.v2
Class CloudRun.Projects.Locations.Jobs.Executions
- java.lang.Object
-
- com.google.api.services.run.v2.CloudRun.Projects.Locations.Jobs.Executions
-
- Enclosing class:
- CloudRun.Projects.Locations.Jobs
public class CloudRun.Projects.Locations.Jobs.Executions
extends Object
The "executions" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
CloudRun.Projects.Locations.Jobs.Executions.Cancel
class
CloudRun.Projects.Locations.Jobs.Executions.Delete
class
CloudRun.Projects.Locations.Jobs.Executions.ExportStatus
class
CloudRun.Projects.Locations.Jobs.Executions.Get
class
CloudRun.Projects.Locations.Jobs.Executions.List
class
CloudRun.Projects.Locations.Jobs.Executions.Tasks
The "tasks" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Executions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudRun.Projects.Locations.Jobs.Executions.Cancel
cancel(String name,
GoogleCloudRunV2CancelExecutionRequest content)
Cancels an Execution.
CloudRun.Projects.Locations.Jobs.Executions.Delete
delete(String name)
Deletes an Execution.
CloudRun.Projects.Locations.Jobs.Executions.ExportStatus
exportStatus(String name,
String operationId)
Read the status of an image export operation.
CloudRun.Projects.Locations.Jobs.Executions.Get
get(String name)
Gets information about an Execution.
CloudRun.Projects.Locations.Jobs.Executions.List
list(String parent)
Lists Executions from a Job.
CloudRun.Projects.Locations.Jobs.Executions.Tasks
tasks()
An accessor for creating requests from the Tasks collection.
-
-
Method Detail
-
cancel
public CloudRun.Projects.Locations.Jobs.Executions.Cancel cancel(String name,
GoogleCloudRunV2CancelExecutionRequest content)
throws IOException
Cancels an Execution.
Create a request for the method "executions.cancel".
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 Execution to cancel. Format:
`projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, where
`{project}` can be project id or number.
content
- the GoogleCloudRunV2CancelExecutionRequest
- Returns:
- the request
- Throws:
IOException
-
delete
public CloudRun.Projects.Locations.Jobs.Executions.Delete delete(String name)
throws IOException
Deletes an Execution.
Create a request for the method "executions.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 Execution to delete. Format:
`projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, where
`{project}` can be project id or number.
- Returns:
- the request
- Throws:
IOException
-
exportStatus
public CloudRun.Projects.Locations.Jobs.Executions.ExportStatus exportStatus(String name,
String operationId)
throws IOException
Read the status of an image export operation.
Create a request for the method "executions.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.Jobs.Executions.Get get(String name)
throws IOException
Gets information about an Execution.
Create a request for the method "executions.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 Execution. Format:
`projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, where
`{project}` can be project id or number.
- Returns:
- the request
- Throws:
IOException
-
list
public CloudRun.Projects.Locations.Jobs.Executions.List list(String parent)
throws IOException
Lists Executions from a Job. Results are sorted by creation time, descending.
Create a request for the method "executions.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 Execution from which the Executions should be listed. To list all Executions across
Jobs, use "-" instead of Job name. Format:
`projects/{project}/locations/{location}/jobs/{job}`, where `{project}` can be project id
or number.
- Returns:
- the request
- Throws:
IOException
-
tasks
public CloudRun.Projects.Locations.Jobs.Executions.Tasks tasks()
An accessor for creating requests from the Tasks collection.
The typical use is:
CloudRun run = new CloudRun(...);
CloudRun.Tasks.List request = run.tasks().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy