Method: projects.locations.getConfig

Gets the configuration for a location.

HTTP request

GET https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/config}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of requested configuration.

Request body

The request body must be empty.

Response body

Service-wide configuration.

If successful, the response body contains data with the following structure:

JSON representation
{
  "name": string,
  "supportedVersions": [
    {
      object (SkaffoldVersion)
    }
  ],
  "defaultSkaffoldVersion": string
}
Fields
name

string

Name of the configuration.

supportedVersions[]

object (SkaffoldVersion)

All supported versions of Skaffold.

defaultSkaffoldVersion

string

Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • clouddeploy.config.get

For more information, see the IAM documentation.

SkaffoldVersion

Details of a supported Skaffold version.

JSON representation
{
  "version": string,
  "maintenanceModeTime": string,
  "supportExpirationTime": string,
  "supportEndDate": {
    object (Date)
  }
}
Fields
version

string

Release version number. For example, "1.20.3".

maintenanceModeTime

string (Timestamp format)

The time at which this version of Skaffold will enter maintenance mode.

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".

supportExpirationTime

string (Timestamp format)

The time at which this version of Skaffold will no longer be supported.

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".

supportEndDate

object (Date)

Date when this version is expected to no longer be supported.

Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

  • A full date, with non-zero year, month, and day values.
  • A month and day, with a zero year (for example, an anniversary).
  • A year on its own, with a zero month and a zero day.
  • A year and month, with a zero day (for example, a credit card expiration date).

Related types:

JSON representation
{
  "year": integer,
  "month": integer,
  "day": integer
}
Fields
year

integer

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

month

integer

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

day

integer

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.