google-apis-osconfig_v1alpha 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50a52feb73ff0c976081fb0ffc9f6c76ec709f33aef00f6aa730fd851920e694
4
- data.tar.gz: a3c0d675168760b89aed064966ddfc7f4f2204402d3e62c1ff08e9ce29b5eb24
3
+ metadata.gz: 43fc26a3093a5f19218443e264b1f0571650d3e769294a1b0e4a0fa1275cd37b
4
+ data.tar.gz: feb5a9b89e9e1e19a1342f23075fd962c32370acf1112d0d663b771b478e2ea3
5
5
  SHA512:
6
- metadata.gz: 128f98e63ddbb75b6414bd8de4895d9f266a1dfd3310346d578011d99d3d08f1d0c36deeefd48f8cdf655846d3cf0905a1b40e3424fd9e83cfced6201c6b837f
7
- data.tar.gz: 04c556e0754a65f55d3a12089a345a738809d6142eb06f4ae094b8d0e719009d76fe73efa96bee4a5f11425f6a6dba9ad1bfb4f09b61b610fc5a91cb1b93d52b
6
+ metadata.gz: 1e0c0f6234df67dc6f4bdd0ea275d8d384b6c90d0b139bd832f1d41d114b250ee6cf2415d52cae99d77e486343f38731efd88221f02f11e4bd251acb5a98e007
7
+ data.tar.gz: 97352822569ae1cfeaed2457cc44ef2536b2575573fadd6bde8949cea67d805ec397d7b0af49e7fd1d6058c365cbdb83002e6d65430a4e8b908619f0d436a458
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-osconfig_v1alpha
2
2
 
3
+ ### v0.11.0 (2021-11-17)
4
+
5
+ * Regenerated from discovery document revision 20211106
6
+
7
+ ### v0.10.0 (2021-11-06)
8
+
9
+ * Regenerated from discovery document revision 20211029
10
+
11
+ ### v0.9.0 (2021-10-23)
12
+
13
+ * Regenerated from discovery document revision 20211018
14
+ * Unspecified changes
15
+
16
+ ### v0.8.0 (2021-10-02)
17
+
18
+ * Regenerated from discovery document revision 20210925
19
+
3
20
  ### v0.7.0 (2021-09-18)
4
21
 
5
22
  * Regenerated from discovery document revision 20210914
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Osconfig service in particular.)
67
67
 
@@ -212,6 +212,52 @@ module Google
212
212
  end
213
213
  end
214
214
 
215
+ # OS policy assignment operation metadata provided by OS policy assignment API
216
+ # methods that return long running operations.
217
+ class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
218
+ include Google::Apis::Core::Hashable
219
+
220
+ # The OS policy assignment API method.
221
+ # Corresponds to the JSON property `apiMethod`
222
+ # @return [String]
223
+ attr_accessor :api_method
224
+
225
+ # Reference to the `OSPolicyAssignment` API resource. Format: `projects/`
226
+ # project_number`/locations/`location`/osPolicyAssignments/`
227
+ # os_policy_assignment_id@revision_id``
228
+ # Corresponds to the JSON property `osPolicyAssignment`
229
+ # @return [String]
230
+ attr_accessor :os_policy_assignment
231
+
232
+ # Rollout start time
233
+ # Corresponds to the JSON property `rolloutStartTime`
234
+ # @return [String]
235
+ attr_accessor :rollout_start_time
236
+
237
+ # State of the rollout
238
+ # Corresponds to the JSON property `rolloutState`
239
+ # @return [String]
240
+ attr_accessor :rollout_state
241
+
242
+ # Rollout update time
243
+ # Corresponds to the JSON property `rolloutUpdateTime`
244
+ # @return [String]
245
+ attr_accessor :rollout_update_time
246
+
247
+ def initialize(**args)
248
+ update!(**args)
249
+ end
250
+
251
+ # Update properties of this object
252
+ def update!(**args)
253
+ @api_method = args[:api_method] if args.key?(:api_method)
254
+ @os_policy_assignment = args[:os_policy_assignment] if args.key?(:os_policy_assignment)
255
+ @rollout_start_time = args[:rollout_start_time] if args.key?(:rollout_start_time)
256
+ @rollout_state = args[:rollout_state] if args.key?(:rollout_state)
257
+ @rollout_update_time = args[:rollout_update_time] if args.key?(:rollout_update_time)
258
+ end
259
+ end
260
+
215
261
  # This API resource represents the OS policies compliance data for a Compute
