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
- ContainerStartedEventPortMAppings
- Event
- CheckInRequestEvent
- Status
- OperationSchema
- RunPipelineRequestLabels
- ListOperationsResponse
- FailedEvent
- CancelOperationRequest
- WorkerStatus
- ContainerStoppedEvent
- CheckInResponse
- WorkerAssignedEvent
- OperationMetadataLabels
- Operation
- Empty
- Disk
- UnexpectedExitStatusEvent
- DelayedEvent
- ActionPortMAppings
- MetadataLabels
- CheckInRequest
- ContainerKilledEvent
- PullStoppedEvent
- ActionLabels
- StatusDetailsItem
- Network
- EventDetails
- Action
- Secret
- WorkerStatusAttachedDisks
- OperationMetadataRequest
- Resources
- DiskStatus
- VirtualMachineLabels
- OperationMetadataRuntimeMetadata
- VirtualMachine
- ServiceAccount
- CheckInResponseMetadata
- Accelerator
- PipelineEnvironment
- WorkerReleasedEvent
- ContainerStartedEvent
- FailedEventCode
- Xgafv
- RunPipelineRequest
- Pipeline
- Metadata
- Mount
- PullStartedEvent
- RunPipelineResponse
- OperationMetadata
- ActionEnvironment
- ComputeEngine
- OperationResponse
- OperationEvent
- RuntimeMetadata
Synopsis
- genomicsService :: ServiceConfig
- genomicsScope :: Proxy '["https://www.googleapis.com/auth/genomics"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- data ContainerStartedEventPortMAppings
- containerStartedEventPortMAppings :: HashMap Text Int32 -> ContainerStartedEventPortMAppings
- csepmaAddtional :: Lens' ContainerStartedEventPortMAppings (HashMap Text Int32)
- data Event
- event :: Event
- eDetails :: Lens' Event (Maybe EventDetails)
- eTimestamp :: Lens' Event (Maybe UTCTime)
- eDescription :: Lens' Event (Maybe Text)
- data CheckInRequestEvent
- checkInRequestEvent :: HashMap Text JSONValue -> CheckInRequestEvent
- cireAddtional :: Lens' CheckInRequestEvent (HashMap Text JSONValue)
- 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 RunPipelineRequestLabels
- runPipelineRequestLabels :: HashMap Text Text -> RunPipelineRequestLabels
- rprlAddtional :: Lens' RunPipelineRequestLabels (HashMap Text Text)
- data ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text)
- lorOperations :: Lens' ListOperationsResponse [Operation]
- data FailedEvent
- failedEvent :: FailedEvent
- feCause :: Lens' FailedEvent (Maybe Text)
- feCode :: Lens' FailedEvent (Maybe FailedEventCode)
- data CancelOperationRequest
- cancelOperationRequest :: CancelOperationRequest
- data WorkerStatus
- workerStatus :: WorkerStatus
- wsTotalRamBytes :: Lens' WorkerStatus (Maybe Word64)
- wsAttachedDisks :: Lens' WorkerStatus (Maybe WorkerStatusAttachedDisks)
- wsUptimeSeconds :: Lens' WorkerStatus (Maybe Int64)
- wsBootDisk :: Lens' WorkerStatus (Maybe DiskStatus)
- wsFreeRamBytes :: Lens' WorkerStatus (Maybe Word64)
- data ContainerStoppedEvent
- containerStoppedEvent :: ContainerStoppedEvent
- cseExitStatus :: Lens' ContainerStoppedEvent (Maybe Int32)
- cseActionId :: Lens' ContainerStoppedEvent (Maybe Int32)
- cseStderr :: Lens' ContainerStoppedEvent (Maybe Text)
- data CheckInResponse
- checkInResponse :: CheckInResponse
- cirDeadline :: Lens' CheckInResponse (Maybe UTCTime)
- cirMetadata :: Lens' CheckInResponse (Maybe CheckInResponseMetadata)
- data WorkerAssignedEvent
- workerAssignedEvent :: WorkerAssignedEvent
- waeZone :: Lens' WorkerAssignedEvent (Maybe Text)
- waeInstance :: Lens' WorkerAssignedEvent (Maybe Text)
- data OperationMetadataLabels
- operationMetadataLabels :: HashMap Text Text -> OperationMetadataLabels
- omlAddtional :: Lens' OperationMetadataLabels (HashMap Text 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 Empty
- empty :: Empty
- data Disk
- disk :: Disk
- dSourceImage :: Lens' Disk (Maybe Text)
- dSizeGb :: Lens' Disk (Maybe Int32)
- dName :: Lens' Disk (Maybe Text)
- dType :: Lens' Disk (Maybe Text)
- data UnexpectedExitStatusEvent
- unexpectedExitStatusEvent :: UnexpectedExitStatusEvent
- ueseExitStatus :: Lens' UnexpectedExitStatusEvent (Maybe Int32)
- ueseActionId :: Lens' UnexpectedExitStatusEvent (Maybe Int32)
- data DelayedEvent
- delayedEvent :: DelayedEvent
- deMetrics :: Lens' DelayedEvent [Text]
- deCause :: Lens' DelayedEvent (Maybe Text)
- data ActionPortMAppings
- actionPortMAppings :: HashMap Text Int32 -> ActionPortMAppings
- apmaAddtional :: Lens' ActionPortMAppings (HashMap Text Int32)
- data MetadataLabels
- metadataLabels :: HashMap Text Text -> MetadataLabels
- mlAddtional :: Lens' MetadataLabels (HashMap Text Text)
- data CheckInRequest
- checkInRequest :: CheckInRequest
- cirEvent :: Lens' CheckInRequest (Maybe CheckInRequestEvent)
- cirWorkerStatus :: Lens' CheckInRequest (Maybe WorkerStatus)
- cirResult :: Lens' CheckInRequest (Maybe Status)
- cirDeadlineExpired :: Lens' CheckInRequest (Maybe Empty)
- data ContainerKilledEvent
- containerKilledEvent :: ContainerKilledEvent
- ckeActionId :: Lens' ContainerKilledEvent (Maybe Int32)
- data PullStoppedEvent
- pullStoppedEvent :: PullStoppedEvent
- pseImageURI :: Lens' PullStoppedEvent (Maybe Text)
- data ActionLabels
- actionLabels :: HashMap Text Text -> ActionLabels
- alAddtional :: Lens' ActionLabels (HashMap Text Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data Network
- network :: Network
- nUsePrivateAddress :: Lens' Network (Maybe Bool)
- nName :: Lens' Network (Maybe Text)
- nSubnetwork :: Lens' Network (Maybe Text)
- data EventDetails
- eventDetails :: HashMap Text JSONValue -> EventDetails
- edAddtional :: Lens' EventDetails (HashMap Text JSONValue)
- data Action
- action :: Action
- aCommands :: Lens' Action [Text]
- aFlags :: Lens' Action [Text]
- aEnvironment :: Lens' Action (Maybe ActionEnvironment)
- aCredentials :: Lens' Action (Maybe Secret)
- aEntrypoint :: Lens' Action (Maybe Text)
- aPortMAppings :: Lens' Action (Maybe ActionPortMAppings)
- aMounts :: Lens' Action [Mount]
- aImageURI :: Lens' Action (Maybe Text)
- aName :: Lens' Action (Maybe Text)
- aLabels :: Lens' Action (Maybe ActionLabels)
- aTimeout :: Lens' Action (Maybe Scientific)
- aPidNamespace :: Lens' Action (Maybe Text)
- data Secret
- secret :: Secret
- sKeyName :: Lens' Secret (Maybe Text)
- sCipherText :: Lens' Secret (Maybe Text)
- data WorkerStatusAttachedDisks
- workerStatusAttachedDisks :: HashMap Text DiskStatus -> WorkerStatusAttachedDisks
- wsadAddtional :: Lens' WorkerStatusAttachedDisks (HashMap Text DiskStatus)
- data OperationMetadataRequest
- operationMetadataRequest :: HashMap Text JSONValue -> OperationMetadataRequest
- omrAddtional :: Lens' OperationMetadataRequest (HashMap Text JSONValue)
- data Resources
- resources :: Resources
- rZones :: Lens' Resources [Text]
- rRegions :: Lens' Resources [Text]
- rVirtualMachine :: Lens' Resources (Maybe VirtualMachine)
- rProjectId :: Lens' Resources (Maybe Text)
- data DiskStatus
- diskStatus :: DiskStatus
- dsTotalSpaceBytes :: Lens' DiskStatus (Maybe Word64)
- dsFreeSpaceBytes :: Lens' DiskStatus (Maybe Word64)
- data VirtualMachineLabels
- virtualMachineLabels :: HashMap Text Text -> VirtualMachineLabels
- vmlAddtional :: Lens' VirtualMachineLabels (HashMap Text Text)
- data OperationMetadataRuntimeMetadata
- operationMetadataRuntimeMetadata :: HashMap Text JSONValue -> OperationMetadataRuntimeMetadata
- omrmAddtional :: Lens' OperationMetadataRuntimeMetadata (HashMap Text JSONValue)
- data VirtualMachine
- virtualMachine :: VirtualMachine
- vmNetwork :: Lens' VirtualMachine (Maybe Network)
- vmCPUPlatform :: Lens' VirtualMachine (Maybe Text)
- vmServiceAccount :: Lens' VirtualMachine (Maybe ServiceAccount)
- vmAccelerators :: Lens' VirtualMachine [Accelerator]
- vmMachineType :: Lens' VirtualMachine (Maybe Text)
- vmLabels :: Lens' VirtualMachine (Maybe VirtualMachineLabels)
- vmBootDiskSizeGb :: Lens' VirtualMachine (Maybe Int32)
- vmDisks :: Lens' VirtualMachine [Disk]
- vmBootImage :: Lens' VirtualMachine (Maybe Text)
- vmNvidiaDriverVersion :: Lens' VirtualMachine (Maybe Text)
- vmPreemptible :: Lens' VirtualMachine (Maybe Bool)
- data ServiceAccount
- serviceAccount :: ServiceAccount
- saEmail :: Lens' ServiceAccount (Maybe Text)
- saScopes :: Lens' ServiceAccount [Text]
- data CheckInResponseMetadata
- checkInResponseMetadata :: HashMap Text JSONValue -> CheckInResponseMetadata
- cirmAddtional :: Lens' CheckInResponseMetadata (HashMap Text JSONValue)
- data Accelerator
- accelerator :: Accelerator
- aCount :: Lens' Accelerator (Maybe Int64)
- aType :: Lens' Accelerator (Maybe Text)
- data PipelineEnvironment
- pipelineEnvironment :: HashMap Text Text -> PipelineEnvironment
- peAddtional :: Lens' PipelineEnvironment (HashMap Text Text)
- data WorkerReleasedEvent
- workerReleasedEvent :: WorkerReleasedEvent
- wreZone :: Lens' WorkerReleasedEvent (Maybe Text)
- wreInstance :: Lens' WorkerReleasedEvent (Maybe Text)
- data ContainerStartedEvent
- containerStartedEvent :: ContainerStartedEvent
- cIPAddress :: Lens' ContainerStartedEvent (Maybe Text)
- cActionId :: Lens' ContainerStartedEvent (Maybe Int32)
- cPortMAppings :: Lens' ContainerStartedEvent (Maybe ContainerStartedEventPortMAppings)
- data FailedEventCode
- data Xgafv
- data RunPipelineRequest
- runPipelineRequest :: RunPipelineRequest
- rprPipeline :: Lens' RunPipelineRequest (Maybe Pipeline)
- rprLabels :: Lens' RunPipelineRequest (Maybe RunPipelineRequestLabels)
- data Pipeline
- pipeline :: Pipeline
- pActions :: Lens' Pipeline [Action]
- pEnvironment :: Lens' Pipeline (Maybe PipelineEnvironment)
- pResources :: Lens' Pipeline (Maybe Resources)
- pTimeout :: Lens' Pipeline (Maybe Scientific)
- data Metadata
- metadata :: Metadata
- mStartTime :: Lens' Metadata (Maybe UTCTime)
- mEvents :: Lens' Metadata [Event]
- mEndTime :: Lens' Metadata (Maybe UTCTime)
- mPipeline :: Lens' Metadata (Maybe Pipeline)
- mLabels :: Lens' Metadata (Maybe MetadataLabels)
- mCreateTime :: Lens' Metadata (Maybe UTCTime)
- data Mount
- mount :: Mount
- mPath :: Lens' Mount (Maybe Text)
- mDisk :: Lens' Mount (Maybe Text)
- mReadOnly :: Lens' Mount (Maybe Bool)
- data PullStartedEvent
- pullStartedEvent :: PullStartedEvent
- pImageURI :: Lens' PullStartedEvent (Maybe Text)
- data RunPipelineResponse
- runPipelineResponse :: RunPipelineResponse
- data OperationMetadata
- operationMetadata :: OperationMetadata
- omClientId :: Lens' OperationMetadata (Maybe Text)
- omStartTime :: Lens' OperationMetadata (Maybe UTCTime)
- omEvents :: Lens' OperationMetadata [OperationEvent]
- omEndTime :: Lens' OperationMetadata (Maybe UTCTime)
- omLabels :: Lens' OperationMetadata (Maybe OperationMetadataLabels)
- omProjectId :: Lens' OperationMetadata (Maybe Text)
- omCreateTime :: Lens' OperationMetadata (Maybe UTCTime)
- omRuntimeMetadata :: Lens' OperationMetadata (Maybe OperationMetadataRuntimeMetadata)
- omRequest :: Lens' OperationMetadata (Maybe OperationMetadataRequest)
- data ActionEnvironment
- actionEnvironment :: HashMap Text Text -> ActionEnvironment
- aeAddtional :: Lens' ActionEnvironment (HashMap Text Text)
- data ComputeEngine
- computeEngine :: ComputeEngine
- ceZone :: Lens' ComputeEngine (Maybe Text)
- ceDiskNames :: Lens' ComputeEngine [Text]
- ceMachineType :: Lens' ComputeEngine (Maybe Text)
- ceInstanceName :: Lens' ComputeEngine (Maybe Text)
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data OperationEvent
- operationEvent :: OperationEvent
- oeStartTime :: Lens' OperationEvent (Maybe UTCTime)
- oeEndTime :: Lens' OperationEvent (Maybe UTCTime)
- oeDescription :: Lens' OperationEvent (Maybe Text)
- data RuntimeMetadata
- runtimeMetadata :: RuntimeMetadata
- rmComputeEngine :: Lens' RuntimeMetadata (Maybe ComputeEngine)
Service Configuration
genomicsService :: ServiceConfig Source #
Default request referring to version v2alpha1
of the Genomics API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
genomicsScope :: Proxy '["https://www.googleapis.com/auth/genomics"] Source #
View and manage Genomics data
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
ContainerStartedEventPortMAppings
data ContainerStartedEventPortMAppings Source #
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.
See: containerStartedEventPortMAppings
smart constructor.
Instances
containerStartedEventPortMAppings Source #
Creates a value of ContainerStartedEventPortMAppings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Event
Carries information about events that occur during pipeline execution.
See: event
smart constructor.
Instances
Eq Event Source # | |
Data Event Source # | |
Defined in Network.Google.Genomics.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Event -> c Event # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Event # dataTypeOf :: Event -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Event) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Event) # gmapT :: (forall b. Data b => b -> b) -> Event -> Event # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r # gmapQ :: (forall d. Data d => d -> u) -> Event -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Event -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Event -> m Event # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event # | |
Show Event Source # | |
Generic Event Source # | |
ToJSON Event Source # | |
Defined in Network.Google.Genomics.Types.Product | |
FromJSON Event Source # | |
type Rep Event Source # | |
Defined in Network.Google.Genomics.Types.Product type Rep Event = D1 (MetaData "Event" "Network.Google.Genomics.Types.Product" "gogol-genomics-0.5.0-3CMp7CnsO8g9LYZdZj6f5F" False) (C1 (MetaCons "Event'" PrefixI True) (S1 (MetaSel (Just "_eDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventDetails)) :*: (S1 (MetaSel (Just "_eTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Event
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eDescription :: Lens' Event (Maybe Text) Source #
A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the `details` field.
CheckInRequestEvent
data CheckInRequestEvent Source #
A workflow specific event occurred.
See: checkInRequestEvent
smart constructor.
Instances
Creates a value of CheckInRequestEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cireAddtional :: Lens' CheckInRequestEvent (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
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.Genomics.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.Genomics.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.Genomics.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.Genomics.Types.Product" "gogol-genomics-0.5.0-3CMp7CnsO8g9LYZdZj6f5F" 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 #
An OperationMetadata or Metadata object. This will always be returned with the Operation.
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.
RunPipelineRequestLabels
data RunPipelineRequestLabels Source #
User-defined labels to associate with the returned operation. These labels are not propagated to any Google Cloud Platform resources used by the operation, and can be modified at any time. To associate labels with resources created while executing the operation, see the appropriate resource message (for example, `VirtualMachine`).
See: runPipelineRequestLabels
smart constructor.
Instances
runPipelineRequestLabels Source #
Creates a value of RunPipelineRequestLabels
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.
FailedEvent
data FailedEvent Source #
An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.
See: failedEvent
smart constructor.
Instances
failedEvent :: FailedEvent Source #
Creates a value of FailedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
feCause :: Lens' FailedEvent (Maybe Text) Source #
The human-readable description of the cause of the failure.
feCode :: Lens' FailedEvent (Maybe FailedEventCode) Source #
The Google standard error code that best describes this failure.
CancelOperationRequest
data CancelOperationRequest Source #
The request message for Operations.CancelOperation.
See: cancelOperationRequest
smart constructor.
Instances
cancelOperationRequest :: CancelOperationRequest Source #
Creates a value of CancelOperationRequest
with the minimum fields required to make a request.
WorkerStatus
data WorkerStatus Source #
The status of the worker VM.
See: workerStatus
smart constructor.
Instances
workerStatus :: WorkerStatus Source #
Creates a value of WorkerStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wsTotalRamBytes :: Lens' WorkerStatus (Maybe Word64) Source #
Total RAM.
wsAttachedDisks :: Lens' WorkerStatus (Maybe WorkerStatusAttachedDisks) Source #
Status of attached disks.
wsUptimeSeconds :: Lens' WorkerStatus (Maybe Int64) Source #
System uptime.
wsBootDisk :: Lens' WorkerStatus (Maybe DiskStatus) Source #
Status of the boot disk.
wsFreeRamBytes :: Lens' WorkerStatus (Maybe Word64) Source #
Free RAM.
ContainerStoppedEvent
data ContainerStoppedEvent Source #
An event generated when a container exits.
See: containerStoppedEvent
smart constructor.
Instances
containerStoppedEvent :: ContainerStoppedEvent Source #
Creates a value of ContainerStoppedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cseExitStatus :: Lens' ContainerStoppedEvent (Maybe Int32) Source #
The exit status of the container.
cseActionId :: Lens' ContainerStoppedEvent (Maybe Int32) Source #
The numeric ID of the action that started this container.
cseStderr :: Lens' ContainerStoppedEvent (Maybe Text) Source #
The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the `DISABLE_STANDARD_ERROR_CAPTURE` flag. Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the `/google/logs` directory mounted into each action, and can be copied off the machine as described elsewhere.
CheckInResponse
data CheckInResponse Source #
The response to the CheckIn method.
See: checkInResponse
smart constructor.
Instances
checkInResponse :: CheckInResponse Source #
Creates a value of CheckInResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cirDeadline :: Lens' CheckInResponse (Maybe UTCTime) Source #
The deadline by which the worker must request an extension. The backend will allow for network transmission time and other delays, but the worker must attempt to transmit the extension request no later than the deadline.
cirMetadata :: Lens' CheckInResponse (Maybe CheckInResponseMetadata) Source #
The metadata that describes the operation assigned to the worker.
WorkerAssignedEvent
data WorkerAssignedEvent Source #
An event generated after a worker VM has been assigned to run the pipeline.
See: workerAssignedEvent
smart constructor.
Instances
workerAssignedEvent :: WorkerAssignedEvent Source #
Creates a value of WorkerAssignedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
waeInstance :: Lens' WorkerAssignedEvent (Maybe Text) Source #
The worker's instance name.
OperationMetadataLabels
data OperationMetadataLabels Source #
Optionally provided by the caller when submitting the request that creates the operation.
See: operationMetadataLabels
smart constructor.
Instances
operationMetadataLabels Source #
Creates a value of OperationMetadataLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
oName :: Lens' Operation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
oMetadata :: Lens' Operation (Maybe OperationSchema) Source #
An OperationMetadata or Metadata object. This will always be returned with the Operation.
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.Genomics.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.Genomics.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
Disk
Carries information about a disk that can be attached to a VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.
See: disk
smart constructor.
Instances
Eq Disk Source # | |
Data Disk Source # | |
Defined in Network.Google.Genomics.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Disk -> c Disk # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Disk # dataTypeOf :: Disk -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Disk) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Disk) # gmapT :: (forall b. Data b => b -> b) -> Disk -> Disk # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Disk -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Disk -> r # gmapQ :: (forall d. Data d => d -> u) -> Disk -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Disk -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Disk -> m Disk # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Disk -> m Disk # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Disk -> m Disk # | |
Show Disk Source # | |
Generic Disk Source # | |
ToJSON Disk Source # | |
Defined in Network.Google.Genomics.Types.Product | |
FromJSON Disk Source # | |
type Rep Disk Source # | |
Defined in Network.Google.Genomics.Types.Product type Rep Disk = D1 (MetaData "Disk" "Network.Google.Genomics.Types.Product" "gogol-genomics-0.5.0-3CMp7CnsO8g9LYZdZj6f5F" False) (C1 (MetaCons "Disk'" PrefixI True) ((S1 (MetaSel (Just "_dSourceImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dSizeGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_dName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Disk
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dSourceImage :: Lens' Disk (Maybe Text) Source #
An optional image to put on the disk before attaching it to the VM.
dSizeGb :: Lens' Disk (Maybe Int32) Source #
The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.
dName :: Lens' Disk (Maybe Text) Source #
A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hypens and cannot start with a hypen.
dType :: Lens' Disk (Maybe Text) Source #
The Compute Engine disk type. If unspecified, `pd-standard` is used.
UnexpectedExitStatusEvent
data UnexpectedExitStatusEvent Source #
An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will be skipped.
See: unexpectedExitStatusEvent
smart constructor.
Instances
unexpectedExitStatusEvent :: UnexpectedExitStatusEvent Source #
Creates a value of UnexpectedExitStatusEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ueseExitStatus :: Lens' UnexpectedExitStatusEvent (Maybe Int32) Source #
The exit status of the container.
ueseActionId :: Lens' UnexpectedExitStatusEvent (Maybe Int32) Source #
The numeric ID of the action that started the container.
DelayedEvent
data DelayedEvent Source #
An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.
See: delayedEvent
smart constructor.
Instances
delayedEvent :: DelayedEvent Source #
Creates a value of DelayedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deMetrics :: Lens' DelayedEvent [Text] Source #
If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, `CPUS` or `INSTANCES`). If the particular metric is not known, a single `UNKNOWN` metric will be present.
deCause :: Lens' DelayedEvent (Maybe Text) Source #
A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).
ActionPortMAppings
data ActionPortMAppings Source #
A map of containers to host port mappings for this container. If the container already specifies exposed ports, use the `PUBLISH_EXPOSED_PORTS` flag instead. The host port number must be less than 65536. If it is zero, an unused random port is assigned. To determine the resulting port number, consult the `ContainerStartedEvent` in the operation metadata.
See: actionPortMAppings
smart constructor.
Instances
Creates a value of ActionPortMAppings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
MetadataLabels
data MetadataLabels Source #
The user-defined labels associated with this operation.
See: metadataLabels
smart constructor.
Instances
Creates a value of MetadataLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
CheckInRequest
data CheckInRequest Source #
The parameters to the CheckIn method.
See: checkInRequest
smart constructor.
Instances
checkInRequest :: CheckInRequest Source #
Creates a value of CheckInRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cirEvent :: Lens' CheckInRequest (Maybe CheckInRequestEvent) Source #
A workflow specific event occurred.
cirWorkerStatus :: Lens' CheckInRequest (Maybe WorkerStatus) Source #
Data about the status of the worker VM.
cirResult :: Lens' CheckInRequest (Maybe Status) Source #
The operation has finished with the given result.
cirDeadlineExpired :: Lens' CheckInRequest (Maybe Empty) Source #
The deadline has expired and the worker needs more time.
ContainerKilledEvent
data ContainerKilledEvent Source #
An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user.
See: containerKilledEvent
smart constructor.
Instances
containerKilledEvent :: ContainerKilledEvent Source #
Creates a value of ContainerKilledEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ckeActionId :: Lens' ContainerKilledEvent (Maybe Int32) Source #
The numeric ID of the action that started the container.
PullStoppedEvent
data PullStoppedEvent Source #
An event generated when the worker stops pulling an image.
See: pullStoppedEvent
smart constructor.
Instances
pullStoppedEvent :: PullStoppedEvent Source #
Creates a value of PullStoppedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pseImageURI :: Lens' PullStoppedEvent (Maybe Text) Source #
The URI of the image that was pulled.
ActionLabels
data ActionLabels Source #
Labels to associate with the action. This field is provided to assist workflow engine authors in identifying actions (for example, to indicate what sort of action they perform, such as localization or debugging). They are returned in the operation metadata, but are otherwise ignored.
See: actionLabels
smart constructor.
Instances
Creates a value of ActionLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
Network
VM networking options.
See: network
smart constructor.
Instances
Eq Network Source # | |
Data Network Source # | |
Defined in Network.Google.Genomics.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Network -> c Network # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Network # toConstr :: Network -> Constr # dataTypeOf :: Network -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Network) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Network) # gmapT :: (forall b. Data b => b -> b) -> Network -> Network # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Network -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Network -> r # gmapQ :: (forall d. Data d => d -> u) -> Network -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Network -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Network -> m Network # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Network -> m Network # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Network -> m Network # | |
Show Network Source # | |
Generic Network Source # | |
ToJSON Network Source # | |
Defined in Network.Google.Genomics.Types.Product | |
FromJSON Network Source # | |
type Rep Network Source # | |
Defined in Network.Google.Genomics.Types.Product type Rep Network = D1 (MetaData "Network" "Network.Google.Genomics.Types.Product" "gogol-genomics-0.5.0-3CMp7CnsO8g9LYZdZj6f5F" False) (C1 (MetaCons "Network'" PrefixI True) (S1 (MetaSel (Just "_nUsePrivateAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_nName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nSubnetwork") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Network
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nUsePrivateAddress :: Lens' Network (Maybe Bool) Source #
If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services. See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.
nName :: Lens' Network (Maybe Text) Source #
The network name to attach the VM's network interface to. The value will be prefixed with `global/networks/` unless it contains a `/`, in which case it is assumed to be a fully specified network resource URL. If unspecified, the global default network is used.
nSubnetwork :: Lens' Network (Maybe Text) Source #
If the specified network is configured for custom subnet creation, the name of the subnetwork to attach the instance to must be specified here. The value is prefixed with `regions/*/subnetworks/` unless it contains a `/`, in which case it is assumed to be a fully specified subnetwork resource URL. If the `*` character appears in the value, it is replaced with the region that the virtual machine has been allocated in.
EventDetails
data EventDetails Source #
Machine-readable details about the event.
See: eventDetails
smart constructor.
Instances
Creates a value of EventDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edAddtional :: Lens' EventDetails (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
Action
Specifies a single action that runs a Docker container.
See: action
smart constructor.
Instances
Creates a value of Action
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aCommands :: Lens' Action [Text] Source #
If specified, overrides the `CMD` specified in the container. If the container also has an `ENTRYPOINT` the values are used as entrypoint arguments. Otherwise, they are used as a command and arguments to run inside the container.
aEnvironment :: Lens' Action (Maybe ActionEnvironment) Source #
The environment to pass into the container. This environment is merged with any values specified in the `Pipeline` message. These values overwrite any in the `Pipeline` message. In addition to the values passed here, a few other values are automatically injected into the environment. These cannot be hidden or overwritten. `GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed because an action has exited with a non-zero status (and did not have the `IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional debug or logging actions should execute. `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last non-background action that executed. This can be used by workflow engine authors to determine whether an individual action has succeeded or failed.
aCredentials :: Lens' Action (Maybe Secret) Source #
If the specified image is hosted on a private registry other than Google Container Registry, the credentials required to pull the image must be specified here as an encrypted secret. The secret must decrypt to a JSON-encoded dictionary containing both `username` and `password` keys.
aEntrypoint :: Lens' Action (Maybe Text) Source #
If specified, overrides the `ENTRYPOINT` specified in the container.
aPortMAppings :: Lens' Action (Maybe ActionPortMAppings) Source #
A map of containers to host port mappings for this container. If the container already specifies exposed ports, use the `PUBLISH_EXPOSED_PORTS` flag instead. The host port number must be less than 65536. If it is zero, an unused random port is assigned. To determine the resulting port number, consult the `ContainerStartedEvent` in the operation metadata.
aMounts :: Lens' Action [Mount] Source #
A list of mounts to make available to the action. In addition to the values specified here, every action has a special virtual disk mounted under `/google` that contains log files and other operational components.
- '\/google\/logs' All logs written during the pipeline execution.
- '\/google\/logs\/output' The combined standard output and standard error of all actions run as part of the pipeline execution.
- '\/google\/logs\/action\/*\/stdout' The complete contents of each individual action's standard output.
- '\/google\/logs\/action\/*\/stderr' The complete contents of each individual action's standard error output.
aImageURI :: Lens' Action (Maybe Text) Source #
The URI to pull the container image from. Note that all images referenced by actions in the pipeline are pulled before the first action runs. If multiple actions reference the same image, it is only pulled once, ensuring that the same image is used for all actions in a single pipeline.
aName :: Lens' Action (Maybe Text) Source #
An optional name for the container. The container hostname will be set to this name, making it useful for inter-container communication. The name must contain only upper and lowercase alphanumeric characters and hypens and cannot start with a hypen.
aLabels :: Lens' Action (Maybe ActionLabels) Source #
Labels to associate with the action. This field is provided to assist workflow engine authors in identifying actions (for example, to indicate what sort of action they perform, such as localization or debugging). They are returned in the operation metadata, but are otherwise ignored.
aTimeout :: Lens' Action (Maybe Scientific) Source #
The maximum amount of time to give the action to complete. If the action fails to complete before the timeout, it will be terminated and the exit status will be non-zero. The pipeline will continue or terminate based on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.
aPidNamespace :: Lens' Action (Maybe Text) Source #
An optional identifier for a PID namespace to run the action inside. Multiple actions should use the same string to share a namespace. If unspecified, a separate isolated namespace is used.
Secret
Holds encrypted information that is only decrypted and stored in RAM by the worker VM when running the pipeline.
See: secret
smart constructor.
Instances
Eq Secret Source # | |
Data Secret Source # | |
Defined in Network.Google.Genomics.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Secret -> c Secret # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Secret # toConstr :: Secret -> Constr # dataTypeOf :: Secret -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Secret) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Secret) # gmapT :: (forall b. Data b => b -> b) -> Secret -> Secret # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Secret -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Secret -> r # gmapQ :: (forall d. Data d => d -> u) -> Secret -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Secret -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Secret -> m Secret # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Secret -> m Secret # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Secret -> m Secret # | |
Show Secret Source # | |
Generic Secret Source # | |
ToJSON Secret Source # | |
Defined in Network.Google.Genomics.Types.Product | |
FromJSON Secret Source # | |
type Rep Secret Source # | |
Defined in Network.Google.Genomics.Types.Product type Rep Secret = D1 (MetaData "Secret" "Network.Google.Genomics.Types.Product" "gogol-genomics-0.5.0-3CMp7CnsO8g9LYZdZj6f5F" False) (C1 (MetaCons "Secret'" PrefixI True) (S1 (MetaSel (Just "_sKeyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sCipherText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Creates a value of Secret
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sKeyName :: Lens' Secret (Maybe Text) Source #
The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the `decrypt` method on the specified key.
sCipherText :: Lens' Secret (Maybe Text) Source #
The value of the cipherText response from the `encrypt` method. This field is intentionally unaudited.
WorkerStatusAttachedDisks
data WorkerStatusAttachedDisks Source #
Status of attached disks.
See: workerStatusAttachedDisks
smart constructor.
Instances
workerStatusAttachedDisks Source #
Creates a value of WorkerStatusAttachedDisks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
OperationMetadataRequest
data OperationMetadataRequest Source #
The original request that started the operation. Note that this will be in current version of the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1 API, a v1 request will be returned.
See: operationMetadataRequest
smart constructor.
Instances
operationMetadataRequest Source #
Creates a value of OperationMetadataRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omrAddtional :: Lens' OperationMetadataRequest (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
Resources
The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail.
See: resources
smart constructor.
Instances
resources :: Resources Source #
Creates a value of Resources
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rZones :: Lens' Resources [Text] Source #
The list of zones allowed for VM allocation. If set, the `regions` field must not be set.
rRegions :: Lens' Resources [Text] Source #
The list of regions allowed for VM allocation. If set, the `zones` field must not be set.
rVirtualMachine :: Lens' Resources (Maybe VirtualMachine) Source #
The virtual machine specification.
DiskStatus
data DiskStatus Source #
The status of a disk on a VM.
See: diskStatus
smart constructor.
Instances
diskStatus :: DiskStatus Source #
Creates a value of DiskStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsTotalSpaceBytes :: Lens' DiskStatus (Maybe Word64) Source #
Total disk space.
dsFreeSpaceBytes :: Lens' DiskStatus (Maybe Word64) Source #
Free disk space.
VirtualMachineLabels
data VirtualMachineLabels Source #
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
See: virtualMachineLabels
smart constructor.
Instances
Creates a value of VirtualMachineLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
OperationMetadataRuntimeMetadata
data OperationMetadataRuntimeMetadata Source #
Runtime metadata on this Operation.
See: operationMetadataRuntimeMetadata
smart constructor.
Instances
operationMetadataRuntimeMetadata Source #
Creates a value of OperationMetadataRuntimeMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omrmAddtional :: Lens' OperationMetadataRuntimeMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
VirtualMachine
data VirtualMachine Source #
Carries information about a Compute Engine VM resource.
See: virtualMachine
smart constructor.
Instances
virtualMachine :: VirtualMachine Source #
Creates a value of VirtualMachine
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vmCPUPlatform :: Lens' VirtualMachine (Maybe Text) Source #
The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as "Intel Skylake"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
vmServiceAccount :: Lens' VirtualMachine (Maybe ServiceAccount) Source #
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
vmAccelerators :: Lens' VirtualMachine [Accelerator] Source #
The list of accelerators to attach to the VM.
vmMachineType :: Lens' VirtualMachine (Maybe Text) Source #
The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as "n1-standard-1") or a custom machine type (such as "custom-1-4096", where "1" indicates the number of vCPUs and "4096" indicates the memory in MB). See Creating an instance with a custom machine type for more specifications on creating a custom machine type.
vmLabels :: Lens' VirtualMachine (Maybe VirtualMachineLabels) Source #
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
vmBootDiskSizeGb :: Lens' VirtualMachine (Maybe Int32) Source #
The size of the boot disk, in GB. The boot disk must be large enough to accommodate all of the Docker images from each action in the pipeline at the same time. If not specified, a small but reasonable default value is used.
vmBootImage :: Lens' VirtualMachine (Maybe Text) Source #
The host operating system image to use. Currently, only Container-Optimized OS images can be used. The default value is `projects/cos-cloud/global/images/family/cos-stable`, which selects the latest stable release of Container-Optimized OS. This option is provided to allow testing against the beta release of the operating system to ensure that the new version does not interact negatively with production pipelines. To test a pipeline against the beta release of Container-Optimized OS, use the value `projects/cos-cloud/global/images/family/cos-beta`.
vmNvidiaDriverVersion :: Lens' VirtualMachine (Maybe Text) Source #
The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator. The version specified here must be compatible with the GPU libraries contained in the container being executed, and must be one of the drivers hosted in the `nvidia-drivers-us-public` bucket on Google Cloud Storage.
vmPreemptible :: Lens' VirtualMachine (Maybe Bool) Source #
If true, allocate a preemptible VM.
ServiceAccount
data ServiceAccount Source #
Carries information about a Google Cloud service account.
See: serviceAccount
smart constructor.
Instances
serviceAccount :: ServiceAccount Source #
Creates a value of ServiceAccount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
saEmail :: Lens' ServiceAccount (Maybe Text) Source #
Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.
saScopes :: Lens' ServiceAccount [Text] Source #
List of scopes to be enabled for this service account on the VM, in addition to the Cloud Genomics API scope.
CheckInResponseMetadata
data CheckInResponseMetadata Source #
The metadata that describes the operation assigned to the worker.
See: checkInResponseMetadata
smart constructor.
Instances
checkInResponseMetadata Source #
Creates a value of CheckInResponseMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cirmAddtional :: Lens' CheckInResponseMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
Accelerator
data Accelerator Source #
Carries information about an accelerator that can be attached to a VM.
See: accelerator
smart constructor.
Instances
accelerator :: Accelerator Source #
Creates a value of Accelerator
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aType :: Lens' Accelerator (Maybe Text) Source #
The accelerator type string (for example, "nvidia-tesla-k80"). Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is attached, the required runtime libraries will be made available to all containers under `/usr/local/nvidia`. The driver version to install must be specified using the NVIDIA driver version parameter on the virtual machine specification. Note that attaching a GPU increases the worker VM startup time by a few minutes.
PipelineEnvironment
data PipelineEnvironment Source #
The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).
See: pipelineEnvironment
smart constructor.
Instances
Creates a value of PipelineEnvironment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkerReleasedEvent
data WorkerReleasedEvent Source #
An event generated when the worker VM that was assigned to the pipeline has been released (deleted).
See: workerReleasedEvent
smart constructor.
Instances
workerReleasedEvent :: WorkerReleasedEvent Source #
Creates a value of WorkerReleasedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wreInstance :: Lens' WorkerReleasedEvent (Maybe Text) Source #
The worker's instance name.
ContainerStartedEvent
data ContainerStartedEvent Source #
An event generated when a container starts.
See: containerStartedEvent
smart constructor.
Instances
containerStartedEvent :: ContainerStartedEvent Source #
Creates a value of ContainerStartedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cIPAddress :: Lens' ContainerStartedEvent (Maybe Text) Source #
The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.
cActionId :: Lens' ContainerStartedEvent (Maybe Int32) Source #
The numeric ID of the action that started this container.
cPortMAppings :: Lens' ContainerStartedEvent (Maybe ContainerStartedEventPortMAppings) Source #
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.
FailedEventCode
data FailedEventCode Source #
The Google standard error code that best describes this failure.
OK |
|
Cancelled |
|
Unknown |
|
InvalidArgument |
|
DeadlineExceeded |
|
NotFound |
|
AlreadyExists |
|
PermissionDenied |
|
Unauthenticated |
|
ResourceExhausted |
|
FailedPrecondition |
|
Aborted |
|
OutOfRange |
|
Unimplemented |
|
Internal |
|
Unavailable |
|
DataLoss |
|
Instances
Xgafv
V1 error format.
Instances
RunPipelineRequest
data RunPipelineRequest Source #
The arguments to the `RunPipeline` method. The requesting user must have the `iam.serviceAccounts.actAs` permission for the Cloud Genomics service account or the request will fail.
See: runPipelineRequest
smart constructor.
Instances
runPipelineRequest :: RunPipelineRequest Source #
Creates a value of RunPipelineRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rprPipeline :: Lens' RunPipelineRequest (Maybe Pipeline) Source #
The description of the pipeline to run.
rprLabels :: Lens' RunPipelineRequest (Maybe RunPipelineRequestLabels) Source #
User-defined labels to associate with the returned operation. These labels are not propagated to any Google Cloud Platform resources used by the operation, and can be modified at any time. To associate labels with resources created while executing the operation, see the appropriate resource message (for example, `VirtualMachine`).
Pipeline
Specifies a series of actions to execute, expressed as Docker containers.
See: pipeline
smart constructor.
Instances
Creates a value of Pipeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pActions :: Lens' Pipeline [Action] Source #
The list of actions to execute, in the order they are specified.
pEnvironment :: Lens' Pipeline (Maybe PipelineEnvironment) Source #
The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).
pTimeout :: Lens' Pipeline (Maybe Scientific) Source #
The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED. If unspecified, it will default to 7 days.
Metadata
Carries information about the pipeline execution that is returned in the long running operation's metadata field.
See: metadata
smart constructor.
Instances
Creates a value of Metadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mStartTime :: Lens' Metadata (Maybe UTCTime) Source #
The first time at which resources were allocated to execute the pipeline.
mEvents :: Lens' Metadata [Event] Source #
The list of events that have happened so far during the execution of this operation.
mEndTime :: Lens' Metadata (Maybe UTCTime) Source #
The time at which execution was completed and resources were cleaned up.
mLabels :: Lens' Metadata (Maybe MetadataLabels) Source #
The user-defined labels associated with this operation.
mCreateTime :: Lens' Metadata (Maybe UTCTime) Source #
The time at which the operation was created by the API.
Mount
Carries information about a particular disk mount inside a container.
See: mount
smart constructor.
Instances
Eq Mount Source # | |
Data Mount Source # | |
Defined in Network.Google.Genomics.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Mount -> c Mount # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Mount # dataTypeOf :: Mount -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Mount) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Mount) # gmapT :: (forall b. Data b => b -> b) -> Mount -> Mount # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Mount -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Mount -> r # gmapQ :: (forall d. Data d => d -> u) -> Mount -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Mount -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Mount -> m Mount # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Mount -> m Mount # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Mount -> m Mount # | |
Show Mount Source # | |
Generic Mount Source # | |
ToJSON Mount Source # | |
Defined in Network.Google.Genomics.Types.Product | |
FromJSON Mount Source # | |
type Rep Mount Source # | |
Defined in Network.Google.Genomics.Types.Product type Rep Mount = D1 (MetaData "Mount" "Network.Google.Genomics.Types.Product" "gogol-genomics-0.5.0-3CMp7CnsO8g9LYZdZj6f5F" False) (C1 (MetaCons "Mount'" PrefixI True) (S1 (MetaSel (Just "_mPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mDisk") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mReadOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) |
mDisk :: Lens' Mount (Maybe Text) Source #
The name of the disk to mount, as specified in the resources section.
mReadOnly :: Lens' Mount (Maybe Bool) Source #
If true, the disk is mounted read-only inside the container.
PullStartedEvent
data PullStartedEvent Source #
An event generated when the worker starts pulling an image.
See: pullStartedEvent
smart constructor.
Instances
pullStartedEvent :: PullStartedEvent Source #
Creates a value of PullStartedEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
RunPipelineResponse
data RunPipelineResponse Source #
The response to the RunPipeline method, returned in the operation's result field on success.
See: runPipelineResponse
smart constructor.
Instances
runPipelineResponse :: RunPipelineResponse Source #
Creates a value of RunPipelineResponse
with the minimum fields required to make a request.
OperationMetadata
data OperationMetadata Source #
Metadata describing an 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:
omClientId :: Lens' OperationMetadata (Maybe Text) Source #
This field is deprecated. Use `labels` instead. Optionally provided by the caller when submitting the request that creates the operation.
omStartTime :: Lens' OperationMetadata (Maybe UTCTime) Source #
The time at which the job began to run.
omEvents :: Lens' OperationMetadata [OperationEvent] Source #
Optional event messages that were generated during the job's execution. This also contains any warnings that were generated during import or export.
omEndTime :: Lens' OperationMetadata (Maybe UTCTime) Source #
The time at which the job stopped running.
omLabels :: Lens' OperationMetadata (Maybe OperationMetadataLabels) Source #
Optionally provided by the caller when submitting the request that creates the operation.
omProjectId :: Lens' OperationMetadata (Maybe Text) Source #
The Google Cloud Project in which the job is scoped.
omCreateTime :: Lens' OperationMetadata (Maybe UTCTime) Source #
The time at which the job was submitted to the Genomics service.
omRuntimeMetadata :: Lens' OperationMetadata (Maybe OperationMetadataRuntimeMetadata) Source #
Runtime metadata on this Operation.
omRequest :: Lens' OperationMetadata (Maybe OperationMetadataRequest) Source #
The original request that started the operation. Note that this will be in current version of the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1 API, a v1 request will be returned.
ActionEnvironment
data ActionEnvironment Source #
The environment to pass into the container. This environment is merged with any values specified in the `Pipeline` message. These values overwrite any in the `Pipeline` message. In addition to the values passed here, a few other values are automatically injected into the environment. These cannot be hidden or overwritten. `GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed because an action has exited with a non-zero status (and did not have the `IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional debug or logging actions should execute. `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last non-background action that executed. This can be used by workflow engine authors to determine whether an individual action has succeeded or failed.
See: actionEnvironment
smart constructor.
Instances
Creates a value of ActionEnvironment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ComputeEngine
data ComputeEngine Source #
Describes a Compute Engine resource that is being managed by a running pipeline.
See: computeEngine
smart constructor.
Instances
computeEngine :: ComputeEngine Source #
Creates a value of ComputeEngine
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ceZone :: Lens' ComputeEngine (Maybe Text) Source #
The availability zone in which the instance resides.
ceDiskNames :: Lens' ComputeEngine [Text] Source #
The names of the disks that were created for this pipeline.
ceMachineType :: Lens' ComputeEngine (Maybe Text) Source #
The machine type of the instance.
ceInstanceName :: Lens' ComputeEngine (Maybe Text) Source #
The instance on which the operation is running.
OperationResponse
data OperationResponse Source #
An Empty object.
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.
OperationEvent
data OperationEvent Source #
An event that occurred during an Operation.
See: operationEvent
smart constructor.
Instances
operationEvent :: OperationEvent Source #
Creates a value of OperationEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oeStartTime :: Lens' OperationEvent (Maybe UTCTime) Source #
Optional time of when event started.
oeEndTime :: Lens' OperationEvent (Maybe UTCTime) Source #
Optional time of when event finished. An event can have a start time and no finish time. If an event has a finish time, there must be a start time.
oeDescription :: Lens' OperationEvent (Maybe Text) Source #
Required description of event.
RuntimeMetadata
data RuntimeMetadata Source #
Runtime metadata that will be populated in the runtimeMetadata field of the Operation associated with a RunPipeline execution.
See: runtimeMetadata
smart constructor.
Instances
runtimeMetadata :: RuntimeMetadata Source #
Creates a value of RuntimeMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rmComputeEngine :: Lens' RuntimeMetadata (Maybe ComputeEngine) Source #
Execution information specific to Google Compute Engine.