Google Cloud Dataform V1beta1 Client - Class ReleaseConfig (0.3.0)

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 \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\Dataform\V1beta1\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<Google\Cloud\Dataform\V1beta1\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.

Returns
TypeDescription
string

setName

Output only. The release config's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
Returns
TypeDescription
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
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCodeCompilationConfig

Optional. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CodeCompilationConfig|null

hasCodeCompilationConfig

clearCodeCompilationConfig

setCodeCompilationConfig

Optional. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\CodeCompilationConfig
Returns
TypeDescription
$this

getCronSchedule

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

Returns
TypeDescription
string

setCronSchedule

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Returns
TypeDescription
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.

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

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.

Parameter
NameDescription
var array<Google\Cloud\Dataform\V1beta1\ReleaseConfig\ScheduledReleaseRecord>
Returns
TypeDescription
$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/*.

Returns
TypeDescription
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/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this