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.
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 |
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
Returns | |
---|---|
Type | Description |
GroupVersionKind|null |
hasResourceGvk
clearResourceGvk
setResourceGvk
Group/version/kind of the resource that is causing an error
Parameter | |
---|---|
Name | Description |
var |
GroupVersionKind
|
Returns | |
---|---|
Type | Description |
$this |