google-apis-osconfig_v1 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7497c91738aa723c2f799e838f8fd1e8f7cbfc5f3ca0dd15edf6b482867c41a5
4
- data.tar.gz: 7b92623e314506172adf46b00806e7ff3438a9bc25d243621a3924f27944660f
3
+ metadata.gz: '096cc84943cd7b936e5c043335060b99ffb01ee92736e4f013b9c96571da3487'
4
+ data.tar.gz: 7af7a8d3f49c08bcc26dbc77c41fae26a759594ad783080d8277365df0e4d7c3
5
5
  SHA512:
6
- metadata.gz: edb5c16dc0eaaf39c64565cc2e3e9af9942db70f9eaa216825d585173f594036808335465bf7245c39a6e62a97c9525b8e6a7e7d799b70c5ae107424b25ed0a2
7
- data.tar.gz: 70e13cfde599c18e1d00605039a5f0305aaecdf51b7198a0d8f1df14803108bd4e94ee1973979541383d2873749eec60bf23868508250d48192ad1ac65320a16
6
+ metadata.gz: 800af8f1331c98cf2a026ba45da3c5b493c1070c422bac375271d54b7ebb8ff8023761ec5bcfdd7dcb174182c362a13e4bc6d48d66483d7d67bcbde5b326628a
7
+ data.tar.gz: 70ee987371f2f7d9fe259ff7f959165f8e95361600ed8a248edfd45a337455c068b6ccca220083d522ef8ff05b89af1ec21df8310810b397f7473f5a78aa4edd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-osconfig_v1
2
2
 
3
+ ### v0.15.0 (2021-11-17)
4
+
5
+ * Regenerated from discovery document revision 20211106
6
+
3
7
  ### v0.14.0 (2021-11-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20211029
@@ -3420,6 +3420,11 @@ module Google
3420
3420
  # @return [Array<String>]
3421
3421
  attr_accessor :installed_inventory_item_ids
3422
3422
 
3423
+ # List of items affected by the vulnerability.
3424
+ # Corresponds to the JSON property `items`
3425
+ # @return [Array<Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityItem>]
3426
+ attr_accessor :items
3427
+
3423
3428
  # The timestamp for when the vulnerability was last modified.
3424
3429
  # Corresponds to the JSON property `updateTime`
3425
3430
  # @return [String]
@@ -3435,6 +3440,7 @@ module Google
3435
3440
  @create_time = args[:create_time] if args.key?(:create_time)
3436
3441
  @details = args[:details] if args.key?(:details)
3437
3442
  @installed_inventory_item_ids = args[:installed_inventory_item_ids] if args.key?(:installed_inventory_item_ids)
3443
+ @items = args[:items] if args.key?(:items)
3438
3444
  @update_time = args[:update_time] if args.key?(:update_time)
3439
3445
  end
3440
3446
  end
@@ -3517,6 +3523,53 @@ module Google
3517
3523
  end
3518
3524
  end
3519
3525
 
3526
+ # OS inventory item that is affected by a vulnerability or fixed as a result of
3527
+ # a vulnerability.
3528
+ class VulnerabilityReportVulnerabilityItem
3529
+ include Google::Apis::Core::Hashable
3530
+
3531
+ # Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the
3532
+ # vulnerability report was not updated after the VM inventory update, these
3533
+ # values might not display in VM inventory. If there is no available fix, the
3534
+ # field is empty. The `inventory_item` value specifies the latest `
3535
+ # SoftwarePackage` available to the VM that fixes the vulnerability.
3536
+ # Corresponds to the JSON property `availableInventoryItemId`
3537
+ # @return [String]
3538
+ attr_accessor :available_inventory_item_id
3539
+
3540
+ # The recommended [CPE URI](https://cpe.mitre.org/specification/) update that
3541
+ # contains a fix for this vulnerability.
3542
+ # Corresponds to the JSON property `fixedCpeUri`
3543
+ # @return [String]
3544
+ attr_accessor :fixed_cpe_uri
3545
+
3546
+ # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field
3547
+ # displays the inventory items affected by this vulnerability. If the
3548
+ # vulnerability report was not updated after the VM inventory update, these
3549
+ # values might not display in VM inventory. For some operating systems, this
3550
+ # field might be empty.
3551
+ # Corresponds to the JSON property `installedInventoryItemId`
3552
+ # @return [String]
3553
+ attr_accessor :installed_inventory_item_id
3554
+
3555
+ # The upstream OS patch, packages or KB that fixes the vulnerability.
3556
+ # Corresponds to the JSON property `upstreamFix`
3557
+ # @return [String]
3558
+ attr_accessor :upstream_fix
3559
+
3560
+ def initialize(**args)
3561
+ update!(**args)
3562
+ end
3563
+
3564
+ # Update properties of this object
3565
+ def update!(**args)
3566
+ @available_inventory_item_id = args[:available_inventory_item_id] if args.key?(:available_inventory_item_id)
3567
+ @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
3568
+ @installed_inventory_item_id = args[:installed_inventory_item_id] if args.key?(:installed_inventory_item_id)
3569
+ @upstream_fix = args[:upstream_fix] if args.key?(:upstream_fix)
3570
+ end
3571
+ end
3572
+
3520
3573
  # Represents one week day in a month. An example is "the 4th Sunday".
