Class: Google::Apis::GkehubV1alpha::ConfigManagementErrorResource
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ConfigManagementErrorResource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Model for a config file in the git repo with an associated Sync error
Instance Attribute Summary collapse
-
#resource_gvk ⇒ Google::Apis::GkehubV1alpha::ConfigManagementGroupVersionKind
A Kubernetes object's GVK Corresponds to the JSON property
resourceGvk
. -
#resource_name ⇒ String
Metadata name of the resource that is causing an error Corresponds to the JSON property
resourceName
. -
#resource_namespace ⇒ String
Namespace of the resource that is causing an error Corresponds to the JSON property
resourceNamespace
. -
#source_path ⇒ String
Path in the git repo of the erroneous config Corresponds to the JSON property
sourcePath
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementErrorResource
constructor
A new instance of ConfigManagementErrorResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementErrorResource
Returns a new instance of ConfigManagementErrorResource.
1382 1383 1384 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_gvk ⇒ Google::Apis::GkehubV1alpha::ConfigManagementGroupVersionKind
A Kubernetes object's GVK
Corresponds to the JSON property resourceGvk
1365 1366 1367 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1365 def resource_gvk @resource_gvk end |
#resource_name ⇒ String
Metadata name of the resource that is causing an error
Corresponds to the JSON property resourceName
1370 1371 1372 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1370 def resource_name @resource_name end |
#resource_namespace ⇒ String
Namespace of the resource that is causing an error
Corresponds to the JSON property resourceNamespace
1375 1376 1377 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1375 def resource_namespace @resource_namespace end |
#source_path ⇒ String
Path in the git repo of the erroneous config
Corresponds to the JSON property sourcePath
1380 1381 1382 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1380 def source_path @source_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1387 1388 1389 1390 1391 1392 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1387 def update!(**args) @resource_gvk = args[:resource_gvk] if args.key?(:resource_gvk) @resource_name = args[:resource_name] if args.key?(:resource_name) @resource_namespace = args[:resource_namespace] if args.key?(:resource_namespace) @source_path = args[:source_path] if args.key?(:source_path) end |