v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1352131166.0 KB
projects

Creates a new ReleaseConfig in a given Repository.

post/v1/{+parent}/releaseConfigs

Path parameters

parentstring required

Required. The repository in which to create the release config. Must be in the format projects/*/locations/*/repositories/*.

Query parameters

releaseConfigIdstring

Required. The ID to use for the release config, which will become the final component of the release config's resource name.

Request body

gitCommitishstring

Required. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: 12ade345 - a tag: tag1 - a branch name: branch1

namestring

Identifier. The release config's name.

disabledboolean

Optional. Disables automatic creation of compilation results.

timeZonestring

Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.

internalMetadatastring

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

cronSchedulestring

Optional. Optional schedule (in cron format) for automatic creation of compilation results.

releaseCompilationResultstring

Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is automatically created from this release config (using cron_schedule), or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

Response

Successful response