216
262
  # Engine virtual machine (VM) instance at a given point in time. A Compute
217
263
  # Engine VM can have multiple OS policy assignments, and each assignment can
@@ -522,10 +568,9 @@ module Google
522
568
  # @return [Google::Apis::OsconfigV1alpha::InventoryWindowsQuickFixEngineeringPackage]
523
569
  attr_accessor :qfe_package
524
570
 
525
- # Contains information about a Windows application as retrieved from the Windows
526
- # Registry. For more information about these fields, see [Windows Installer
527
- # Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/
528
- # windows/win32/msi/uninstall-registry-key)`: class="external" `
571
+ # Contains information about a Windows application that is retrieved from the
572
+ # Windows Registry. For more information about these fields, see: https://docs.
573
+ # microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
529
574
  # Corresponds to the JSON property `windowsApplication`
530
575
  # @return [Google::Apis::OsconfigV1alpha::InventoryWindowsApplication]
531
576
  attr_accessor :windows_application
@@ -605,10 +650,9 @@ module Google
605
650
  end
606
651
  end
607
652
 
608
- # Contains information about a Windows application as retrieved from the Windows
609
- # Registry. For more information about these fields, see [Windows Installer
610
- # Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/
611
- # windows/win32/msi/uninstall-registry-key)`: class="external" `
653
+ # Contains information about a Windows application that is retrieved from the
654
+ # Windows Registry. For more information about these fields, see: https://docs.
655
+ # microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
612
656
  class InventoryWindowsApplication
613
657
  include Google::Apis::Core::Hashable
614
658
 
@@ -2632,6 +2676,11 @@ module Google
2632
2676
  # @return [Array<String>]
2633
2677
  attr_accessor :installed_inventory_item_ids
2634
2678
 
2679
+ # List of items affected by the vulnerability.
2680
+ # Corresponds to the JSON property `items`
2681
+ # @return [Array<Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityItem>]
2682
+ attr_accessor :items
2683
+
2635
2684
  # The timestamp for when the vulnerability was last modified.
2636
2685
  # Corresponds to the JSON property `updateTime`
2637
2686
  # @return [String]
@@ -2647,6 +2696,7 @@ module Google
2647
2696
  @create_time = args[:create_time] if args.key?(:create_time)
2648
2697
  @details = args[:details] if args.key?(:details)
2649
2698
  @installed_inventory_item_ids = args[:installed_inventory_item_ids] if args.key?(:installed_inventory_item_ids)
2699
+ @items = args[:items] if args.key?(:items)
2650
2700
  @update_time = args[:update_time] if args.key?(:update_time)
2651
2701
  end
2652
2702
  end
@@ -2728,6 +2778,53 @@ module Google
2728
2778
  @url = args[:url] if args.key?(:url)
2729
2779
  end
2730
2780
  end
