Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::Repository.
Represents a Dataform Git repository.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp of when the repository was created.
#data_encryption_state
def data_encryption_state() -> ::Google::Cloud::Dataform::V1beta1::DataEncryptionState
Returns
- (::Google::Cloud::Dataform::V1beta1::DataEncryptionState) — Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. The repository's user-friendly name.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. The repository's user-friendly name.
Returns
- (::String) — Optional. The repository's user-friendly name.
#git_remote_settings
def git_remote_settings() -> ::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings
Returns
- (::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings) — Optional. If set, configures this repository to be linked to a Git remote.
#git_remote_settings=
def git_remote_settings=(value) -> ::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings
Parameter
- value (::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings) — Optional. If set, configures this repository to be linked to a Git remote.
Returns
- (::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings) — Optional. If set, configures this repository to be linked to a Git remote.
#internal_metadata
def internal_metadata() -> ::String
Returns
- (::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.
#kms_key_name
def kms_key_name() -> ::String
Returns
-
(::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}
#kms_key_name=
def kms_key_name=(value) -> ::String
Parameter
-
value (::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}
Returns
-
(::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}
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Repository user labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Repository user labels.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Repository user labels.
#name
def name() -> ::String
Returns
- (::String) — Identifier. The repository's name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The repository's name.
Returns
- (::String) — Identifier. The repository's name.
#npmrc_environment_variables_secret_version
def npmrc_environment_variables_secret_version() -> ::String
Returns
-
(::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.
#npmrc_environment_variables_secret_version=
def npmrc_environment_variables_secret_version=(value) -> ::String
Parameter
-
value (::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.
Returns
-
(::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.
#service_account
def service_account() -> ::String
Returns
- (::String) — Optional. The service account to run workflow invocations under.
#service_account=
def service_account=(value) -> ::String
Parameter
- value (::String) — Optional. The service account to run workflow invocations under.
Returns
- (::String) — Optional. The service account to run workflow invocations under.
#set_authenticated_user_admin
def set_authenticated_user_admin() -> ::Boolean
Returns
- (::Boolean) — 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
#set_authenticated_user_admin=
def set_authenticated_user_admin=(value) -> ::Boolean
Parameter
- value (::Boolean) — 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
Returns
- (::Boolean) — 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
#workspace_compilation_overrides
def workspace_compilation_overrides() -> ::Google::Cloud::Dataform::V1beta1::Repository::WorkspaceCompilationOverrides
Returns
-
(::Google::Cloud::Dataform::V1beta1::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 forWorkspaceCompilationOverrides
for more information.
#workspace_compilation_overrides=
def workspace_compilation_overrides=(value) -> ::Google::Cloud::Dataform::V1beta1::Repository::WorkspaceCompilationOverrides
Parameter
-
value (::Google::Cloud::Dataform::V1beta1::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 forWorkspaceCompilationOverrides
for more information.
Returns
-
(::Google::Cloud::Dataform::V1beta1::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 forWorkspaceCompilationOverrides
for more information.