Class: Google::Apis::OsconfigV1::InventoryZypperPatch

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/representations.rb

Overview

Details related to a Zypper Patch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventoryZypperPatch

Returns a new instance of InventoryZypperPatch.



1258
1259
1260
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1258

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#categoryString

The category of the patch. Corresponds to the JSON property category

Returns:

  • (String)


1241
1242
1243
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1241

def category
  @category
end

#patch_nameString

The name of the patch. Corresponds to the JSON property patchName

Returns:

  • (String)


1246
1247
1248
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1246

def patch_name
  @patch_name
end

#severityString

The severity specified for this patch Corresponds to the JSON property severity

Returns:

  • (String)


1251
1252
1253
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1251

def severity
  @severity
end

#summaryString

Any summary information provided about this patch. Corresponds to the JSON property summary

Returns:

  • (String)


1256
1257
1258
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1256

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1263
1264
1265
1266
1267
1268
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1263

def update!(**args)
  @category = args[:category] if args.key?(:category)
  @patch_name = args[:patch_name] if args.key?(:patch_name)
  @severity = args[:severity] if args.key?(:severity)
  @summary = args[:summary] if args.key?(:summary)
end