google-apis-securitycenter_v1 0.46.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +120 -23
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +24 -0
- data/lib/google/apis/securitycenter_v1/service.rb +138 -111
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45d2bd20d06bb26f5652ee28373d1e0c8f49578aba27edb8cbd3eec1b7d4720d
|
4
|
+
data.tar.gz: 7853077688261265351979d1229ae28b99b893c122d1da919694b823d3ea8fb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8565ae9d0bfe2b0e25c31e164ba3a5a094113bac723c2bc2adc2f787a3d5aba399907f308cb47705c24172598bf41f4c922cb8ff8e2439891dd862109b38b16
|
7
|
+
data.tar.gz: 9db53d7805bd5f5b5bf2340b7e4210cc15beb197e5006eb0a77ad8f909c453c20760898ea8aaa6ca6848915ce3ca12531a8aa059786b965563057d578c9f56a0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.48.0 (2023-01-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221220
|
6
|
+
|
7
|
+
### v0.47.0 (2022-12-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221205
|
10
|
+
|
3
11
|
### v0.46.0 (2022-11-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20221103
|
@@ -300,6 +300,11 @@ module Google
|
|
300
300
|
# @return [String]
|
301
301
|
attr_accessor :finding_category
|
302
302
|
|
303
|
+
# Full resource name of the finding.
|
304
|
+
# Corresponds to the JSON property `name`
|
305
|
+
# @return [String]
|
306
|
+
attr_accessor :name
|
307
|
+
|
303
308
|
def initialize(**args)
|
304
309
|
update!(**args)
|
305
310
|
end
|
@@ -308,6 +313,7 @@ module Google
|
|
308
313
|
def update!(**args)
|
309
314
|
@canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
|
310
315
|
@finding_category = args[:finding_category] if args.key?(:finding_category)
|
316
|
+
@name = args[:name] if args.key?(:name)
|
311
317
|
end
|
312
318
|
end
|
313
319
|
|
@@ -571,11 +577,11 @@ module Google
|
|
571
577
|
end
|
572
578
|
end
|
573
579
|
|
574
|
-
#
|
580
|
+
# The email address of a contact.
|
575
581
|
class Contact
|
576
582
|
include Google::Apis::Core::Hashable
|
577
583
|
|
578
|
-
# An email address
|
584
|
+
# An email address. For example, "`person123@company.com`".
|
579
585
|
# Corresponds to the JSON property `email`
|
580
586
|
# @return [String]
|
581
587
|
attr_accessor :email
|
@@ -1195,15 +1201,21 @@ module Google
|
|
1195
1201
|
# @return [Array<Google::Apis::SecuritycenterV1::IamBinding>]
|
1196
1202
|
attr_accessor :iam_bindings
|
1197
1203
|
|
1198
|
-
# Represents what's commonly known as an
|
1204
|
+
# Represents what's commonly known as an _indicator of compromise_ (IoC) in
|
1199
1205
|
# computer forensics. This is an artifact observed on a network or in an
|
1200
1206
|
# operating system that, with high confidence, indicates a computer intrusion.
|
1201
|
-
#
|
1207
|
+
# For more information, see [Indicator of compromise](https://en.wikipedia.org/
|
1208
|
+
# wiki/Indicator_of_compromise).
|
1202
1209
|
# Corresponds to the JSON property `indicator`
|
1203
1210
|
# @return [Google::Apis::SecuritycenterV1::Indicator]
|
1204
1211
|
attr_accessor :indicator
|
1205
1212
|
|
1206
|
-
#
|
1213
|
+
# Kernel mode rootkit signatures.
|
1214
|
+
# Corresponds to the JSON property `kernelRootkit`
|
1215
|
+
# @return [Google::Apis::SecuritycenterV1::KernelRootkit]
|
1216
|
+
attr_accessor :kernel_rootkit
|
1217
|
+
|
1218
|
+
# Kubernetes-related attributes.
|
1207
1219
|
# Corresponds to the JSON property `kubernetes`
|
1208
1220
|
# @return [Google::Apis::SecuritycenterV1::Kubernetes]
|
1209
1221
|
attr_accessor :kubernetes
|
@@ -1330,6 +1342,7 @@ module Google
|
|
1330
1342
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
1331
1343
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
1332
1344
|
@indicator = args[:indicator] if args.key?(:indicator)
|
1345
|
+
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
1333
1346
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
1334
1347
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
1335
1348
|
@mute = args[:mute] if args.key?(:mute)
|
@@ -1445,7 +1458,7 @@ module Google
|
|
1445
1458
|
class GoogleCloudSecuritycenterV1BigQueryExport
|
1446
1459
|
include Google::Apis::Core::Hashable
|
1447
1460
|
|
1448
|
-
# Output only. The time at which the
|
1461
|
+
# Output only. The time at which the BigQuery export was created. This field is
|
1449
1462
|
# set by the server and will be ignored if provided on export on creation.
|
1450
1463
|
# Corresponds to the JSON property `createTime`
|
1451
1464
|
# @return [String]
|
@@ -1477,7 +1490,7 @@ module Google
|
|
1477
1490
|
# @return [String]
|
1478
1491
|
attr_accessor :filter
|
1479
1492
|
|
1480
|
-
# Output only. Email address of the user who last edited the
|
1493
|
+
# Output only. Email address of the user who last edited the BigQuery export.
|
1481
1494
|
# This field is set by the server and will be ignored if provided on export
|
1482
1495
|
# creation or update.
|
1483
1496
|
# Corresponds to the JSON property `mostRecentEditor`
|
@@ -1494,15 +1507,15 @@ module Google
|
|
1494
1507
|
# @return [String]
|
1495
1508
|
attr_accessor :name
|
1496
1509
|
|
1497
|
-
# Output only. The service account that needs permission to create table
|
1498
|
-
# data to the
|
1510
|
+
# Output only. The service account that needs permission to create table and
|
1511
|
+
# upload data to the BigQuery dataset.
|
1499
1512
|
# Corresponds to the JSON property `principal`
|
1500
1513
|
# @return [String]
|
1501
1514
|
attr_accessor :principal
|
1502
1515
|
|
1503
|
-
# Output only. The most recent time at which the
|
1504
|
-
# field is set by the server and will be ignored if provided on export
|
1505
|
-
# or update.
|
1516
|
+
# Output only. The most recent time at which the BigQuery export was updated.
|
1517
|
+
# This field is set by the server and will be ignored if provided on export
|
1518
|
+
# creation or update.
|
1506
1519
|
# Corresponds to the JSON property `updateTime`
|
1507
1520
|
# @return [String]
|
1508
1521
|
attr_accessor :update_time
|
@@ -1543,8 +1556,8 @@ module Google
|
|
1543
1556
|
# @return [Google::Apis::SecuritycenterV1::Role]
|
1544
1557
|
attr_accessor :role
|
1545
1558
|
|
1546
|
-
# Represents
|
1547
|
-
# requests.
|
1559
|
+
# Represents one or more subjects that are bound to the role. Not always
|
1560
|
+
# available for PATCH requests.
|
1548
1561
|
# Corresponds to the JSON property `subjects`
|
1549
1562
|
# @return [Array<Google::Apis::SecuritycenterV1::Subject>]
|
1550
1563
|
attr_accessor :subjects
|
@@ -1685,10 +1698,10 @@ module Google
|
|
1685
1698
|
# @return [String]
|
1686
1699
|
attr_accessor :external_uid
|
1687
1700
|
|
1688
|
-
#
|
1689
|
-
# sources/5678/findings/123456/externalSystems/jira
|
1690
|
-
# findings/123456/externalSystems/jira
|
1691
|
-
# 123456/externalSystems/jira
|
1701
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
1702
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
1703
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
1704
|
+
# 123456/externalSystems/jira"
|
1692
1705
|
# Corresponds to the JSON property `name`
|
1693
1706
|
# @return [String]
|
1694
1707
|
attr_accessor :name
|
@@ -2658,10 +2671,11 @@ module Google
|
|
2658
2671
|
end
|
2659
2672
|
end
|
2660
2673
|
|
2661
|
-
# Represents what's commonly known as an
|
2674
|
+
# Represents what's commonly known as an _indicator of compromise_ (IoC) in
|
2662
2675
|
# computer forensics. This is an artifact observed on a network or in an
|
2663
2676
|
# operating system that, with high confidence, indicates a computer intrusion.
|
2664
|
-
#
|
2677
|
+
# For more information, see [Indicator of compromise](https://en.wikipedia.org/
|
2678
|
+
# wiki/Indicator_of_compromise).
|
2665
2679
|
class Indicator
|
2666
2680
|
include Google::Apis::Core::Hashable
|
2667
2681
|
|
@@ -2670,7 +2684,7 @@ module Google
|
|
2670
2684
|
# @return [Array<String>]
|
2671
2685
|
attr_accessor :domains
|
2672
2686
|
|
2673
|
-
#
|
2687
|
+
# The list of IP addresses that are associated with the finding.
|
2674
2688
|
# Corresponds to the JSON property `ipAddresses`
|
2675
2689
|
# @return [Array<String>]
|
2676
2690
|
attr_accessor :ip_addresses
|
@@ -2699,7 +2713,88 @@ module Google
|
|
2699
2713
|
end
|
2700
2714
|
end
|
2701
2715
|
|
2702
|
-
#
|
2716
|
+
# Kernel mode rootkit signatures.
|
2717
|
+
class KernelRootkit
|
2718
|
+
include Google::Apis::Core::Hashable
|
2719
|
+
|
2720
|
+
# Rootkit name when available.
|
2721
|
+
# Corresponds to the JSON property `name`
|
2722
|
+
# @return [String]
|
2723
|
+
attr_accessor :name
|
2724
|
+
|
2725
|
+
# True when unexpected modifications of kernel code memory are present.
|
2726
|
+
# Corresponds to the JSON property `unexpectedCodeModification`
|
2727
|
+
# @return [Boolean]
|
2728
|
+
attr_accessor :unexpected_code_modification
|
2729
|
+
alias_method :unexpected_code_modification?, :unexpected_code_modification
|
2730
|
+
|
2731
|
+
# True when `ftrace` points are present with callbacks pointing to regions that
|
2732
|
+
# are not in the expected kernel or module code range.
|
2733
|
+
# Corresponds to the JSON property `unexpectedFtraceHandler`
|
2734
|
+
# @return [Boolean]
|
2735
|
+
attr_accessor :unexpected_ftrace_handler
|
2736
|
+
alias_method :unexpected_ftrace_handler?, :unexpected_ftrace_handler
|
2737
|
+
|
2738
|
+
# True when interrupt handlers that are are not in the expected kernel or module
|
2739
|
+
# code regions are present.
|
2740
|
+
# Corresponds to the JSON property `unexpectedInterruptHandler`
|
2741
|
+
# @return [Boolean]
|
2742
|
+
attr_accessor :unexpected_interrupt_handler
|
2743
|
+
alias_method :unexpected_interrupt_handler?, :unexpected_interrupt_handler
|
2744
|
+
|
2745
|
+
# True when kernel code pages that are not in the expected kernel or module code
|
2746
|
+
# regions are present.
|
2747
|
+
# Corresponds to the JSON property `unexpectedKernelCodePages`
|
2748
|
+
# @return [Boolean]
|
2749
|
+
attr_accessor :unexpected_kernel_code_pages
|
2750
|
+
alias_method :unexpected_kernel_code_pages?, :unexpected_kernel_code_pages
|
2751
|
+
|
2752
|
+
# True when `kprobe` points are present with callbacks pointing to regions that
|
2753
|
+
# are not in the expected kernel or module code range.
|
2754
|
+
# Corresponds to the JSON property `unexpectedKprobeHandler`
|
2755
|
+
# @return [Boolean]
|
2756
|
+
attr_accessor :unexpected_kprobe_handler
|
2757
|
+
alias_method :unexpected_kprobe_handler?, :unexpected_kprobe_handler
|
2758
|
+
|
2759
|
+
# True when unexpected processes in the scheduler run queue are present. Such
|
2760
|
+
# processes are in the run queue, but not in the process task list.
|
2761
|
+
# Corresponds to the JSON property `unexpectedProcessesInRunqueue`
|
2762
|
+
# @return [Boolean]
|
2763
|
+
attr_accessor :unexpected_processes_in_runqueue
|
2764
|
+
alias_method :unexpected_processes_in_runqueue?, :unexpected_processes_in_runqueue
|
2765
|
+
|
2766
|
+
# True when unexpected modifications of kernel read-only data memory are present.
|
2767
|
+
# Corresponds to the JSON property `unexpectedReadOnlyDataModification`
|
2768
|
+
# @return [Boolean]
|
2769
|
+
attr_accessor :unexpected_read_only_data_modification
|
2770
|
+
alias_method :unexpected_read_only_data_modification?, :unexpected_read_only_data_modification
|
2771
|
+
|
2772
|
+
# True when system call handlers that are are not in the expected kernel or
|
2773
|
+
# module code regions are present.
|
2774
|
+
# Corresponds to the JSON property `unexpectedSystemCallHandler`
|
2775
|
+
# @return [Boolean]
|
2776
|
+
attr_accessor :unexpected_system_call_handler
|
2777
|
+
alias_method :unexpected_system_call_handler?, :unexpected_system_call_handler
|
2778
|
+
|
2779
|
+
def initialize(**args)
|
2780
|
+
update!(**args)
|
2781
|
+
end
|
2782
|
+
|
2783
|
+
# Update properties of this object
|
2784
|
+
def update!(**args)
|
2785
|
+
@name = args[:name] if args.key?(:name)
|
2786
|
+
@unexpected_code_modification = args[:unexpected_code_modification] if args.key?(:unexpected_code_modification)
|
2787
|
+
@unexpected_ftrace_handler = args[:unexpected_ftrace_handler] if args.key?(:unexpected_ftrace_handler)
|
2788
|
+
@unexpected_interrupt_handler = args[:unexpected_interrupt_handler] if args.key?(:unexpected_interrupt_handler)
|
2789
|
+
@unexpected_kernel_code_pages = args[:unexpected_kernel_code_pages] if args.key?(:unexpected_kernel_code_pages)
|
2790
|
+
@unexpected_kprobe_handler = args[:unexpected_kprobe_handler] if args.key?(:unexpected_kprobe_handler)
|
2791
|
+
@unexpected_processes_in_runqueue = args[:unexpected_processes_in_runqueue] if args.key?(:unexpected_processes_in_runqueue)
|
2792
|
+
@unexpected_read_only_data_modification = args[:unexpected_read_only_data_modification] if args.key?(:unexpected_read_only_data_modification)
|
2793
|
+
@unexpected_system_call_handler = args[:unexpected_system_call_handler] if args.key?(:unexpected_system_call_handler)
|
2794
|
+
end
|
2795
|
+
end
|
2796
|
+
|
2797
|
+
# Kubernetes-related attributes.
|
2703
2798
|
class Kubernetes
|
2704
2799
|
include Google::Apis::Core::Hashable
|
2705
2800
|
|
@@ -3181,7 +3276,9 @@ module Google
|
|
3181
3276
|
|
3182
3277
|
# The relative resource name of this notification config. See: https://cloud.
|
3183
3278
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
3184
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
3279
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
3280
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
3281
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
3185
3282
|
# Corresponds to the JSON property `name`
|
3186
3283
|
# @return [String]
|
3187
3284
|
attr_accessor :name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1
|
18
18
|
# Version of the google-apis-securitycenter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221220"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class KernelRootkit
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class Kubernetes
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -666,6 +672,7 @@ module Google
|
|
666
672
|
class Representation < Google::Apis::Core::JsonRepresentation
|
667
673
|
property :canonical_finding_name, as: 'canonicalFindingName'
|
668
674
|
property :finding_category, as: 'findingCategory'
|
675
|
+
property :name, as: 'name'
|
669
676
|
end
|
670
677
|
end
|
671
678
|
|
@@ -890,6 +897,8 @@ module Google
|
|
890
897
|
|
891
898
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
892
899
|
|
900
|
+
property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1::KernelRootkit, decorator: Google::Apis::SecuritycenterV1::KernelRootkit::Representation
|
901
|
+
|
893
902
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::Kubernetes, decorator: Google::Apis::SecuritycenterV1::Kubernetes::Representation
|
894
903
|
|
895
904
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
|
@@ -1227,6 +1236,21 @@ module Google
|
|
1227
1236
|
end
|
1228
1237
|
end
|
1229
1238
|
|
1239
|
+
class KernelRootkit
|
1240
|
+
# @private
|
1241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1242
|
+
property :name, as: 'name'
|
1243
|
+
property :unexpected_code_modification, as: 'unexpectedCodeModification'
|
1244
|
+
property :unexpected_ftrace_handler, as: 'unexpectedFtraceHandler'
|
1245
|
+
property :unexpected_interrupt_handler, as: 'unexpectedInterruptHandler'
|
1246
|
+
property :unexpected_kernel_code_pages, as: 'unexpectedKernelCodePages'
|
1247
|
+
property :unexpected_kprobe_handler, as: 'unexpectedKprobeHandler'
|
1248
|
+
property :unexpected_processes_in_runqueue, as: 'unexpectedProcessesInRunqueue'
|
1249
|
+
property :unexpected_read_only_data_modification, as: 'unexpectedReadOnlyDataModification'
|
1250
|
+
property :unexpected_system_call_handler, as: 'unexpectedSystemCallHandler'
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1230
1254
|
class Kubernetes
|
1231
1255
|
# @private
|
1232
1256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -52,8 +52,9 @@ module Google
|
|
52
52
|
|
53
53
|
# Filters an organization's assets and groups them by their specified properties.
|
54
54
|
# @param [String] parent
|
55
|
-
# Required.
|
56
|
-
# organization_id], folders/[folder_id], or projects/[
|
55
|
+
# Required. The name of the parent to group the assets by. Its format is "
|
56
|
+
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
57
|
+
# project_id]".
|
57
58
|
# @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object
|
58
59
|
# @param [String] fields
|
59
60
|
# Selector specifying which fields to include in a partial response.
|
@@ -86,9 +87,9 @@ module Google
|
|
86
87
|
|
87
88
|
# Lists an organization's assets.
|
88
89
|
# @param [String] parent
|
89
|
-
# Required.
|
90
|
-
# organizations/[organization_id], folders/[folder_id], or projects/[
|
91
|
-
# .
|
90
|
+
# Required. The name of the parent that the listed assets belong to. Its format
|
91
|
+
# is "organizations/[organization_id], "folders/[folder_id]", or "projects/[
|
92
|
+
# project_id]".
|
92
93
|
# @param [String] compare_duration
|
93
94
|
# When compare_duration is set, the ListAssetsResult's "state_change" attribute
|
94
95
|
# is updated to indicate whether the asset was added, removed, or remained
|
@@ -248,11 +249,11 @@ module Google
|
|
248
249
|
execute_or_queue_command(command, &block)
|
249
250
|
end
|
250
251
|
|
251
|
-
# Creates a
|
252
|
+
# Creates a BigQuery export.
|
252
253
|
# @param [String] parent
|
253
|
-
# Required.
|
254
|
-
# organizations/[organization_id]", "folders/[folder_id]", or "
|
255
|
-
# project_id]".
|
254
|
+
# Required. The name of the parent resource of the new BigQuery export. Its
|
255
|
+
# format is "organizations/[organization_id]", "folders/[folder_id]", or "
|
256
|
+
# projects/[project_id]".
|
256
257
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
|
257
258
|
# @param [String] big_query_export_id
|
258
259
|
# Required. Unique identifier provided by the client within the parent scope. It
|
@@ -288,11 +289,11 @@ module Google
|
|
288
289
|
execute_or_queue_command(command, &block)
|
289
290
|
end
|
290
291
|
|
291
|
-
# Deletes an existing
|
292
|
+
# Deletes an existing BigQuery export.
|
292
293
|
# @param [String] name
|
293
|
-
# Required.
|
294
|
-
# organization`/bigQueryExports/`export_id`, folders/`folder`/
|
295
|
-
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
294
|
+
# Required. The name of the BigQuery export to delete. Its format is
|
295
|
+
# organizations/`organization`/bigQueryExports/`export_id`, folders/`folder`/
|
296
|
+
# bigQueryExports/`export_id`, or projects/`project`/bigQueryExports/`export_id`
|
296
297
|
# @param [String] fields
|
297
298
|
# Selector specifying which fields to include in a partial response.
|
298
299
|
# @param [String] quota_user
|
@@ -320,11 +321,11 @@ module Google
|
|
320
321
|
execute_or_queue_command(command, &block)
|
321
322
|
end
|
322
323
|
|
323
|
-
# Gets a
|
324
|
+
# Gets a BigQuery export.
|
324
325
|
# @param [String] name
|
325
|
-
# Required. Name of the
|
326
|
-
#
|
327
|
-
#
|
326
|
+
# Required. Name of the BigQuery export to retrieve. Its format is organizations/
|
327
|
+
# `organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
328
|
+
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
328
329
|
# @param [String] fields
|
329
330
|
# Selector specifying which fields to include in a partial response.
|
330
331
|
# @param [String] quota_user
|
@@ -669,8 +670,8 @@ module Google
|
|
669
670
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
670
671
|
# @param [String] config_id
|
671
672
|
# Required. Unique identifier provided by the client within the parent scope. It
|
672
|
-
# must be between 1 and 128 characters
|
673
|
-
# underscores or hyphens only.
|
673
|
+
# must be between 1 and 128 characters and contain alphanumeric characters,
|
674
|
+
# underscores, or hyphens only.
|
674
675
|
# @param [String] fields
|
675
676
|
# Selector specifying which fields to include in a partial response.
|
676
677
|
# @param [String] quota_user
|
@@ -704,7 +705,9 @@ module Google
|
|
704
705
|
# Deletes a notification config.
|
705
706
|
# @param [String] name
|
706
707
|
# Required. Name of the notification config to delete. Its format is "
|
707
|
-
# organizations/[organization_id]/notificationConfigs/[config_id]"
|
708
|
+
# organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[
|
709
|
+
# folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/
|
710
|
+
# notificationConfigs/[config_id]".
|
708
711
|
# @param [String] fields
|
709
712
|
# Selector specifying which fields to include in a partial response.
|
710
713
|
# @param [String] quota_user
|
@@ -735,7 +738,9 @@ module Google
|
|
735
738
|
# Gets a notification config.
|
736
739
|
# @param [String] name
|
737
740
|
# Required. Name of the notification config to get. Its format is "organizations/
|
738
|
-
# [organization_id]/notificationConfigs/[config_id]"
|
741
|
+
# [organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/
|
742
|
+
# notificationConfigs/[config_id]", or "projects/[project_id]/
|
743
|
+
# notificationConfigs/[config_id]".
|
739
744
|
# @param [String] fields
|
740
745
|
# Selector specifying which fields to include in a partial response.
|
741
746
|
# @param [String] quota_user
|
@@ -765,9 +770,9 @@ module Google
|
|
765
770
|
|
766
771
|
# Lists notification configs.
|
767
772
|
# @param [String] parent
|
768
|
-
# Required.
|
769
|
-
# "organizations/[organization_id]", "folders/[
|
770
|
-
# project_id]".
|
773
|
+
# Required. The name of the parent in which to list the notification
|
774
|
+
# configurations. Its format is "organizations/[organization_id]", "folders/[
|
775
|
+
# folder_id]", or "projects/[project_id]".
|
771
776
|
# @param [Fixnum] page_size
|
772
777
|
# The maximum number of results to return in a single response. Default is 10,
|
773
778
|
# minimum is 1, maximum is 1000.
|
@@ -809,7 +814,9 @@ module Google
|
|
809
814
|
# @param [String] name
|
810
815
|
# The relative resource name of this notification config. See: https://cloud.
|
811
816
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
812
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
817
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
818
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
819
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
813
820
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
814
821
|
# @param [String] update_mask
|
815
822
|
# The FieldMask to use when updating the notification config. If empty all
|
@@ -847,8 +854,8 @@ module Google
|
|
847
854
|
# Lists all sources belonging to an organization.
|
848
855
|
# @param [String] parent
|
849
856
|
# Required. Resource name of the parent of sources to list. Its format should be
|
850
|
-
# "organizations/[organization_id], folders/[folder_id], or projects/[
|
851
|
-
# ".
|
857
|
+
# "organizations/[organization_id], "folders/[folder_id]", or "projects/[
|
858
|
+
# project_id]".
|
852
859
|
# @param [Fixnum] page_size
|
853
860
|
# The maximum number of results to return in a single response. Default is 10,
|
854
861
|
# minimum is 1, maximum is 1000.
|
@@ -1085,9 +1092,9 @@ module Google
|
|
1085
1092
|
|
1086
1093
|
# Updates the mute state of a finding.
|
1087
1094
|
# @param [String] name
|
1088
|
-
# Required. The relative resource name
|
1089
|
-
#
|
1090
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
1095
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
1096
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
1097
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
1091
1098
|
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
1092
1099
|
# sources/`source_id`/findings/`finding_id`".
|
1093
1100
|
# @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
|
@@ -1122,9 +1129,11 @@ module Google
|
|
1122
1129
|
|
1123
1130
|
# Updates the state of a finding.
|
1124
1131
|
# @param [String] name
|
1125
|
-
# Required. The relative resource name
|
1126
|
-
#
|
1127
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
1132
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
1133
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
1134
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
1135
|
+
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
1136
|
+
# sources/`source_id`/findings/`finding_id`".
|
1128
1137
|
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
|
1129
1138
|
# @param [String] fields
|
1130
1139
|
# Selector specifying which fields to include in a partial response.
|
@@ -1204,10 +1213,10 @@ module Google
|
|
1204
1213
|
|
1205
1214
|
# Updates external system. This is for a given finding.
|
1206
1215
|
# @param [String] name
|
1207
|
-
#
|
1208
|
-
# sources/5678/findings/123456/externalSystems/jira
|
1209
|
-
# findings/123456/externalSystems/jira
|
1210
|
-
# 123456/externalSystems/jira
|
1216
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
1217
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
1218
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
1219
|
+
# 123456/externalSystems/jira"
|
1211
1220
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem] google_cloud_securitycenter_v1_external_system_object
|
1212
1221
|
# @param [String] update_mask
|
1213
1222
|
# The FieldMask to use when updating the external system resource. If empty all
|
@@ -1314,8 +1323,9 @@ module Google
|
|
1314
1323
|
|
1315
1324
|
# Filters an organization's assets and groups them by their specified properties.
|
1316
1325
|
# @param [String] parent
|
1317
|
-
# Required.
|
1318
|
-
# organization_id], folders/[folder_id], or projects/[
|
1326
|
+
# Required. The name of the parent to group the assets by. Its format is "
|
1327
|
+
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
1328
|
+
# project_id]".
|
1319
1329
|
# @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object
|
1320
1330
|
# @param [String] fields
|
1321
1331
|
# Selector specifying which fields to include in a partial response.
|
@@ -1348,9 +1358,9 @@ module Google
|
|
1348
1358
|
|
1349
1359
|
# Lists an organization's assets.
|
1350
1360
|
# @param [String] parent
|
1351
|
-
# Required.
|
1352
|
-
# organizations/[organization_id], folders/[folder_id], or projects/[
|
1353
|
-
# .
|
1361
|
+
# Required. The name of the parent that the listed assets belong to. Its format
|
1362
|
+
# is "organizations/[organization_id], "folders/[folder_id]", or "projects/[
|
1363
|
+
# project_id]".
|
1354
1364
|
# @param [String] compare_duration
|
1355
1365
|
# When compare_duration is set, the ListAssetsResult's "state_change" attribute
|
1356
1366
|
# is updated to indicate whether the asset was added, removed, or remained
|
@@ -1546,11 +1556,11 @@ module Google
|
|
1546
1556
|
execute_or_queue_command(command, &block)
|
1547
1557
|
end
|
1548
1558
|
|
1549
|
-
# Creates a
|
1559
|
+
# Creates a BigQuery export.
|
1550
1560
|
# @param [String] parent
|
1551
|
-
# Required.
|
1552
|
-
# organizations/[organization_id]", "folders/[folder_id]", or "
|
1553
|
-
# project_id]".
|
1561
|
+
# Required. The name of the parent resource of the new BigQuery export. Its
|
1562
|
+
# format is "organizations/[organization_id]", "folders/[folder_id]", or "
|
1563
|
+
# projects/[project_id]".
|
1554
1564
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
|
1555
1565
|
# @param [String] big_query_export_id
|
1556
1566
|
# Required. Unique identifier provided by the client within the parent scope. It
|
@@ -1586,11 +1596,11 @@ module Google
|
|
1586
1596
|
execute_or_queue_command(command, &block)
|
1587
1597
|
end
|
1588
1598
|
|
1589
|
-
# Deletes an existing
|
1599
|
+
# Deletes an existing BigQuery export.
|
1590
1600
|
# @param [String] name
|
1591
|
-
# Required.
|
1592
|
-
# organization`/bigQueryExports/`export_id`, folders/`folder`/
|
1593
|
-
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
1601
|
+
# Required. The name of the BigQuery export to delete. Its format is
|
1602
|
+
# organizations/`organization`/bigQueryExports/`export_id`, folders/`folder`/
|
1603
|
+
# bigQueryExports/`export_id`, or projects/`project`/bigQueryExports/`export_id`
|
1594
1604
|
# @param [String] fields
|
1595
1605
|
# Selector specifying which fields to include in a partial response.
|
1596
1606
|
# @param [String] quota_user
|
@@ -1618,11 +1628,11 @@ module Google
|
|
1618
1628
|
execute_or_queue_command(command, &block)
|
1619
1629
|
end
|
1620
1630
|
|
1621
|
-
# Gets a
|
1631
|
+
# Gets a BigQuery export.
|
1622
1632
|
# @param [String] name
|
1623
|
-
# Required. Name of the
|
1624
|
-
#
|
1625
|
-
#
|
1633
|
+
# Required. Name of the BigQuery export to retrieve. Its format is organizations/
|
1634
|
+
# `organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
1635
|
+
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
1626
1636
|
# @param [String] fields
|
1627
1637
|
# Selector specifying which fields to include in a partial response.
|
1628
1638
|
# @param [String] quota_user
|
@@ -1967,8 +1977,8 @@ module Google
|
|
1967
1977
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
1968
1978
|
# @param [String] config_id
|
1969
1979
|
# Required. Unique identifier provided by the client within the parent scope. It
|
1970
|
-
# must be between 1 and 128 characters
|
1971
|
-
# underscores or hyphens only.
|
1980
|
+
# must be between 1 and 128 characters and contain alphanumeric characters,
|
1981
|
+
# underscores, or hyphens only.
|
1972
1982
|
# @param [String] fields
|
1973
1983
|
# Selector specifying which fields to include in a partial response.
|
1974
1984
|
# @param [String] quota_user
|
@@ -2002,7 +2012,9 @@ module Google
|
|
2002
2012
|
# Deletes a notification config.
|
2003
2013
|
# @param [String] name
|
2004
2014
|
# Required. Name of the notification config to delete. Its format is "
|
2005
|
-
# organizations/[organization_id]/notificationConfigs/[config_id]"
|
2015
|
+
# organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[
|
2016
|
+
# folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/
|
2017
|
+
# notificationConfigs/[config_id]".
|
2006
2018
|
# @param [String] fields
|
2007
2019
|
# Selector specifying which fields to include in a partial response.
|
2008
2020
|
# @param [String] quota_user
|
@@ -2033,7 +2045,9 @@ module Google
|
|
2033
2045
|
# Gets a notification config.
|
2034
2046
|
# @param [String] name
|
2035
2047
|
# Required. Name of the notification config to get. Its format is "organizations/
|
2036
|
-
# [organization_id]/notificationConfigs/[config_id]"
|
2048
|
+
# [organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/
|
2049
|
+
# notificationConfigs/[config_id]", or "projects/[project_id]/
|
2050
|
+
# notificationConfigs/[config_id]".
|
2037
2051
|
# @param [String] fields
|
2038
2052
|
# Selector specifying which fields to include in a partial response.
|
2039
2053
|
# @param [String] quota_user
|
@@ -2063,9 +2077,9 @@ module Google
|
|
2063
2077
|
|
2064
2078
|
# Lists notification configs.
|
2065
2079
|
# @param [String] parent
|
2066
|
-
# Required.
|
2067
|
-
# "organizations/[organization_id]", "folders/[
|
2068
|
-
# project_id]".
|
2080
|
+
# Required. The name of the parent in which to list the notification
|
2081
|
+
# configurations. Its format is "organizations/[organization_id]", "folders/[
|
2082
|
+
# folder_id]", or "projects/[project_id]".
|
2069
2083
|
# @param [Fixnum] page_size
|
2070
2084
|
# The maximum number of results to return in a single response. Default is 10,
|
2071
2085
|
# minimum is 1, maximum is 1000.
|
@@ -2107,7 +2121,9 @@ module Google
|
|
2107
2121
|
# @param [String] name
|
2108
2122
|
# The relative resource name of this notification config. See: https://cloud.
|
2109
2123
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
2110
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
2124
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
2125
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
2126
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
2111
2127
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
2112
2128
|
# @param [String] update_mask
|
2113
2129
|
# The FieldMask to use when updating the notification config. If empty all
|
@@ -2392,8 +2408,8 @@ module Google
|
|
2392
2408
|
# Lists all sources belonging to an organization.
|
2393
2409
|
# @param [String] parent
|
2394
2410
|
# Required. Resource name of the parent of sources to list. Its format should be
|
2395
|
-
# "organizations/[organization_id], folders/[folder_id], or projects/[
|
2396
|
-
# ".
|
2411
|
+
# "organizations/[organization_id], "folders/[folder_id]", or "projects/[
|
2412
|
+
# project_id]".
|
2397
2413
|
# @param [Fixnum] page_size
|
2398
2414
|
# The maximum number of results to return in a single response. Default is 10,
|
2399
2415
|
# minimum is 1, maximum is 1000.
|
@@ -2779,9 +2795,9 @@ module Google
|
|
2779
2795
|
|
2780
2796
|
# Updates the mute state of a finding.
|
2781
2797
|
# @param [String] name
|
2782
|
-
# Required. The relative resource name
|
2783
|
-
#
|
2784
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
2798
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
2799
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
2800
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
2785
2801
|
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
2786
2802
|
# sources/`source_id`/findings/`finding_id`".
|
2787
2803
|
# @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
|
@@ -2816,9 +2832,11 @@ module Google
|
|
2816
2832
|
|
2817
2833
|
# Updates the state of a finding.
|
2818
2834
|
# @param [String] name
|
2819
|
-
# Required. The relative resource name
|
2820
|
-
#
|
2821
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
2835
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
2836
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
2837
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
2838
|
+
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
2839
|
+
# sources/`source_id`/findings/`finding_id`".
|
2822
2840
|
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
|
2823
2841
|
# @param [String] fields
|
2824
2842
|
# Selector specifying which fields to include in a partial response.
|
@@ -2898,10 +2916,10 @@ module Google
|
|
2898
2916
|
|
2899
2917
|
# Updates external system. This is for a given finding.
|
2900
2918
|
# @param [String] name
|
2901
|
-
#
|
2902
|
-
# sources/5678/findings/123456/externalSystems/jira
|
2903
|
-
# findings/123456/externalSystems/jira
|
2904
|
-
# 123456/externalSystems/jira
|
2919
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
2920
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
2921
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
2922
|
+
# 123456/externalSystems/jira"
|
2905
2923
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem] google_cloud_securitycenter_v1_external_system_object
|
2906
2924
|
# @param [String] update_mask
|
2907
2925
|
# The FieldMask to use when updating the external system resource. If empty all
|
@@ -2938,8 +2956,9 @@ module Google
|
|
2938
2956
|
|
2939
2957
|
# Filters an organization's assets and groups them by their specified properties.
|
2940
2958
|
# @param [String] parent
|
2941
|
-
# Required.
|
2942
|
-
# organization_id], folders/[folder_id], or projects/[
|
2959
|
+
# Required. The name of the parent to group the assets by. Its format is "
|
2960
|
+
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
2961
|
+
# project_id]".
|
2943
2962
|
# @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object
|
2944
2963
|
# @param [String] fields
|
2945
2964
|
# Selector specifying which fields to include in a partial response.
|
@@ -2972,9 +2991,9 @@ module Google
|
|
2972
2991
|
|
2973
2992
|
# Lists an organization's assets.
|
2974
2993
|
# @param [String] parent
|
2975
|
-
# Required.
|
2976
|
-
# organizations/[organization_id], folders/[folder_id], or projects/[
|
2977
|
-
# .
|
2994
|
+
# Required. The name of the parent that the listed assets belong to. Its format
|
2995
|
+
# is "organizations/[organization_id], "folders/[folder_id]", or "projects/[
|
2996
|
+
# project_id]".
|
2978
2997
|
# @param [String] compare_duration
|
2979
2998
|
# When compare_duration is set, the ListAssetsResult's "state_change" attribute
|
2980
2999
|
# is updated to indicate whether the asset was added, removed, or remained
|
@@ -3134,11 +3153,11 @@ module Google
|
|
3134
3153
|
execute_or_queue_command(command, &block)
|
3135
3154
|
end
|
3136
3155
|
|
3137
|
-
# Creates a
|
3156
|
+
# Creates a BigQuery export.
|
3138
3157
|
# @param [String] parent
|
3139
|
-
# Required.
|
3140
|
-
# organizations/[organization_id]", "folders/[folder_id]", or "
|
3141
|
-
# project_id]".
|
3158
|
+
# Required. The name of the parent resource of the new BigQuery export. Its
|
3159
|
+
# format is "organizations/[organization_id]", "folders/[folder_id]", or "
|
3160
|
+
# projects/[project_id]".
|
3142
3161
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
|
3143
3162
|
# @param [String] big_query_export_id
|
3144
3163
|
# Required. Unique identifier provided by the client within the parent scope. It
|
@@ -3174,11 +3193,11 @@ module Google
|
|
3174
3193
|
execute_or_queue_command(command, &block)
|
3175
3194
|
end
|
3176
3195
|
|
3177
|
-
# Deletes an existing
|
3196
|
+
# Deletes an existing BigQuery export.
|
3178
3197
|
# @param [String] name
|
3179
|
-
# Required.
|
3180
|
-
# organization`/bigQueryExports/`export_id`, folders/`folder`/
|
3181
|
-
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
3198
|
+
# Required. The name of the BigQuery export to delete. Its format is
|
3199
|
+
# organizations/`organization`/bigQueryExports/`export_id`, folders/`folder`/
|
3200
|
+
# bigQueryExports/`export_id`, or projects/`project`/bigQueryExports/`export_id`
|
3182
3201
|
# @param [String] fields
|
3183
3202
|
# Selector specifying which fields to include in a partial response.
|
3184
3203
|
# @param [String] quota_user
|
@@ -3206,11 +3225,11 @@ module Google
|
|
3206
3225
|
execute_or_queue_command(command, &block)
|
3207
3226
|
end
|
3208
3227
|
|
3209
|
-
# Gets a
|
3228
|
+
# Gets a BigQuery export.
|
3210
3229
|
# @param [String] name
|
3211
|
-
# Required. Name of the
|
3212
|
-
#
|
3213
|
-
#
|
3230
|
+
# Required. Name of the BigQuery export to retrieve. Its format is organizations/
|
3231
|
+
# `organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
3232
|
+
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
3214
3233
|
# @param [String] fields
|
3215
3234
|
# Selector specifying which fields to include in a partial response.
|
3216
3235
|
# @param [String] quota_user
|
@@ -3555,8 +3574,8 @@ module Google
|
|
3555
3574
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
3556
3575
|
# @param [String] config_id
|
3557
3576
|
# Required. Unique identifier provided by the client within the parent scope. It
|
3558
|
-
# must be between 1 and 128 characters
|
3559
|
-
# underscores or hyphens only.
|
3577
|
+
# must be between 1 and 128 characters and contain alphanumeric characters,
|
3578
|
+
# underscores, or hyphens only.
|
3560
3579
|
# @param [String] fields
|
3561
3580
|
# Selector specifying which fields to include in a partial response.
|
3562
3581
|
# @param [String] quota_user
|
@@ -3590,7 +3609,9 @@ module Google
|
|
3590
3609
|
# Deletes a notification config.
|
3591
3610
|
# @param [String] name
|
3592
3611
|
# Required. Name of the notification config to delete. Its format is "
|
3593
|
-
# organizations/[organization_id]/notificationConfigs/[config_id]"
|
3612
|
+
# organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[
|
3613
|
+
# folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/
|
3614
|
+
# notificationConfigs/[config_id]".
|
3594
3615
|
# @param [String] fields
|
3595
3616
|
# Selector specifying which fields to include in a partial response.
|
3596
3617
|
# @param [String] quota_user
|
@@ -3621,7 +3642,9 @@ module Google
|
|
3621
3642
|
# Gets a notification config.
|
3622
3643
|
# @param [String] name
|
3623
3644
|
# Required. Name of the notification config to get. Its format is "organizations/
|
3624
|
-
# [organization_id]/notificationConfigs/[config_id]"
|
3645
|
+
# [organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/
|
3646
|
+
# notificationConfigs/[config_id]", or "projects/[project_id]/
|
3647
|
+
# notificationConfigs/[config_id]".
|
3625
3648
|
# @param [String] fields
|
3626
3649
|
# Selector specifying which fields to include in a partial response.
|
3627
3650
|
# @param [String] quota_user
|
@@ -3651,9 +3674,9 @@ module Google
|
|
3651
3674
|
|
3652
3675
|
# Lists notification configs.
|
3653
3676
|
# @param [String] parent
|
3654
|
-
# Required.
|
3655
|
-
# "organizations/[organization_id]", "folders/[
|
3656
|
-
# project_id]".
|
3677
|
+
# Required. The name of the parent in which to list the notification
|
3678
|
+
# configurations. Its format is "organizations/[organization_id]", "folders/[
|
3679
|
+
# folder_id]", or "projects/[project_id]".
|
3657
3680
|
# @param [Fixnum] page_size
|
3658
3681
|
# The maximum number of results to return in a single response. Default is 10,
|
3659
3682
|
# minimum is 1, maximum is 1000.
|
@@ -3695,7 +3718,9 @@ module Google
|
|
3695
3718
|
# @param [String] name
|
3696
3719
|
# The relative resource name of this notification config. See: https://cloud.
|
3697
3720
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
3698
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
3721
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
3722
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
3723
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
3699
3724
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
3700
3725
|
# @param [String] update_mask
|
3701
3726
|
# The FieldMask to use when updating the notification config. If empty all
|
@@ -3733,8 +3758,8 @@ module Google
|
|
3733
3758
|
# Lists all sources belonging to an organization.
|
3734
3759
|
# @param [String] parent
|
3735
3760
|
# Required. Resource name of the parent of sources to list. Its format should be
|
3736
|
-
# "organizations/[organization_id], folders/[folder_id], or projects/[
|
3737
|
-
# ".
|
3761
|
+
# "organizations/[organization_id], "folders/[folder_id]", or "projects/[
|
3762
|
+
# project_id]".
|
3738
3763
|
# @param [Fixnum] page_size
|
3739
3764
|
# The maximum number of results to return in a single response. Default is 10,
|
3740
3765
|
# minimum is 1, maximum is 1000.
|
@@ -3971,9 +3996,9 @@ module Google
|
|
3971
3996
|
|
3972
3997
|
# Updates the mute state of a finding.
|
3973
3998
|
# @param [String] name
|
3974
|
-
# Required. The relative resource name
|
3975
|
-
#
|
3976
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
3999
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
4000
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
4001
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
3977
4002
|
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
3978
4003
|
# sources/`source_id`/findings/`finding_id`".
|
3979
4004
|
# @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
|
@@ -4008,9 +4033,11 @@ module Google
|
|
4008
4033
|
|
4009
4034
|
# Updates the state of a finding.
|
4010
4035
|
# @param [String] name
|
4011
|
-
# Required. The relative resource name
|
4012
|
-
#
|
4013
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
4036
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
4037
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
4038
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
4039
|
+
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
4040
|
+
# sources/`source_id`/findings/`finding_id`".
|
4014
4041
|
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
|
4015
4042
|
# @param [String] fields
|
4016
4043
|
# Selector specifying which fields to include in a partial response.
|
@@ -4090,10 +4117,10 @@ module Google
|
|
4090
4117
|
|
4091
4118
|
# Updates external system. This is for a given finding.
|
4092
4119
|
# @param [String] name
|
4093
|
-
#
|
4094
|
-
# sources/5678/findings/123456/externalSystems/jira
|
4095
|
-
# findings/123456/externalSystems/jira
|
4096
|
-
# 123456/externalSystems/jira
|
4120
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
4121
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
4122
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
4123
|
+
# 123456/externalSystems/jira"
|
4097
4124
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem] google_cloud_securitycenter_v1_external_system_object
|
4098
4125
|
# @param [String] update_mask
|
4099
4126
|
# The FieldMask to use when updating the external system resource. If empty all
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.48.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|