Update Gcp Cloud Account

Update Gcp Cloud Account

Update GCP cloud account

Request
URI
PATCH
https://{api_host}/iaas/api/cloud-accounts-gcp/{id}
COPY
Path Parameters
string
id
Required

Cloud account id

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Request Body

GCP cloud account details to be updated

UpdateCloudAccountGcpSpecification of type(s) application/json
Required
{
    "createDefaultZones": true,
    "description": "string",
    "regionIds": [
        "string"
    ],
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ]
}
boolean
createDefaultZones
Optional

Create default cloud zones for the enabled regions.

string
description
Optional

A human-friendly description.

array of string
regionIds
Optional

A set of Region names to enable provisioning on.

array of Tag
tags
Optional

A set of tag keys and optional values to set on the Cloud Account

Responses
200

successful operation

Returns CloudAccountGcp of type(s) application/json
{
    "owner": "csp@vmware.com",
    "enabledRegionIds": [
        "string"
    ],
    "clientEmail": "321743978432-compute@developer.gserviceaccount.com",
    "description": "my-description",
    "orgId": "9e49",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "name": "my-name",
    "id": "9e49",
    "projectId": "example-gcp-project",
    "privateKeyId": "027f73d50a19452eedf5775a9b42c5083678abdf",
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

array of string
enabledRegionIds
Optional

A set of region names that are enabled for this

object
_links
Required

HATEOAS of the entity

string
clientEmail
Required

GCP Client email

string
description
Optional

A human-friendly description.

string
orgId
Optional

The id of the organization this entity belongs to.

array of Tag
tags
Optional

A set of tag keys and optional values that were set on on the Cloud Account

string
organizationId
Optional

This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.

string
createdAt
Optional

Date when the entity was created. The date is in ISO 6801 and UTC.

object
customProperties
Optional

Additional properties that may be used to extend the base type.

string
name
Optional

A human-friendly name used as an identifier in APIs that support this option.

string
id
Required

The id of this resource instance

string
projectId
Required

GCP Project ID

string
privateKeyId
Required

GCP Private key ID

string
updatedAt
Optional

Date when the entity was last updated. The date is ISO 8601 and UTC.


403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure