Google Cloud Gke Hub V1 Client - Class SyncError (0.8.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setCode

An ACM defined error code

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrorMessage

A description of the error

Returns
TypeDescription
string

setErrorMessage

A description of the error

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrorResources

A list of config(s) associated with the error, if any

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrorResources

A list of config(s) associated with the error, if any

Parameter
NameDescription
var array<Google\Cloud\GkeHub\ConfigManagement\V1\ErrorResource>
Returns
TypeDescription
$this