3521
3574
  class WeekDayOfMonth
3522
3575
  include Google::Apis::Core::Hashable
@@ -3526,6 +3579,17 @@ module Google
3526
3579
  # @return [String]
3527
3580
  attr_accessor :day_of_week
3528
3581
 
3582
+ # Optional. Represents the number of days before or after the given week day of
3583
+ # month that the patch deployment is scheduled for. For example if `week_ordinal`
3584
+ # and `day_of_week` values point to the second day of the month and this `
3585
+ # day_offset` value is set to `3`, the patch deployment takes place three days
3586
+ # after the second Tuesday of the month. If this value is negative, for example -
3587
+ # 5, the patches are deployed five days before before the second Tuesday of the
3588
+ # month. Allowed values are in range [-30, 30].
3589
+ # Corresponds to the JSON property `dayOffset`
3590
+ # @return [Fixnum]
3591
+ attr_accessor :day_offset
3592
+
3529
3593
  # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
3530
3594
  # month. -1 indicates the last week of the month.
3531
3595
  # Corresponds to the JSON property `weekOrdinal`
@@ -3539,6 +3603,7 @@ module Google
3539
3603
  # Update properties of this object
3540
3604
  def update!(**args)
3541
3605
  @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
3606
+ @day_offset = args[:day_offset] if args.key?(:day_offset)
3542
3607
  @week_ordinal = args[:week_ordinal] if args.key?(:week_ordinal)
3543
3608
  end
3544
3609
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsconfigV1
18
18
  # Version of the google-apis-osconfig_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211029"
25
+ REVISION = "20211106"
26
26
  end
27
27
  end
28
28
  end
@@ -526,6 +526,12 @@ module Google
526
526
  include Google::Apis::Core::JsonObjectSupport
527
527
  end
528
528
 
529
+ class VulnerabilityReportVulnerabilityItem
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
529
535
  class WeekDayOfMonth
530
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
537
 
@@ -1461,6 +1467,8 @@ module Google
1461
1467
  property :details, as: 'details', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails::Representation
1462
1468
 
1463
1469
  collection :installed_inventory_item_ids, as: 'installedInventoryItemIds'
1470
+ collection :items, as: 'items', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityItem, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityItem::Representation
1471
+
1464
1472
  property :update_time, as: 'updateTime'
1465
1473
  end
1466
1474
  end
@@ -1487,10 +1495,21 @@ module Google
1487
1495
  end
1488
1496
  end
1489
1497
 
1498
+ class VulnerabilityReportVulnerabilityItem
1499
+ # @private
1500
+ class Representation < Google::Apis::Core::JsonRepresentation
1501
+ property :available_inventory_item_id, as: 'availableInventoryItemId'
1502
+ property :fixed_cpe_uri, as: 'fixedCpeUri'
1503
+ property :installed_inventory_item_id, as: 'installedInventoryItemId'
1504
+ property :upstream_fix, as: 'upstreamFix'
1505
+ end
1506
+ end
1507
+
1490
1508
  class WeekDayOfMonth
1491
1509
  # @private
1492
1510
  class Representation < Google::Apis::Core::JsonRepresentation
1493
1511
  property :day_of_week, as: 'dayOfWeek'
1512
+ property :day_offset, as: 'dayOffset'
1494
1513
  property :week_ordinal, as: 'weekOrdinal'
1495
1514
  end
1496
1515
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-osconfig_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1
63
63
  post_install_message:
64
64
  rdoc_options: []