# GKE Hub V1 API - Class Google::Cloud::GkeHub::ConfigManagement::V1::OciConfig (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 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.