google-cloud-os_config-v1alpha 0.9.0 → 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/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/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
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
|
@@ -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,
|
@@ -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.9.
|
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
|