2781
+
2782
+ # OS inventory item that is affected by a vulnerability or fixed as a result of
2783
+ # a vulnerability.
2784
+ class VulnerabilityReportVulnerabilityItem
2785
+ include Google::Apis::Core::Hashable
2786
+
2787
+ # Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the
2788
+ # vulnerability report was not updated after the VM inventory update, these
2789
+ # values might not display in VM inventory. If there is no available fix, the
2790
+ # field is empty. The `inventory_item` value specifies the latest `
2791
+ # SoftwarePackage` available to the VM that fixes the vulnerability.
2792
+ # Corresponds to the JSON property `availableInventoryItemId`
2793
+ # @return [String]
2794
+ attr_accessor :available_inventory_item_id
2795
+
2796
+ # The recommended [CPE URI](https://cpe.mitre.org/specification/) update that
2797
+ # contains a fix for this vulnerability.
2798
+ # Corresponds to the JSON property `fixedCpeUri`
2799
+ # @return [String]
2800
+ attr_accessor :fixed_cpe_uri
2801
+
2802
+ # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field
2803
+ # displays the inventory items affected by this vulnerability. If the
2804
+ # vulnerability report was not updated after the VM inventory update, these
2805
+ # values might not display in VM inventory. For some operating systems, this
2806
+ # field might be empty.
2807
+ # Corresponds to the JSON property `installedInventoryItemId`
2808
+ # @return [String]
2809
+ attr_accessor :installed_inventory_item_id
2810
+
2811
+ # The upstream OS patch, packages or KB that fixes the vulnerability.
2812
+ # Corresponds to the JSON property `upstreamFix`
2813
+ # @return [String]
2814
+ attr_accessor :upstream_fix
2815
+
2816
+ def initialize(**args)
2817
+ update!(**args)
2818
+ end
2819
+
2820
+ # Update properties of this object
2821
+ def update!(**args)
2822
+ @available_inventory_item_id = args[:available_inventory_item_id] if args.key?(:available_inventory_item_id)
2823
+ @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
2824
+ @installed_inventory_item_id = args[:installed_inventory_item_id] if args.key?(:installed_inventory_item_id)
2825
+ @upstream_fix = args[:upstream_fix] if args.key?(:upstream_fix)
2826
+ end
2827
+ end
2731
2828
  end
2732
2829
  end
2733
2830
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsconfigV1alpha
18
18
  # Version of the google-apis-osconfig_v1alpha gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.11.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 = "20210914"
25
+ REVISION = "20211106"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class InstanceOsPoliciesCompliance
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -424,6 +430,12 @@ module Google
424
430
  include Google::Apis::Core::JsonObjectSupport
425
431
  end
426
432
 
433
+ class VulnerabilityReportVulnerabilityItem
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
427
439
  class CvsSv3
428
440
  # @private
429
441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -470,6 +482,17 @@ module Google
470
482
  end
471
483
  end
472
484
 
485
+ class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :api_method, as: 'apiMethod'
489
+ property :os_policy_assignment, as: 'osPolicyAssignment'
490
+ property :rollout_start_time, as: 'rolloutStartTime'
491
+ property :rollout_state, as: 'rolloutState'
492
+ property :rollout_update_time, as: 'rolloutUpdateTime'
493
+ end
494
+ end
495
+
473
496
  class InstanceOsPoliciesCompliance
474
497
  # @private
475
498
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1117,6 +1140,8 @@ module Google
1117
1140
  property :details, as: 'details', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetails, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetails::Representation
1118
1141
 
1119
1142
  collection :installed_inventory_item_ids, as: 'installedInventoryItemIds'
1143
+ collection :items, as: 'items', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityItem, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityItem::Representation
1144
+
1120
1145
  property :update_time, as: 'updateTime'
1121
1146
  end
1122
1147
  end
@@ -1142,6 +1167,16 @@ module Google
1142
1167
  property :url, as: 'url'
1143
1168
  end
1144
1169
  end
1170
+
1171
+ class VulnerabilityReportVulnerabilityItem
1172
+ # @private
1173
+ class Representation < Google::Apis::Core::JsonRepresentation
1174
+ property :available_inventory_item_id, as: 'availableInventoryItemId'
1175
+ property :fixed_cpe_uri, as: 'fixedCpeUri'
1176
+ property :installed_inventory_item_id, as: 'installedInventoryItemId'
1177
+ property :upstream_fix, as: 'upstreamFix'
1178
+ end
1179
+ end
1145
1180
  end
1146
1181
  end
1147
1182
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-osconfig_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.11.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-09-20 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
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.7.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1alpha
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.11.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: