google-cloud-os_config-v1alpha 0.8.2 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/client.rb +31 -14
- data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/operations.rb +13 -5
- data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/rest/client.rb +31 -14
- data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/rest/operations.rb +11 -4
- data/lib/google/cloud/os_config/v1alpha/version.rb +1 -1
- data/lib/google/cloud/osconfig/v1alpha/instance_os_policies_compliance_pb.rb +1 -1
- data/lib/google/cloud/osconfig/v1alpha/inventory_pb.rb +1 -1
- data/lib/google/cloud/osconfig/v1alpha/os_policy_assignment_reports_pb.rb +1 -1
- data/lib/google/cloud/osconfig/v1alpha/os_policy_assignments_pb.rb +1 -1
- data/lib/google/cloud/osconfig/v1alpha/os_policy_pb.rb +1 -1
- data/lib/google/cloud/osconfig/v1alpha/vulnerability_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 563a8b2231573ce073c7a6277111925ecbf0c58e1fb01d02c330aa84da8e6d03
|
4
|
+
data.tar.gz: 67a6bfae1540527bca9751d52ad241dd1e868236041300740dd80ad91e1fc32a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e58d83935ecbc5681e37995fac244849d4198c219d2b0a9b174ed2106dfa020710f080a9158a04011b6efdbebbd56b802035a589c9ac33ba02586997b6dcfe81
|
7
|
+
data.tar.gz: ba2b9c3b53319c197f78e3795221eac4a6e9df6132b5547cf0dc3c6d3b4fc4d9107bf742abec725d0d04611090797dd8e22f79ea92baa0665cf3364fac6a9764
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# manage package installations and patch jobs for Compute Engine VM instances.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "osconfig.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -264,10 +267,11 @@ module Google
|
|
264
267
|
# Customize the options with defaults
|
265
268
|
metadata = @config.rpcs.create_os_policy_assignment.metadata.to_h
|
266
269
|
|
267
|
-
# Set x-goog-api-client
|
270
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
268
271
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
269
272
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
270
273
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
274
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
271
275
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
272
276
|
|
273
277
|
header_params = {}
|
@@ -367,10 +371,11 @@ module Google
|
|
367
371
|
# Customize the options with defaults
|
368
372
|
metadata = @config.rpcs.update_os_policy_assignment.metadata.to_h
|
369
373
|
|
370
|
-
# Set x-goog-api-client
|
374
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
371
375
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
372
376
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
373
377
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
378
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
374
379
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
375
380
|
|
376
381
|
header_params = {}
|
@@ -460,10 +465,11 @@ module Google
|
|
460
465
|
# Customize the options with defaults
|
461
466
|
metadata = @config.rpcs.get_os_policy_assignment.metadata.to_h
|
462
467
|
|
463
|
-
# Set x-goog-api-client
|
468
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
464
469
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
465
470
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
466
471
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
472
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
467
473
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
468
474
|
|
469
475
|
header_params = {}
|
@@ -557,10 +563,11 @@ module Google
|
|
557
563
|
# Customize the options with defaults
|
558
564
|
metadata = @config.rpcs.list_os_policy_assignments.metadata.to_h
|
559
565
|
|
560
|
-
# Set x-goog-api-client
|
566
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
561
567
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
562
568
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
563
569
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
570
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
564
571
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
565
572
|
|
566
573
|
header_params = {}
|
@@ -653,10 +660,11 @@ module Google
|
|
653
660
|
# Customize the options with defaults
|
654
661
|
metadata = @config.rpcs.list_os_policy_assignment_revisions.metadata.to_h
|
655
662
|
|
656
|
-
# Set x-goog-api-client
|
663
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
657
664
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
658
665
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
659
666
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
667
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
660
668
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
661
669
|
|
662
670
|
header_params = {}
|
@@ -757,10 +765,11 @@ module Google
|
|
757
765
|
# Customize the options with defaults
|
758
766
|
metadata = @config.rpcs.delete_os_policy_assignment.metadata.to_h
|
759
767
|
|
760
|
-
# Set x-goog-api-client
|
768
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
761
769
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
762
770
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
763
771
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
772
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
764
773
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
765
774
|
|
766
775
|
header_params = {}
|
@@ -854,10 +863,11 @@ module Google
|
|
854
863
|
# Customize the options with defaults
|
855
864
|
metadata = @config.rpcs.get_instance_os_policies_compliance.metadata.to_h
|
856
865
|
|
857
|
-
# Set x-goog-api-client
|
866
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
858
867
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
859
868
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
860
869
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
870
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
861
871
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
862
872
|
|
863
873
|
header_params = {}
|
@@ -960,10 +970,11 @@ module Google
|
|
960
970
|
# Customize the options with defaults
|
961
971
|
metadata = @config.rpcs.list_instance_os_policies_compliances.metadata.to_h
|
962
972
|
|
963
|
-
# Set x-goog-api-client
|
973
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
964
974
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
965
975
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
966
976
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
977
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
967
978
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
968
979
|
|
969
980
|
header_params = {}
|
@@ -1055,10 +1066,11 @@ module Google
|
|
1055
1066
|
# Customize the options with defaults
|
1056
1067
|
metadata = @config.rpcs.get_os_policy_assignment_report.metadata.to_h
|
1057
1068
|
|
1058
|
-
# Set x-goog-api-client
|
1069
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1059
1070
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1060
1071
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1061
1072
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
1073
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1062
1074
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1063
1075
|
|
1064
1076
|
header_params = {}
|
@@ -1174,10 +1186,11 @@ module Google
|
|
1174
1186
|
# Customize the options with defaults
|
1175
1187
|
metadata = @config.rpcs.list_os_policy_assignment_reports.metadata.to_h
|
1176
1188
|
|
1177
|
-
# Set x-goog-api-client
|
1189
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1178
1190
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1179
1191
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1180
1192
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
1193
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1181
1194
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1182
1195
|
|
1183
1196
|
header_params = {}
|
@@ -1271,10 +1284,11 @@ module Google
|
|
1271
1284
|
# Customize the options with defaults
|
1272
1285
|
metadata = @config.rpcs.get_inventory.metadata.to_h
|
1273
1286
|
|
1274
|
-
# Set x-goog-api-client
|
1287
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1275
1288
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1276
1289
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1277
1290
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
1291
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1278
1292
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1279
1293
|
|
1280
1294
|
header_params = {}
|
@@ -1376,10 +1390,11 @@ module Google
|
|
1376
1390
|
# Customize the options with defaults
|
1377
1391
|
metadata = @config.rpcs.list_inventories.metadata.to_h
|
1378
1392
|
|
1379
|
-
# Set x-goog-api-client
|
1393
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1380
1394
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1381
1395
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1382
1396
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
1397
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1383
1398
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1384
1399
|
|
1385
1400
|
header_params = {}
|
@@ -1470,10 +1485,11 @@ module Google
|
|
1470
1485
|
# Customize the options with defaults
|
1471
1486
|
metadata = @config.rpcs.get_vulnerability_report.metadata.to_h
|
1472
1487
|
|
1473
|
-
# Set x-goog-api-client
|
1488
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1474
1489
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1475
1490
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1476
1491
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
1492
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1477
1493
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1478
1494
|
|
1479
1495
|
header_params = {}
|
@@ -1572,10 +1588,11 @@ module Google
|
|
1572
1588
|
# Customize the options with defaults
|
1573
1589
|
metadata = @config.rpcs.list_vulnerability_reports.metadata.to_h
|
1574
1590
|
|
1575
|
-
# Set x-goog-api-client
|
1591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1576
1592
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1577
1593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1578
1594
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
1595
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1579
1596
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1580
1597
|
|
1581
1598
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module OsConfigZonalService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "osconfig.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# manage package installations and patch jobs for Compute Engine VM instances.
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "osconfig.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -256,12 +259,13 @@ module Google
|
|
256
259
|
# Customize the options with defaults
|
257
260
|
call_metadata = @config.rpcs.create_os_policy_assignment.metadata.to_h
|
258
261
|
|
259
|
-
# Set x-goog-api-client
|
262
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
260
263
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
261
264
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
262
265
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
263
266
|
transports_version_send: [:rest]
|
264
267
|
|
268
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
265
269
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
266
270
|
|
267
271
|
options.apply_defaults timeout: @config.rpcs.create_os_policy_assignment.timeout,
|
@@ -352,12 +356,13 @@ module Google
|
|
352
356
|
# Customize the options with defaults
|
353
357
|
call_metadata = @config.rpcs.update_os_policy_assignment.metadata.to_h
|
354
358
|
|
355
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
356
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
357
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
358
362
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
359
363
|
transports_version_send: [:rest]
|
360
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
361
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
362
367
|
|
363
368
|
options.apply_defaults timeout: @config.rpcs.update_os_policy_assignment.timeout,
|
@@ -438,12 +443,13 @@ module Google
|
|
438
443
|
# Customize the options with defaults
|
439
444
|
call_metadata = @config.rpcs.get_os_policy_assignment.metadata.to_h
|
440
445
|
|
441
|
-
# Set x-goog-api-client
|
446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
447
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
449
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
445
450
|
transports_version_send: [:rest]
|
446
451
|
|
452
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
453
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
454
|
|
449
455
|
options.apply_defaults timeout: @config.rpcs.get_os_policy_assignment.timeout,
|
@@ -528,12 +534,13 @@ module Google
|
|
528
534
|
# Customize the options with defaults
|
529
535
|
call_metadata = @config.rpcs.list_os_policy_assignments.metadata.to_h
|
530
536
|
|
531
|
-
# Set x-goog-api-client
|
537
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
532
538
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
533
539
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
534
540
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
535
541
|
transports_version_send: [:rest]
|
536
542
|
|
543
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
537
544
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
538
545
|
|
539
546
|
options.apply_defaults timeout: @config.rpcs.list_os_policy_assignments.timeout,
|
@@ -617,12 +624,13 @@ module Google
|
|
617
624
|
# Customize the options with defaults
|
618
625
|
call_metadata = @config.rpcs.list_os_policy_assignment_revisions.metadata.to_h
|
619
626
|
|
620
|
-
# Set x-goog-api-client
|
627
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
621
628
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
622
629
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
623
630
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
624
631
|
transports_version_send: [:rest]
|
625
632
|
|
633
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
626
634
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
627
635
|
|
628
636
|
options.apply_defaults timeout: @config.rpcs.list_os_policy_assignment_revisions.timeout,
|
@@ -714,12 +722,13 @@ module Google
|
|
714
722
|
# Customize the options with defaults
|
715
723
|
call_metadata = @config.rpcs.delete_os_policy_assignment.metadata.to_h
|
716
724
|
|
717
|
-
# Set x-goog-api-client
|
725
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
718
726
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
719
727
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
720
728
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
721
729
|
transports_version_send: [:rest]
|
722
730
|
|
731
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
723
732
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
724
733
|
|
725
734
|
options.apply_defaults timeout: @config.rpcs.delete_os_policy_assignment.timeout,
|
@@ -802,12 +811,13 @@ module Google
|
|
802
811
|
# Customize the options with defaults
|
803
812
|
call_metadata = @config.rpcs.get_instance_os_policies_compliance.metadata.to_h
|
804
813
|
|
805
|
-
# Set x-goog-api-client
|
814
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
806
815
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
807
816
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
808
817
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
809
818
|
transports_version_send: [:rest]
|
810
819
|
|
820
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
811
821
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
812
822
|
|
813
823
|
options.apply_defaults timeout: @config.rpcs.get_instance_os_policies_compliance.timeout,
|
@@ -899,12 +909,13 @@ module Google
|
|
899
909
|
# Customize the options with defaults
|
900
910
|
call_metadata = @config.rpcs.list_instance_os_policies_compliances.metadata.to_h
|
901
911
|
|
902
|
-
# Set x-goog-api-client
|
912
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
903
913
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
904
914
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
905
915
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
906
916
|
transports_version_send: [:rest]
|
907
917
|
|
918
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
908
919
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
909
920
|
|
910
921
|
options.apply_defaults timeout: @config.rpcs.list_instance_os_policies_compliances.timeout,
|
@@ -987,12 +998,13 @@ module Google
|
|
987
998
|
# Customize the options with defaults
|
988
999
|
call_metadata = @config.rpcs.get_os_policy_assignment_report.metadata.to_h
|
989
1000
|
|
990
|
-
# Set x-goog-api-client
|
1001
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
991
1002
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
992
1003
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
993
1004
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
994
1005
|
transports_version_send: [:rest]
|
995
1006
|
|
1007
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
996
1008
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
997
1009
|
|
998
1010
|
options.apply_defaults timeout: @config.rpcs.get_os_policy_assignment_report.timeout,
|
@@ -1099,12 +1111,13 @@ module Google
|
|
1099
1111
|
# Customize the options with defaults
|
1100
1112
|
call_metadata = @config.rpcs.list_os_policy_assignment_reports.metadata.to_h
|
1101
1113
|
|
1102
|
-
# Set x-goog-api-client
|
1114
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1103
1115
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1104
1116
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1105
1117
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
1106
1118
|
transports_version_send: [:rest]
|
1107
1119
|
|
1120
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1108
1121
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1109
1122
|
|
1110
1123
|
options.apply_defaults timeout: @config.rpcs.list_os_policy_assignment_reports.timeout,
|
@@ -1189,12 +1202,13 @@ module Google
|
|
1189
1202
|
# Customize the options with defaults
|
1190
1203
|
call_metadata = @config.rpcs.get_inventory.metadata.to_h
|
1191
1204
|
|
1192
|
-
# Set x-goog-api-client
|
1205
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1193
1206
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1194
1207
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1195
1208
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
1196
1209
|
transports_version_send: [:rest]
|
1197
1210
|
|
1211
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1198
1212
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1199
1213
|
|
1200
1214
|
options.apply_defaults timeout: @config.rpcs.get_inventory.timeout,
|
@@ -1287,12 +1301,13 @@ module Google
|
|
1287
1301
|
# Customize the options with defaults
|
1288
1302
|
call_metadata = @config.rpcs.list_inventories.metadata.to_h
|
1289
1303
|
|
1290
|
-
# Set x-goog-api-client
|
1304
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1291
1305
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1292
1306
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1293
1307
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
1294
1308
|
transports_version_send: [:rest]
|
1295
1309
|
|
1310
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1296
1311
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1297
1312
|
|
1298
1313
|
options.apply_defaults timeout: @config.rpcs.list_inventories.timeout,
|
@@ -1374,12 +1389,13 @@ module Google
|
|
1374
1389
|
# Customize the options with defaults
|
1375
1390
|
call_metadata = @config.rpcs.get_vulnerability_report.metadata.to_h
|
1376
1391
|
|
1377
|
-
# Set x-goog-api-client
|
1392
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1378
1393
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1379
1394
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1380
1395
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
1381
1396
|
transports_version_send: [:rest]
|
1382
1397
|
|
1398
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1383
1399
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1384
1400
|
|
1385
1401
|
options.apply_defaults timeout: @config.rpcs.get_vulnerability_report.timeout,
|
@@ -1469,12 +1485,13 @@ module Google
|
|
1469
1485
|
# Customize the options with defaults
|
1470
1486
|
call_metadata = @config.rpcs.list_vulnerability_reports.metadata.to_h
|
1471
1487
|
|
1472
|
-
# Set x-goog-api-client
|
1488
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1473
1489
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1474
1490
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1475
1491
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
1476
1492
|
transports_version_send: [:rest]
|
1477
1493
|
|
1494
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1478
1495
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1479
1496
|
|
1480
1497
|
options.apply_defaults timeout: @config.rpcs.list_vulnerability_reports.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "osconfig.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::OsConfig::V1alpha::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -10,7 +10,7 @@ require 'google/cloud/osconfig/v1alpha/config_common_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\nCgoogle/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/osconfig/v1alpha/config_common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\nCgoogle/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/osconfig/v1alpha/config_common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xee\x06\n\x1cInstanceOSPoliciesCompliance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08instance\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12J\n\x05state\x18\x03 \x01(\x0e\x32\x36.google.cloud.osconfig.v1alpha.OSPolicyComplianceStateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x64\x65tailed_state\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\"\n\x15\x64\x65tailed_state_reason\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12r\n\x15os_policy_compliances\x18\x06 \x03(\x0b\x32N.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceB\x03\xe0\x41\x03\x12\x43\n\x1alast_compliance_check_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12#\n\x16last_compliance_run_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a\xa7\x02\n\x12OSPolicyCompliance\x12\x14\n\x0cos_policy_id\x18\x01 \x01(\t\x12M\n\x14os_policy_assignment\x18\x02 \x01(\tB/\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x36.google.cloud.osconfig.v1alpha.OSPolicyComplianceState\x12\x61\n\x1eos_policy_resource_compliances\x18\x05 \x03(\x0b\x32\x39.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance:\x02\x18\x01:\x8e\x01\x18\x01\xea\x41\x88\x01\n4osconfig.googleapis.com/InstanceOSPoliciesCompliance\x12Pprojects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}\"x\n&GetInstanceOSPoliciesComplianceRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4osconfig.googleapis.com/InstanceOSPoliciesCompliance:\x02\x18\x01\"\xa0\x01\n(ListInstanceOSPoliciesCompliancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t:\x02\x18\x01\"\xaf\x01\n)ListInstanceOSPoliciesCompliancesResponse\x12\x65\n instance_os_policies_compliances\x18\x01 \x03(\x0b\x32;.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\x42\xea\x01\n!com.google.cloud.osconfig.v1alphaB!InstanceOSPoliciesComplianceProtoP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alphab\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -10,7 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
10
|
require 'google/type/date_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n-google/cloud/osconfig/v1alpha/inventory.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\
|
13
|
+
descriptor_data = "\n-google/cloud/osconfig/v1alpha/inventory.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xb7\x16\n\tInventory\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x07os_info\x18\x01 \x01(\x0b\x32/.google.cloud.osconfig.v1alpha.Inventory.OsInfoB\x03\xe0\x41\x03\x12G\n\x05items\x18\x02 \x03(\x0b\x32\x33.google.cloud.osconfig.v1alpha.Inventory.ItemsEntryB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\xb8\x01\n\x06OsInfo\x12\x10\n\x08hostname\x18\t \x01(\t\x12\x11\n\tlong_name\x18\x02 \x01(\t\x12\x12\n\nshort_name\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\x14\n\x0c\x61rchitecture\x18\x05 \x01(\t\x12\x16\n\x0ekernel_version\x18\x06 \x01(\t\x12\x16\n\x0ekernel_release\x18\x07 \x01(\t\x12\x1e\n\x16osconfig_agent_version\x18\x08 \x01(\t\x1a\xcb\x04\n\x04Item\x12\n\n\x02id\x18\x01 \x01(\t\x12M\n\x0borigin_type\x18\x02 \x01(\x0e\x32\x38.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType\x12/\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x04type\x18\x05 \x01(\x0e\x32\x32.google.cloud.osconfig.v1alpha.Inventory.Item.Type\x12U\n\x11installed_package\x18\x06 \x01(\x0b\x32\x38.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageH\x00\x12U\n\x11\x61vailable_package\x18\x07 \x01(\x0b\x32\x38.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageH\x00\"?\n\nOriginType\x12\x1b\n\x17ORIGIN_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10INVENTORY_REPORT\x10\x01\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11INSTALLED_PACKAGE\x10\x01\x12\x15\n\x11\x41VAILABLE_PACKAGE\x10\x02\x42\t\n\x07\x64\x65tails\x1a\x9f\x06\n\x0fSoftwarePackage\x12P\n\x0byum_package\x18\x01 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageH\x00\x12P\n\x0b\x61pt_package\x18\x02 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageH\x00\x12S\n\x0ezypper_package\x18\x03 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageH\x00\x12S\n\x0egooget_package\x18\x04 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageH\x00\x12L\n\x0czypper_patch\x18\x05 \x01(\x0b\x32\x34.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchH\x00\x12T\n\x0bwua_package\x18\x06 \x01(\x0b\x32=.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageH\x00\x12\x61\n\x0bqfe_package\x18\x07 \x01(\x0b\x32J.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageH\x00\x12P\n\x0b\x63os_package\x18\x08 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageH\x00\x12Z\n\x13windows_application\x18\t \x01(\x0b\x32;.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationH\x00\x42\t\n\x07\x64\x65tails\x1aO\n\x10VersionedPackage\x12\x14\n\x0cpackage_name\x18\x04 \x01(\t\x12\x14\n\x0c\x61rchitecture\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x1aV\n\x0bZypperPatch\x12\x12\n\npatch_name\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\x12\x10\n\x08severity\x18\x03 \x01(\t\x12\x0f\n\x07summary\x18\x04 \x01(\t\x1a\x88\x03\n\x14WindowsUpdatePackage\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12g\n\ncategories\x18\x03 \x03(\x0b\x32S.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory\x12\x16\n\x0ekb_article_ids\x18\x04 \x03(\t\x12\x13\n\x0bsupport_url\x18\x0b \x01(\t\x12\x16\n\x0emore_info_urls\x18\x05 \x03(\t\x12\x11\n\tupdate_id\x18\x06 \x01(\t\x12\x17\n\x0frevision_number\x18\x07 \x01(\x05\x12?\n\x1blast_deployment_change_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x31\n\x15WindowsUpdateCategory\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x1a\x8f\x01\n!WindowsQuickFixEngineeringPackage\x12\x0f\n\x07\x63\x61ption\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x12\n\nhot_fix_id\x18\x03 \x01(\t\x12\x30\n\x0cinstall_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x92\x01\n\x12WindowsApplication\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x17\n\x0f\x64isplay_version\x18\x02 \x01(\t\x12\x11\n\tpublisher\x18\x03 \x01(\t\x12\'\n\x0cinstall_date\x18\x04 \x01(\x0b\x32\x11.google.type.Date\x12\x11\n\thelp_link\x18\x05 \x01(\t\x1a[\n\nItemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.cloud.osconfig.v1alpha.Inventory.Item:\x02\x38\x01:n\xea\x41k\n!osconfig.googleapis.com/Inventory\x12\x46projects/{project}/locations/{location}/instances/{instance}/inventory\"\x8a\x01\n\x13GetInventoryRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!osconfig.googleapis.com/Inventory\x12:\n\x04view\x18\x02 \x01(\x0e\x32,.google.cloud.osconfig.v1alpha.InventoryView\"\xc4\x01\n\x16ListInventoriesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12:\n\x04view\x18\x02 \x01(\x0e\x32,.google.cloud.osconfig.v1alpha.InventoryView\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"q\n\x17ListInventoriesResponse\x12=\n\x0binventories\x18\x01 \x03(\x0b\x32(.google.cloud.osconfig.v1alpha.Inventory\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t*D\n\rInventoryView\x12\x1e\n\x1aINVENTORY_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42\xd4\x01\n!com.google.cloud.osconfig.v1alphaB\x0bInventoriesP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alphab\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n@google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"
|
12
|
+
descriptor_data = "\n@google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"l\n\"GetOSPolicyAssignmentReportRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0osconfig.googleapis.com/OSPolicyAssignmentReport\"\xa8\x01\n$ListOSPolicyAssignmentReportsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1compute.googleapis.com/InstanceOSPolicyAssignment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x9f\x01\n%ListOSPolicyAssignmentReportsResponse\x12]\n\x1cos_policy_assignment_reports\x18\x01 \x03(\x0b\x32\x37.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf1\x0e\n\x18OSPolicyAssignmentReport\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12M\n\x14os_policy_assignment\x18\x03 \x01(\tB/\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12i\n\x15os_policy_compliances\x18\x04 \x03(\x0b\x32J.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0blast_run_id\x18\x06 \x01(\t\x1a\x95\x0b\n\x12OSPolicyCompliance\x12\x14\n\x0cos_policy_id\x18\x01 \x01(\t\x12t\n\x10\x63ompliance_state\x18\x02 \x01(\x0e\x32Z.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState\x12\x1f\n\x17\x63ompliance_state_reason\x18\x03 \x01(\t\x12\x8d\x01\n\x1eos_policy_resource_compliances\x18\x04 \x03(\x0b\x32\x65.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance\x1a\xff\x07\n\x1aOSPolicyResourceCompliance\x12\x1d\n\x15os_policy_resource_id\x18\x01 \x01(\t\x12\x97\x01\n\x0c\x63onfig_steps\x18\x02 \x03(\x0b\x32\x80\x01.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep\x12\x8f\x01\n\x10\x63ompliance_state\x18\x03 \x01(\x0e\x32u.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState\x12\x1f\n\x17\x63ompliance_state_reason\x18\x04 \x01(\t\x12\x98\x01\n\x14\x65xec_resource_output\x18\x05 \x01(\x0b\x32x.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputH\x00\x1a\xdb\x02\n\x1aOSPolicyResourceConfigStep\x12\x94\x01\n\x04type\x18\x01 \x01(\x0e\x32\x85\x01.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type\x12\x15\n\rerror_message\x18\x02 \x01(\t\"\x8e\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nVALIDATION\x10\x01\x12\x17\n\x13\x44\x45SIRED_STATE_CHECK\x10\x02\x12\x1d\n\x19\x44\x45SIRED_STATE_ENFORCEMENT\x10\x03\x12(\n$DESIRED_STATE_CHECK_POST_ENFORCEMENT\x10\x04\x1a\x30\n\x12\x45xecResourceOutput\x12\x1a\n\x12\x65nforcement_output\x18\x02 \x01(\x0c\"@\n\x0f\x43omplianceState\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tCOMPLIANT\x10\x01\x12\x11\n\rNON_COMPLIANT\x10\x02\x42\x08\n\x06output\"@\n\x0f\x43omplianceState\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tCOMPLIANT\x10\x01\x12\x11\n\rNON_COMPLIANT\x10\x02:\x9c\x01\xea\x41\x98\x01\n0osconfig.googleapis.com/OSPolicyAssignmentReport\x12\x64projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reportB\xfd\x02\n!com.google.cloud.osconfig.v1alphaB\x1eOSPolicyAssignmentReportsProtoP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alpha\xea\x41\x92\x01\n1compute.googleapis.com/InstanceOSPolicyAssignment\x12]projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -13,7 +13,7 @@ require 'google/protobuf/field_mask_pb'
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n9google/cloud/osconfig/v1alpha/os_policy_assignments.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/osconfig/v1alpha/os_policy.proto\x1a\x33google/cloud/osconfig/v1alpha/osconfig_common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
16
|
+
descriptor_data = "\n9google/cloud/osconfig/v1alpha/os_policy_assignments.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/osconfig/v1alpha/os_policy.proto\x1a\x33google/cloud/osconfig/v1alpha/osconfig_common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x0b\n\x12OSPolicyAssignment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0bos_policies\x18\x03 \x03(\x0b\x32\'.google.cloud.osconfig.v1alpha.OSPolicyB\x03\xe0\x41\x02\x12^\n\x0finstance_filter\x18\x04 \x01(\x0b\x32@.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterB\x03\xe0\x41\x02\x12O\n\x07rollout\x18\x05 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutB\x03\xe0\x41\x02\x12\x18\n\x0brevision_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12Z\n\rrollout_state\x18\t \x01(\x0e\x32>.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutStateB\x03\xe0\x41\x03\x12\x15\n\x08\x62\x61seline\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65leted\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\r \x01(\tB\x03\xe0\x41\x03\x1a\x91\x01\n\x08LabelSet\x12V\n\x06labels\x18\x01 \x03(\x0b\x32\x46.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x83\x03\n\x0eInstanceFilter\x12\x0b\n\x03\x61ll\x18\x01 \x01(\x08\x12\x1a\n\x0eos_short_names\x18\x02 \x03(\tB\x02\x18\x01\x12T\n\x10inclusion_labels\x18\x03 \x03(\x0b\x32:.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet\x12T\n\x10\x65xclusion_labels\x18\x04 \x03(\x0b\x32:.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet\x12_\n\x0binventories\x18\x05 \x03(\x0b\x32J.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory\x1a;\n\tInventory\x12\x1a\n\ros_short_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nos_version\x18\x02 \x01(\t\x1a\x93\x01\n\x07Rollout\x12M\n\x11\x64isruption_budget\x18\x01 \x01(\x0b\x32-.google.cloud.osconfig.v1alpha.FixedOrPercentB\x03\xe0\x41\x02\x12\x39\n\x11min_wait_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\"l\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04:\x84\x01\xea\x41\x80\x01\n*osconfig.googleapis.com/OSPolicyAssignment\x12Rprojects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}\"\xea\x04\n#OSPolicyAssignmentOperationMetadata\x12M\n\x14os_policy_assignment\x18\x01 \x01(\tB/\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12`\n\napi_method\x18\x02 \x01(\x0e\x32L.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod\x12\x66\n\rrollout_state\x18\x03 \x01(\x0e\x32O.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState\x12\x36\n\x12rollout_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13rollout_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"K\n\tAPIMethod\x12\x1a\n\x16\x41PI_METHOD_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\"l\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\"\xd8\x01\n\x1f\x43reateOSPolicyAssignmentRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12T\n\x14os_policy_assignment\x18\x02 \x01(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignmentB\x03\xe0\x41\x02\x12$\n\x17os_policy_assignment_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xad\x01\n\x1fUpdateOSPolicyAssignmentRequest\x12T\n\x14os_policy_assignment\x18\x01 \x01(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignmentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"`\n\x1cGetOSPolicyAssignmentRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\"\x82\x01\n\x1eListOSPolicyAssignmentsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1fListOSPolicyAssignmentsResponse\x12P\n\x15os_policy_assignments\x18\x01 \x03(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x91\x01\n&ListOSPolicyAssignmentRevisionsRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x94\x01\n\'ListOSPolicyAssignmentRevisionsResponse\x12P\n\x15os_policy_assignments\x18\x01 \x03(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x1f\x44\x65leteOSPolicyAssignmentRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignmentB\xe1\x01\n!com.google.cloud.osconfig.v1alphaB\x18OsPolicyAssignmentsProtoP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alphab\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n-google/cloud/osconfig/v1alpha/os_policy.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n-google/cloud/osconfig/v1alpha/os_policy.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\"\x84#\n\x08OSPolicy\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12?\n\x04mode\x18\x03 \x01(\x0e\x32,.google.cloud.osconfig.v1alpha.OSPolicy.ModeB\x03\xe0\x41\x02\x12S\n\x0fresource_groups\x18\x04 \x03(\x0b\x32\x35.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupB\x03\xe0\x41\x02\x12%\n\x1d\x61llow_no_resource_group_match\x18\x05 \x01(\x08\x1a\x35\n\x08OSFilter\x12\x15\n\ros_short_name\x18\x01 \x01(\t\x12\x12\n\nos_version\x18\x02 \x01(\t\x1a\x41\n\x0fInventoryFilter\x12\x1a\n\ros_short_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nos_version\x18\x02 \x01(\t\x1a\xe2\x1d\n\x08Resource\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x03pkg\x18\x02 \x01(\x0b\x32@.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceH\x00\x12Y\n\nrepository\x18\x03 \x01(\x0b\x32\x43.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceH\x00\x12M\n\x04\x65xec\x18\x04 \x01(\x0b\x32=.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceH\x00\x12M\n\x04\x66ile\x18\x05 \x01(\x0b\x32=.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceH\x00\x1a\xd0\x02\n\x04\x46ile\x12N\n\x06remote\x18\x01 \x01(\x0b\x32<.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteH\x00\x12H\n\x03gcs\x18\x02 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsH\x00\x12\x14\n\nlocal_path\x18\x03 \x01(\tH\x00\x12\x16\n\x0e\x61llow_insecure\x18\x04 \x01(\x08\x1a\x33\n\x06Remote\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fsha256_checksum\x18\x02 \x01(\t\x1a\x43\n\x03Gcs\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06object\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x42\x06\n\x04type\x1a\xd9\t\n\x0fPackageResource\x12i\n\rdesired_state\x18\x01 \x01(\x0e\x32M.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredStateB\x03\xe0\x41\x02\x12S\n\x03\x61pt\x18\x02 \x01(\x0b\x32\x44.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTH\x00\x12S\n\x03\x64\x65\x62\x18\x03 \x01(\x0b\x32\x44.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebH\x00\x12S\n\x03yum\x18\x04 \x01(\x0b\x32\x44.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMH\x00\x12Y\n\x06zypper\x18\x05 \x01(\x0b\x32G.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperH\x00\x12S\n\x03rpm\x18\x06 \x01(\x0b\x32\x44.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMH\x00\x12Y\n\x06googet\x18\x07 \x01(\x0b\x32G.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetH\x00\x12S\n\x03msi\x18\x08 \x01(\x0b\x32\x44.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIH\x00\x1a\x64\n\x03\x44\x65\x62\x12J\n\x06source\x18\x01 \x01(\x0b\x32\x35.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileB\x03\xe0\x41\x02\x12\x11\n\tpull_deps\x18\x02 \x01(\x08\x1a\x18\n\x03\x41PT\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x64\n\x03RPM\x12J\n\x06source\x18\x01 \x01(\x0b\x32\x35.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileB\x03\xe0\x41\x02\x12\x11\n\tpull_deps\x18\x02 \x01(\x08\x1a\x18\n\x03YUM\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x1b\n\x06Zypper\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x1b\n\x06GooGet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x65\n\x03MSI\x12J\n\x06source\x18\x01 \x01(\x0b\x32\x35.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileB\x03\xe0\x41\x02\x12\x12\n\nproperties\x18\x02 \x03(\t\"I\n\x0c\x44\x65siredState\x12\x1d\n\x19\x44\x45SIRED_STATE_UNSPECIFIED\x10\x00\x12\r\n\tINSTALLED\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x42\x10\n\x0esystem_package\x1a\xd1\x07\n\x12RepositoryResource\x12`\n\x03\x61pt\x18\x01 \x01(\x0b\x32Q.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryH\x00\x12`\n\x03yum\x18\x02 \x01(\x0b\x32Q.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryH\x00\x12\x66\n\x06zypper\x18\x03 \x01(\x0b\x32T.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryH\x00\x12`\n\x03goo\x18\x04 \x01(\x0b\x32Q.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryH\x00\x1a\xa3\x02\n\rAptRepository\x12x\n\x0c\x61rchive_type\x18\x01 \x01(\x0e\x32].google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveTypeB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64istribution\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncomponents\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12\x0f\n\x07gpg_key\x18\x05 \x01(\t\"A\n\x0b\x41rchiveType\x12\x1c\n\x18\x41RCHIVE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44\x45\x42\x10\x01\x12\x0b\n\x07\x44\x45\x42_SRC\x10\x02\x1a_\n\rYumRepository\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08gpg_keys\x18\x04 \x03(\t\x1a\x62\n\x10ZypperRepository\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08gpg_keys\x18\x04 \x03(\t\x1a\x34\n\rGooRepository\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\x0c\n\nrepository\x1a\x8d\x04\n\x0c\x45xecResource\x12Y\n\x08validate\x18\x01 \x01(\x0b\x32\x42.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecB\x03\xe0\x41\x02\x12S\n\x07\x65nforce\x18\x02 \x01(\x0b\x32\x42.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec\x1a\xcc\x02\n\x04\x45xec\x12\x45\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x35.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileH\x00\x12\x10\n\x06script\x18\x02 \x01(\tH\x00\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12h\n\x0binterpreter\x18\x04 \x01(\x0e\x32N.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.InterpreterB\x03\xe0\x41\x02\x12\x18\n\x10output_file_path\x18\x05 \x01(\t\"O\n\x0bInterpreter\x12\x1b\n\x17INTERPRETER_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05SHELL\x10\x02\x12\x0e\n\nPOWERSHELL\x10\x03\x42\x08\n\x06source\x1a\xd6\x02\n\x0c\x46ileResource\x12\x45\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x35.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileH\x00\x12\x11\n\x07\x63ontent\x18\x02 \x01(\tH\x00\x12\x11\n\x04path\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12^\n\x05state\x18\x04 \x01(\x0e\x32J.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredStateB\x03\xe0\x41\x02\x12\x13\n\x0bpermissions\x18\x05 \x01(\t\"Z\n\x0c\x44\x65siredState\x12\x1d\n\x19\x44\x45SIRED_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRESENT\x10\x01\x12\n\n\x06\x41\x42SENT\x10\x02\x12\x12\n\x0e\x43ONTENTS_MATCH\x10\x03\x42\x08\n\x06sourceB\x0f\n\rresource_type\x1a\xf6\x01\n\rResourceGroup\x12G\n\tos_filter\x18\x01 \x01(\x0b\x32\x30.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterB\x02\x18\x01\x12R\n\x11inventory_filters\x18\x03 \x03(\x0b\x32\x37.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter\x12H\n\tresources\x18\x02 \x03(\x0b\x32\x30.google.cloud.osconfig.v1alpha.OSPolicy.ResourceB\x03\xe0\x41\x02\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nVALIDATION\x10\x01\x12\x0f\n\x0b\x45NFORCEMENT\x10\x02\x42\xd6\x01\n!com.google.cloud.osconfig.v1alphaB\rOsPolicyProtoP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alphab\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n1google/cloud/osconfig/v1alpha/vulnerability.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n1google/cloud/osconfig/v1alpha/vulnerability.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdc\x08\n\x13VulnerabilityReport\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12^\n\x0fvulnerabilities\x18\x02 \x03(\x0b\x32@.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x96\x06\n\rVulnerability\x12Y\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32H.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details\x12(\n\x1cinstalled_inventory_item_ids\x18\x02 \x03(\tB\x02\x18\x01\x12(\n\x1c\x61vailable_inventory_item_ids\x18\x03 \x03(\tB\x02\x18\x01\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x05items\x18\x06 \x03(\x0b\x32\x45.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item\x1a\x9e\x02\n\x07\x44\x65tails\x12\x0b\n\x03\x63ve\x18\x01 \x01(\t\x12\x15\n\rcvss_v2_score\x18\x02 \x01(\x02\x12\x36\n\x07\x63vss_v3\x18\x03 \x01(\x0b\x32%.google.cloud.osconfig.v1alpha.CVSSv3\x12\x10\n\x08severity\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x66\n\nreferences\x18\x06 \x03(\x0b\x32R.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference\x1a(\n\tReference\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x1a}\n\x04Item\x12#\n\x1binstalled_inventory_item_id\x18\x01 \x01(\t\x12#\n\x1b\x61vailable_inventory_item_id\x18\x02 \x01(\t\x12\x15\n\rfixed_cpe_uri\x18\x03 \x01(\t\x12\x14\n\x0cupstream_fix\x18\x04 \x01(\t:\x82\x01\xea\x41\x7f\n+osconfig.googleapis.com/VulnerabilityReport\x12Pprojects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport\"b\n\x1dGetVulnerabilityReportRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+osconfig.googleapis.com/VulnerabilityReport\"\x91\x01\n\x1fListVulnerabilityReportsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x8e\x01\n ListVulnerabilityReportsResponse\x12Q\n\x15vulnerability_reports\x18\x01 \x03(\x0b\x32\x32.google.cloud.osconfig.v1alpha.VulnerabilityReport\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdd\n\n\x06\x43VSSv3\x12\x12\n\nbase_score\x18\x01 \x01(\x02\x12\x1c\n\x14\x65xploitability_score\x18\x02 \x01(\x02\x12\x14\n\x0cimpact_score\x18\x03 \x01(\x02\x12I\n\rattack_vector\x18\x05 \x01(\x0e\x32\x32.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector\x12Q\n\x11\x61ttack_complexity\x18\x06 \x01(\x0e\x32\x36.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity\x12U\n\x13privileges_required\x18\x07 \x01(\x0e\x32\x38.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired\x12O\n\x10user_interaction\x18\x08 \x01(\x0e\x32\x35.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction\x12:\n\x05scope\x18\t \x01(\x0e\x32+.google.cloud.osconfig.v1alpha.CVSSv3.Scope\x12L\n\x16\x63onfidentiality_impact\x18\n \x01(\x0e\x32,.google.cloud.osconfig.v1alpha.CVSSv3.Impact\x12\x46\n\x10integrity_impact\x18\x0b \x01(\x0e\x32,.google.cloud.osconfig.v1alpha.CVSSv3.Impact\x12I\n\x13\x61vailability_impact\x18\x0c \x01(\x0e\x32,.google.cloud.osconfig.v1alpha.CVSSv3.Impact\"\x99\x01\n\x0c\x41ttackVector\x12\x1d\n\x19\x41TTACK_VECTOR_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41TTACK_VECTOR_NETWORK\x10\x01\x12\x1a\n\x16\x41TTACK_VECTOR_ADJACENT\x10\x02\x12\x17\n\x13\x41TTACK_VECTOR_LOCAL\x10\x03\x12\x1a\n\x16\x41TTACK_VECTOR_PHYSICAL\x10\x04\"l\n\x10\x41ttackComplexity\x12!\n\x1d\x41TTACK_COMPLEXITY_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41TTACK_COMPLEXITY_LOW\x10\x01\x12\x1a\n\x16\x41TTACK_COMPLEXITY_HIGH\x10\x02\"\x92\x01\n\x12PrivilegesRequired\x12#\n\x1fPRIVILEGES_REQUIRED_UNSPECIFIED\x10\x00\x12\x1c\n\x18PRIVILEGES_REQUIRED_NONE\x10\x01\x12\x1b\n\x17PRIVILEGES_REQUIRED_LOW\x10\x02\x12\x1c\n\x18PRIVILEGES_REQUIRED_HIGH\x10\x03\"m\n\x0fUserInteraction\x12 \n\x1cUSER_INTERACTION_UNSPECIFIED\x10\x00\x12\x19\n\x15USER_INTERACTION_NONE\x10\x01\x12\x1d\n\x19USER_INTERACTION_REQUIRED\x10\x02\"F\n\x05Scope\x12\x15\n\x11SCOPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSCOPE_UNCHANGED\x10\x01\x12\x11\n\rSCOPE_CHANGED\x10\x02\"R\n\x06Impact\x12\x16\n\x12IMPACT_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIMPACT_HIGH\x10\x01\x12\x0e\n\nIMPACT_LOW\x10\x02\x12\x0f\n\x0bIMPACT_NONE\x10\x03\x42\xdb\x01\n!com.google.cloud.osconfig.v1alphaB\x12VulnerabilityProtoP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alphab\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_config-v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: Cloud OS Config provides OS management tools that can be used for patch
|
160
48
|
management, patch compliance, and configuration management on VM instances. Note
|
161
49
|
that google-cloud-os_config-v1alpha is a version-specific client library. For most
|
@@ -226,14 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
114
|
requirements:
|
227
115
|
- - ">="
|
228
116
|
- !ruby/object:Gem::Version
|
229
|
-
version: '2.
|
117
|
+
version: '2.7'
|
230
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
119
|
requirements:
|
232
120
|
- - ">="
|
233
121
|
- !ruby/object:Gem::Version
|
234
122
|
version: '0'
|
235
123
|
requirements: []
|
236
|
-
rubygems_version: 3.5.
|
124
|
+
rubygems_version: 3.5.6
|
237
125
|
signing_key:
|
238
126
|
specification_version: 4
|
239
127
|
summary: OS management tools that can be used for patch management, patch compliance,
|