target.apidocs.com.google.api.services.tpu.v2.TPU.Projects.Locations.html Maven / Gradle / Ivy
The newest version!
TPU.Projects.Locations (Cloud TPU API v2-rev20241126-2.0.0)
com.google.api.services.tpu.v2
Class TPU.Projects.Locations
- java.lang.Object
-
- com.google.api.services.tpu.v2.TPU.Projects.Locations
-
- Enclosing class:
- TPU.Projects
public class TPU.Projects.Locations
extends Object
The "locations" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
TPU.Projects.Locations.AcceleratorTypes
The "acceleratorTypes" collection of methods.
class
TPU.Projects.Locations.GenerateServiceIdentity
class
TPU.Projects.Locations.Get
class
TPU.Projects.Locations.List
class
TPU.Projects.Locations.Nodes
The "nodes" collection of methods.
class
TPU.Projects.Locations.Operations
The "operations" collection of methods.
class
TPU.Projects.Locations.QueuedResources
The "queuedResources" collection of methods.
class
TPU.Projects.Locations.RuntimeVersions
The "runtimeVersions" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Locations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TPU.Projects.Locations.AcceleratorTypes
acceleratorTypes()
An accessor for creating requests from the AcceleratorTypes collection.
TPU.Projects.Locations.GenerateServiceIdentity
generateServiceIdentity(String parent,
GenerateServiceIdentityRequest content)
Generates the Cloud TPU service identity for the project.
TPU.Projects.Locations.Get
get(String name)
Gets information about a location.
TPU.Projects.Locations.List
list(String name)
Lists information about the supported locations for this service.
TPU.Projects.Locations.Nodes
nodes()
An accessor for creating requests from the Nodes collection.
TPU.Projects.Locations.Operations
operations()
An accessor for creating requests from the Operations collection.
TPU.Projects.Locations.QueuedResources
queuedResources()
An accessor for creating requests from the QueuedResources collection.
TPU.Projects.Locations.RuntimeVersions
runtimeVersions()
An accessor for creating requests from the RuntimeVersions collection.
-
-
Method Detail
-
generateServiceIdentity
public TPU.Projects.Locations.GenerateServiceIdentity generateServiceIdentity(String parent,
GenerateServiceIdentityRequest content)
throws IOException
Generates the Cloud TPU service identity for the project.
Create a request for the method "locations.generateServiceIdentity".
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 GenerateServiceIdentityRequest
- Returns:
- the request
- Throws:
IOException
-
get
public TPU.Projects.Locations.Get get(String name)
throws IOException
Gets information about a location.
Create a request for the method "locations.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
- Resource name for the location.
- Returns:
- the request
- Throws:
IOException
-
list
public TPU.Projects.Locations.List list(String name)
throws IOException
Lists information about the supported locations for this service.
Create a request for the method "locations.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:
name
- The resource that owns the locations collection, if applicable.
- Returns:
- the request
- Throws:
IOException
-
acceleratorTypes
public TPU.Projects.Locations.AcceleratorTypes acceleratorTypes()
An accessor for creating requests from the AcceleratorTypes collection.
The typical use is:
TPU tpu = new TPU(...);
TPU.AcceleratorTypes.List request = tpu.acceleratorTypes().list(parameters ...)
- Returns:
- the resource collection
-
nodes
public TPU.Projects.Locations.Nodes nodes()
An accessor for creating requests from the Nodes collection.
The typical use is:
TPU tpu = new TPU(...);
TPU.Nodes.List request = tpu.nodes().list(parameters ...)
- Returns:
- the resource collection
-
operations
public TPU.Projects.Locations.Operations operations()
An accessor for creating requests from the Operations collection.
The typical use is:
TPU tpu = new TPU(...);
TPU.Operations.List request = tpu.operations().list(parameters ...)
- Returns:
- the resource collection
-
queuedResources
public TPU.Projects.Locations.QueuedResources queuedResources()
An accessor for creating requests from the QueuedResources collection.
The typical use is:
TPU tpu = new TPU(...);
TPU.QueuedResources.List request = tpu.queuedResources().list(parameters ...)
- Returns:
- the resource collection
-
runtimeVersions
public TPU.Projects.Locations.RuntimeVersions runtimeVersions()
An accessor for creating requests from the RuntimeVersions collection.
The typical use is:
TPU tpu = new TPU(...);
TPU.RuntimeVersions.List request = tpu.runtimeVersions().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy