google-cloud-security_center-v1 0.40.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/security_center/v1/security_center/client.rb +93 -45
- data/lib/google/cloud/security_center/v1/security_center/operations.rb +13 -5
- data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +93 -45
- data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +11 -4
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +5 -1
- data/lib/google/cloud/securitycenter/v1/group_membership_pb.rb +43 -0
- data/lib/google/cloud/securitycenter/v1/toxic_combination_pb.rb +42 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +18 -0
- data/proto_docs/google/cloud/securitycenter/v1/group_membership.rb +48 -0
- data/proto_docs/google/cloud/securitycenter/v1/toxic_combination.rb +45 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ade5d3ac4a4e63b6f160499d6ee26e05e5a223c9cf38d34b99b64abd4bd5b26
|
4
|
+
data.tar.gz: 9f90b8d42fb10c7c75616224f63f432334508f10d1ac66098882d57eefeffe7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48a82152e947aff552194b449d7242ce971d93bf98b47d0adcab539d9a246a6cd674b68d1496c2157d2d5537c4d144cefac616b7e4606138618cf2ca237c599c
|
7
|
+
data.tar.gz: 6757f649255dcd0d28bfc26fd794133da85198078355bb5033d588efca4e734f6357f324b83eaf44b7f2eb2ac8f75d000afa0a7a8ca186e2e4e97edf7e3cc269
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# V1 APIs for Security Center service.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "securitycenter.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -374,10 +377,11 @@ module Google
|
|
374
377
|
# Customize the options with defaults
|
375
378
|
metadata = @config.rpcs.bulk_mute_findings.metadata.to_h
|
376
379
|
|
377
|
-
# Set x-goog-api-client
|
380
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
378
381
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
379
382
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
380
383
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
384
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
381
385
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
382
386
|
|
383
387
|
header_params = {}
|
@@ -470,10 +474,11 @@ module Google
|
|
470
474
|
# Customize the options with defaults
|
471
475
|
metadata = @config.rpcs.create_security_health_analytics_custom_module.metadata.to_h
|
472
476
|
|
473
|
-
# Set x-goog-api-client
|
477
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
478
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
479
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
480
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
481
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
482
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
483
|
|
479
484
|
header_params = {}
|
@@ -559,10 +564,11 @@ module Google
|
|
559
564
|
# Customize the options with defaults
|
560
565
|
metadata = @config.rpcs.create_source.metadata.to_h
|
561
566
|
|
562
|
-
# Set x-goog-api-client
|
567
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
563
568
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
564
569
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
565
570
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
571
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
566
572
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
567
573
|
|
568
574
|
header_params = {}
|
@@ -653,10 +659,11 @@ module Google
|
|
653
659
|
# Customize the options with defaults
|
654
660
|
metadata = @config.rpcs.create_finding.metadata.to_h
|
655
661
|
|
656
|
-
# Set x-goog-api-client
|
662
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
657
663
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
658
664
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
659
665
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
666
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
660
667
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
661
668
|
|
662
669
|
header_params = {}
|
@@ -747,10 +754,11 @@ module Google
|
|
747
754
|
# Customize the options with defaults
|
748
755
|
metadata = @config.rpcs.create_mute_config.metadata.to_h
|
749
756
|
|
750
|
-
# Set x-goog-api-client
|
757
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
751
758
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
752
759
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
753
760
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
761
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
754
762
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
755
763
|
|
756
764
|
header_params = {}
|
@@ -843,10 +851,11 @@ module Google
|
|
843
851
|
# Customize the options with defaults
|
844
852
|
metadata = @config.rpcs.create_notification_config.metadata.to_h
|
845
853
|
|
846
|
-
# Set x-goog-api-client
|
854
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
847
855
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
848
856
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
849
857
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
858
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
850
859
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
851
860
|
|
852
861
|
header_params = {}
|
@@ -931,10 +940,11 @@ module Google
|
|
931
940
|
# Customize the options with defaults
|
932
941
|
metadata = @config.rpcs.delete_mute_config.metadata.to_h
|
933
942
|
|
934
|
-
# Set x-goog-api-client
|
943
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
935
944
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
936
945
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
937
946
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
947
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
938
948
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
939
949
|
|
940
950
|
header_params = {}
|
@@ -1019,10 +1029,11 @@ module Google
|
|
1019
1029
|
# Customize the options with defaults
|
1020
1030
|
metadata = @config.rpcs.delete_notification_config.metadata.to_h
|
1021
1031
|
|
1022
|
-
# Set x-goog-api-client
|
1032
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1023
1033
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1024
1034
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1025
1035
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1036
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1026
1037
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1027
1038
|
|
1028
1039
|
header_params = {}
|
@@ -1110,10 +1121,11 @@ module Google
|
|
1110
1121
|
# Customize the options with defaults
|
1111
1122
|
metadata = @config.rpcs.delete_security_health_analytics_custom_module.metadata.to_h
|
1112
1123
|
|
1113
|
-
# Set x-goog-api-client
|
1124
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1114
1125
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1115
1126
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1116
1127
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1128
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1117
1129
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1118
1130
|
|
1119
1131
|
header_params = {}
|
@@ -1198,10 +1210,11 @@ module Google
|
|
1198
1210
|
# Customize the options with defaults
|
1199
1211
|
metadata = @config.rpcs.get_big_query_export.metadata.to_h
|
1200
1212
|
|
1201
|
-
# Set x-goog-api-client
|
1213
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1202
1214
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1203
1215
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1204
1216
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1217
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1205
1218
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1206
1219
|
|
1207
1220
|
header_params = {}
|
@@ -1287,10 +1300,11 @@ module Google
|
|
1287
1300
|
# Customize the options with defaults
|
1288
1301
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1289
1302
|
|
1290
|
-
# Set x-goog-api-client
|
1303
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1291
1304
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1292
1305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1293
1306
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1307
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1294
1308
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1295
1309
|
|
1296
1310
|
header_params = {}
|
@@ -1375,10 +1389,11 @@ module Google
|
|
1375
1389
|
# Customize the options with defaults
|
1376
1390
|
metadata = @config.rpcs.get_mute_config.metadata.to_h
|
1377
1391
|
|
1378
|
-
# Set x-goog-api-client
|
1392
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1379
1393
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1380
1394
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1381
1395
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1396
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1382
1397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1383
1398
|
|
1384
1399
|
header_params = {}
|
@@ -1463,10 +1478,11 @@ module Google
|
|
1463
1478
|
# Customize the options with defaults
|
1464
1479
|
metadata = @config.rpcs.get_notification_config.metadata.to_h
|
1465
1480
|
|
1466
|
-
# Set x-goog-api-client
|
1481
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1467
1482
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1468
1483
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1469
1484
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1485
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1470
1486
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1471
1487
|
|
1472
1488
|
header_params = {}
|
@@ -1549,10 +1565,11 @@ module Google
|
|
1549
1565
|
# Customize the options with defaults
|
1550
1566
|
metadata = @config.rpcs.get_organization_settings.metadata.to_h
|
1551
1567
|
|
1552
|
-
# Set x-goog-api-client
|
1568
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1553
1569
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1554
1570
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1555
1571
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1572
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1556
1573
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1557
1574
|
|
1558
1575
|
header_params = {}
|
@@ -1638,10 +1655,11 @@ module Google
|
|
1638
1655
|
# Customize the options with defaults
|
1639
1656
|
metadata = @config.rpcs.get_effective_security_health_analytics_custom_module.metadata.to_h
|
1640
1657
|
|
1641
|
-
# Set x-goog-api-client
|
1658
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1642
1659
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1643
1660
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1644
1661
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1662
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1645
1663
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1646
1664
|
|
1647
1665
|
header_params = {}
|
@@ -1727,10 +1745,11 @@ module Google
|
|
1727
1745
|
# Customize the options with defaults
|
1728
1746
|
metadata = @config.rpcs.get_security_health_analytics_custom_module.metadata.to_h
|
1729
1747
|
|
1730
|
-
# Set x-goog-api-client
|
1748
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1731
1749
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1732
1750
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1733
1751
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1752
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1734
1753
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1735
1754
|
|
1736
1755
|
header_params = {}
|
@@ -1813,10 +1832,11 @@ module Google
|
|
1813
1832
|
# Customize the options with defaults
|
1814
1833
|
metadata = @config.rpcs.get_source.metadata.to_h
|
1815
1834
|
|
1816
|
-
# Set x-goog-api-client
|
1835
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1817
1836
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1818
1837
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1819
1838
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
1839
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1820
1840
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1821
1841
|
|
1822
1842
|
header_params = {}
|
@@ -2029,10 +2049,11 @@ module Google
|
|
2029
2049
|
# Customize the options with defaults
|
2030
2050
|
metadata = @config.rpcs.group_assets.metadata.to_h
|
2031
2051
|
|
2032
|
-
# Set x-goog-api-client
|
2052
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2033
2053
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2034
2054
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2035
2055
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
2056
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2036
2057
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2037
2058
|
|
2038
2059
|
header_params = {}
|
@@ -2252,10 +2273,11 @@ module Google
|
|
2252
2273
|
# Customize the options with defaults
|
2253
2274
|
metadata = @config.rpcs.group_findings.metadata.to_h
|
2254
2275
|
|
2255
|
-
# Set x-goog-api-client
|
2276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2256
2277
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2257
2278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2258
2279
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
2280
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2259
2281
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2260
2282
|
|
2261
2283
|
header_params = {}
|
@@ -2474,10 +2496,11 @@ module Google
|
|
2474
2496
|
# Customize the options with defaults
|
2475
2497
|
metadata = @config.rpcs.list_assets.metadata.to_h
|
2476
2498
|
|
2477
|
-
# Set x-goog-api-client
|
2499
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2478
2500
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2479
2501
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2480
2502
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
2503
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2481
2504
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2482
2505
|
|
2483
2506
|
header_params = {}
|
@@ -2573,10 +2596,11 @@ module Google
|
|
2573
2596
|
# Customize the options with defaults
|
2574
2597
|
metadata = @config.rpcs.list_descendant_security_health_analytics_custom_modules.metadata.to_h
|
2575
2598
|
|
2576
|
-
# Set x-goog-api-client
|
2599
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2577
2600
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2578
2601
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2579
2602
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
2603
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2580
2604
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2581
2605
|
|
2582
2606
|
header_params = {}
|
@@ -2799,10 +2823,11 @@ module Google
|
|
2799
2823
|
# Customize the options with defaults
|
2800
2824
|
metadata = @config.rpcs.list_findings.metadata.to_h
|
2801
2825
|
|
2802
|
-
# Set x-goog-api-client
|
2826
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2803
2827
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2804
2828
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2805
2829
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
2830
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2806
2831
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2807
2832
|
|
2808
2833
|
header_params = {}
|
@@ -2902,10 +2927,11 @@ module Google
|
|
2902
2927
|
# Customize the options with defaults
|
2903
2928
|
metadata = @config.rpcs.list_mute_configs.metadata.to_h
|
2904
2929
|
|
2905
|
-
# Set x-goog-api-client
|
2930
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2906
2931
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2907
2932
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2908
2933
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
2934
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2909
2935
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2910
2936
|
|
2911
2937
|
header_params = {}
|
@@ -3001,10 +3027,11 @@ module Google
|
|
3001
3027
|
# Customize the options with defaults
|
3002
3028
|
metadata = @config.rpcs.list_notification_configs.metadata.to_h
|
3003
3029
|
|
3004
|
-
# Set x-goog-api-client
|
3030
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3005
3031
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3006
3032
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3007
3033
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3034
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3008
3035
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3009
3036
|
|
3010
3037
|
header_params = {}
|
@@ -3101,10 +3128,11 @@ module Google
|
|
3101
3128
|
# Customize the options with defaults
|
3102
3129
|
metadata = @config.rpcs.list_effective_security_health_analytics_custom_modules.metadata.to_h
|
3103
3130
|
|
3104
|
-
# Set x-goog-api-client
|
3131
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3105
3132
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3106
3133
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3107
3134
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3135
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3108
3136
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3109
3137
|
|
3110
3138
|
header_params = {}
|
@@ -3201,10 +3229,11 @@ module Google
|
|
3201
3229
|
# Customize the options with defaults
|
3202
3230
|
metadata = @config.rpcs.list_security_health_analytics_custom_modules.metadata.to_h
|
3203
3231
|
|
3204
|
-
# Set x-goog-api-client
|
3232
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3205
3233
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3206
3234
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3207
3235
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3236
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3208
3237
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3209
3238
|
|
3210
3239
|
header_params = {}
|
@@ -3300,10 +3329,11 @@ module Google
|
|
3300
3329
|
# Customize the options with defaults
|
3301
3330
|
metadata = @config.rpcs.list_sources.metadata.to_h
|
3302
3331
|
|
3303
|
-
# Set x-goog-api-client
|
3332
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3304
3333
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3305
3334
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3306
3335
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3336
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3307
3337
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3308
3338
|
|
3309
3339
|
header_params = {}
|
@@ -3401,10 +3431,11 @@ module Google
|
|
3401
3431
|
# Customize the options with defaults
|
3402
3432
|
metadata = @config.rpcs.run_asset_discovery.metadata.to_h
|
3403
3433
|
|
3404
|
-
# Set x-goog-api-client
|
3434
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3405
3435
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3406
3436
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3407
3437
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3438
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3408
3439
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3409
3440
|
|
3410
3441
|
header_params = {}
|
@@ -3496,10 +3527,11 @@ module Google
|
|
3496
3527
|
# Customize the options with defaults
|
3497
3528
|
metadata = @config.rpcs.set_finding_state.metadata.to_h
|
3498
3529
|
|
3499
|
-
# Set x-goog-api-client
|
3530
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3500
3531
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3501
3532
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3502
3533
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3534
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3503
3535
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3504
3536
|
|
3505
3537
|
header_params = {}
|
@@ -3588,10 +3620,11 @@ module Google
|
|
3588
3620
|
# Customize the options with defaults
|
3589
3621
|
metadata = @config.rpcs.set_mute.metadata.to_h
|
3590
3622
|
|
3591
|
-
# Set x-goog-api-client
|
3623
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3592
3624
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3593
3625
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3594
3626
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3627
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3595
3628
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3596
3629
|
|
3597
3630
|
header_params = {}
|
@@ -3685,10 +3718,11 @@ module Google
|
|
3685
3718
|
# Customize the options with defaults
|
3686
3719
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
3687
3720
|
|
3688
|
-
# Set x-goog-api-client
|
3721
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3689
3722
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3690
3723
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3691
3724
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3725
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3692
3726
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3693
3727
|
|
3694
3728
|
header_params = {}
|
@@ -3776,10 +3810,11 @@ module Google
|
|
3776
3810
|
# Customize the options with defaults
|
3777
3811
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
3778
3812
|
|
3779
|
-
# Set x-goog-api-client
|
3813
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3780
3814
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3781
3815
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3782
3816
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3817
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3783
3818
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3784
3819
|
|
3785
3820
|
header_params = {}
|
@@ -3869,10 +3904,11 @@ module Google
|
|
3869
3904
|
# Customize the options with defaults
|
3870
3905
|
metadata = @config.rpcs.simulate_security_health_analytics_custom_module.metadata.to_h
|
3871
3906
|
|
3872
|
-
# Set x-goog-api-client
|
3907
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3873
3908
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3874
3909
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3875
3910
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
3911
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3876
3912
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3877
3913
|
|
3878
3914
|
header_params = {}
|
@@ -3958,10 +3994,11 @@ module Google
|
|
3958
3994
|
# Customize the options with defaults
|
3959
3995
|
metadata = @config.rpcs.update_external_system.metadata.to_h
|
3960
3996
|
|
3961
|
-
# Set x-goog-api-client
|
3997
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3962
3998
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3963
3999
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3964
4000
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4001
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3965
4002
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3966
4003
|
|
3967
4004
|
header_params = {}
|
@@ -4057,10 +4094,11 @@ module Google
|
|
4057
4094
|
# Customize the options with defaults
|
4058
4095
|
metadata = @config.rpcs.update_finding.metadata.to_h
|
4059
4096
|
|
4060
|
-
# Set x-goog-api-client
|
4097
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4061
4098
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4062
4099
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4063
4100
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4101
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4064
4102
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4065
4103
|
|
4066
4104
|
header_params = {}
|
@@ -4145,10 +4183,11 @@ module Google
|
|
4145
4183
|
# Customize the options with defaults
|
4146
4184
|
metadata = @config.rpcs.update_mute_config.metadata.to_h
|
4147
4185
|
|
4148
|
-
# Set x-goog-api-client
|
4186
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4149
4187
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4150
4188
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4151
4189
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4190
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4152
4191
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4153
4192
|
|
4154
4193
|
header_params = {}
|
@@ -4235,10 +4274,11 @@ module Google
|
|
4235
4274
|
# Customize the options with defaults
|
4236
4275
|
metadata = @config.rpcs.update_notification_config.metadata.to_h
|
4237
4276
|
|
4238
|
-
# Set x-goog-api-client
|
4277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4239
4278
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4240
4279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4241
4280
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4281
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4242
4282
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4243
4283
|
|
4244
4284
|
header_params = {}
|
@@ -4324,10 +4364,11 @@ module Google
|
|
4324
4364
|
# Customize the options with defaults
|
4325
4365
|
metadata = @config.rpcs.update_organization_settings.metadata.to_h
|
4326
4366
|
|
4327
|
-
# Set x-goog-api-client
|
4367
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4328
4368
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4329
4369
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4330
4370
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4371
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4331
4372
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4332
4373
|
|
4333
4374
|
header_params = {}
|
@@ -4415,10 +4456,11 @@ module Google
|
|
4415
4456
|
# Customize the options with defaults
|
4416
4457
|
metadata = @config.rpcs.update_security_health_analytics_custom_module.metadata.to_h
|
4417
4458
|
|
4418
|
-
# Set x-goog-api-client
|
4459
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4419
4460
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4420
4461
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4421
4462
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4463
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4422
4464
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4423
4465
|
|
4424
4466
|
header_params = {}
|
@@ -4504,10 +4546,11 @@ module Google
|
|
4504
4546
|
# Customize the options with defaults
|
4505
4547
|
metadata = @config.rpcs.update_source.metadata.to_h
|
4506
4548
|
|
4507
|
-
# Set x-goog-api-client
|
4549
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4508
4550
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4509
4551
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4510
4552
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4553
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4511
4554
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4512
4555
|
|
4513
4556
|
header_params = {}
|
@@ -4600,10 +4643,11 @@ module Google
|
|
4600
4643
|
# Customize the options with defaults
|
4601
4644
|
metadata = @config.rpcs.update_security_marks.metadata.to_h
|
4602
4645
|
|
4603
|
-
# Set x-goog-api-client
|
4646
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4604
4647
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4605
4648
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4606
4649
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4650
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4607
4651
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4608
4652
|
|
4609
4653
|
header_params = {}
|
@@ -4694,10 +4738,11 @@ module Google
|
|
4694
4738
|
# Customize the options with defaults
|
4695
4739
|
metadata = @config.rpcs.create_big_query_export.metadata.to_h
|
4696
4740
|
|
4697
|
-
# Set x-goog-api-client
|
4741
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4698
4742
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4699
4743
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4700
4744
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4745
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4701
4746
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4702
4747
|
|
4703
4748
|
header_params = {}
|
@@ -4782,10 +4827,11 @@ module Google
|
|
4782
4827
|
# Customize the options with defaults
|
4783
4828
|
metadata = @config.rpcs.delete_big_query_export.metadata.to_h
|
4784
4829
|
|
4785
|
-
# Set x-goog-api-client
|
4830
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4786
4831
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4787
4832
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4788
4833
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4834
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4789
4835
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4790
4836
|
|
4791
4837
|
header_params = {}
|
@@ -4870,10 +4916,11 @@ module Google
|
|
4870
4916
|
# Customize the options with defaults
|
4871
4917
|
metadata = @config.rpcs.update_big_query_export.metadata.to_h
|
4872
4918
|
|
4873
|
-
# Set x-goog-api-client
|
4919
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4874
4920
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4875
4921
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4876
4922
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
4923
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4877
4924
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4878
4925
|
|
4879
4926
|
header_params = {}
|
@@ -4975,10 +5022,11 @@ module Google
|
|
4975
5022
|
# Customize the options with defaults
|
4976
5023
|
metadata = @config.rpcs.list_big_query_exports.metadata.to_h
|
4977
5024
|
|
4978
|
-
# Set x-goog-api-client
|
5025
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4979
5026
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4980
5027
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4981
5028
|
gapic_version: ::Google::Cloud::SecurityCenter::V1::VERSION
|
5029
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4982
5030
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4983
5031
|
|
4984
5032
|
header_params = {}
|