GCP Object Storage client creation
Select
SaaS
Customer Managed
This operation creates the GCP Object Storage client
- application/json
Request Body
clientInfo object
entity object
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 241,
"clientName": "GCP",
"_type_": 3
}
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Invalid Parameter : Google Cloud: Authentication or Access Error: Make sure the credentials provided are correct and active, the Google Cloud resource exists. Also validate privileges. Error [Invalid argument. Details: Project id: 0 is invalid or not found.]",
"errorCode": -1
}
POST /client
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/webconsole/api/Client' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": 0,
"cloudClonnectorProperties": {
"instanceType": "GOOGLE_CLOUD",
"instance": {
"instance": {
"instanceName": "string",
"commCellId": 0,
"applicationId": 0
},
"cloudAppsInstance": {
"instanceTypeDisplayName": "Google Cloud",
"instanceType": "GOOGLE_CLOUD",
"generalCloudProperties": {
"numberOfBackupStreams": 0,
"memberServers": [
{
"client": {
"clientName": "string",
"_type_": 0
}
}
],
"credentials": {
"credentialName": "string"
}
},
"objectStorageInstance": {
"isCloudEncryptionKeySet": true
},
"googleCloudInstance": {
"serverName": "storage.googleapis.com"
},
"credentialType": "string"
},
"useResourcePoolInfo": true
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/webconsole/api/Client' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": 0,
"cloudClonnectorProperties": {
"instanceType": "GOOGLE_CLOUD",
"instance": {
"instance": {
"instanceName": "string",
"commCellId": 0,
"applicationId": 0
},
"cloudAppsInstance": {
"instanceTypeDisplayName": "Google Cloud",
"instanceType": "GOOGLE_CLOUD",
"generalCloudProperties": {
"numberOfBackupStreams": 0,
"memberServers": [
{
"client": {
"clientName": "string",
"_type_": 0
}
}
],
"credentials": {
"credentialName": "string"
}
},
"objectStorageInstance": {
"isCloudEncryptionKeySet": true
},
"googleCloudInstance": {
"serverName": "storage.googleapis.com"
},
"credentialType": "string"
},
"useResourcePoolInfo": true
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/webconsole/api/Client' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": 0,
"cloudClonnectorProperties": {
"instanceType": "GOOGLE_CLOUD",
"instance": {
"instance": {
"instanceName": "string",
"commCellId": 0,
"applicationId": 0
},
"cloudAppsInstance": {
"instanceTypeDisplayName": "Google Cloud",
"instanceType": "GOOGLE_CLOUD",
"generalCloudProperties": {
"numberOfBackupStreams": 0,
"memberServers": [
{
"client": {
"clientName": "string",
"_type_": 0
}
}
],
"credentials": {
"credentialName": "string"
}
},
"objectStorageInstance": {
"isCloudEncryptionKeySet": true
},
"googleCloudInstance": {
"serverName": "storage.googleapis.com"
},
"credentialType": "string"
},
"useResourcePoolInfo": true
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/webconsole/api/Client' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": 0,
"cloudClonnectorProperties": {
"instanceType": "GOOGLE_CLOUD",
"instance": {
"instance": {
"instanceName": "string",
"commCellId": 0,
"applicationId": 0
},
"cloudAppsInstance": {
"instanceTypeDisplayName": "Google Cloud",
"instanceType": "GOOGLE_CLOUD",
"generalCloudProperties": {
"numberOfBackupStreams": 0,
"memberServers": [
{
"client": {
"clientName": "string",
"_type_": 0
}
}
],
"credentials": {
"credentialName": "string"
}
},
"objectStorageInstance": {
"isCloudEncryptionKeySet": true
},
"googleCloudInstance": {
"serverName": "storage.googleapis.com"
},
"credentialType": "string"
},
"useResourcePoolInfo": true
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/webconsole/api/Client' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": 0,
"cloudClonnectorProperties": {
"instanceType": "GOOGLE_CLOUD",
"instance": {
"instance": {
"instanceName": "string",
"commCellId": 0,
"applicationId": 0
},
"cloudAppsInstance": {
"instanceTypeDisplayName": "Google Cloud",
"instanceType": "GOOGLE_CLOUD",
"generalCloudProperties": {
"numberOfBackupStreams": 0,
"memberServers": [
{
"client": {
"clientName": "string",
"_type_": 0
}
}
],
"credentials": {
"credentialName": "string"
}
},
"objectStorageInstance": {
"isCloudEncryptionKeySet": true
},
"googleCloudInstance": {
"serverName": "storage.googleapis.com"
},
"credentialType": "string"
},
"useResourcePoolInfo": true
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/webconsole/api/Client' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": 0,
"cloudClonnectorProperties": {
"instanceType": "GOOGLE_CLOUD",
"instance": {
"instance": {
"instanceName": "string",
"commCellId": 0,
"applicationId": 0
},
"cloudAppsInstance": {
"instanceTypeDisplayName": "Google Cloud",
"instanceType": "GOOGLE_CLOUD",
"generalCloudProperties": {
"numberOfBackupStreams": 0,
"memberServers": [
{
"client": {
"clientName": "string",
"_type_": 0
}
}
],
"credentials": {
"credentialName": "string"
}
},
"objectStorageInstance": {
"isCloudEncryptionKeySet": true
},
"googleCloudInstance": {
"serverName": "storage.googleapis.com"
},
"credentialType": "string"
},
"useResourcePoolInfo": true
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/webconsole/api/Client' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": 0,
"cloudClonnectorProperties": {
"instanceType": "GOOGLE_CLOUD",
"instance": {
"instance": {
"instanceName": "string",
"commCellId": 0,
"applicationId": 0
},
"cloudAppsInstance": {
"instanceTypeDisplayName": "Google Cloud",
"instanceType": "GOOGLE_CLOUD",
"generalCloudProperties": {
"numberOfBackupStreams": 0,
"memberServers": [
{
"client": {
"clientName": "string",
"_type_": 0
}
}
],
"credentials": {
"credentialName": "string"
}
},
"objectStorageInstance": {
"isCloudEncryptionKeySet": true
},
"googleCloudInstance": {
"serverName": "storage.googleapis.com"
},
"credentialType": "string"
},
"useResourcePoolInfo": true
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'