mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
48 lines
16 KiB
HTML
48 lines
16 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `api` mod in crate `google_tpu1`."><meta name="keywords" content="rust, rustlang, rust-lang, api"><title>google_tpu1::api - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../google_tpu1/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module api</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class="location"><a href="../index.html">google_tpu1</a></p><div id="sidebar-vars" data-name="api" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">google_tpu1</a>::<wbr><a class="mod" href="">api</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/google_tpu1/api.rs.html#1-5805" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||
<table><tr class="module-item"><td><a class="struct" href="struct.AcceleratorType.html" title="google_tpu1::api::AcceleratorType struct">AcceleratorType</a></td><td class="docblock-short"><p>A accelerator type that a Node can be configured with.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Empty.html" title="google_tpu1::api::Empty struct">Empty</a></td><td class="docblock-short"><p>A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for <code>Empty</code> is empty JSON object <code>{}</code>.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ListAcceleratorTypesResponse.html" title="google_tpu1::api::ListAcceleratorTypesResponse struct">ListAcceleratorTypesResponse</a></td><td class="docblock-short"><p>Response for ListAcceleratorTypes.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ListLocationsResponse.html" title="google_tpu1::api::ListLocationsResponse struct">ListLocationsResponse</a></td><td class="docblock-short"><p>The response message for Locations.ListLocations.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ListNodesResponse.html" title="google_tpu1::api::ListNodesResponse struct">ListNodesResponse</a></td><td class="docblock-short"><p>Response for ListNodes.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ListOperationsResponse.html" title="google_tpu1::api::ListOperationsResponse struct">ListOperationsResponse</a></td><td class="docblock-short"><p>The response message for Operations.ListOperations.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ListTensorFlowVersionsResponse.html" title="google_tpu1::api::ListTensorFlowVersionsResponse struct">ListTensorFlowVersionsResponse</a></td><td class="docblock-short"><p>Response for ListTensorFlowVersions.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Location.html" title="google_tpu1::api::Location struct">Location</a></td><td class="docblock-short"><p>A resource that represents Google Cloud Platform location.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.NetworkEndpoint.html" title="google_tpu1::api::NetworkEndpoint struct">NetworkEndpoint</a></td><td class="docblock-short"><p>A network endpoint over which a TPU worker can be reached.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Node.html" title="google_tpu1::api::Node struct">Node</a></td><td class="docblock-short"><p>A TPU instance.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Operation.html" title="google_tpu1::api::Operation struct">Operation</a></td><td class="docblock-short"><p>This resource represents a long-running operation that is the result of a network API call.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationAcceleratorTypeGetCall.html" title="google_tpu1::api::ProjectLocationAcceleratorTypeGetCall struct">ProjectLocationAcceleratorTypeGetCall</a></td><td class="docblock-short"><p>Gets AcceleratorType.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationAcceleratorTypeListCall.html" title="google_tpu1::api::ProjectLocationAcceleratorTypeListCall struct">ProjectLocationAcceleratorTypeListCall</a></td><td class="docblock-short"><p>Lists accelerator types supported by this API.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationGetCall.html" title="google_tpu1::api::ProjectLocationGetCall struct">ProjectLocationGetCall</a></td><td class="docblock-short"><p>Gets information about a location.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationListCall.html" title="google_tpu1::api::ProjectLocationListCall struct">ProjectLocationListCall</a></td><td class="docblock-short"><p>Lists information about the supported locations for this service.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationNodeCreateCall.html" title="google_tpu1::api::ProjectLocationNodeCreateCall struct">ProjectLocationNodeCreateCall</a></td><td class="docblock-short"><p>Creates a node.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationNodeDeleteCall.html" title="google_tpu1::api::ProjectLocationNodeDeleteCall struct">ProjectLocationNodeDeleteCall</a></td><td class="docblock-short"><p>Deletes a node.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationNodeGetCall.html" title="google_tpu1::api::ProjectLocationNodeGetCall struct">ProjectLocationNodeGetCall</a></td><td class="docblock-short"><p>Gets the details of a node.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationNodeListCall.html" title="google_tpu1::api::ProjectLocationNodeListCall struct">ProjectLocationNodeListCall</a></td><td class="docblock-short"><p>Lists nodes.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationNodeReimageCall.html" title="google_tpu1::api::ProjectLocationNodeReimageCall struct">ProjectLocationNodeReimageCall</a></td><td class="docblock-short"><p>Reimages a node's OS.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationNodeStartCall.html" title="google_tpu1::api::ProjectLocationNodeStartCall struct">ProjectLocationNodeStartCall</a></td><td class="docblock-short"><p>Starts a node.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationNodeStopCall.html" title="google_tpu1::api::ProjectLocationNodeStopCall struct">ProjectLocationNodeStopCall</a></td><td class="docblock-short"><p>Stops a node.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationOperationCancelCall.html" title="google_tpu1::api::ProjectLocationOperationCancelCall struct">ProjectLocationOperationCancelCall</a></td><td class="docblock-short"><p>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns <code>google.rpc.Code.UNIMPLEMENTED</code>. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to <code>Code.CANCELLED</code>.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationOperationDeleteCall.html" title="google_tpu1::api::ProjectLocationOperationDeleteCall struct">ProjectLocationOperationDeleteCall</a></td><td class="docblock-short"><p>Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns <code>google.rpc.Code.UNIMPLEMENTED</code>.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationOperationGetCall.html" title="google_tpu1::api::ProjectLocationOperationGetCall struct">ProjectLocationOperationGetCall</a></td><td class="docblock-short"><p>Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationOperationListCall.html" title="google_tpu1::api::ProjectLocationOperationListCall struct">ProjectLocationOperationListCall</a></td><td class="docblock-short"><p>Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns <code>UNIMPLEMENTED</code>. NOTE: the <code>name</code> binding allows API services to override the binding to use different resource name schemes, such as <code>users/*/operations</code>. To override the binding, API services can add a binding such as <code>"/v1/{name=users/*}/operations"</code> to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationTensorflowVersionGetCall.html" title="google_tpu1::api::ProjectLocationTensorflowVersionGetCall struct">ProjectLocationTensorflowVersionGetCall</a></td><td class="docblock-short"><p>Gets TensorFlow Version.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectLocationTensorflowVersionListCall.html" title="google_tpu1::api::ProjectLocationTensorflowVersionListCall struct">ProjectLocationTensorflowVersionListCall</a></td><td class="docblock-short"><p>List TensorFlow versions supported by this API.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectMethods.html" title="google_tpu1::api::ProjectMethods struct">ProjectMethods</a></td><td class="docblock-short"><p>A builder providing access to all methods supported on <em>project</em> resources.
|
||
It is not used directly, but through the <code>TPU</code> hub.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ReimageNodeRequest.html" title="google_tpu1::api::ReimageNodeRequest struct">ReimageNodeRequest</a></td><td class="docblock-short"><p>Request for ReimageNode.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.SchedulingConfig.html" title="google_tpu1::api::SchedulingConfig struct">SchedulingConfig</a></td><td class="docblock-short"><p>Sets the scheduling options for this node.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StartNodeRequest.html" title="google_tpu1::api::StartNodeRequest struct">StartNodeRequest</a></td><td class="docblock-short"><p>Request for StartNode.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Status.html" title="google_tpu1::api::Status struct">Status</a></td><td class="docblock-short"><p>The <code>Status</code> type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by <a href="https://github.com/grpc">gRPC</a>. Each <code>Status</code> message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the <a href="https://cloud.google.com/apis/design/errors">API Design Guide</a>.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StopNodeRequest.html" title="google_tpu1::api::StopNodeRequest struct">StopNodeRequest</a></td><td class="docblock-short"><p>Request for StopNode.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Symptom.html" title="google_tpu1::api::Symptom struct">Symptom</a></td><td class="docblock-short"><p>A Symptom instance.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TPU.html" title="google_tpu1::api::TPU struct">TPU</a></td><td class="docblock-short"><p>Central instance to access all TPU related resource activities</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TensorFlowVersion.html" title="google_tpu1::api::TensorFlowVersion struct">TensorFlowVersion</a></td><td class="docblock-short"><p>A tensorflow version that a Node can be configured with.</p>
|
||
</td></tr></table><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2>
|
||
<table><tr class="module-item"><td><a class="enum" href="enum.Scope.html" title="google_tpu1::api::Scope enum">Scope</a></td><td class="docblock-short"><p>Identifies the an OAuth2 authorization scope.
|
||
A scope is needed when requesting an
|
||
<a href="https://developers.google.com/youtube/v3/guides/authentication">authorization token</a>.</p>
|
||
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_tpu1"></div>
|
||
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |