Class Repository (0.5.9)

Repository(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Dataform Git repository.

Attributes

NameDescription
name str
Output only. The repository's name.
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.

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
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.

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