target.apidocs.com.google.api.services.run.v2.CloudRun.Projects.Locations.Jobs.Executions.Tasks.html Maven / Gradle / Ivy
CloudRun.Projects.Locations.Jobs.Executions.Tasks (Cloud Run Admin API v2-rev20241025-2.0.0)
com.google.api.services.run.v2
Class CloudRun.Projects.Locations.Jobs.Executions.Tasks
- java.lang.Object
-
- com.google.api.services.run.v2.CloudRun.Projects.Locations.Jobs.Executions.Tasks
-
- Enclosing class:
- CloudRun.Projects.Locations.Jobs.Executions
public class CloudRun.Projects.Locations.Jobs.Executions.Tasks
extends Object
The "tasks" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
CloudRun.Projects.Locations.Jobs.Executions.Tasks.Get
class
CloudRun.Projects.Locations.Jobs.Executions.Tasks.List
-
Constructor Summary
Constructors
Constructor and Description
Tasks()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudRun.Projects.Locations.Jobs.Executions.Tasks.Get
get(String name)
Gets information about a Task.
CloudRun.Projects.Locations.Jobs.Executions.Tasks.List
list(String parent)
Lists Tasks from an Execution of a Job.
-
-
Method Detail
-
get
public CloudRun.Projects.Locations.Jobs.Executions.Tasks.Get get(String name)
throws IOException
Gets information about a Task.
Create a request for the method "tasks.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 Task. Format:
projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
- Returns:
- the request
- Throws:
IOException
-
list
public CloudRun.Projects.Locations.Jobs.Executions.Tasks.List list(String parent)
throws IOException
Lists Tasks from an Execution of a Job.
Create a request for the method "tasks.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 Tasks should be listed. To list all Tasks across Executions
of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-"
instead of Job name. Format:
projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy