Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class ReleaseConfig.
Represents a Dataform release configuration.
Generated from protobuf message google.cloud.dataform.v1beta1.ReleaseConfig
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The release config's name.
↳ git_commitish
string
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
↳ code_compilation_config
CodeCompilationConfig
Optional. If set, fields of code_compilation_config
override the default compilation settings that are specified in dataform.json.
↳ cron_schedule
string
Optional. Optional schedule (in cron format) for automatic creation of compilation results.
↳ time_zone
string
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.
↳ recent_scheduled_release_records
array< ReleaseConfig\ScheduledReleaseRecord
>
Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of release_time
. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.
↳ release_compilation_result
string
Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is created from this release config, 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/*
.
getName
Output only. The release config's name.
string
setName
Output only. The release config's name.
var
string
$this
getGitCommitish
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
string
setGitCommitish
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
var
string
$this
getCodeCompilationConfig
Optional. If set, fields of code_compilation_config
override the default
compilation settings that are specified in dataform.json.
hasCodeCompilationConfig
clearCodeCompilationConfig
setCodeCompilationConfig
Optional. If set, fields of code_compilation_config
override the default
compilation settings that are specified in dataform.json.
$this
getCronSchedule
Optional. Optional schedule (in cron format) for automatic creation of compilation results.
string
setCronSchedule
Optional. Optional schedule (in cron format) for automatic creation of compilation results.
var
string
$this
getTimeZone
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.
string
setTimeZone
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.
var
string
$this
getRecentScheduledReleaseRecords
Output only. Records of the 10 most recent scheduled release attempts,
ordered in in descending order of release_time
. Updated whenever
automatic creation of a compilation result is triggered by cron_schedule.
setRecentScheduledReleaseRecords
Output only. Records of the 10 most recent scheduled release attempts,
ordered in in descending order of release_time
. Updated whenever
automatic creation of a compilation result is triggered by cron_schedule.
$this
getReleaseCompilationResult
Optional. The name of the currently released compilation result for this
release config. This value is updated when a compilation result is created
from this release config, 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/*
.
string
setReleaseCompilationResult
Optional. The name of the currently released compilation result for this
release config. This value is updated when a compilation result is created
from this release config, 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/*
.
var
string
$this