# GKE Hub V1 API - Class Google::Cloud::GkeHub::ConfigManagement::V1::SyncError (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::SyncError.

An ACM created error representing a problem syncing configurations

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #code

    def code() -> ::String

**Returns**

- (::String) --- An ACM defined error code

### #code=

    def code=(value) -> ::String

**Parameter**

- **value** (::String) --- An ACM defined error code
**Returns**

- (::String) --- An ACM defined error code

### #error_message

    def error_message() -> ::String

**Returns**

- (::String) --- A description of the error

### #error_message=

    def error_message=(value) -> ::String

**Parameter**

- **value** (::String) --- A description of the error
**Returns**

- (::String) --- A description of the error

### #error_resources

    def error_resources() -> ::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::ErrorResource>

**Returns**

- (::Array\<[::Google::Cloud::GkeHub::ConfigManagement::V1::ErrorResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-ErrorResource)\>) --- A list of config(s) associated with the error, if any

### #error_resources=

    def error_resources=(value) -> ::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::ErrorResource>

**Parameter**

- **value** (::Array\<[::Google::Cloud::GkeHub::ConfigManagement::V1::ErrorResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-ErrorResource)\>) --- A list of config(s) associated with the error, if any
**Returns**

- (::Array\<[::Google::Cloud::GkeHub::ConfigManagement::V1::ErrorResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-ErrorResource)\>) --- A list of config(s) associated with the error, if any