GKE Hub V1 API - Class Google::Cloud::GkeHub::ConfigManagement::V1::GitConfig (v0.6.0)

Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::ConfigManagement::V1::GitConfig.

Git repo configuration for a single cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gcp_service_account_email

def gcp_service_account_email() -> ::String
Returns
  • (::String) — The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.

#gcp_service_account_email=

def gcp_service_account_email=(value) -> ::String
Parameter
  • value (::String) — The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
Returns
  • (::String) — The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.

#https_proxy

def https_proxy() -> ::String
Returns
  • (::String) — URL for the HTTPS proxy to be used when communicating with the Git repo.

#https_proxy=

def https_proxy=(value) -> ::String
Parameter
  • value (::String) — 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.

#policy_dir

def policy_dir() -> ::String
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.

#policy_dir=

def policy_dir=(value) -> ::String
Parameter
  • value (::String) — 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.

#secret_type

def secret_type() -> ::String
Returns
  • (::String) — Type of secret configured for access to the Git repo.

#secret_type=

def secret_type=(value) -> ::String
Parameter
  • value (::String) — Type of secret configured for access to the Git repo.
Returns
  • (::String) — Type of secret configured for access to the Git repo.

#sync_branch

def sync_branch() -> ::String
Returns
  • (::String) — The branch of the repository to sync from. Default: master.

#sync_branch=

def sync_branch=(value) -> ::String
Parameter
  • value (::String) — The branch of the repository to sync from. Default: master.
Returns
  • (::String) — The branch of the repository to sync from. Default: master.

#sync_repo

def sync_repo() -> ::String
Returns
  • (::String) — The URL of the Git repository to use as the source of truth.

#sync_repo=

def sync_repo=(value) -> ::String
Parameter
  • value (::String) — 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.

#sync_rev

def sync_rev() -> ::String
Returns
  • (::String) — Git revision (tag or hash) to check out. Default HEAD.

#sync_rev=

def sync_rev=(value) -> ::String
Parameter
  • value (::String) — Git revision (tag or hash) to check out. Default HEAD.
Returns
  • (::String) — Git revision (tag or hash) to check out. Default HEAD.

#sync_wait_secs

def sync_wait_secs() -> ::Integer
Returns
  • (::Integer) — Period in seconds between consecutive syncs. Default: 15.

#sync_wait_secs=

def sync_wait_secs=(value) -> ::Integer
Parameter
  • value (::Integer) — Period in seconds between consecutive syncs. Default: 15.
Returns
  • (::Integer) — Period in seconds between consecutive syncs. Default: 15.