[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Hub V1 Client - Class OciConfig (1.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.6 (latest)](/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.OciConfig)\n- [1.0.5](/php/docs/reference/cloud-gke-hub/1.0.5/ConfigManagement.V1.OciConfig)\n- [0.10.0](/php/docs/reference/cloud-gke-hub/0.10.0/ConfigManagement.V1.OciConfig)\n- [0.9.5](/php/docs/reference/cloud-gke-hub/0.9.5/ConfigManagement.V1.OciConfig)\n- [0.8.2](/php/docs/reference/cloud-gke-hub/0.8.2/ConfigManagement.V1.OciConfig)\n- [0.7.1](/php/docs/reference/cloud-gke-hub/0.7.1/ConfigManagement.V1.OciConfig)\n- [0.6.3](/php/docs/reference/cloud-gke-hub/0.6.3/ConfigManagement.V1.OciConfig)\n- [0.5.6](/php/docs/reference/cloud-gke-hub/0.5.6/ConfigManagement.V1.OciConfig) \nReference documentation and code samples for the Google Cloud Gke Hub V1 Client class OciConfig.\n\nOCI repo configuration for a single cluster\n\nGenerated from protobuf message `google.cloud.gkehub.configmanagement.v1.OciConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeHub \\\\ ConfigManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSyncRepo\n\nThe OCI image repository URL for the package to sync from.\n\ne.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.\n\n### setSyncRepo\n\nThe OCI image repository URL for the package to sync from.\n\ne.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.\n\n### getPolicyDir\n\nThe absolute path of the directory that contains\nthe local resources. Default: the root directory of the image.\n\n### setPolicyDir\n\nThe absolute path of the directory that contains\nthe local resources. Default: the root directory of the image.\n\n### getSyncWaitSecs\n\nPeriod in seconds between consecutive syncs. Default: 15.\n\n### setSyncWaitSecs\n\nPeriod in seconds between consecutive syncs. Default: 15.\n\n### getSecretType\n\nType of secret configured for access to the Git repo.\n\n### setSecretType\n\nType of secret configured for access to the Git repo.\n\n### getGcpServiceAccountEmail\n\nThe Google Cloud Service Account Email used for auth when secret_type is\ngcpServiceAccount.\n\n### setGcpServiceAccountEmail\n\nThe Google Cloud Service Account Email used for auth when secret_type is\ngcpServiceAccount."]]