Class: Google::Cloud::GkeHub::ConfigManagement::V1::GitConfig
- Inherits:
-
Object
- Object
- Google::Cloud::GkeHub::ConfigManagement::V1::GitConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb
Overview
Git repo configuration for a single cluster.
Instance Attribute Summary collapse
-
#gcp_service_account_email ⇒ ::String
The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
-
#https_proxy ⇒ ::String
URL for the HTTPS proxy to be used when communicating with the Git repo.
-
#policy_dir ⇒ ::String
The path within the Git repository that represents the top level of the repo to sync.
-
#secret_type ⇒ ::String
Type of secret configured for access to the Git repo.
-
#sync_branch ⇒ ::String
The branch of the repository to sync from.
-
#sync_repo ⇒ ::String
The URL of the Git repository to use as the source of truth.
-
#sync_rev ⇒ ::String
Git revision (tag or hash) to check out.
-
#sync_wait_secs ⇒ ::Integer
Period in seconds between consecutive syncs.
Instance Attribute Details
#gcp_service_account_email ⇒ ::String
Returns The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#https_proxy ⇒ ::String
Returns URL for the HTTPS proxy to be used when communicating with the Git repo.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#policy_dir ⇒ ::String
Returns The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#secret_type ⇒ ::String
Returns Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sync_branch ⇒ ::String
Returns The branch of the repository to sync from. Default: master.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sync_repo ⇒ ::String
Returns The URL of the Git repository to use as the source of truth.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sync_rev ⇒ ::String
Returns Git revision (tag or hash) to check out. Default HEAD.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sync_wait_secs ⇒ ::Integer
Returns Period in seconds between consecutive syncs. Default: 15.
162 163 164 165 |
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 162 class GitConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |