"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location":"query",
"type":"string"
},
"callback":{
"description":"JSONP",
"location":"query",
"type":"string"
},
"fields":{
"description":"Selector specifying which fields to include in a partial response.",
"location":"query",
"type":"string"
},
"key":{
"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location":"query",
"type":"string"
},
"oauth_token":{
"description":"OAuth 2.0 token for the current user.",
"location":"query",
"type":"string"
},
"prettyPrint":{
"default":"true",
"description":"Returns response with indentations and line breaks.",
"location":"query",
"type":"boolean"
},
"quotaUser":{
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location":"query",
"type":"string"
},
"uploadType":{
"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location":"query",
"type":"string"
},
"upload_protocol":{
"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location":"query",
"type":"string"
}
},
"protocol":"rest",
"resources":{
"projects":{
"resources":{
"locations":{
"methods":{
"get":{
"description":"Gets information about a location.",
"description":"Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
"description":"Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
"description":"Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
"description":"Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
"description":"A accelerator type that a Node can be configured with.",
"id":"AcceleratorType",
"properties":{
"name":{
"description":"The resource name.",
"type":"string"
},
"type":{
"description":"the accelerator type.",
"type":"string"
}
},
"type":"object"
},
"Empty":{
"description":"A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id":"Empty",
"properties":{},
"type":"object"
},
"ListAcceleratorTypesResponse":{
"description":"Response for ListAcceleratorTypes.",
"id":"ListAcceleratorTypesResponse",
"properties":{
"acceleratorTypes":{
"description":"The listed nodes.",
"items":{
"$ref":"AcceleratorType"
},
"type":"array"
},
"nextPageToken":{
"description":"The next page token or empty if none.",
"description":"A resource that represents Google Cloud Platform location.",
"id":"Location",
"properties":{
"displayName":{
"description":"The friendly name for this location, typically a nearby city name.\nFor example, \"Tokyo\".",
"type":"string"
},
"labels":{
"additionalProperties":{
"type":"string"
},
"description":"Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
"type":"object"
},
"locationId":{
"description":"The canonical id for this location. For example: `\"us-east1\"`.",
"type":"string"
},
"metadata":{
"additionalProperties":{
"description":"Properties of the object. Contains field @type with type URL.",
"type":"any"
},
"description":"Service-specific metadata. For example the available capacity at the given\nlocation.",
"type":"object"
},
"name":{
"description":"Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`",
"type":"string"
}
},
"type":"object"
},
"NetworkEndpoint":{
"description":"A network endpoint over which a TPU worker can be reached.",
"id":"NetworkEndpoint",
"properties":{
"ipAddress":{
"description":"The IP address of this network endpoint.",
"type":"string"
},
"port":{
"description":"The port of this network endpoint.",
"format":"int32",
"type":"integer"
}
},
"type":"object"
},
"Node":{
"description":"A TPU instance.",
"id":"Node",
"properties":{
"acceleratorType":{
"description":"The type of hardware accelerators associated with this node.\nRequired.",
"description":"The CIDR block that the TPU node will use when selecting an IP address.\nThis CIDR block must be a /29 block; the Compute Engine networks API\nforbids a smaller block, and using a larger block would be wasteful (a\nnode can only consume one IP address). Errors will occur if the CIDR block\nhas already been used for a currently existing TPU node, the CIDR block\nconflicts with any subnetworks in the user's provided network, or the\nprovided network is peered with another network that is using that CIDR\nblock.",
"description":"Output only. DEPRECATED! Use network_endpoints instead.\nThe network address for the TPU Node as visible to Compute Engine\ninstances.",
"description":"The name of a network they wish to peer the TPU node to. It must be a\npreexisting Compute Engine network inside of the project on which this API\nhas been activated. If none is provided, \"default\" will be used.",
"description":"Output only. The network endpoints where TPU workers can be accessed and\nsent work. It is recommended that Tensorflow clients of the node reach out\nto the 0th entry in this map first.",
"description":"Output only. The service account used to run the tensor flow services within the node.\nTo share resources, including Google Cloud Storage data, with the\nTensorflow job running in the Node, this account must have permissions to\nthat data.",
"description":"The version of Tensorflow running in the Node.\nRequired.",
"type":"string"
}
},
"type":"object"
},
"Operation":{
"description":"This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id":"Operation",
"properties":{
"done":{
"description":"If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
"type":"boolean"
},
"error":{
"$ref":"Status",
"description":"The error result of the operation in case of failure or cancellation."
},
"metadata":{
"additionalProperties":{
"description":"Properties of the object. Contains field @type with type URL.",
"type":"any"
},
"description":"Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
"description":"The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
"description":"Properties of the object. Contains field @type with type URL.",
"type":"any"
},
"description":"The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
"type":"object"
}
},
"type":"object"
},
"OperationMetadata":{
"description":"Represents the metadata of the long-running operation.",
"id":"OperationMetadata",
"properties":{
"apiVersion":{
"description":"[Output only] API version used to start the operation.",
"type":"string"
},
"cancelRequested":{
"description":"[Output only] Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
"type":"boolean"
},
"createTime":{
"description":"[Output only] The time the operation was created.",
"format":"google-datetime",
"type":"string"
},
"endTime":{
"description":"[Output only] The time the operation finished running.",
"format":"google-datetime",
"type":"string"
},
"statusDetail":{
"description":"[Output only] Human-readable status of the operation, if any.",
"type":"string"
},
"target":{
"description":"[Output only] Server-defined resource path for the target of the operation.",
"type":"string"
},
"verb":{
"description":"[Output only] Name of the verb executed by the operation.",
"type":"string"
}
},
"type":"object"
},
"ReimageNodeRequest":{
"description":"Request for ReimageNode.",
"id":"ReimageNodeRequest",
"properties":{
"tensorflowVersion":{
"description":"The version for reimage to create.",
"description":"The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
"description":"The status code, which should be an enum value of google.rpc.Code.",
"format":"int32",
"type":"integer"
},
"details":{
"description":"A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
"items":{
"additionalProperties":{
"description":"Properties of the object. Contains field @type with type URL.",
"type":"any"
},
"type":"object"
},
"type":"array"
},
"message":{
"description":"A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
"type":"string"
}
},
"type":"object"
},
"StopNodeRequest":{
"description":"Request for StopNode.",
"id":"StopNodeRequest",
"properties":{},
"type":"object"
},
"TensorFlowVersion":{
"description":"A tensorflow version that a Node can be configured with.",