Class: Google::Apis::DataformV1beta1::Repository
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::Repository
- 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
-
#git_remote_settings ⇒ Google::Apis::DataformV1beta1::GitRemoteSettings
Controls Git remote configuration for a repository.
-
#initial_commit_file_contents ⇒ Hash<String,String>
Optional.
-
#initial_commit_metadata ⇒ Google::Apis::DataformV1beta1::CommitMetadata
Represents a Dataform Git commit.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#npmrc_environment_variables_secret_version ⇒ String
Optional.
-
#workspace_compilation_overrides ⇒ Google::Apis::DataformV1beta1::WorkspaceCompilationOverrides
Configures workspace compilation overrides for a repository.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Repository
constructor
A new instance of Repository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Repository
Returns a new instance of Repository.
2112 2113 2114 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#git_remote_settings ⇒ Google::Apis::DataformV1beta1::GitRemoteSettings
Controls Git remote configuration for a repository.
Corresponds to the JSON property gitRemoteSettings
2068 2069 2070 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2068 def git_remote_settings @git_remote_settings end |
#initial_commit_file_contents ⇒ Hash<String,String>
Optional. Input only. The initial commit file contents. Represented as map
from file path to contents. The path is the full file path to commit including
filename, from repository root.
Corresponds to the JSON property initialCommitFileContents
2075 2076 2077 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2075 def initial_commit_file_contents @initial_commit_file_contents end |
#initial_commit_metadata ⇒ Google::Apis::DataformV1beta1::CommitMetadata
Represents a Dataform Git commit.
Corresponds to the JSON property initialCommitMetadata
2080 2081 2082 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2080 def @initial_commit_metadata end |
#labels ⇒ Hash<String,String>
Optional. Repository user labels.
Corresponds to the JSON property labels
2085 2086 2087 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2085 def labels @labels end |
#name ⇒ String
Output only. The repository's name.
Corresponds to the JSON property name
2090 2091 2092 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2090 def name @name end |
#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.
Corresponds to the JSON property npmrcEnvironmentVariablesSecretVersion
2098 2099 2100 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2098 def npmrc_environment_variables_secret_version @npmrc_environment_variables_secret_version end |
#workspace_compilation_overrides ⇒ Google::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`
2110 2111 2112 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2110 def workspace_compilation_overrides @workspace_compilation_overrides end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2117 2118 2119 2120 2121 2122 2123 2124 2125 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2117 def update!(**args) @git_remote_settings = args[:git_remote_settings] if args.key?(:git_remote_settings) @initial_commit_file_contents = args[:initial_commit_file_contents] if args.key?(:initial_commit_file_contents) @initial_commit_metadata = args[:initial_commit_metadata] if args.key?(:initial_commit_metadata) @labels = args[:labels] if args.key?(:labels) @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 |