target.apidocs.com.google.api.services.run.v1.CloudRun.Namespaces.Tasks.html Maven / Gradle / Ivy
CloudRun.Namespaces.Tasks (Cloud Run Admin API v1-rev20221016-2.0.0)
com.google.api.services.run.v1
Class CloudRun.Namespaces.Tasks
- java.lang.Object
-
- com.google.api.services.run.v1.CloudRun.Namespaces.Tasks
-
- Enclosing class:
- CloudRun.Namespaces
public class CloudRun.Namespaces.Tasks
extends Object
The "tasks" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
CloudRun.Namespaces.Tasks.Get
class
CloudRun.Namespaces.Tasks.List
-
Constructor Summary
Constructors
Constructor and Description
Tasks()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudRun.Namespaces.Tasks.Get
get(String name)
Get information about a task.
CloudRun.Namespaces.Tasks.List
list(String parent)
List tasks.
-
-
Method Detail
-
get
public CloudRun.Namespaces.Tasks.Get get(String name)
throws IOException
Get 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 name of the task to retrieve. Replace {namespace} with the project ID or number. It
takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
- Returns:
- the request
- Throws:
IOException
-
list
public CloudRun.Namespaces.Tasks.List list(String parent)
throws IOException
List tasks.
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 namespace from which the tasks should be listed. Replace {namespace} with the project
ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy