Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class SyncError.
An ACM created error representing a problem syncing configurations
Generated from protobuf message google.cloud.gkehub.configmanagement.v1.SyncError
Namespace
Google \ Cloud \ GkeHub \ ConfigManagement \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ code |
string
An ACM defined error code |
↳ error_message |
string
A description of the error |
↳ error_resources |
array<Google\Cloud\GkeHub\ConfigManagement\V1\ErrorResource>
A list of config(s) associated with the error, if any |
getCode
An ACM defined error code
Returns | |
---|---|
Type | Description |
string |
setCode
An ACM defined error code
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getErrorMessage
A description of the error
Returns | |
---|---|
Type | Description |
string |
setErrorMessage
A description of the error
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getErrorResources
A list of config(s) associated with the error, if any
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setErrorResources
A list of config(s) associated with the error, if any
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\GkeHub\ConfigManagement\V1\ErrorResource>
|
Returns | |
---|---|
Type | Description |
$this |