Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.TPU.v2
Assembly: Google.Apis.TPU.v2.dll
Syntax
public class ProjectsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AcceleratorTypes
Gets the AcceleratorTypes resource.
Declaration
public virtual ProjectsResource.LocationsResource.AcceleratorTypesResource AcceleratorTypes { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AcceleratorTypesResource |
Nodes
Gets the Nodes resource.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource Nodes { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.OperationsResource |
QueuedResources
Gets the QueuedResources resource.
Declaration
public virtual ProjectsResource.LocationsResource.QueuedResourcesResource QueuedResources { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuedResourcesResource |
RuntimeVersions
Gets the RuntimeVersions resource.
Declaration
public virtual ProjectsResource.LocationsResource.RuntimeVersionsResource RuntimeVersions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RuntimeVersionsResource |
Methods
GenerateServiceIdentity(GenerateServiceIdentityRequest, string)
Generates the Cloud TPU service identity for the project.
Declaration
public virtual ProjectsResource.LocationsResource.GenerateServiceIdentityRequest GenerateServiceIdentity(GenerateServiceIdentityRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GenerateServiceIdentityRequest | body | The body of the request. |
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GenerateServiceIdentityRequest |
Get(string)
Gets information about a location.
Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Resource name for the location. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GetRequest |
List(string)
Lists information about the supported locations for this service.
Declaration
public virtual ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The resource that owns the locations collection, if applicable. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ListRequest |