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

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class ErrorResource.

Model for a config file in the git repo with an associated Sync error

Generated from protobuf message google.cloud.gkehub.configmanagement.v1.ErrorResource

Namespace

Google \ Cloud \ GkeHub \ ConfigManagement \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ source_path
string

Path in the git repo of the erroneous config

↳ resource_name
string

Metadata name of the resource that is causing an error

↳ resource_namespace
string

Namespace of the resource that is causing an error

↳ resource_gvk
Google\Cloud\GkeHub\ConfigManagement\V1\GroupVersionKind

Group/version/kind of the resource that is causing an error

getSourcePath

Path in the git repo of the erroneous config

Returns
Type
Description
string

setSourcePath

Path in the git repo of the erroneous config

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getResourceName

Metadata name of the resource that is causing an error

Returns
Type
Description
string

setResourceName

Metadata name of the resource that is causing an error

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getResourceNamespace

Namespace of the resource that is causing an error

Returns
Type
Description
string

setResourceNamespace

Namespace of the resource that is causing an error

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getResourceGvk

Group/version/kind of the resource that is causing an error

hasResourceGvk

clearResourceGvk

setResourceGvk

Group/version/kind of the resource that is causing an error

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