class Google::Apis::GkehubV1::ConfigManagementErrorResource
Model for a config file in the git repo with an associated Sync error
Attributes
resource_gvk[RW]
A Kubernetes object's GVK Corresponds to the JSON property `resourceGvk` @return [Google::Apis::GkehubV1::ConfigManagementGroupVersionKind]
resource_name[RW]
Metadata name of the resource that is causing an error Corresponds to the JSON property `resourceName` @return [String]
resource_namespace[RW]
Namespace of the resource that is causing an error Corresponds to the JSON property `resourceNamespace` @return [String]
source_path[RW]
Path in the git repo of the erroneous config Corresponds to the JSON property `sourcePath` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gkehub_v1/classes.rb, line 454 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/gkehub_v1/classes.rb, line 459 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