Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class Repository.
Represents a Dataform Git repository.
Generated from protobuf message google.cloud.dataform.v1beta1.Repository
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The repository's name.
↳ create_time
↳ display_name
string
Optional. The repository's user-friendly name.
↳ git_remote_settings
Repository\GitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
↳ npmrc_environment_variables_secret_version
string
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
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
↳ 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
string
Optional. The service account to run workflow invocations under.
↳ kms_key_name
string
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
DataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
↳ internal_metadata
string
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.
getName
Identifier. The repository's name.
string
setName
Identifier. The repository's name.
var
string
$this
getCreateTime
Output only. The timestamp of when the repository was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp of when the repository was created.
$this
getDisplayName
Optional. The repository's user-friendly name.
string
setDisplayName
Optional. The repository's user-friendly name.
var
string
$this
getGitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
hasGitRemoteSettings
clearGitRemoteSettings
setGitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
$this
getNpmrcEnvironmentVariablesSecretVersion
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.
string
setNpmrcEnvironmentVariablesSecretVersion
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.
var
string
$this
getWorkspaceCompilationOverrides
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.
hasWorkspaceCompilationOverrides
clearWorkspaceCompilationOverrides
setWorkspaceCompilationOverrides
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.
$this
getLabels
Optional. Repository user labels.
setLabels
Optional. Repository user labels.
$this
getSetAuthenticatedUserAdmin
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
bool
setSetAuthenticatedUserAdmin
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
var
bool
$this
getServiceAccount
Optional. The service account to run workflow invocations under.
string
setServiceAccount
Optional. The service account to run workflow invocations under.
var
string
$this
getKmsKeyName
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}
string
setKmsKeyName
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}
var
string
$this
getDataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
hasDataEncryptionState
clearDataEncryptionState
setDataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
$this
getInternalMetadata
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.
string
hasInternalMetadata
clearInternalMetadata
setInternalMetadata
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.
var
string
$this