target.apidocs.com.google.api.services.tpu.v2.TPU.Projects.Locations.QueuedResources.html Maven / Gradle / Ivy
TPU.Projects.Locations.QueuedResources (Cloud TPU API v2-rev20240321-2.0.0)
com.google.api.services.tpu.v2
Class TPU.Projects.Locations.QueuedResources
- java.lang.Object
-
- com.google.api.services.tpu.v2.TPU.Projects.Locations.QueuedResources
-
- Enclosing class:
- TPU.Projects.Locations
public class TPU.Projects.Locations.QueuedResources
extends Object
The "queuedResources" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
TPU.Projects.Locations.QueuedResources.Create
class
TPU.Projects.Locations.QueuedResources.Delete
class
TPU.Projects.Locations.QueuedResources.Get
class
TPU.Projects.Locations.QueuedResources.List
class
TPU.Projects.Locations.QueuedResources.Reset
-
Constructor Summary
Constructors
Constructor and Description
QueuedResources()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TPU.Projects.Locations.QueuedResources.Create
create(String parent,
QueuedResource content)
Creates a QueuedResource TPU instance.
TPU.Projects.Locations.QueuedResources.Delete
delete(String name)
Deletes a QueuedResource TPU instance.
TPU.Projects.Locations.QueuedResources.Get
get(String name)
Gets details of a queued resource.
TPU.Projects.Locations.QueuedResources.List
list(String parent)
Lists queued resources.
TPU.Projects.Locations.QueuedResources.Reset
reset(String name,
ResetQueuedResourceRequest content)
Resets a QueuedResource TPU instance
Create a request for the method "queuedResources.reset".
-
-
Method Detail
-
create
public TPU.Projects.Locations.QueuedResources.Create create(String parent,
QueuedResource content)
throws IOException
Creates a QueuedResource TPU instance.
Create a request for the method "queuedResources.create".
This request holds the parameters needed by the tpu server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The parent resource name.
content
- the QueuedResource
- Returns:
- the request
- Throws:
IOException
-
delete
public TPU.Projects.Locations.QueuedResources.Delete delete(String name)
throws IOException
Deletes a QueuedResource TPU instance.
Create a request for the method "queuedResources.delete".
This request holds the parameters needed by the tpu server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name.
- Returns:
- the request
- Throws:
IOException
-
get
public TPU.Projects.Locations.QueuedResources.Get get(String name)
throws IOException
Gets details of a queued resource.
Create a request for the method "queuedResources.get".
This request holds the parameters needed by the tpu server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name.
- Returns:
- the request
- Throws:
IOException
-
list
public TPU.Projects.Locations.QueuedResources.List list(String parent)
throws IOException
Lists queued resources.
Create a request for the method "queuedResources.list".
This request holds the parameters needed by the tpu server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The parent resource name.
- Returns:
- the request
- Throws:
IOException
-
reset
public TPU.Projects.Locations.QueuedResources.Reset reset(String name,
ResetQueuedResourceRequest content)
throws IOException
Resets a QueuedResource TPU instance
Create a request for the method "queuedResources.reset".
This request holds the parameters needed by the tpu server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The name of the queued resource.
content
- the ResetQueuedResourceRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy