Class: Google::Cloud::GkeHub::ConfigManagement::V1::GitConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#gcp_service_account_email::String

Returns The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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