google-apis-osconfig_v1alpha 0.2.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/osconfig_v1alpha/classes.rb +201 -10
- data/lib/google/apis/osconfig_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/osconfig_v1alpha/representations.rb +69 -0
- data/lib/google/apis/osconfig_v1alpha/service.rb +4 -6
- data/lib/google/apis/osconfig_v1alpha.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c09d73988e1f1501fae5cf78589694129b9e66036b7c65c8bc5e400fa9520642
|
4
|
+
data.tar.gz: 9ac61ac6a3dc1f901cc5b6549780a896575d5897092d380b947a3c6f76e78344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e530754b9f5d1b204c3f30055380ab128733fe8e246e662b66d94dd5a5e3595e1ea5806365dfece075ae3ac0e7587e0243407f138b4b0187371132a99eb34c4
|
7
|
+
data.tar.gz: 52170874ca8867f8381e57e1d9249ab05a60143e89af295bc5dbf10219b9edd92ab6f47701af6f65eafc47d98ec3f1a69d9fa8e63b400febe8a5f3ad432c38a4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1alpha
|
2
2
|
|
3
|
+
### v0.6.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210821
|
6
|
+
|
7
|
+
### v0.5.0 (2021-08-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210723
|
10
|
+
|
11
|
+
### v0.4.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.3.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210614
|
18
|
+
|
3
19
|
### v0.2.0 (2021-06-05)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210527
|
@@ -127,6 +127,47 @@ module Google
|
|
127
127
|
end
|
128
128
|
end
|
129
129
|
|
130
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
131
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
132
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
133
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
134
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
135
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
136
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
137
|
+
# google.protobuf.Timestamp`.
|
138
|
+
class Date
|
139
|
+
include Google::Apis::Core::Hashable
|
140
|
+
|
141
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
142
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
143
|
+
# Corresponds to the JSON property `day`
|
144
|
+
# @return [Fixnum]
|
145
|
+
attr_accessor :day
|
146
|
+
|
147
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
148
|
+
# and day.
|
149
|
+
# Corresponds to the JSON property `month`
|
150
|
+
# @return [Fixnum]
|
151
|
+
attr_accessor :month
|
152
|
+
|
153
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
154
|
+
# year.
|
155
|
+
# Corresponds to the JSON property `year`
|
156
|
+
# @return [Fixnum]
|
157
|
+
attr_accessor :year
|
158
|
+
|
159
|
+
def initialize(**args)
|
160
|
+
update!(**args)
|
161
|
+
end
|
162
|
+
|
163
|
+
# Update properties of this object
|
164
|
+
def update!(**args)
|
165
|
+
@day = args[:day] if args.key?(:day)
|
166
|
+
@month = args[:month] if args.key?(:month)
|
167
|
+
@year = args[:year] if args.key?(:year)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
130
171
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
131
172
|
# messages in your APIs. A typical example is to use it as the request or the
|
132
173
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -481,6 +522,14 @@ module Google
|
|
481
522
|
# @return [Google::Apis::OsconfigV1alpha::InventoryWindowsQuickFixEngineeringPackage]
|
482
523
|
attr_accessor :qfe_package
|
483
524
|
|
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" `
|
529
|
+
# Corresponds to the JSON property `windowsApplication`
|
530
|
+
# @return [Google::Apis::OsconfigV1alpha::InventoryWindowsApplication]
|
531
|
+
attr_accessor :windows_application
|
532
|
+
|
484
533
|
# Details related to a Windows Update package. Field data and names are taken
|
485
534
|
# from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/
|
486
535
|
# windows/win32/api/_wua/ Descriptive fields like title, and description are
|
@@ -516,6 +565,7 @@ module Google
|
|
516
565
|
@cos_package = args[:cos_package] if args.key?(:cos_package)
|
517
566
|
@googet_package = args[:googet_package] if args.key?(:googet_package)
|
518
567
|
@qfe_package = args[:qfe_package] if args.key?(:qfe_package)
|
568
|
+
@windows_application = args[:windows_application] if args.key?(:windows_application)
|
519
569
|
@wua_package = args[:wua_package] if args.key?(:wua_package)
|
520
570
|
@yum_package = args[:yum_package] if args.key?(:yum_package)
|
521
571
|
@zypper_package = args[:zypper_package] if args.key?(:zypper_package)
|
@@ -555,6 +605,59 @@ module Google
|
|
555
605
|
end
|
556
606
|
end
|
557
607
|
|
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" `
|
612
|
+
class InventoryWindowsApplication
|
613
|
+
include Google::Apis::Core::Hashable
|
614
|
+
|
615
|
+
# The name of the application or product.
|
616
|
+
# Corresponds to the JSON property `displayName`
|
617
|
+
# @return [String]
|
618
|
+
attr_accessor :display_name
|
619
|
+
|
620
|
+
# The version of the product or application in string format.
|
621
|
+
# Corresponds to the JSON property `displayVersion`
|
622
|
+
# @return [String]
|
623
|
+
attr_accessor :display_version
|
624
|
+
|
625
|
+
# The internet address for technical support.
|
626
|
+
# Corresponds to the JSON property `helpLink`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :help_link
|
629
|
+
|
630
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
631
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
632
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
633
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
634
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
635
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
636
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
637
|
+
# google.protobuf.Timestamp`.
|
638
|
+
# Corresponds to the JSON property `installDate`
|
639
|
+
# @return [Google::Apis::OsconfigV1alpha::Date]
|
640
|
+
attr_accessor :install_date
|
641
|
+
|
642
|
+
# The name of the manufacturer for the product or application.
|
643
|
+
# Corresponds to the JSON property `publisher`
|
644
|
+
# @return [String]
|
645
|
+
attr_accessor :publisher
|
646
|
+
|
647
|
+
def initialize(**args)
|
648
|
+
update!(**args)
|
649
|
+
end
|
650
|
+
|
651
|
+
# Update properties of this object
|
652
|
+
def update!(**args)
|
653
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
654
|
+
@display_version = args[:display_version] if args.key?(:display_version)
|
655
|
+
@help_link = args[:help_link] if args.key?(:help_link)
|
656
|
+
@install_date = args[:install_date] if args.key?(:install_date)
|
657
|
+
@publisher = args[:publisher] if args.key?(:publisher)
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
558
661
|
# Information related to a Quick Fix Engineering package. Fields are taken from
|
559
662
|
# Windows QuickFixEngineering Interface and match the source names: https://docs.
|
560
663
|
# microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
|
@@ -943,7 +1046,15 @@ module Google
|
|
943
1046
|
# @return [String]
|
944
1047
|
attr_accessor :description
|
945
1048
|
|
946
|
-
#
|
1049
|
+
# The etag for this OS policy assignment. If this is provided on update, it must
|
1050
|
+
# match the server's etag.
|
1051
|
+
# Corresponds to the JSON property `etag`
|
1052
|
+
# @return [String]
|
1053
|
+
attr_accessor :etag
|
1054
|
+
|
1055
|
+
# Filters to select target VMs for an assignment. If more than one filter
|
1056
|
+
# criteria is specified below, a VM will be selected if and only if it satisfies
|
1057
|
+
# all of them.
|
947
1058
|
# Corresponds to the JSON property `instanceFilter`
|
948
1059
|
# @return [Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilter]
|
949
1060
|
attr_accessor :instance_filter
|
@@ -1004,6 +1115,7 @@ module Google
|
|
1004
1115
|
@baseline = args[:baseline] if args.key?(:baseline)
|
1005
1116
|
@deleted = args[:deleted] if args.key?(:deleted)
|
1006
1117
|
@description = args[:description] if args.key?(:description)
|
1118
|
+
@etag = args[:etag] if args.key?(:etag)
|
1007
1119
|
@instance_filter = args[:instance_filter] if args.key?(:instance_filter)
|
1008
1120
|
@name = args[:name] if args.key?(:name)
|
1009
1121
|
@os_policies = args[:os_policies] if args.key?(:os_policies)
|
@@ -1016,7 +1128,9 @@ module Google
|
|
1016
1128
|
end
|
1017
1129
|
end
|
1018
1130
|
|
1019
|
-
#
|
1131
|
+
# Filters to select target VMs for an assignment. If more than one filter
|
1132
|
+
# criteria is specified below, a VM will be selected if and only if it satisfies
|
1133
|
+
# all of them.
|
1020
1134
|
class OsPolicyAssignmentInstanceFilter
|
1021
1135
|
include Google::Apis::Core::Hashable
|
1022
1136
|
|
@@ -1028,8 +1142,6 @@ module Google
|
|
1028
1142
|
|
1029
1143
|
# List of label sets used for VM exclusion. If the list has more than one label
|
1030
1144
|
# set, the VM is excluded if any of the label sets are applicable for the VM.
|
1031
|
-
# This filter is applied last in the filtering chain and therefore a VM is
|
1032
|
-
# guaranteed to be excluded if it satisfies one of the below label sets.
|
1033
1145
|
# Corresponds to the JSON property `exclusionLabels`
|
1034
1146
|
# @return [Array<Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet>]
|
1035
1147
|
attr_accessor :exclusion_labels
|
@@ -1041,8 +1153,14 @@ module Google
|
|
1041
1153
|
# @return [Array<Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet>]
|
1042
1154
|
attr_accessor :inclusion_labels
|
1043
1155
|
|
1044
|
-
#
|
1045
|
-
#
|
1156
|
+
# List of inventories to select VMs. A VM is selected if its inventory data
|
1157
|
+
# matches at least one of the following inventories.
|
1158
|
+
# Corresponds to the JSON property `inventories`
|
1159
|
+
# @return [Array<Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilterInventory>]
|
1160
|
+
attr_accessor :inventories
|
1161
|
+
|
1162
|
+
# Deprecated. Use the `inventories` field instead. A VM is selected if it's OS
|
1163
|
+
# short name matches with any of the values provided in this list.
|
1046
1164
|
# Corresponds to the JSON property `osShortNames`
|
1047
1165
|
# @return [Array<String>]
|
1048
1166
|
attr_accessor :os_short_names
|
@@ -1056,10 +1174,39 @@ module Google
|
|
1056
1174
|
@all = args[:all] if args.key?(:all)
|
1057
1175
|
@exclusion_labels = args[:exclusion_labels] if args.key?(:exclusion_labels)
|
1058
1176
|
@inclusion_labels = args[:inclusion_labels] if args.key?(:inclusion_labels)
|
1177
|
+
@inventories = args[:inventories] if args.key?(:inventories)
|
1059
1178
|
@os_short_names = args[:os_short_names] if args.key?(:os_short_names)
|
1060
1179
|
end
|
1061
1180
|
end
|
1062
1181
|
|
1182
|
+
# VM inventory details.
|
1183
|
+
class OsPolicyAssignmentInstanceFilterInventory
|
1184
|
+
include Google::Apis::Core::Hashable
|
1185
|
+
|
1186
|
+
# Required. The OS short name
|
1187
|
+
# Corresponds to the JSON property `osShortName`
|
1188
|
+
# @return [String]
|
1189
|
+
attr_accessor :os_short_name
|
1190
|
+
|
1191
|
+
# The OS version Prefix matches are supported if asterisk(*) is provided as the
|
1192
|
+
# last character. For example, to match all versions with a major version of `7`,
|
1193
|
+
# specify the following value for this field `7.*` An empty string matches all
|
1194
|
+
# OS versions.
|
1195
|
+
# Corresponds to the JSON property `osVersion`
|
1196
|
+
# @return [String]
|
1197
|
+
attr_accessor :os_version
|
1198
|
+
|
1199
|
+
def initialize(**args)
|
1200
|
+
update!(**args)
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# Update properties of this object
|
1204
|
+
def update!(**args)
|
1205
|
+
@os_short_name = args[:os_short_name] if args.key?(:os_short_name)
|
1206
|
+
@os_version = args[:os_version] if args.key?(:os_version)
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
|
1063
1210
|
# Message representing label set. * A label is a key value pair set for a VM. *
|
1064
1211
|
# A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other
|
1065
1212
|
# words, a LabelSet is applicable for a VM only if it matches all the labels in
|
@@ -1160,8 +1307,35 @@ module Google
|
|
1160
1307
|
end
|
1161
1308
|
end
|
1162
1309
|
|
1163
|
-
#
|
1164
|
-
|
1310
|
+
# Filtering criteria to select VMs based on inventory details.
|
1311
|
+
class OsPolicyInventoryFilter
|
1312
|
+
include Google::Apis::Core::Hashable
|
1313
|
+
|
1314
|
+
# Required. The OS short name
|
1315
|
+
# Corresponds to the JSON property `osShortName`
|
1316
|
+
# @return [String]
|
1317
|
+
attr_accessor :os_short_name
|
1318
|
+
|
1319
|
+
# The OS version Prefix matches are supported if asterisk(*) is provided as the
|
1320
|
+
# last character. For example, to match all versions with a major version of `7`,
|
1321
|
+
# specify the following value for this field `7.*` An empty string matches all
|
1322
|
+
# OS versions.
|
1323
|
+
# Corresponds to the JSON property `osVersion`
|
1324
|
+
# @return [String]
|
1325
|
+
attr_accessor :os_version
|
1326
|
+
|
1327
|
+
def initialize(**args)
|
1328
|
+
update!(**args)
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# Update properties of this object
|
1332
|
+
def update!(**args)
|
1333
|
+
@os_short_name = args[:os_short_name] if args.key?(:os_short_name)
|
1334
|
+
@os_version = args[:os_version] if args.key?(:os_version)
|
1335
|
+
end
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
# Filtering criteria to select VMs based on OS details.
|
1165
1339
|
class OsPolicyOsFilter
|
1166
1340
|
include Google::Apis::Core::Hashable
|
1167
1341
|
|
@@ -1595,8 +1769,18 @@ module Google
|
|
1595
1769
|
class OsPolicyResourceGroup
|
1596
1770
|
include Google::Apis::Core::Hashable
|
1597
1771
|
|
1598
|
-
#
|
1599
|
-
# group
|
1772
|
+
# List of inventory filters for the resource group. The resources in this
|
1773
|
+
# resource group are applied to the target VM if it satisfies at least one of
|
1774
|
+
# the following inventory filters. For example, to apply this resource group to
|
1775
|
+
# VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for
|
1776
|
+
# the list with following values: inventory_filters[0].os_short_name='rhel' and
|
1777
|
+
# inventory_filters[1].os_short_name='centos' If the list is empty, this
|
1778
|
+
# resource group will be applied to the target VM unconditionally.
|
1779
|
+
# Corresponds to the JSON property `inventoryFilters`
|
1780
|
+
# @return [Array<Google::Apis::OsconfigV1alpha::OsPolicyInventoryFilter>]
|
1781
|
+
attr_accessor :inventory_filters
|
1782
|
+
|
1783
|
+
# Filtering criteria to select VMs based on OS details.
|
1600
1784
|
# Corresponds to the JSON property `osFilter`
|
1601
1785
|
# @return [Google::Apis::OsconfigV1alpha::OsPolicyOsFilter]
|
1602
1786
|
attr_accessor :os_filter
|
@@ -1613,6 +1797,7 @@ module Google
|
|
1613
1797
|
|
1614
1798
|
# Update properties of this object
|
1615
1799
|
def update!(**args)
|
1800
|
+
@inventory_filters = args[:inventory_filters] if args.key?(:inventory_filters)
|
1616
1801
|
@os_filter = args[:os_filter] if args.key?(:os_filter)
|
1617
1802
|
@resources = args[:resources] if args.key?(:resources)
|
1618
1803
|
end
|
@@ -2288,6 +2473,11 @@ module Google
|
|
2288
2473
|
class VulnerabilityReportVulnerabilityDetailsReference
|
2289
2474
|
include Google::Apis::Core::Hashable
|
2290
2475
|
|
2476
|
+
# The source of the reference e.g. NVD.
|
2477
|
+
# Corresponds to the JSON property `source`
|
2478
|
+
# @return [String]
|
2479
|
+
attr_accessor :source
|
2480
|
+
|
2291
2481
|
# The url of the reference.
|
2292
2482
|
# Corresponds to the JSON property `url`
|
2293
2483
|
# @return [String]
|
@@ -2299,6 +2489,7 @@ module Google
|
|
2299
2489
|
|
2300
2490
|
# Update properties of this object
|
2301
2491
|
def update!(**args)
|
2492
|
+
@source = args[:source] if args.key?(:source)
|
2302
2493
|
@url = args[:url] if args.key?(:url)
|
2303
2494
|
end
|
2304
2495
|
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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210821"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class Date
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Empty
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -88,6 +94,12 @@ module Google
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
89
95
|
end
|
90
96
|
|
97
|
+
class InventoryWindowsApplication
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
91
103
|
class InventoryWindowsQuickFixEngineeringPackage
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
105
|
|
@@ -160,6 +172,12 @@ module Google
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
161
173
|
end
|
162
174
|
|
175
|
+
class OsPolicyAssignmentInstanceFilterInventory
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
163
181
|
class OsPolicyAssignmentLabelSet
|
164
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
183
|
|
@@ -178,6 +196,12 @@ module Google
|
|
178
196
|
include Google::Apis::Core::JsonObjectSupport
|
179
197
|
end
|
180
198
|
|
199
|
+
class OsPolicyInventoryFilter
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
181
205
|
class OsPolicyOsFilter
|
182
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
207
|
|
@@ -387,6 +411,15 @@ module Google
|
|
387
411
|
end
|
388
412
|
end
|
389
413
|
|
414
|
+
class Date
|
415
|
+
# @private
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
417
|
+
property :day, as: 'day'
|
418
|
+
property :month, as: 'month'
|
419
|
+
property :year, as: 'year'
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
390
423
|
class Empty
|
391
424
|
# @private
|
392
425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -479,6 +512,8 @@ module Google
|
|
479
512
|
|
480
513
|
property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1alpha::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryWindowsQuickFixEngineeringPackage::Representation
|
481
514
|
|
515
|
+
property :windows_application, as: 'windowsApplication', class: Google::Apis::OsconfigV1alpha::InventoryWindowsApplication, decorator: Google::Apis::OsconfigV1alpha::InventoryWindowsApplication::Representation
|
516
|
+
|
482
517
|
property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackage::Representation
|
483
518
|
|
484
519
|
property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage::Representation
|
@@ -499,6 +534,18 @@ module Google
|
|
499
534
|
end
|
500
535
|
end
|
501
536
|
|
537
|
+
class InventoryWindowsApplication
|
538
|
+
# @private
|
539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
540
|
+
property :display_name, as: 'displayName'
|
541
|
+
property :display_version, as: 'displayVersion'
|
542
|
+
property :help_link, as: 'helpLink'
|
543
|
+
property :install_date, as: 'installDate', class: Google::Apis::OsconfigV1alpha::Date, decorator: Google::Apis::OsconfigV1alpha::Date::Representation
|
544
|
+
|
545
|
+
property :publisher, as: 'publisher'
|
546
|
+
end
|
547
|
+
end
|
548
|
+
|
502
549
|
class InventoryWindowsQuickFixEngineeringPackage
|
503
550
|
# @private
|
504
551
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -606,6 +653,7 @@ module Google
|
|
606
653
|
property :baseline, as: 'baseline'
|
607
654
|
property :deleted, as: 'deleted'
|
608
655
|
property :description, as: 'description'
|
656
|
+
property :etag, as: 'etag'
|
609
657
|
property :instance_filter, as: 'instanceFilter', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilter, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilter::Representation
|
610
658
|
|
611
659
|
property :name, as: 'name'
|
@@ -629,10 +677,20 @@ module Google
|
|
629
677
|
|
630
678
|
collection :inclusion_labels, as: 'inclusionLabels', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet::Representation
|
631
679
|
|
680
|
+
collection :inventories, as: 'inventories', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilterInventory, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilterInventory::Representation
|
681
|
+
|
632
682
|
collection :os_short_names, as: 'osShortNames'
|
633
683
|
end
|
634
684
|
end
|
635
685
|
|
686
|
+
class OsPolicyAssignmentInstanceFilterInventory
|
687
|
+
# @private
|
688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
689
|
+
property :os_short_name, as: 'osShortName'
|
690
|
+
property :os_version, as: 'osVersion'
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
636
694
|
class OsPolicyAssignmentLabelSet
|
637
695
|
# @private
|
638
696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -660,6 +718,14 @@ module Google
|
|
660
718
|
end
|
661
719
|
end
|
662
720
|
|
721
|
+
class OsPolicyInventoryFilter
|
722
|
+
# @private
|
723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
724
|
+
property :os_short_name, as: 'osShortName'
|
725
|
+
property :os_version, as: 'osVersion'
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
663
729
|
class OsPolicyOsFilter
|
664
730
|
# @private
|
665
731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -777,6 +843,8 @@ module Google
|
|
777
843
|
class OsPolicyResourceGroup
|
778
844
|
# @private
|
779
845
|
class Representation < Google::Apis::Core::JsonRepresentation
|
846
|
+
collection :inventory_filters, as: 'inventoryFilters', class: Google::Apis::OsconfigV1alpha::OsPolicyInventoryFilter, decorator: Google::Apis::OsconfigV1alpha::OsPolicyInventoryFilter::Representation
|
847
|
+
|
780
848
|
property :os_filter, as: 'osFilter', class: Google::Apis::OsconfigV1alpha::OsPolicyOsFilter, decorator: Google::Apis::OsconfigV1alpha::OsPolicyOsFilter::Representation
|
781
849
|
|
782
850
|
collection :resources, as: 'resources', class: Google::Apis::OsconfigV1alpha::OsPolicyResource, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResource::Representation
|
@@ -973,6 +1041,7 @@ module Google
|
|
973
1041
|
class VulnerabilityReportVulnerabilityDetailsReference
|
974
1042
|
# @private
|
975
1043
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1044
|
+
property :source, as: 'source'
|
976
1045
|
property :url, as: 'url'
|
977
1046
|
end
|
978
1047
|
end
|
@@ -170,9 +170,8 @@ module Google
|
|
170
170
|
# List inventory data for all VM instances in the specified zone.
|
171
171
|
# @param [String] parent
|
172
172
|
# Required. The parent resource name. Format: `projects/`project`/locations/`
|
173
|
-
# location`/instances
|
174
|
-
#
|
175
|
-
# is supported to list inventories across VMs.
|
173
|
+
# location`/instances/-` For ``project``, either `project-number` or `project-id`
|
174
|
+
# can be provided.
|
176
175
|
# @param [String] filter
|
177
176
|
# If provided, this field specifies the criteria that must be met by a `
|
178
177
|
# Inventory` API resource to be included in the response.
|
@@ -253,9 +252,8 @@ module Google
|
|
253
252
|
# List vulnerability reports for all VM instances in the specified zone.
|
254
253
|
# @param [String] parent
|
255
254
|
# Required. The parent resource name. Format: `projects/`project`/locations/`
|
256
|
-
# location`/instances
|
257
|
-
#
|
258
|
-
# to list vulnerability reports across VMs.
|
255
|
+
# location`/instances/-` For ``project``, either `project-number` or `project-id`
|
256
|
+
# can be provided.
|
259
257
|
# @param [String] filter
|
260
258
|
# If provided, this field specifies the criteria that must be met by a `
|
261
259
|
# vulnerabilityReport` API resource to be included in the response.
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1alpha'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.6.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-06
|
11
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for OS Config API V1alpha. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1alpha/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.6.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1alpha
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|