Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- Status
- OperationSchema
- ListLocationsResponse
- AcceleratorType
- ListOperationsResponse
- NodeState
- ListAcceleratorTypesResponse
- Location
- Operation
- NetworkEndpoint
- Empty
- Node
- StatusDetailsItem
- StopNodeRequest
- ReimageNodeRequest
- NodeHealth
- ListNodesResponse
- Xgafv
- SchedulingConfig
- NodeLabels
- LocationLabels
- LocationMetadata
- OperationMetadata
- ListTensorFlowVersionsResponse
- OperationResponse
- TensorFlowVersion
- StartNodeRequest
Synopsis
- tPUService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data OperationSchema
- operationSchema :: HashMap Text JSONValue -> OperationSchema
- osAddtional :: Lens' OperationSchema (HashMap Text JSONValue)
- data ListLocationsResponse
- listLocationsResponse :: ListLocationsResponse
- llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text)
- llrLocations :: Lens' ListLocationsResponse [Location]
- data AcceleratorType
- acceleratorType :: AcceleratorType
- atName :: Lens' AcceleratorType (Maybe Text)
- atType :: Lens' AcceleratorType (Maybe Text)
- data ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text)
- lorOperations :: Lens' ListOperationsResponse [Operation]
- data NodeState
- data ListAcceleratorTypesResponse
- listAcceleratorTypesResponse :: ListAcceleratorTypesResponse
- latrAcceleratorTypes :: Lens' ListAcceleratorTypesResponse [AcceleratorType]
- latrNextPageToken :: Lens' ListAcceleratorTypesResponse (Maybe Text)
- data Location
- location :: Location
- lName :: Lens' Location (Maybe Text)
- lMetadata :: Lens' Location (Maybe LocationMetadata)
- lDisplayName :: Lens' Location (Maybe Text)
- lLabels :: Lens' Location (Maybe LocationLabels)
- lLocationId :: Lens' Location (Maybe Text)
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationSchema)
- data NetworkEndpoint
- networkEndpoint :: NetworkEndpoint
- neIPAddress :: Lens' NetworkEndpoint (Maybe Text)
- nePort :: Lens' NetworkEndpoint (Maybe Int32)
- data Empty
- empty :: Empty
- data Node
- node :: Node
- nAcceleratorType :: Lens' Node (Maybe Text)
- nIPAddress :: Lens' Node (Maybe Text)
- nState :: Lens' Node (Maybe NodeState)
- nNetwork :: Lens' Node (Maybe Text)
- nHealth :: Lens' Node (Maybe NodeHealth)
- nServiceAccount :: Lens' Node (Maybe Text)
- nName :: Lens' Node (Maybe Text)
- nSchedulingConfig :: Lens' Node (Maybe SchedulingConfig)
- nHealthDescription :: Lens' Node (Maybe Text)
- nCIdRBlock :: Lens' Node (Maybe Text)
- nLabels :: Lens' Node (Maybe NodeLabels)
- nNetworkEndpoints :: Lens' Node [NetworkEndpoint]
- nDescription :: Lens' Node (Maybe Text)
- nCreateTime :: Lens' Node (Maybe UTCTime)
- nTensorflowVersion :: Lens' Node (Maybe Text)
- nPort :: Lens' Node (Maybe Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data StopNodeRequest
- stopNodeRequest :: StopNodeRequest
- data ReimageNodeRequest
- reimageNodeRequest :: ReimageNodeRequest
- rnrTensorflowVersion :: Lens' ReimageNodeRequest (Maybe Text)
- data NodeHealth
- data ListNodesResponse
- listNodesResponse :: ListNodesResponse
- lnrNextPageToken :: Lens' ListNodesResponse (Maybe Text)
- lnrUnreachable :: Lens' ListNodesResponse [Text]
- lnrNodes :: Lens' ListNodesResponse [Node]
- data Xgafv
- data SchedulingConfig
- schedulingConfig :: SchedulingConfig
- scPreemptible :: Lens' SchedulingConfig (Maybe Bool)
- data NodeLabels
- nodeLabels :: HashMap Text Text -> NodeLabels
- nlAddtional :: Lens' NodeLabels (HashMap Text Text)
- data LocationLabels
- locationLabels :: HashMap Text Text -> LocationLabels
- llAddtional :: Lens' LocationLabels (HashMap Text Text)
- data LocationMetadata
- locationMetadata :: HashMap Text JSONValue -> LocationMetadata
- lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue)
- data OperationMetadata
- operationMetadata :: OperationMetadata
- omAPIVersion :: Lens' OperationMetadata (Maybe Text)
- omEndTime :: Lens' OperationMetadata (Maybe UTCTime)
- omStatusDetail :: Lens' OperationMetadata (Maybe Text)
- omVerb :: Lens' OperationMetadata (Maybe Text)
- omCancelRequested :: Lens' OperationMetadata (Maybe Bool)
- omTarget :: Lens' OperationMetadata (Maybe Text)
- omCreateTime :: Lens' OperationMetadata (Maybe UTCTime)
- data ListTensorFlowVersionsResponse
- listTensorFlowVersionsResponse :: ListTensorFlowVersionsResponse
- ltfvrNextPageToken :: Lens' ListTensorFlowVersionsResponse (Maybe Text)
- ltfvrTensorflowVersions :: Lens' ListTensorFlowVersionsResponse [TensorFlowVersion]
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data TensorFlowVersion
- tensorFlowVersion :: TensorFlowVersion
- tfvName :: Lens' TensorFlowVersion (Maybe Text)
- tfvVersion :: Lens' TensorFlowVersion (Maybe Text)
- data StartNodeRequest
- startNodeRequest :: StartNodeRequest
Service Configuration
tPUService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud TPU API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
Status
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.TPU.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Network.Google.TPU.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.TPU.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.TPU.Types.Product" "gogol-tpu-0.4.0-G6BPhvxEJs5BesDiyU5xd2" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
OperationSchema
data OperationSchema Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
See: operationSchema
smart constructor.
Instances
Creates a value of OperationSchema
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
osAddtional :: Lens' OperationSchema (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
ListLocationsResponse
data ListLocationsResponse Source #
The response message for Locations.ListLocations.
See: listLocationsResponse
smart constructor.
Instances
listLocationsResponse :: ListLocationsResponse Source #
Creates a value of ListLocationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text) Source #
The standard List next-page token.
llrLocations :: Lens' ListLocationsResponse [Location] Source #
A list of locations that matches the specified filter in the request.
AcceleratorType
data AcceleratorType Source #
A accelerator type that a Node can be configured with.
See: acceleratorType
smart constructor.
Instances
acceleratorType :: AcceleratorType Source #
Creates a value of AcceleratorType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ListOperationsResponse
data ListOperationsResponse Source #
The response message for Operations.ListOperations.
See: listOperationsResponse
smart constructor.
Instances
listOperationsResponse :: ListOperationsResponse Source #
Creates a value of ListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #
The standard List next-page token.
lorOperations :: Lens' ListOperationsResponse [Operation] Source #
A list of operations that matches the specified filter in the request.
NodeState
Output only. The current state for the TPU Node.
StateUnspecified |
|
Creating |
|
Ready |
|
Restarting |
|
Reimaging |
|
Deleting |
|
Repairing |
|
Stopped |
|
Stopping |
|
Starting |
|
Preempted |
|
Terminated |
|
Instances
ListAcceleratorTypesResponse
data ListAcceleratorTypesResponse Source #
Response for ListAcceleratorTypes.
See: listAcceleratorTypesResponse
smart constructor.
Instances
listAcceleratorTypesResponse :: ListAcceleratorTypesResponse Source #
Creates a value of ListAcceleratorTypesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
latrAcceleratorTypes :: Lens' ListAcceleratorTypesResponse [AcceleratorType] Source #
The listed nodes.
latrNextPageToken :: Lens' ListAcceleratorTypesResponse (Maybe Text) Source #
The next page token or empty if none.
Location
A resource that represents Google Cloud Platform location.
See: location
smart constructor.
Instances
Creates a value of Location
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lName :: Lens' Location (Maybe Text) Source #
Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
lMetadata :: Lens' Location (Maybe LocationMetadata) Source #
Service-specific metadata. For example the available capacity at the given location.
lDisplayName :: Lens' Location (Maybe Text) Source #
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
lLabels :: Lens' Location (Maybe LocationLabels) Source #
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
lLocationId :: Lens' Location (Maybe Text) Source #
The canonical id for this location. For example: `"us-east1"`.
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
Instances
oDone :: Lens' Operation (Maybe Bool) Source #
If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
oError :: Lens' Operation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
oName :: Lens' Operation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.
oMetadata :: Lens' Operation (Maybe OperationSchema) Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
NetworkEndpoint
data NetworkEndpoint Source #
A network endpoint over which a TPU worker can be reached.
See: networkEndpoint
smart constructor.
Instances
networkEndpoint :: NetworkEndpoint Source #
Creates a value of NetworkEndpoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
neIPAddress :: Lens' NetworkEndpoint (Maybe Text) Source #
The IP address of this network endpoint.
Empty
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 `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.TPU.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
Defined in Network.Google.TPU.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
Node
A TPU instance.
See: node
smart constructor.
Instances
Creates a value of Node
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nAcceleratorType :: Lens' Node (Maybe Text) Source #
The type of hardware accelerators associated with this node. Required.
nIPAddress :: Lens' Node (Maybe Text) Source #
Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
nNetwork :: Lens' Node (Maybe Text) Source #
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
nServiceAccount :: Lens' Node (Maybe Text) Source #
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
nHealthDescription :: Lens' Node (Maybe Text) Source #
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
nCIdRBlock :: Lens' Node (Maybe Text) Source #
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block. Required.
nLabels :: Lens' Node (Maybe NodeLabels) Source #
Resource labels to represent user-provided metadata.
nNetworkEndpoints :: Lens' Node [NetworkEndpoint] Source #
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
nDescription :: Lens' Node (Maybe Text) Source #
The user-supplied description of the TPU. Maximum of 512 characters.
nTensorflowVersion :: Lens' Node (Maybe Text) Source #
The version of Tensorflow running in the Node. Required.
nPort :: Lens' Node (Maybe Text) Source #
Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
StopNodeRequest
data StopNodeRequest Source #
Request for StopNode.
See: stopNodeRequest
smart constructor.
Instances
stopNodeRequest :: StopNodeRequest Source #
Creates a value of StopNodeRequest
with the minimum fields required to make a request.
ReimageNodeRequest
data ReimageNodeRequest Source #
Request for ReimageNode.
See: reimageNodeRequest
smart constructor.
Instances
reimageNodeRequest :: ReimageNodeRequest Source #
Creates a value of ReimageNodeRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rnrTensorflowVersion :: Lens' ReimageNodeRequest (Maybe Text) Source #
The version for reimage to create.
NodeHealth
data NodeHealth Source #
The health status of the TPU node.
HealthUnspecified |
|
Healthy |
|
Unhealthy |
|
Timeout |
|
Instances
ListNodesResponse
data ListNodesResponse Source #
Response for ListNodes.
See: listNodesResponse
smart constructor.
Instances
listNodesResponse :: ListNodesResponse Source #
Creates a value of ListNodesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnrNextPageToken :: Lens' ListNodesResponse (Maybe Text) Source #
The next page token or empty if none.
lnrUnreachable :: Lens' ListNodesResponse [Text] Source #
Locations that could not be reached.
Xgafv
V1 error format.
Instances
SchedulingConfig
data SchedulingConfig Source #
Instances
schedulingConfig :: SchedulingConfig Source #
Creates a value of SchedulingConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
NodeLabels
data NodeLabels Source #
Resource labels to represent user-provided metadata.
See: nodeLabels
smart constructor.
Instances
Creates a value of NodeLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nlAddtional :: Lens' NodeLabels (HashMap Text Text) Source #
LocationLabels
data LocationLabels Source #
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
See: locationLabels
smart constructor.
Instances
Creates a value of LocationLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
LocationMetadata
data LocationMetadata Source #
Service-specific metadata. For example the available capacity at the given location.
See: locationMetadata
smart constructor.
Instances
Creates a value of LocationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
OperationMetadata
data OperationMetadata Source #
Represents the metadata of the long-running operation.
See: operationMetadata
smart constructor.
Instances
operationMetadata :: OperationMetadata Source #
Creates a value of OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAPIVersion :: Lens' OperationMetadata (Maybe Text) Source #
- Output only
- API version used to start the operation.
omEndTime :: Lens' OperationMetadata (Maybe UTCTime) Source #
- Output only
- The time the operation finished running.
omStatusDetail :: Lens' OperationMetadata (Maybe Text) Source #
- Output only
- Human-readable status of the operation, if any.
omVerb :: Lens' OperationMetadata (Maybe Text) Source #
- Output only
- Name of the verb executed by the operation.
omCancelRequested :: Lens' OperationMetadata (Maybe Bool) Source #
- Output only
- Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
omTarget :: Lens' OperationMetadata (Maybe Text) Source #
- Output only
- Server-defined resource path for the target of the operation.
omCreateTime :: Lens' OperationMetadata (Maybe UTCTime) Source #
- Output only
- The time the operation was created.
ListTensorFlowVersionsResponse
data ListTensorFlowVersionsResponse Source #
Response for ListTensorFlowVersions.
See: listTensorFlowVersionsResponse
smart constructor.
Instances
listTensorFlowVersionsResponse :: ListTensorFlowVersionsResponse Source #
Creates a value of ListTensorFlowVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfvrNextPageToken :: Lens' ListTensorFlowVersionsResponse (Maybe Text) Source #
The next page token or empty if none.
ltfvrTensorflowVersions :: Lens' ListTensorFlowVersionsResponse [TensorFlowVersion] Source #
The listed nodes.
OperationResponse
data OperationResponse Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
See: operationResponse
smart constructor.
Instances
Creates a value of OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
TensorFlowVersion
data TensorFlowVersion Source #
A tensorflow version that a Node can be configured with.
See: tensorFlowVersion
smart constructor.
Instances
tensorFlowVersion :: TensorFlowVersion Source #
Creates a value of TensorFlowVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tfvVersion :: Lens' TensorFlowVersion (Maybe Text) Source #
the tensorflow version.
StartNodeRequest
data StartNodeRequest Source #
Request for StartNode.
See: startNodeRequest
smart constructor.
Instances
startNodeRequest :: StartNodeRequest Source #
Creates a value of StartNodeRequest
with the minimum fields required to make a request.