google-cloud-security_center-v1p1beta1 0.13.2 → 0.14.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 -2
- data/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb +49 -23
- data/lib/google/cloud/security_center/v1p1beta1/security_center/operations.rb +13 -5
- data/lib/google/cloud/security_center/v1p1beta1/security_center/rest/client.rb +49 -23
- data/lib/google/cloud/security_center/v1p1beta1/security_center/rest/operations.rb +11 -4
- data/lib/google/cloud/security_center/v1p1beta1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1p1beta1/finding_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1p1beta1/notification_config_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1p1beta1/resource_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +18 -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: d948b78419ed51a172961064e3e521c023752a7a880b567bfde6a16920b8534b
|
4
|
+
data.tar.gz: 79080e637805cf14a87bc7fb27fc7fe3c8735ac6778ba2eeab77860a0a52984d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 437e443d585e536e539d7bb5b70d8f86e9f776d8a859969ce1b5b1a7b4b7a330ffda8d5b57997b89ce0cea41f176802b50cd4194d4a0fd4ddcd05ed4750db329
|
7
|
+
data.tar.gz: e13300a8aa7f3ca08db871dede47a4ef3b4cd63a55429d24fe0cf1b9aae8cb9796981a00e0799688da4f70fde7735ebdebd1f9eceeffad43067cf872742043e1
|
data/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
Security Command Center API provides access to temporal views of assets and findings within an organization.
|
4
4
|
|
5
|
-
Security Command Center API provides access to temporal views of assets and findings within an organization.
|
6
5
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
8
7
|
|
@@ -76,7 +75,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
75
|
|
77
76
|
## Supported Ruby Versions
|
78
77
|
|
79
|
-
This library is supported on Ruby 2.
|
78
|
+
This library is supported on Ruby 2.7+.
|
80
79
|
|
81
80
|
Google provides official support for Ruby versions that are actively supported
|
82
81
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# V1p1Beta1 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
|
|
@@ -312,10 +315,11 @@ module Google
|
|
312
315
|
# Customize the options with defaults
|
313
316
|
metadata = @config.rpcs.create_source.metadata.to_h
|
314
317
|
|
315
|
-
# Set x-goog-api-client
|
318
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
316
319
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
317
320
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
318
321
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
322
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
319
323
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
320
324
|
|
321
325
|
header_params = {}
|
@@ -404,10 +408,11 @@ module Google
|
|
404
408
|
# Customize the options with defaults
|
405
409
|
metadata = @config.rpcs.create_finding.metadata.to_h
|
406
410
|
|
407
|
-
# Set x-goog-api-client
|
411
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
408
412
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
409
413
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
410
414
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
415
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
411
416
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
412
417
|
|
413
418
|
header_params = {}
|
@@ -497,10 +502,11 @@ module Google
|
|
497
502
|
# Customize the options with defaults
|
498
503
|
metadata = @config.rpcs.create_notification_config.metadata.to_h
|
499
504
|
|
500
|
-
# Set x-goog-api-client
|
505
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
501
506
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
502
507
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
503
508
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
509
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
504
510
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
505
511
|
|
506
512
|
header_params = {}
|
@@ -583,10 +589,11 @@ module Google
|
|
583
589
|
# Customize the options with defaults
|
584
590
|
metadata = @config.rpcs.delete_notification_config.metadata.to_h
|
585
591
|
|
586
|
-
# Set x-goog-api-client
|
592
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
587
593
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
588
594
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
589
595
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
596
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
590
597
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
591
598
|
|
592
599
|
header_params = {}
|
@@ -672,10 +679,11 @@ module Google
|
|
672
679
|
# Customize the options with defaults
|
673
680
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
674
681
|
|
675
|
-
# Set x-goog-api-client
|
682
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
676
683
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
677
684
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
678
685
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
686
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
679
687
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
680
688
|
|
681
689
|
header_params = {}
|
@@ -758,10 +766,11 @@ module Google
|
|
758
766
|
# Customize the options with defaults
|
759
767
|
metadata = @config.rpcs.get_notification_config.metadata.to_h
|
760
768
|
|
761
|
-
# Set x-goog-api-client
|
769
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
762
770
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
763
771
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
764
772
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
773
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
765
774
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
766
775
|
|
767
776
|
header_params = {}
|
@@ -844,10 +853,11 @@ module Google
|
|
844
853
|
# Customize the options with defaults
|
845
854
|
metadata = @config.rpcs.get_organization_settings.metadata.to_h
|
846
855
|
|
847
|
-
# Set x-goog-api-client
|
856
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
848
857
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
849
858
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
850
859
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
860
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
851
861
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
852
862
|
|
853
863
|
header_params = {}
|
@@ -930,10 +940,11 @@ module Google
|
|
930
940
|
# Customize the options with defaults
|
931
941
|
metadata = @config.rpcs.get_source.metadata.to_h
|
932
942
|
|
933
|
-
# Set x-goog-api-client
|
943
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
934
944
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
935
945
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
936
946
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
947
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
937
948
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
938
949
|
|
939
950
|
header_params = {}
|
@@ -1144,10 +1155,11 @@ module Google
|
|
1144
1155
|
# Customize the options with defaults
|
1145
1156
|
metadata = @config.rpcs.group_assets.metadata.to_h
|
1146
1157
|
|
1147
|
-
# Set x-goog-api-client
|
1158
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1148
1159
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1149
1160
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1150
1161
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
1162
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1151
1163
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1152
1164
|
|
1153
1165
|
header_params = {}
|
@@ -1358,10 +1370,11 @@ module Google
|
|
1358
1370
|
# Customize the options with defaults
|
1359
1371
|
metadata = @config.rpcs.group_findings.metadata.to_h
|
1360
1372
|
|
1361
|
-
# Set x-goog-api-client
|
1373
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1362
1374
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1363
1375
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1364
1376
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
1377
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1365
1378
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1366
1379
|
|
1367
1380
|
header_params = {}
|
@@ -1576,10 +1589,11 @@ module Google
|
|
1576
1589
|
# Customize the options with defaults
|
1577
1590
|
metadata = @config.rpcs.list_assets.metadata.to_h
|
1578
1591
|
|
1579
|
-
# Set x-goog-api-client
|
1592
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1580
1593
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1581
1594
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1582
1595
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
1596
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1583
1597
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1584
1598
|
|
1585
1599
|
header_params = {}
|
@@ -1791,10 +1805,11 @@ module Google
|
|
1791
1805
|
# Customize the options with defaults
|
1792
1806
|
metadata = @config.rpcs.list_findings.metadata.to_h
|
1793
1807
|
|
1794
|
-
# Set x-goog-api-client
|
1808
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1795
1809
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1796
1810
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1797
1811
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
1812
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1798
1813
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1799
1814
|
|
1800
1815
|
header_params = {}
|
@@ -1889,10 +1904,11 @@ module Google
|
|
1889
1904
|
# Customize the options with defaults
|
1890
1905
|
metadata = @config.rpcs.list_notification_configs.metadata.to_h
|
1891
1906
|
|
1892
|
-
# Set x-goog-api-client
|
1907
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1893
1908
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1894
1909
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1895
1910
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
1911
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1896
1912
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1897
1913
|
|
1898
1914
|
header_params = {}
|
@@ -1988,10 +2004,11 @@ module Google
|
|
1988
2004
|
# Customize the options with defaults
|
1989
2005
|
metadata = @config.rpcs.list_sources.metadata.to_h
|
1990
2006
|
|
1991
|
-
# Set x-goog-api-client
|
2007
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1992
2008
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1993
2009
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1994
2010
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2011
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1995
2012
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1996
2013
|
|
1997
2014
|
header_params = {}
|
@@ -2087,10 +2104,11 @@ module Google
|
|
2087
2104
|
# Customize the options with defaults
|
2088
2105
|
metadata = @config.rpcs.run_asset_discovery.metadata.to_h
|
2089
2106
|
|
2090
|
-
# Set x-goog-api-client
|
2107
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2091
2108
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2092
2109
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2093
2110
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2111
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2094
2112
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2095
2113
|
|
2096
2114
|
header_params = {}
|
@@ -2180,10 +2198,11 @@ module Google
|
|
2180
2198
|
# Customize the options with defaults
|
2181
2199
|
metadata = @config.rpcs.set_finding_state.metadata.to_h
|
2182
2200
|
|
2183
|
-
# Set x-goog-api-client
|
2201
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2184
2202
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2185
2203
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2186
2204
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2205
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2187
2206
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2188
2207
|
|
2189
2208
|
header_params = {}
|
@@ -2277,10 +2296,11 @@ module Google
|
|
2277
2296
|
# Customize the options with defaults
|
2278
2297
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2279
2298
|
|
2280
|
-
# Set x-goog-api-client
|
2299
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2281
2300
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2282
2301
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2283
2302
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2303
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2284
2304
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2285
2305
|
|
2286
2306
|
header_params = {}
|
@@ -2368,10 +2388,11 @@ module Google
|
|
2368
2388
|
# Customize the options with defaults
|
2369
2389
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2370
2390
|
|
2371
|
-
# Set x-goog-api-client
|
2391
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2372
2392
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2373
2393
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2374
2394
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2395
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2375
2396
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2376
2397
|
|
2377
2398
|
header_params = {}
|
@@ -2467,10 +2488,11 @@ module Google
|
|
2467
2488
|
# Customize the options with defaults
|
2468
2489
|
metadata = @config.rpcs.update_finding.metadata.to_h
|
2469
2490
|
|
2470
|
-
# Set x-goog-api-client
|
2491
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2471
2492
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2472
2493
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2473
2494
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2495
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2474
2496
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2475
2497
|
|
2476
2498
|
header_params = {}
|
@@ -2557,10 +2579,11 @@ module Google
|
|
2557
2579
|
# Customize the options with defaults
|
2558
2580
|
metadata = @config.rpcs.update_notification_config.metadata.to_h
|
2559
2581
|
|
2560
|
-
# Set x-goog-api-client
|
2582
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2561
2583
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2562
2584
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2563
2585
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2586
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2564
2587
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2565
2588
|
|
2566
2589
|
header_params = {}
|
@@ -2646,10 +2669,11 @@ module Google
|
|
2646
2669
|
# Customize the options with defaults
|
2647
2670
|
metadata = @config.rpcs.update_organization_settings.metadata.to_h
|
2648
2671
|
|
2649
|
-
# Set x-goog-api-client
|
2672
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2650
2673
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2651
2674
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2652
2675
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2676
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2653
2677
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2654
2678
|
|
2655
2679
|
header_params = {}
|
@@ -2735,10 +2759,11 @@ module Google
|
|
2735
2759
|
# Customize the options with defaults
|
2736
2760
|
metadata = @config.rpcs.update_source.metadata.to_h
|
2737
2761
|
|
2738
|
-
# Set x-goog-api-client
|
2762
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2739
2763
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2740
2764
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2741
2765
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2766
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2742
2767
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2743
2768
|
|
2744
2769
|
header_params = {}
|
@@ -2830,10 +2855,11 @@ module Google
|
|
2830
2855
|
# Customize the options with defaults
|
2831
2856
|
metadata = @config.rpcs.update_security_marks.metadata.to_h
|
2832
2857
|
|
2833
|
-
# Set x-goog-api-client
|
2858
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2834
2859
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2835
2860
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2836
2861
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION
|
2862
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2837
2863
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2838
2864
|
|
2839
2865
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module SecurityCenter
|
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 = "securitycenter.$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::SecurityCenter::V1p1beta1::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::SecurityCenter::V1p1beta1::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::SecurityCenter::V1p1beta1::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::SecurityCenter::V1p1beta1::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::SecurityCenter::V1p1beta1::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,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# V1p1Beta1 APIs for Security Center service.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "securitycenter.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -304,12 +307,13 @@ module Google
|
|
304
307
|
# Customize the options with defaults
|
305
308
|
call_metadata = @config.rpcs.create_source.metadata.to_h
|
306
309
|
|
307
|
-
# Set x-goog-api-client
|
310
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
308
311
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
309
312
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
310
313
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
311
314
|
transports_version_send: [:rest]
|
312
315
|
|
316
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
313
317
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
314
318
|
|
315
319
|
options.apply_defaults timeout: @config.rpcs.create_source.timeout,
|
@@ -389,12 +393,13 @@ module Google
|
|
389
393
|
# Customize the options with defaults
|
390
394
|
call_metadata = @config.rpcs.create_finding.metadata.to_h
|
391
395
|
|
392
|
-
# Set x-goog-api-client
|
396
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
393
397
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
394
398
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
395
399
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
396
400
|
transports_version_send: [:rest]
|
397
401
|
|
402
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
398
403
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
399
404
|
|
400
405
|
options.apply_defaults timeout: @config.rpcs.create_finding.timeout,
|
@@ -475,12 +480,13 @@ module Google
|
|
475
480
|
# Customize the options with defaults
|
476
481
|
call_metadata = @config.rpcs.create_notification_config.metadata.to_h
|
477
482
|
|
478
|
-
# Set x-goog-api-client
|
483
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
479
484
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
480
485
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
481
486
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
482
487
|
transports_version_send: [:rest]
|
483
488
|
|
489
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
484
490
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
485
491
|
|
486
492
|
options.apply_defaults timeout: @config.rpcs.create_notification_config.timeout,
|
@@ -554,12 +560,13 @@ module Google
|
|
554
560
|
# Customize the options with defaults
|
555
561
|
call_metadata = @config.rpcs.delete_notification_config.metadata.to_h
|
556
562
|
|
557
|
-
# Set x-goog-api-client
|
563
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
558
564
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
559
565
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
560
566
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
561
567
|
transports_version_send: [:rest]
|
562
568
|
|
569
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
563
570
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
564
571
|
|
565
572
|
options.apply_defaults timeout: @config.rpcs.delete_notification_config.timeout,
|
@@ -636,12 +643,13 @@ module Google
|
|
636
643
|
# Customize the options with defaults
|
637
644
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
638
645
|
|
639
|
-
# Set x-goog-api-client
|
646
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
640
647
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
641
648
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
642
649
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
643
650
|
transports_version_send: [:rest]
|
644
651
|
|
652
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
645
653
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
646
654
|
|
647
655
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -715,12 +723,13 @@ module Google
|
|
715
723
|
# Customize the options with defaults
|
716
724
|
call_metadata = @config.rpcs.get_notification_config.metadata.to_h
|
717
725
|
|
718
|
-
# Set x-goog-api-client
|
726
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
719
727
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
720
728
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
721
729
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
722
730
|
transports_version_send: [:rest]
|
723
731
|
|
732
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
724
733
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
725
734
|
|
726
735
|
options.apply_defaults timeout: @config.rpcs.get_notification_config.timeout,
|
@@ -794,12 +803,13 @@ module Google
|
|
794
803
|
# Customize the options with defaults
|
795
804
|
call_metadata = @config.rpcs.get_organization_settings.metadata.to_h
|
796
805
|
|
797
|
-
# Set x-goog-api-client
|
806
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
798
807
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
799
808
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
800
809
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
801
810
|
transports_version_send: [:rest]
|
802
811
|
|
812
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
803
813
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
804
814
|
|
805
815
|
options.apply_defaults timeout: @config.rpcs.get_organization_settings.timeout,
|
@@ -873,12 +883,13 @@ module Google
|
|
873
883
|
# Customize the options with defaults
|
874
884
|
call_metadata = @config.rpcs.get_source.metadata.to_h
|
875
885
|
|
876
|
-
# Set x-goog-api-client
|
886
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
877
887
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
878
888
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
879
889
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
880
890
|
transports_version_send: [:rest]
|
881
891
|
|
892
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
882
893
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
883
894
|
|
884
895
|
options.apply_defaults timeout: @config.rpcs.get_source.timeout,
|
@@ -1080,12 +1091,13 @@ module Google
|
|
1080
1091
|
# Customize the options with defaults
|
1081
1092
|
call_metadata = @config.rpcs.group_assets.metadata.to_h
|
1082
1093
|
|
1083
|
-
# Set x-goog-api-client
|
1094
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1084
1095
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1085
1096
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1086
1097
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
1087
1098
|
transports_version_send: [:rest]
|
1088
1099
|
|
1100
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1089
1101
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1090
1102
|
|
1091
1103
|
options.apply_defaults timeout: @config.rpcs.group_assets.timeout,
|
@@ -1287,12 +1299,13 @@ module Google
|
|
1287
1299
|
# Customize the options with defaults
|
1288
1300
|
call_metadata = @config.rpcs.group_findings.metadata.to_h
|
1289
1301
|
|
1290
|
-
# Set x-goog-api-client
|
1302
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1291
1303
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1292
1304
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1293
1305
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
1294
1306
|
transports_version_send: [:rest]
|
1295
1307
|
|
1308
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1296
1309
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1297
1310
|
|
1298
1311
|
options.apply_defaults timeout: @config.rpcs.group_findings.timeout,
|
@@ -1498,12 +1511,13 @@ module Google
|
|
1498
1511
|
# Customize the options with defaults
|
1499
1512
|
call_metadata = @config.rpcs.list_assets.metadata.to_h
|
1500
1513
|
|
1501
|
-
# Set x-goog-api-client
|
1514
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1502
1515
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1503
1516
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1504
1517
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
1505
1518
|
transports_version_send: [:rest]
|
1506
1519
|
|
1520
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1507
1521
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1508
1522
|
|
1509
1523
|
options.apply_defaults timeout: @config.rpcs.list_assets.timeout,
|
@@ -1706,12 +1720,13 @@ module Google
|
|
1706
1720
|
# Customize the options with defaults
|
1707
1721
|
call_metadata = @config.rpcs.list_findings.metadata.to_h
|
1708
1722
|
|
1709
|
-
# Set x-goog-api-client
|
1723
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1710
1724
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1711
1725
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1712
1726
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
1713
1727
|
transports_version_send: [:rest]
|
1714
1728
|
|
1729
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1715
1730
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1716
1731
|
|
1717
1732
|
options.apply_defaults timeout: @config.rpcs.list_findings.timeout,
|
@@ -1797,12 +1812,13 @@ module Google
|
|
1797
1812
|
# Customize the options with defaults
|
1798
1813
|
call_metadata = @config.rpcs.list_notification_configs.metadata.to_h
|
1799
1814
|
|
1800
|
-
# Set x-goog-api-client
|
1815
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1801
1816
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1802
1817
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1803
1818
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
1804
1819
|
transports_version_send: [:rest]
|
1805
1820
|
|
1821
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1806
1822
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1807
1823
|
|
1808
1824
|
options.apply_defaults timeout: @config.rpcs.list_notification_configs.timeout,
|
@@ -1889,12 +1905,13 @@ module Google
|
|
1889
1905
|
# Customize the options with defaults
|
1890
1906
|
call_metadata = @config.rpcs.list_sources.metadata.to_h
|
1891
1907
|
|
1892
|
-
# Set x-goog-api-client
|
1908
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1893
1909
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1894
1910
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1895
1911
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
1896
1912
|
transports_version_send: [:rest]
|
1897
1913
|
|
1914
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1898
1915
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1899
1916
|
|
1900
1917
|
options.apply_defaults timeout: @config.rpcs.list_sources.timeout,
|
@@ -1981,12 +1998,13 @@ module Google
|
|
1981
1998
|
# Customize the options with defaults
|
1982
1999
|
call_metadata = @config.rpcs.run_asset_discovery.metadata.to_h
|
1983
2000
|
|
1984
|
-
# Set x-goog-api-client
|
2001
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1985
2002
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1986
2003
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1987
2004
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
1988
2005
|
transports_version_send: [:rest]
|
1989
2006
|
|
2007
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1990
2008
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1991
2009
|
|
1992
2010
|
options.apply_defaults timeout: @config.rpcs.run_asset_discovery.timeout,
|
@@ -2067,12 +2085,13 @@ module Google
|
|
2067
2085
|
# Customize the options with defaults
|
2068
2086
|
call_metadata = @config.rpcs.set_finding_state.metadata.to_h
|
2069
2087
|
|
2070
|
-
# Set x-goog-api-client
|
2088
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2071
2089
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2072
2090
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2073
2091
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2074
2092
|
transports_version_send: [:rest]
|
2075
2093
|
|
2094
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2076
2095
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2077
2096
|
|
2078
2097
|
options.apply_defaults timeout: @config.rpcs.set_finding_state.timeout,
|
@@ -2157,12 +2176,13 @@ module Google
|
|
2157
2176
|
# Customize the options with defaults
|
2158
2177
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2159
2178
|
|
2160
|
-
# Set x-goog-api-client
|
2179
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2161
2180
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2162
2181
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2163
2182
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2164
2183
|
transports_version_send: [:rest]
|
2165
2184
|
|
2185
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2166
2186
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2167
2187
|
|
2168
2188
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -2241,12 +2261,13 @@ module Google
|
|
2241
2261
|
# Customize the options with defaults
|
2242
2262
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2243
2263
|
|
2244
|
-
# Set x-goog-api-client
|
2264
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2245
2265
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2246
2266
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2247
2267
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2248
2268
|
transports_version_send: [:rest]
|
2249
2269
|
|
2270
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2250
2271
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2251
2272
|
|
2252
2273
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -2333,12 +2354,13 @@ module Google
|
|
2333
2354
|
# Customize the options with defaults
|
2334
2355
|
call_metadata = @config.rpcs.update_finding.metadata.to_h
|
2335
2356
|
|
2336
|
-
# Set x-goog-api-client
|
2357
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2337
2358
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2338
2359
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2339
2360
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2340
2361
|
transports_version_send: [:rest]
|
2341
2362
|
|
2363
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2342
2364
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2343
2365
|
|
2344
2366
|
options.apply_defaults timeout: @config.rpcs.update_finding.timeout,
|
@@ -2416,12 +2438,13 @@ module Google
|
|
2416
2438
|
# Customize the options with defaults
|
2417
2439
|
call_metadata = @config.rpcs.update_notification_config.metadata.to_h
|
2418
2440
|
|
2419
|
-
# Set x-goog-api-client
|
2441
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2420
2442
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2421
2443
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2422
2444
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2423
2445
|
transports_version_send: [:rest]
|
2424
2446
|
|
2447
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2425
2448
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2426
2449
|
|
2427
2450
|
options.apply_defaults timeout: @config.rpcs.update_notification_config.timeout,
|
@@ -2498,12 +2521,13 @@ module Google
|
|
2498
2521
|
# Customize the options with defaults
|
2499
2522
|
call_metadata = @config.rpcs.update_organization_settings.metadata.to_h
|
2500
2523
|
|
2501
|
-
# Set x-goog-api-client
|
2524
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2502
2525
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2503
2526
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2504
2527
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2505
2528
|
transports_version_send: [:rest]
|
2506
2529
|
|
2530
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2507
2531
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2508
2532
|
|
2509
2533
|
options.apply_defaults timeout: @config.rpcs.update_organization_settings.timeout,
|
@@ -2580,12 +2604,13 @@ module Google
|
|
2580
2604
|
# Customize the options with defaults
|
2581
2605
|
call_metadata = @config.rpcs.update_source.metadata.to_h
|
2582
2606
|
|
2583
|
-
# Set x-goog-api-client
|
2607
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2584
2608
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2585
2609
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2586
2610
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2587
2611
|
transports_version_send: [:rest]
|
2588
2612
|
|
2613
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2589
2614
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2590
2615
|
|
2591
2616
|
options.apply_defaults timeout: @config.rpcs.update_source.timeout,
|
@@ -2668,12 +2693,13 @@ module Google
|
|
2668
2693
|
# Customize the options with defaults
|
2669
2694
|
call_metadata = @config.rpcs.update_security_marks.metadata.to_h
|
2670
2695
|
|
2671
|
-
# Set x-goog-api-client
|
2696
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2672
2697
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2673
2698
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2674
2699
|
gapic_version: ::Google::Cloud::SecurityCenter::V1p1beta1::VERSION,
|
2675
2700
|
transports_version_send: [:rest]
|
2676
2701
|
|
2702
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2677
2703
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2678
2704
|
|
2679
2705
|
options.apply_defaults timeout: @config.rpcs.update_security_marks.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 = "securitycenter.$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::SecurityCenter::V1p1beta1::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::SecurityCenter::V1p1beta1::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::SecurityCenter::V1p1beta1::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::SecurityCenter::V1p1beta1::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,
|
@@ -11,7 +11,7 @@ require 'google/protobuf/struct_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n3google/cloud/securitycenter/v1p1beta1/finding.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a:google/cloud/securitycenter/v1p1beta1/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
14
|
+
descriptor_data = "\n3google/cloud/securitycenter/v1p1beta1/finding.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a:google/cloud/securitycenter/v1p1beta1/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdf\x07\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12\x43\n\x05state\x18\x04 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1p1beta1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12_\n\x11source_properties\x18\x07 \x03(\x0b\x32\x44.google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry\x12Q\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x08severity\x18\r \x01(\x0e\x32\x37.google.cloud.securitycenter.v1p1beta1.Finding.Severity\x12\x16\n\x0e\x63\x61nonical_name\x18\x0e \x01(\t\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04:\xdb\x01\xea\x41\xd7\x01\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}\x12\x34\x66olders/{folder}/sources/{source}/findings/{finding}\x12\x36projects/{project}/sources/{source}/findings/{finding}B\xfb\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZQcloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n?google/cloud/securitycenter/v1p1beta1/notification_config.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\
|
11
|
+
descriptor_data = "\n?google/cloud/securitycenter/v1p1beta1/notification_config.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xb6\x04\n\x12NotificationConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12W\n\nevent_type\x18\x03 \x01(\x0e\x32\x43.google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType\x12\x36\n\x0cpubsub_topic\x18\x04 \x01(\tB \xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x1c\n\x0fservice_account\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x65\n\x10streaming_config\x18\x06 \x01(\x0b\x32I.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfigH\x00\x1a!\n\x0fStreamingConfig\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\"4\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46INDING\x10\x01:}\xea\x41z\n0securitycenter.googleapis.com/NotificationConfig\x12\x46organizations/{organization}/notificationConfigs/{notification_config}B\x0f\n\rnotify_configB\xbe\x02\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZQcloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/cloud/securitycenter/v1p1beta1/folder_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n4google/cloud/securitycenter/v1p1beta1/resource.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x32google/cloud/securitycenter/v1p1beta1/folder.proto\"\
|
11
|
+
descriptor_data = "\n4google/cloud/securitycenter/v1p1beta1/resource.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x32google/cloud/securitycenter/v1p1beta1/folder.proto\"\xb9\x01\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t\x12\x43\n\x07\x66olders\x18\x07 \x03(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.FolderB\x03\xe0\x41\x03\x42\x8a\x02\n)com.google.cloud.securitycenter.v1p1beta1B\rResourceProtoP\x01ZQcloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -27,7 +27,7 @@ require 'google/protobuf/struct_pb'
|
|
27
27
|
require 'google/protobuf/timestamp_pb'
|
28
28
|
|
29
29
|
|
30
|
-
descriptor_data = "\nBgoogle/cloud/securitycenter/v1p1beta1/securitycenter_service.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a@google/cloud/securitycenter/v1p1beta1/notification_message.proto\x1aHgoogle/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/securitycenter/v1p1beta1/asset.proto\x1a\x33google/cloud/securitycenter/v1p1beta1/finding.proto\x1a\x32google/cloud/securitycenter/v1p1beta1/folder.proto\x1a?google/cloud/securitycenter/v1p1beta1/notification_config.proto\x1a\x41google/cloud/securitycenter/v1p1beta1/organization_settings.proto\x1a:google/cloud/securitycenter/v1p1beta1/security_marks.proto\x1a\x32google/cloud/securitycenter/v1p1beta1/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb6\x01\n\x14\x43reateFindingRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x18\n\nfinding_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x45\n\x07\x66inding\x18\x03 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x04\xe2\x41\x01\x02\"\xe3\x01\n\x1f\x43reateNotificationConfigRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x17\n\tconfig_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\\\n\x13notification_config\x18\x03 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x04\xe2\x41\x01\x02\"\xa5\x01\n\x13\x43reateSourceRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x43\n\x06source\x18\x02 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x04\xe2\x41\x01\x02\"j\n\x1f\x44\x65leteNotificationConfigRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig\"g\n\x1cGetNotificationConfigRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig\"k\n\x1eGetOrganizationSettingsRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe2\x41\x01\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings\"O\n\x10GetSourceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\"\x85\x02\n\x12GroupAssetsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\x12#securitycenter.googleapis.com/Asset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x16\n\x08group_by\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05\"\xbf\x01\n\x13GroupAssetsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\x88\x02\n\x14GroupFindingsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x16\n\x08group_by\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05\"\xc1\x01\n\x15GroupFindingsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\xbf\x01\n\x0bGroupResult\x12V\n\nproperties\x18\x01 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1p1beta1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"\x92\x01\n\x1eListNotificationConfigsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"\x93\x01\n\x1fListNotificationConfigsResponse\x12W\n\x14notification_configs\x18\x01 \x03(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"z\n\x12ListSourcesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\x12$securitycenter.googleapis.com/Source\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05\"n\n\x13ListSourcesResponse\x12>\n\x07sources\x18\x01 \x03(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xae\x02\n\x11ListAssetsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\x12#securitycenter.googleapis.com/Asset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05\"\xd8\x03\n\x12ListAssetsResponse\x12g\n\x13list_assets_results\x18\x01 \x03(\x0b\x32J.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xfc\x01\n\x10ListAssetsResult\x12;\n\x05\x61sset\x18\x01 \x01(\x0b\x32,.google.cloud.securitycenter.v1p1beta1.Asset\x12l\n\x0cstate_change\x18\x02 \x01(\x0e\x32V.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange\"=\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\"\xb1\x02\n\x13ListFindingsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05\"\xac\x06\n\x14ListFindingsResponse\x12m\n\x15list_findings_results\x18\x01 \x03(\x0b\x32N.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xc8\x04\n\x12ListFindingsResult\x12?\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.Finding\x12p\n\x0cstate_change\x18\x02 \x01(\x0e\x32Z.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange\x12o\n\x08resource\x18\x03 \x01(\x0b\x32W.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.ResourceB\x04\xe2\x41\x01\x03\x1a\xbe\x01\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cproject_name\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x13\n\x0bparent_name\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t\x12>\n\x07\x66olders\x18\n \x03(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.Folder\"M\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07\x43HANGED\x10\x01\x12\r\n\tUNCHANGED\x10\x02\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\"\xd7\x01\n\x16SetFindingStateRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe2\x41\x01\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12I\n\x05state\x18\x02 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1p1beta1.Finding.StateB\x04\xe2\x41\x01\x02\x12\x34\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\"e\n\x18RunAssetDiscoveryRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\"\x8e\x01\n\x14UpdateFindingRequest\x12\x45\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xb0\x01\n\x1fUpdateNotificationConfigRequest\x12\\\n\x13notification_config\x18\x01 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xb6\x01\n!UpdateOrganizationSettingsRequest\x12`\n\x15organization_settings\x18\x01 \x01(\x0b\x32;.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x8b\x01\n\x13UpdateSourceRequest\x12\x43\n\x06source\x18\x01 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xd1\x01\n\x1aUpdateSecurityMarksRequest\x12R\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarksB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xf8\x33\n\x0eSecurityCenter\x12\xc6\x01\n\x0c\x43reateSource\x12:.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source\"K\xda\x41\rparent,source\x82\xd3\xe4\x93\x02\x35\"+/v1p1beta1/{parent=organizations/*}/sources:\x06source\x12\xfd\x01\n\rCreateFinding\x12;.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding\"\x7f\xda\x41\x19parent,finding_id,finding\xda\x41\x19parent,finding,finding_id\x82\xd3\xe4\x93\x02\x41\"6/v1p1beta1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\x12\xb8\x02\n\x18\x43reateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\"\x98\x01\xda\x41$parent,config_id,notification_config\xda\x41\x1aparent,notification_config\x82\xd3\xe4\x93\x02N\"7/v1p1beta1/{parent=organizations/*}/notificationConfigs:\x13notification_config\x12\xc2\x01\n\x18\x44\x65leteNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1p1beta1/{name=organizations/*/notificationConfigs/*}\x12\x9d\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"R\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x41\"</v1p1beta1/{resource=organizations/*/sources/*}:getIamPolicy:\x01*\x12\xdf\x01\n\x15GetNotificationConfig\x12\x43.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1p1beta1/{name=organizations/*/notificationConfigs/*}\x12\xe4\x01\n\x17GetOrganizationSettings\x12\x45.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.OrganizationSettings\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1p1beta1/{name=organizations/*/organizationSettings}\x12\xaf\x01\n\tGetSource\x12\x37.google.cloud.securitycenter.v1p1beta1.GetSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1p1beta1/{name=organizations/*/sources/*}\x12\xa6\x02\n\x0bGroupAssets\x12\x39.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest\x1a:.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse\"\x9f\x01\x82\xd3\xe4\x93\x02\x98\x01\"0/v1p1beta1/{parent=organizations/*}/assets:group:\x01*Z/\"*/v1p1beta1/{parent=folders/*}/assets:group:\x01*Z0\"+/v1p1beta1/{parent=projects/*}/assets:group:\x01*\x12\xe2\x02\n\rGroupFindings\x12;.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest\x1a<.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse\"\xd5\x01\xda\x41\x0fparent,group_by\x82\xd3\xe4\x93\x02\xbc\x01\"</v1p1beta1/{parent=organizations/*/sources/*}/findings:group:\x01*Z;\"6/v1p1beta1/{parent=folders/*/sources/*}/findings:group:\x01*Z<\"7/v1p1beta1/{parent=projects/*/sources/*}/findings:group:\x01*\x12\x90\x02\n\nListAssets\x12\x38.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse\"\x8c\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02}\x12*/v1p1beta1/{parent=organizations/*}/assetsZ&\x12$/v1p1beta1/{parent=folders/*}/assetsZ\'\x12%/v1p1beta1/{parent=projects/*}/assets\x12\xbb\x02\n\x0cListFindings\x12:.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse\"\xb1\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xa1\x01\x12\x36/v1p1beta1/{parent=organizations/*/sources/*}/findingsZ2\x12\x30/v1p1beta1/{parent=folders/*/sources/*}/findingsZ3\x12\x31/v1p1beta1/{parent=projects/*/sources/*}/findings\x12\xf2\x01\n\x17ListNotificationConfigs\x12\x45.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest\x1a\x46.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1p1beta1/{parent=organizations/*}/notificationConfigs\x12\x97\x02\n\x0bListSources\x12\x39.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest\x1a:.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse\"\x90\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x80\x01\x12+/v1p1beta1/{parent=organizations/*}/sourcesZ\'\x12%/v1p1beta1/{parent=folders/*}/sourcesZ(\x12&/v1p1beta1/{parent=projects/*}/sources\x12\x9c\x02\n\x11RunAssetDiscovery\x12?.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41X\n?google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse\x12\x15google.protobuf.Empty\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\"7/v1p1beta1/{parent=organizations/*}/assets:runDiscovery:\x01*\x12\xe7\x02\n\x0fSetFindingState\x12=.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding\"\xe4\x01\xda\x41\x15name,state,start_time\x82\xd3\xe4\x93\x02\xc5\x01\"?/v1p1beta1/{name=organizations/*/sources/*/findings/*}:setState:\x01*Z>\"9/v1p1beta1/{name=folders/*/sources/*/findings/*}:setState:\x01*Z?\":/v1p1beta1/{name=projects/*/sources/*/findings/*}:setState:\x01*\x12\xa4\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"Y\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x41\"</v1p1beta1/{resource=organizations/*/sources/*}:setIamPolicy:\x01*\x12\xcf\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"d\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02G\"B/v1p1beta1/{resource=organizations/*/sources/*}:testIamPermissions:\x01*\x12\xfa\x02\n\rUpdateFinding\x12;.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding\"\xfb\x01\xda\x41\x07\x66inding\xda\x41\x13\x66inding,update_mask\x82\xd3\xe4\x93\x02\xd4\x01\x32>/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}:\x07\x66indingZC28/v1p1beta1/{finding.name=folders/*/sources/*/findings/*}:\x07\x66indingZD29/v1p1beta1/{finding.name=projects/*/sources/*/findings/*}:\x07\x66inding\x12\xc0\x02\n\x18UpdateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\"\xa0\x01\xda\x41\x13notification_config\xda\x41\x1fnotification_config,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}:\x13notification_config\x12\xa9\x02\n\x1aUpdateOrganizationSettings\x12H.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.OrganizationSettings\"\x83\x01\xda\x41\x15organization_settings\x82\xd3\xe4\x93\x02\x65\x32L/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}:\x15organization_settings\x12\xdb\x01\n\x0cUpdateSource\x12:.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source\"`\xda\x41\x06source\xda\x41\x12source,update_mask\x82\xd3\xe4\x93\x02<22/v1p1beta1/{source.name=organizations/*/sources/*}:\x06source\x12\xf4\x05\n\x13UpdateSecurityMarks\x12\x41.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest\x1a\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarks\"\xe3\x04\xda\x41\x0esecurity_marks\xda\x41\x1asecurity_marks,update_mask\x82\xd3\xe4\x93\x02\xae\x04\x32G/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}:\x0esecurity_marksZS2A/v1p1beta1/{security_marks.name=folders/*/assets/*/securityMarks}:\x0esecurity_marksZT2B/v1p1beta1/{security_marks.name=projects/*/assets/*/securityMarks}:\x0esecurity_marksZe2S/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\x0esecurity_marksZ_2M/v1p1beta1/{security_marks.name=folders/*/sources/*/findings/*/securityMarks}:\x0esecurity_marksZ`2N/v1p1beta1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}:\x0esecurity_marks\x1aQ\xca\x41\x1dsecuritycenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfb\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZQcloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1P\x00P\x01\x62\x06proto3"
|
30
|
+
descriptor_data = "\nBgoogle/cloud/securitycenter/v1p1beta1/securitycenter_service.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a@google/cloud/securitycenter/v1p1beta1/notification_message.proto\x1aHgoogle/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/securitycenter/v1p1beta1/asset.proto\x1a\x33google/cloud/securitycenter/v1p1beta1/finding.proto\x1a\x32google/cloud/securitycenter/v1p1beta1/folder.proto\x1a?google/cloud/securitycenter/v1p1beta1/notification_config.proto\x1a\x41google/cloud/securitycenter/v1p1beta1/organization_settings.proto\x1a:google/cloud/securitycenter/v1p1beta1/security_marks.proto\x1a\x32google/cloud/securitycenter/v1p1beta1/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x07\x66inding\x18\x03 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x03\xe0\x41\x02\"\xe0\x01\n\x1f\x43reateNotificationConfigRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n\x13notification_config\x18\x03 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x03\xe0\x41\x02\"\xa3\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x42\n\x06source\x18\x02 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x03\xe0\x41\x02\"i\n\x1f\x44\x65leteNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig\"f\n\x1cGetNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig\"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings\"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\"\x83\x02\n\x12GroupAssetsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#securitycenter.googleapis.com/Asset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05\"\xbf\x01\n\x13GroupAssetsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\x86\x02\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05\"\xc1\x01\n\x15GroupFindingsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\xbf\x01\n\x0bGroupResult\x12V\n\nproperties\x18\x01 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1p1beta1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"\x91\x01\n\x1eListNotificationConfigsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"\x93\x01\n\x1fListNotificationConfigsResponse\x12W\n\x14notification_configs\x18\x01 \x03(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"y\n\x12ListSourcesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$securitycenter.googleapis.com/Source\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05\"n\n\x13ListSourcesResponse\x12>\n\x07sources\x18\x01 \x03(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x02\n\x11ListAssetsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#securitycenter.googleapis.com/Asset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05\"\xd8\x03\n\x12ListAssetsResponse\x12g\n\x13list_assets_results\x18\x01 \x03(\x0b\x32J.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xfc\x01\n\x10ListAssetsResult\x12;\n\x05\x61sset\x18\x01 \x01(\x0b\x32,.google.cloud.securitycenter.v1p1beta1.Asset\x12l\n\x0cstate_change\x18\x02 \x01(\x0e\x32V.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange\"=\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\"\xb0\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05\"\xab\x06\n\x14ListFindingsResponse\x12m\n\x15list_findings_results\x18\x01 \x03(\x0b\x32N.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xc7\x04\n\x12ListFindingsResult\x12?\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.Finding\x12p\n\x0cstate_change\x18\x02 \x01(\x0e\x32Z.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange\x12n\n\x08resource\x18\x03 \x01(\x0b\x32W.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.ResourceB\x03\xe0\x41\x03\x1a\xbe\x01\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cproject_name\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x13\n\x0bparent_name\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t\x12>\n\x07\x66olders\x18\n \x03(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.Folder\"M\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07\x43HANGED\x10\x01\x12\r\n\tUNCHANGED\x10\x02\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\"\xd4\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12H\n\x05state\x18\x02 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1p1beta1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\"\x8d\x01\n\x14UpdateFindingRequest\x12\x44\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xaf\x01\n\x1fUpdateNotificationConfigRequest\x12[\n\x13notification_config\x18\x01 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xb5\x01\n!UpdateOrganizationSettingsRequest\x12_\n\x15organization_settings\x18\x01 \x01(\x0b\x32;.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x8a\x01\n\x13UpdateSourceRequest\x12\x42\n\x06source\x18\x01 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xd0\x01\n\x1aUpdateSecurityMarksRequest\x12Q\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xf8\x33\n\x0eSecurityCenter\x12\xc6\x01\n\x0c\x43reateSource\x12:.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source\"K\xda\x41\rparent,source\x82\xd3\xe4\x93\x02\x35\"+/v1p1beta1/{parent=organizations/*}/sources:\x06source\x12\xfd\x01\n\rCreateFinding\x12;.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding\"\x7f\xda\x41\x19parent,finding_id,finding\xda\x41\x19parent,finding,finding_id\x82\xd3\xe4\x93\x02\x41\"6/v1p1beta1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\x12\xb8\x02\n\x18\x43reateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\"\x98\x01\xda\x41$parent,config_id,notification_config\xda\x41\x1aparent,notification_config\x82\xd3\xe4\x93\x02N\"7/v1p1beta1/{parent=organizations/*}/notificationConfigs:\x13notification_config\x12\xc2\x01\n\x18\x44\x65leteNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1p1beta1/{name=organizations/*/notificationConfigs/*}\x12\x9d\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"R\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x41\"</v1p1beta1/{resource=organizations/*/sources/*}:getIamPolicy:\x01*\x12\xdf\x01\n\x15GetNotificationConfig\x12\x43.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1p1beta1/{name=organizations/*/notificationConfigs/*}\x12\xe4\x01\n\x17GetOrganizationSettings\x12\x45.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.OrganizationSettings\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1p1beta1/{name=organizations/*/organizationSettings}\x12\xaf\x01\n\tGetSource\x12\x37.google.cloud.securitycenter.v1p1beta1.GetSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1p1beta1/{name=organizations/*/sources/*}\x12\xa6\x02\n\x0bGroupAssets\x12\x39.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest\x1a:.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse\"\x9f\x01\x82\xd3\xe4\x93\x02\x98\x01\"0/v1p1beta1/{parent=organizations/*}/assets:group:\x01*Z/\"*/v1p1beta1/{parent=folders/*}/assets:group:\x01*Z0\"+/v1p1beta1/{parent=projects/*}/assets:group:\x01*\x12\xe2\x02\n\rGroupFindings\x12;.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest\x1a<.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse\"\xd5\x01\xda\x41\x0fparent,group_by\x82\xd3\xe4\x93\x02\xbc\x01\"</v1p1beta1/{parent=organizations/*/sources/*}/findings:group:\x01*Z;\"6/v1p1beta1/{parent=folders/*/sources/*}/findings:group:\x01*Z<\"7/v1p1beta1/{parent=projects/*/sources/*}/findings:group:\x01*\x12\x90\x02\n\nListAssets\x12\x38.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse\"\x8c\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02}\x12*/v1p1beta1/{parent=organizations/*}/assetsZ&\x12$/v1p1beta1/{parent=folders/*}/assetsZ\'\x12%/v1p1beta1/{parent=projects/*}/assets\x12\xbb\x02\n\x0cListFindings\x12:.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse\"\xb1\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xa1\x01\x12\x36/v1p1beta1/{parent=organizations/*/sources/*}/findingsZ2\x12\x30/v1p1beta1/{parent=folders/*/sources/*}/findingsZ3\x12\x31/v1p1beta1/{parent=projects/*/sources/*}/findings\x12\xf2\x01\n\x17ListNotificationConfigs\x12\x45.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest\x1a\x46.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1p1beta1/{parent=organizations/*}/notificationConfigs\x12\x97\x02\n\x0bListSources\x12\x39.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest\x1a:.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse\"\x90\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x80\x01\x12+/v1p1beta1/{parent=organizations/*}/sourcesZ\'\x12%/v1p1beta1/{parent=folders/*}/sourcesZ(\x12&/v1p1beta1/{parent=projects/*}/sources\x12\x9c\x02\n\x11RunAssetDiscovery\x12?.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41X\n?google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse\x12\x15google.protobuf.Empty\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\"7/v1p1beta1/{parent=organizations/*}/assets:runDiscovery:\x01*\x12\xe7\x02\n\x0fSetFindingState\x12=.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding\"\xe4\x01\xda\x41\x15name,state,start_time\x82\xd3\xe4\x93\x02\xc5\x01\"?/v1p1beta1/{name=organizations/*/sources/*/findings/*}:setState:\x01*Z>\"9/v1p1beta1/{name=folders/*/sources/*/findings/*}:setState:\x01*Z?\":/v1p1beta1/{name=projects/*/sources/*/findings/*}:setState:\x01*\x12\xa4\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"Y\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x41\"</v1p1beta1/{resource=organizations/*/sources/*}:setIamPolicy:\x01*\x12\xcf\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"d\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02G\"B/v1p1beta1/{resource=organizations/*/sources/*}:testIamPermissions:\x01*\x12\xfa\x02\n\rUpdateFinding\x12;.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding\"\xfb\x01\xda\x41\x07\x66inding\xda\x41\x13\x66inding,update_mask\x82\xd3\xe4\x93\x02\xd4\x01\x32>/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}:\x07\x66indingZC28/v1p1beta1/{finding.name=folders/*/sources/*/findings/*}:\x07\x66indingZD29/v1p1beta1/{finding.name=projects/*/sources/*/findings/*}:\x07\x66inding\x12\xc0\x02\n\x18UpdateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\"\xa0\x01\xda\x41\x13notification_config\xda\x41\x1fnotification_config,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}:\x13notification_config\x12\xa9\x02\n\x1aUpdateOrganizationSettings\x12H.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.OrganizationSettings\"\x83\x01\xda\x41\x15organization_settings\x82\xd3\xe4\x93\x02\x65\x32L/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}:\x15organization_settings\x12\xdb\x01\n\x0cUpdateSource\x12:.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source\"`\xda\x41\x06source\xda\x41\x12source,update_mask\x82\xd3\xe4\x93\x02<22/v1p1beta1/{source.name=organizations/*/sources/*}:\x06source\x12\xf4\x05\n\x13UpdateSecurityMarks\x12\x41.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest\x1a\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarks\"\xe3\x04\xda\x41\x0esecurity_marks\xda\x41\x1asecurity_marks,update_mask\x82\xd3\xe4\x93\x02\xae\x04\x32G/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}:\x0esecurity_marksZS2A/v1p1beta1/{security_marks.name=folders/*/assets/*/securityMarks}:\x0esecurity_marksZT2B/v1p1beta1/{security_marks.name=projects/*/assets/*/securityMarks}:\x0esecurity_marksZe2S/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\x0esecurity_marksZ_2M/v1p1beta1/{security_marks.name=folders/*/sources/*/findings/*/securityMarks}:\x0esecurity_marksZ`2N/v1p1beta1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}:\x0esecurity_marks\x1aQ\xca\x41\x1dsecuritycenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfb\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZQcloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1P\x00P\x01\x62\x06proto3"
|
31
31
|
|
32
32
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
33
33
|
|
@@ -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
|
@@ -286,6 +290,13 @@ module Google
|
|
286
290
|
# @return [::String]
|
287
291
|
# The fully qualified name of the method, for which the options below apply.
|
288
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
289
300
|
# @!attribute [rw] long_running
|
290
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
302
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +305,14 @@ module Google
|
|
294
305
|
#
|
295
306
|
# Example of a YAML configuration::
|
296
307
|
#
|
297
|
-
#
|
298
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
299
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
311
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
303
313
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
316
|
# @!attribute [rw] auto_populated_fields
|
309
317
|
# @return [::Array<::String>]
|
310
318
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +321,8 @@ module Google
|
|
313
321
|
#
|
314
322
|
# Example of a YAML configuration:
|
315
323
|
#
|
316
|
-
#
|
317
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
318
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
327
|
# auto_populated_fields:
|
320
328
|
# - 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-security_center-v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,118 +58,6 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.1'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: google-style
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.26.3
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 1.26.3
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '5.16'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '5.16'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-focus
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '1.1'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '1.1'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: minitest-rg
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '5.2'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '5.2'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rake
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '13.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '13.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: redcarpet
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '3.0'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '3.0'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: simplecov
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.18'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.18'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: yard
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0.9'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0.9'
|
173
61
|
description: Security Command Center API provides access to temporal views of assets
|
174
62
|
and findings within an organization. Note that google-cloud-security_center-v1p1beta1
|
175
63
|
is a version-specific client library. For most uses, we recommend installing the
|
@@ -249,14 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
249
137
|
requirements:
|
250
138
|
- - ">="
|
251
139
|
- !ruby/object:Gem::Version
|
252
|
-
version: '2.
|
140
|
+
version: '2.7'
|
253
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
142
|
requirements:
|
255
143
|
- - ">="
|
256
144
|
- !ruby/object:Gem::Version
|
257
145
|
version: '0'
|
258
146
|
requirements: []
|
259
|
-
rubygems_version: 3.5.
|
147
|
+
rubygems_version: 3.5.6
|
260
148
|
signing_key:
|
261
149
|
specification_version: 4
|
262
150
|
summary: Security Command Center API provides access to temporal views of assets and
|