ReleaseConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents a Dataform release configuration.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
name |
str
Identifier. The release config's name. |
git_commitish |
str
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.types.CodeCompilationConfig
Optional. If set, fields of code_compilation_config
override the default compilation settings that are specified
in dataform.json.
|
cron_schedule |
str
Optional. Optional schedule (in cron format) for automatic creation of compilation results. |
time_zone |
str
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 |
MutableSequence[google.cloud.dataform_v1beta1.types.ReleaseConfig.ScheduledReleaseRecord]
Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of release_time .
Updated whenever automatic creation of a compilation result
is triggered by cron_schedule.
|
release_compilation_result |
str
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/* .
|
disabled |
bool
Optional. Disables automatic creation of compilation results. |
internal_metadata |
str
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. This field is a member of oneof _ _internal_metadata .
|
Classes
ScheduledReleaseRecord
ScheduledReleaseRecord(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A record of an attempt to create a compilation result for this release config.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields