REST Resource: projects.locations.parameters

Resource: Parameter

Message describing Parameter resource

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "format": enum (ParameterFormat),
  "policyMember": {
    object (ResourcePolicyMember)
  }
}
Fields
name

string

Identifier. [Output only] The resource name of the Parameter in the format projects/*/locations/*/parameters/*.

createTime

string (Timestamp format)

Output only. [Output only] Create time stamp

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. [Output only] Update time stamp

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

Optional. Labels as key value pairs

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

format

enum (ParameterFormat)

Optional. Specifies the format of a Parameter.

policyMember

object (ResourcePolicyMember)

Output only. [Output-only] policy member strings of a Google Cloud resource.

ParameterFormat

Option to specify the format of a Parameter resource (UNFORMATTED / YAML / JSON). This option is user specified at the time of creation of the resource and is immutable.

Enums
PARAMETER_FORMAT_UNSPECIFIED The default / unset value. The API will default to the UNFORMATTED format.
UNFORMATTED Unformatted.
YAML YAML format.
JSON JSON format.

ResourcePolicyMember

Output-only policy member strings of a Google Cloud resource's built-in identity.

JSON representation
{
  "iamPolicyNamePrincipal": string,
  "iamPolicyUidPrincipal": string
}
Fields
iamPolicyNamePrincipal

string

Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource.

Example: principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter

iamPolicyUidPrincipal

string

Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource

Example: principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5

Methods

create

Creates a new Parameter in a given project and location.

delete

Deletes a single Parameter.

get

Gets details of a single Parameter.

list

Lists Parameters in a given project and location.

patch

Updates a single Parameter.