Google Cloud Gke Hub V1 Client - Class SyncError (1.0.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
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<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<ErrorResource>
Returns
Type Description
$this