Class ProjectsResource.LocationsResource.NodesResource
The "nodes" collection of methods.
Inherited Members
Namespace: Google.Apis.TPU.v2
Assembly: Google.Apis.TPU.v2.dll
Syntax
public class ProjectsResource.LocationsResource.NodesResource
Constructors
NodesResource(IClientService)
Constructs a new resource.
Declaration
public NodesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Node, string)
Creates a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.CreateRequest Create(Node body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Node | body | The body of the request. |
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.CreateRequest |
Delete(string)
Deletes a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.DeleteRequest |
Get(string)
Gets the details of a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.GetRequest |
GetGuestAttributes(GetGuestAttributesRequest, string)
Retrieves the guest attributes for the node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.GetGuestAttributesRequest GetGuestAttributes(GetGuestAttributesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GetGuestAttributesRequest | body | The body of the request. |
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.GetGuestAttributesRequest |
List(string)
Lists nodes.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.ListRequest |
Patch(Node, string)
Updates the configurations of a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.PatchRequest Patch(Node body, string name)
Parameters
Type | Name | Description |
---|---|---|
Node | body | The body of the request. |
string | name | Output only. Immutable. The name of the TPU. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.PatchRequest |
Start(StartNodeRequest, string)
Starts a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.StartRequest Start(StartNodeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
StartNodeRequest | body | The body of the request. |
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.StartRequest |
Stop(StopNodeRequest, string)
Stops a node. This operation is only available with single TPU nodes.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.StopRequest Stop(StopNodeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
StopNodeRequest | body | The body of the request. |
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.StopRequest |