Returns the specified GCP location
GET/v1/users/assets/locations/gcp/:uid
Returns the specified GCP location
Request
Path Parameters
uid stringrequired
Specify the GCP location uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
metadata object
ObjectMeta input entity for object creation
annotations object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set
property name*string
labels object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
property name*string
namestring
Name of the resource
spec object
GCP location specification
config objectrequired
GCP storage config object
bucketNamestringrequired
GCP storage bucket name
credentials objectrequired
GCP cloud account credentials
jsonCredentialsstring
jsonCredentialsFileUidstring
isDefaultboolean
Set to 'true', if location has to be set as default
typestring
GCP location type [gcp]
{
"metadata": {
"annotations": {},
"labels": {},
"name": "string"
},
"spec": {
"config": {
"bucketName": "string",
"credentials": {
"jsonCredentials": "string",
"jsonCredentialsFileUid": "string"
}
},
"isDefault": true,
"type": "string"
}
}
Loading...