GKE Hub V1 API - Class Google::Cloud::GkeHub::ConfigManagement::V1::OciConfig (v1.0.0)

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

OCI 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 Google Cloud 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 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.

#policy_dir

def policy_dir() -> ::String
Returns
  • (::String) — The absolute path of the directory that contains the local resources. Default: the root directory of the image.

#policy_dir=

def policy_dir=(value) -> ::String
Parameter
  • value (::String) — The absolute path of the directory that contains the local resources. Default: the root directory of the image.
Returns
  • (::String) — The absolute path of the directory that contains the local resources. Default: the root directory of the image.

#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_repo

def sync_repo() -> ::String
Returns
  • (::String) — The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.

#sync_repo=

def sync_repo=(value) -> ::String
Parameter
  • value (::String) — The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.
Returns
  • (::String) — The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.

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