Skip to main content
Version: latest

Updates the specified GCP location

PUT 

/v1/users/assets/locations/gcp/:uid

Updates the specified GCP location

Request

Path Parameters

    uid stringrequired

    Specify the GCP location uid

Body

    metadata

    object

    ObjectMeta input entity for object creation

    annotations

    object

    Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations

    property name*string

    labels

    object

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels

    property name*string
    namestring

    Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names

    spec

    object

    GCP location specification

    config

    object

    required

    GCP storage config object

    bucketNamestringrequired

    GCP storage bucket name

    credentials

    object

    required

    GCP cloud account credentials

    jsonCredentialsstring
    jsonCredentialsFileUidstring
    projectIdstring

    GCP project id

    isDefaultboolean

    Set to 'true', if location has to be set as default

    typestring

    GCP location type [gcp]

Responses

The resource was updated successfully

Loading...