Class: Google::Apis::DataformV1beta1::Repository

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb

Overview

Represents a Dataform Git repository.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Repository

Returns a new instance of Repository.



1678
1679
1680
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1678

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#git_remote_settingsGoogle::Apis::DataformV1beta1::GitRemoteSettings

Controls Git remote configuration for a repository. Corresponds to the JSON property gitRemoteSettings



1651
1652
1653
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1651

def git_remote_settings
  @git_remote_settings
end

#nameString

Output only. The repository's name. Corresponds to the JSON property name

Returns:

  • (String)


1656
1657
1658
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1656

def name
  @name
end

#npmrc_environment_variables_secret_versionString

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. Corresponds to the JSON property npmrcEnvironmentVariablesSecretVersion

Returns:

  • (String)


1664
1665
1666
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1664

def npmrc_environment_variables_secret_version
  @npmrc_environment_variables_secret_version
end

#workspace_compilation_overridesGoogle::Apis::DataformV1beta1::WorkspaceCompilationOverrides

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. Corresponds to the JSON propertyworkspaceCompilationOverrides`



1676
1677
1678
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1676

def workspace_compilation_overrides
  @workspace_compilation_overrides
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1683
1684
1685
1686
1687
1688
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1683

def update!(**args)
  @git_remote_settings = args[:git_remote_settings] if args.key?(:git_remote_settings)
  @name = args[:name] if args.key?(:name)
  @npmrc_environment_variables_secret_version = args[:npmrc_environment_variables_secret_version] if args.key?(:npmrc_environment_variables_secret_version)
  @workspace_compilation_overrides = args[:workspace_compilation_overrides] if args.key?(:workspace_compilation_overrides)
end