Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class OciConfig.
OCI repo configuration for a single cluster
Generated from protobuf message google.cloud.gkehub.configmanagement.v1.OciConfig
Namespace
Google \ Cloud \ GkeHub \ ConfigManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ sync_repo
string
The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME
.
↳ policy_dir
string
The absolute path of the directory that contains the local resources. Default: the root directory of the image.
↳ sync_wait_secs
int|string
Period in seconds between consecutive syncs. Default: 15.
↳ secret_type
string
Type of secret configured for access to the Git repo.
↳ gcp_service_account_email
string
The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
getSyncRepo
The OCI image repository URL for the package to sync from.
e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME
.
string
setSyncRepo
The OCI image repository URL for the package to sync from.
e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME
.
var
string
$this
getPolicyDir
The absolute path of the directory that contains the local resources. Default: the root directory of the image.
string
setPolicyDir
The absolute path of the directory that contains the local resources. Default: the root directory of the image.
var
string
$this
getSyncWaitSecs
Period in seconds between consecutive syncs. Default: 15.
int|string
setSyncWaitSecs
Period in seconds between consecutive syncs. Default: 15.
var
int|string
$this
getSecretType
Type of secret configured for access to the Git repo.
string
setSecretType
Type of secret configured for access to the Git repo.
var
string
$this
getGcpServiceAccountEmail
The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
string
setGcpServiceAccountEmail
The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
var
string
$this