Repository(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a Dataform Git repository.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. The repository's name. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp of when the repository was created. |
display_name |
str
Optional. The repository's user-friendly name. |
git_remote_settings |
google.cloud.dataform_v1beta1.types.Repository.GitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote. |
npmrc_environment_variables_secret_version |
str
Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects/*/secrets/*/versions/*. The file itself must be
in a JSON format.
|
workspace_compilation_overrides |
google.cloud.dataform_v1beta1.types.Repository.WorkspaceCompilationOverrides
Optional. If set, fields of workspace_compilation_overrides override the default
compilation settings that are specified in dataform.json
when creating workspace-scoped compilation results. See
documentation for WorkspaceCompilationOverrides for more
information.
|
labels |
MutableMapping[str, str]
Optional. Repository user labels. |
set_authenticated_user_admin |
bool
Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories |
service_account |
str
Optional. The service account to run workflow invocations under. |
kms_key_name |
str
Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}
|
data_encryption_state |
google.cloud.dataform_v1beta1.types.DataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key. |
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
GitRemoteSettings
GitRemoteSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)Controls Git remote configuration for a repository.
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
WorkspaceCompilationOverrides
WorkspaceCompilationOverrides(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)Configures workspace compilation overrides for a repository.
Primarily used by the UI (console.cloud.google.com).
schema_suffix and table_prefix can have a special expression
${workspaceName}, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly incode_compilation_config(https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results.