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

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

setErrorResources

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

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: