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 \ V1Methods
__construct
Constructor.
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
string
setSourcePath
Path in the git repo of the erroneous config
var
string
$this
getResourceName
Metadata name of the resource that is causing an error
string
setResourceName
Metadata name of the resource that is causing an error
var
string
$this
getResourceNamespace
Namespace of the resource that is causing an error
string
setResourceNamespace
Namespace of the resource that is causing an error
var
string
$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
$this