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

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

Overview

Controls Git remote configuration for a repository.

Defined Under Namespace

Modules: TokenStatus Classes: SshAuthenticationConfig

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_token_secret_version::String

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

Returns:

  • (::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/*.



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
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 83

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

#default_branch::String

Returns Required. The Git remote's default branch name.

Returns:

  • (::String)

    Required. The Git remote's default branch name.



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
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 83

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

#ssh_authentication_config::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig

Returns Optional. Authentication fields for remote uris using SSH protocol.

Returns:



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
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 83

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

#token_status::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus (readonly)

Deprecated.

This field is deprecated and may be removed in the next major version update.

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



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
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 83

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

#url::String

Returns Required. The Git remote's URL.

Returns:

  • (::String)

    Required. The Git remote's URL.



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
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 83

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