Class: Google::Cloud::Dataform::V1beta1::Repository

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataform/v1beta1/dataform.rb

Overview

Represents a Dataform Git repository.

Defined Under Namespace

Classes: GitRemoteSettings, LabelsEntry, WorkspaceCompilationOverrides

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns Optional. The repository's user-friendly name.

Returns:

  • (::String)

    Optional. The repository's user-friendly name.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#git_remote_settings::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings

Returns Optional. If set, configures this repository to be linked to a Git remote.

Returns:



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. Repository user labels.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. Repository user labels.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String (readonly)

Returns Output only. The repository's name.

Returns:

  • (::String)

    Output only. The repository's name.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#npmrc_environment_variables_secret_version::String

Returns 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.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#service_account::String

Returns Optional. The service account to run workflow invocations under.

Returns:

  • (::String)

    Optional. The service account to run workflow invocations under.



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#set_authenticated_user_admin::Boolean

Returns 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:



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#workspace_compilation_overrides::Google::Cloud::Dataform::V1beta1::Repository::WorkspaceCompilationOverrides

Returns 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.

Returns:



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 58

class Repository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Controls Git remote configuration for a repository.
  # @!attribute [rw] url
  #   @return [::String]
  #     Required. The Git remote's URL.
  # @!attribute [rw] default_branch
  #   @return [::String]
  #     Required. The Git remote's default branch name.
  # @!attribute [rw] authentication_token_secret_version
  #   @return [::String]
  #     Optional. The name of the Secret Manager secret version to use as an
  #     authentication token for Git operations. Must be in the format
  #     `projects/*/secrets/*/versions/*`.
  # @!attribute [rw] ssh_authentication_config
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
  #     Optional. Authentication fields for remote uris using SSH protocol.
  # @!attribute [r] token_status
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
  #     Output only. Deprecated: The field does not contain any token status
  #     information. Instead use
  #     https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus
  class GitRemoteSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Configures fields for performing SSH authentication.
    # @!attribute [rw] user_private_key_secret_version
    #   @return [::String]
    #     Required. The name of the Secret Manager secret version to use as a
    #     ssh private key for Git operations.
    #     Must be in the format `projects/*/secrets/*/versions/*`.
    # @!attribute [rw] host_public_key
    #   @return [::String]
    #     Required. Content of a public SSH key to verify an identity of a remote
    #     Git host.
    class SshAuthenticationConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    module TokenStatus
      # Default value. This value is unused.
      TOKEN_STATUS_UNSPECIFIED = 0

      # The token could not be found in Secret Manager (or the Dataform
      # Service Account did not have permission to access it).
      NOT_FOUND = 1

      # The token could not be used to authenticate against the Git remote.
      INVALID = 2

      # The token was used successfully to authenticate against the Git remote.
      VALID = 3
    end
  end

  # 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 in
  # `code_compilation_config`
  # (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
  # when creating workspace-scoped compilation results.
  # @!attribute [rw] default_database
  #   @return [::String]
  #     Optional. The default database (Google Cloud project ID).
  # @!attribute [rw] schema_suffix
  #   @return [::String]
  #     Optional. The suffix that should be appended to all schema (BigQuery
  #     dataset ID) names.
  # @!attribute [rw] table_prefix
  #   @return [::String]
  #     Optional. The prefix that should be prepended to all table names.
  class WorkspaceCompilationOverrides
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end