createGcpReaderTarget
Creates reader type for GCP archival location on a CDM cluster.
Arguments
| Argument | Type | Description |
|---|---|---|
| input (required) | CreateGcpReaderTargetInput! | Request for creating a new Gcp reader target. |
Returns
Sample
mutation CreateGcpReaderTarget($input: CreateGcpReaderTargetInput!) {
createGcpReaderTarget(input: $input) {
clusterName
consumedBytes
failedTasks
id
isActive
isArchived
isComplianceImmutabilitySupported
locationConnectionStatus
locationScope
name
readerRetrievalMethod
runningTasks
status
targetType
upgradeStatus
}
}
{
"input": {
"bucket": "example-string",
"bypassProxy": true,
"clusterUuid": "00000000-0000-0000-0000-000000000000",
"encryptionPassword": "example-string",
"name": "example-string",
"readerRetrievalMethod": "OBJECT_LIST_AND_DETAILS",
"region": "AFRICA_SOUTH1",
"serviceAccountJsonKey": "example-string",
"storageClass": "ARCHIVE_GCP"
}
}