google-apis-osconfig_v1alpha 0.8.0 → 0.12.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e10ef7b462836beee8a443a5a3d304a7a82f857e3a0f63288006814042861b3f
|
4
|
+
data.tar.gz: 78b1967e239cae2768b6045b611e9f32b960a3d5521bb5da3d74ea9120c3bee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fba1a8c6f920ea4677b2688023c5638c6eb6712262de61498bad72ddbf9c06f9cf9dad87b941a1de19fa7dca8329a91f257f6a84fb62c6cf2da79823dd92ed6
|
7
|
+
data.tar.gz: ea62224b0346b77b38b48c578ce7f8824b19ef4eb21e682116b9b9f4b86e1d62ea10d931b43c586f1b56bc4e6726af50bb164affec2b1aed518fceff23190543
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1alpha
|
2
2
|
|
3
|
+
### v0.12.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.11.0 (2021-11-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211106
|
10
|
+
|
11
|
+
### v0.10.0 (2021-11-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211029
|
14
|
+
|
15
|
+
### v0.9.0 (2021-10-23)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211018
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.8.0 (2021-10-02)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210925
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/osconfig_v1alpha"
|
|
51
51
|
client = Google::Apis::OsconfigV1alpha::OSConfigService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
@@ -523,8 +569,8 @@ module Google
|
|
523
569
|
attr_accessor :qfe_package
|
524
570
|
|
525
571
|
# Contains information about a Windows application that is retrieved from the
|
526
|
-
# Windows Registry. For more information about these fields, see
|
527
|
-
#
|
572
|
+
# Windows Registry. For more information about these fields, see: https://docs.
|
573
|
+
# microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
|
528
574
|
# Corresponds to the JSON property `windowsApplication`
|
529
575
|
# @return [Google::Apis::OsconfigV1alpha::InventoryWindowsApplication]
|
530
576
|
attr_accessor :windows_application
|
@@ -605,8 +651,8 @@ module Google
|
|
605
651
|
end
|
606
652
|
|
607
653
|
# Contains information about a Windows application that is retrieved from the
|
608
|
-
# Windows Registry. For more information about these fields, see
|
609
|
-
#
|
654
|
+
# Windows Registry. For more information about these fields, see: https://docs.
|
655
|
+
# microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
|
610
656
|
class InventoryWindowsApplication
|
611
657
|
include Google::Apis::Core::Hashable
|
612
658
|
|
@@ -2630,6 +2676,11 @@ module Google
|
|
2630
2676
|
# @return [Array<String>]
|
2631
2677
|
attr_accessor :installed_inventory_item_ids
|
2632
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
|
+
|
2633
2684
|
# The timestamp for when the vulnerability was last modified.
|
2634
2685
|
# Corresponds to the JSON property `updateTime`
|
2635
2686
|
# @return [String]
|
@@ -2645,6 +2696,7 @@ module Google
|
|
2645
2696
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2646
2697
|
@details = args[:details] if args.key?(:details)
|
2647
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)
|
2648
2700
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2649
2701
|
end
|
2650
2702
|
end
|
@@ -2726,6 +2778,53 @@ module Google
|
|
2726
2778
|
@url = args[:url] if args.key?(:url)
|
2727
2779
|
end
|
2728
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
|
2729
2828
|
end
|
2730
2829
|
end
|
2731
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.
|
19
|
+
GEM_VERSION = "0.12.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 = "
|
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.
|
4
|
+
version: 0.12.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:
|
11
|
+
date: 2022-01-10 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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.12.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:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for OS Config API V1alpha
|