Class ProjectsResource.LocationsResource.QueuedResourcesResource
The "queuedResources" collection of methods.
Inherited Members
Namespace: Google.Apis.TPU.v2alpha1
Assembly: Google.Apis.TPU.v2alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.QueuedResourcesResource
Constructors
QueuedResourcesResource(IClientService)
Constructs a new resource.
Declaration
public QueuedResourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(QueuedResource, string)
Creates a QueuedResource TPU instance.
Declaration
public virtual ProjectsResource.LocationsResource.QueuedResourcesResource.CreateRequest Create(QueuedResource body, string parent)
Parameters
Type | Name | Description |
---|---|---|
QueuedResource | body | The body of the request. |
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuedResourcesResource.CreateRequest |
Delete(string)
Deletes a QueuedResource TPU instance.
Declaration
public virtual ProjectsResource.LocationsResource.QueuedResourcesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuedResourcesResource.DeleteRequest |
Get(string)
Gets details of a queued resource.
Declaration
public virtual ProjectsResource.LocationsResource.QueuedResourcesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuedResourcesResource.GetRequest |
List(string)
Lists queued resources.
Declaration
public virtual ProjectsResource.LocationsResource.QueuedResourcesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuedResourcesResource.ListRequest |
PerformMaintenanceQueuedResource(PerformMaintenanceQueuedResourceRequest, string)
Perform manual maintenance on specific nodes of a QueuedResource.
Declaration
public virtual ProjectsResource.LocationsResource.QueuedResourcesResource.PerformMaintenanceQueuedResourceRequest PerformMaintenanceQueuedResource(PerformMaintenanceQueuedResourceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
PerformMaintenanceQueuedResourceRequest | body | The body of the request. |
string | name | Required. The name of the QueuedResource which holds the nodes to perform maintenance on. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuedResourcesResource.PerformMaintenanceQueuedResourceRequest |
Reset(ResetQueuedResourceRequest, string)
Resets a QueuedResource TPU instance
Declaration
public virtual ProjectsResource.LocationsResource.QueuedResourcesResource.ResetRequest Reset(ResetQueuedResourceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResetQueuedResourceRequest | body | The body of the request. |
string | name | Required. The name of the queued resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.QueuedResourcesResource.ResetRequest |