Class: Google::Apis::DataformV1beta1::GitRemoteSettings
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::GitRemoteSettings
- 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
Controls Git remote configuration for a repository.
Instance Attribute Summary collapse
-
#authentication_token_secret_version ⇒ String
Required.
-
#default_branch ⇒ String
Required.
-
#token_status ⇒ String
Output only.
-
#url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GitRemoteSettings
constructor
A new instance of GitRemoteSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GitRemoteSettings
Returns a new instance of GitRemoteSettings.
881 882 883 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authentication_token_secret_version ⇒ String
Required. 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/*.
Corresponds to the JSON property authenticationTokenSecretVersion
864 865 866 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 864 def authentication_token_secret_version @authentication_token_secret_version end |
#default_branch ⇒ String
Required. The Git remote's default branch name.
Corresponds to the JSON property defaultBranch
869 870 871 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 869 def default_branch @default_branch end |
#token_status ⇒ String
Output only. Indicates the status of the Git access token.
Corresponds to the JSON property tokenStatus
874 875 876 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 874 def token_status @token_status end |
#url ⇒ String
Required. The Git remote's URL.
Corresponds to the JSON property url
879 880 881 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 879 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
886 887 888 889 890 891 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 886 def update!(**args) @authentication_token_secret_version = args[:authentication_token_secret_version] if args.key?(:authentication_token_secret_version) @default_branch = args[:default_branch] if args.key?(:default_branch) @token_status = args[:token_status] if args.key?(:token_status) @url = args[:url] if args.key?(:url) end |