google-apis-securitycenter_v1beta2 0.26.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/google/apis/securitycenter_v1beta2/classes.rb +424 -9
- data/lib/google/apis/securitycenter_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1beta2/representations.rb +189 -0
- data/lib/google/apis/securitycenter_v1beta2/service.rb +318 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01ef3fa2e07dc299e1a75fba7fd5d5e6e6aec6a895262392daa91c5627a5b096
|
4
|
+
data.tar.gz: ffddfdf332044d0df42c310388158e11521c32bf78583859b272ba8555e9d567
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d681a647a84a382b840b9da95fa6d7e16c091ba3dd4317621a69403e9fbbcbe19103e454c5fb658f81137b5e695b84441a35276fa8dcfa403943d3e893b8c11b
|
7
|
+
data.tar.gz: a18d7d51cfc9c43f4042cfce2f75bc00ea306927994beb00cab2c663a7afc5fb5c7b4e2ff2ea05c9fc78f8968a4ecf0da0c65fa8ab0d74ca20dc80af7ad1116a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.29.0 (2022-07-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220713
|
6
|
+
|
7
|
+
### v0.28.0 (2022-07-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220707
|
10
|
+
* Regenerated using generator version 0.9.0
|
11
|
+
|
12
|
+
### v0.27.0 (2022-06-30)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.8.0
|
15
|
+
* Regenerated from discovery document revision 20220624
|
16
|
+
|
3
17
|
### v0.26.0 (2022-06-19)
|
4
18
|
|
5
19
|
* Regenerated using generator version 0.7.0
|
@@ -73,6 +73,64 @@ module Google
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
# Conveys information about a Kubernetes access review (e.g. kubectl auth can-i .
|
77
|
+
# ..) that was involved in a finding.
|
78
|
+
class AccessReview
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# Group is the API Group of the Resource. "*" means all.
|
82
|
+
# Corresponds to the JSON property `group`
|
83
|
+
# @return [String]
|
84
|
+
attr_accessor :group
|
85
|
+
|
86
|
+
# Name is the name of the resource being requested. Empty means all.
|
87
|
+
# Corresponds to the JSON property `name`
|
88
|
+
# @return [String]
|
89
|
+
attr_accessor :name
|
90
|
+
|
91
|
+
# Namespace of the action being requested. Currently, there is no distinction
|
92
|
+
# between no namespace and all namespaces. Both are represented by "" (empty).
|
93
|
+
# Corresponds to the JSON property `ns`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :ns
|
96
|
+
|
97
|
+
# Resource is the optional resource type requested. "*" means all.
|
98
|
+
# Corresponds to the JSON property `resource`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :resource
|
101
|
+
|
102
|
+
# Subresource is the optional subresource type.
|
103
|
+
# Corresponds to the JSON property `subresource`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :subresource
|
106
|
+
|
107
|
+
# Verb is a Kubernetes resource API verb, like: get, list, watch, create, update,
|
108
|
+
# delete, proxy. "*" means all.
|
109
|
+
# Corresponds to the JSON property `verb`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :verb
|
112
|
+
|
113
|
+
# Version is the API Version of the Resource. "*" means all.
|
114
|
+
# Corresponds to the JSON property `version`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :version
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@group = args[:group] if args.key?(:group)
|
125
|
+
@name = args[:name] if args.key?(:name)
|
126
|
+
@ns = args[:ns] if args.key?(:ns)
|
127
|
+
@resource = args[:resource] if args.key?(:resource)
|
128
|
+
@subresource = args[:subresource] if args.key?(:subresource)
|
129
|
+
@verb = args[:verb] if args.key?(:verb)
|
130
|
+
@version = args[:version] if args.key?(:version)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
76
134
|
# Contains compliance information about a security standard indicating unmet
|
77
135
|
# recommendations.
|
78
136
|
class Compliance
|
@@ -214,6 +272,45 @@ module Google
|
|
214
272
|
end
|
215
273
|
end
|
216
274
|
|
275
|
+
# Container associated with the finding.
|
276
|
+
class Container
|
277
|
+
include Google::Apis::Core::Hashable
|
278
|
+
|
279
|
+
# Optional container image id, when provided by the container runtime. Uniquely
|
280
|
+
# identifies the container image launched using a container image digest.
|
281
|
+
# Corresponds to the JSON property `imageId`
|
282
|
+
# @return [String]
|
283
|
+
attr_accessor :image_id
|
284
|
+
|
285
|
+
# Container labels, as provided by the container runtime.
|
286
|
+
# Corresponds to the JSON property `labels`
|
287
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Label>]
|
288
|
+
attr_accessor :labels
|
289
|
+
|
290
|
+
# Container name.
|
291
|
+
# Corresponds to the JSON property `name`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :name
|
294
|
+
|
295
|
+
# Container image URI provided when configuring a pod/container. May identify a
|
296
|
+
# container image version using mutable tags.
|
297
|
+
# Corresponds to the JSON property `uri`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :uri
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@image_id = args[:image_id] if args.key?(:image_id)
|
308
|
+
@labels = args[:labels] if args.key?(:labels)
|
309
|
+
@name = args[:name] if args.key?(:name)
|
310
|
+
@uri = args[:uri] if args.key?(:uri)
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
217
314
|
# Resource capturing the settings for the Container Threat Detection service.
|
218
315
|
class ContainerThreatDetectionSettings
|
219
316
|
include Google::Apis::Core::Hashable
|
@@ -661,13 +758,19 @@ module Google
|
|
661
758
|
# Output only. Map containing the point of contacts for the given finding. The
|
662
759
|
# key represents the type of contact, while the value contains a list of all the
|
663
760
|
# contacts that pertain. Please refer to: https://cloud.google.com/resource-
|
664
|
-
# manager/docs/managing-notification-contacts#notification-categories `
|
665
|
-
# security
|
666
|
-
# company.com
|
761
|
+
# manager/docs/managing-notification-contacts#notification-categories ` "
|
762
|
+
# security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
|
763
|
+
# person2@company.com" ` ] `
|
667
764
|
# Corresponds to the JSON property `contacts`
|
668
765
|
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::ContactDetails>]
|
669
766
|
attr_accessor :contacts
|
670
767
|
|
768
|
+
# Containers associated with the finding. containers provides information for
|
769
|
+
# both Kubernetes and non-Kubernetes containers.
|
770
|
+
# Corresponds to the JSON property `containers`
|
771
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Container>]
|
772
|
+
attr_accessor :containers
|
773
|
+
|
671
774
|
# The time at which the finding was created in Security Command Center.
|
672
775
|
# Corresponds to the JSON property `createTime`
|
673
776
|
# @return [String]
|
@@ -726,6 +829,11 @@ module Google
|
|
726
829
|
# @return [Google::Apis::SecuritycenterV1beta2::Indicator]
|
727
830
|
attr_accessor :indicator
|
728
831
|
|
832
|
+
# Kubernetes related attributes.
|
833
|
+
# Corresponds to the JSON property `kubernetes`
|
834
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Kubernetes]
|
835
|
+
attr_accessor :kubernetes
|
836
|
+
|
729
837
|
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
730
838
|
# attack.mitre.org
|
731
839
|
# Corresponds to the JSON property `mitreAttack`
|
@@ -830,6 +938,7 @@ module Google
|
|
830
938
|
@compliances = args[:compliances] if args.key?(:compliances)
|
831
939
|
@connections = args[:connections] if args.key?(:connections)
|
832
940
|
@contacts = args[:contacts] if args.key?(:contacts)
|
941
|
+
@containers = args[:containers] if args.key?(:containers)
|
833
942
|
@create_time = args[:create_time] if args.key?(:create_time)
|
834
943
|
@description = args[:description] if args.key?(:description)
|
835
944
|
@event_time = args[:event_time] if args.key?(:event_time)
|
@@ -839,6 +948,7 @@ module Google
|
|
839
948
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
840
949
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
841
950
|
@indicator = args[:indicator] if args.key?(:indicator)
|
951
|
+
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
842
952
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
843
953
|
@mute = args[:mute] if args.key?(:mute)
|
844
954
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
@@ -984,6 +1094,44 @@ module Google
|
|
984
1094
|
end
|
985
1095
|
end
|
986
1096
|
|
1097
|
+
# Represents a Kubernetes RoleBinding or ClusterRoleBinding.
|
1098
|
+
class GoogleCloudSecuritycenterV1Binding
|
1099
|
+
include Google::Apis::Core::Hashable
|
1100
|
+
|
1101
|
+
# Name for binding.
|
1102
|
+
# Corresponds to the JSON property `name`
|
1103
|
+
# @return [String]
|
1104
|
+
attr_accessor :name
|
1105
|
+
|
1106
|
+
# Namespace for binding.
|
1107
|
+
# Corresponds to the JSON property `ns`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :ns
|
1110
|
+
|
1111
|
+
# Kubernetes Role or ClusterRole.
|
1112
|
+
# Corresponds to the JSON property `role`
|
1113
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Role]
|
1114
|
+
attr_accessor :role
|
1115
|
+
|
1116
|
+
# Represents the subjects(s) bound to the role. Not always available for PATCH
|
1117
|
+
# requests.
|
1118
|
+
# Corresponds to the JSON property `subjects`
|
1119
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Subject>]
|
1120
|
+
attr_accessor :subjects
|
1121
|
+
|
1122
|
+
def initialize(**args)
|
1123
|
+
update!(**args)
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Update properties of this object
|
1127
|
+
def update!(**args)
|
1128
|
+
@name = args[:name] if args.key?(:name)
|
1129
|
+
@ns = args[:ns] if args.key?(:ns)
|
1130
|
+
@role = args[:role] if args.key?(:role)
|
1131
|
+
@subjects = args[:subjects] if args.key?(:subjects)
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
987
1135
|
# The response to a BulkMute request. Contains the LRO information.
|
988
1136
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
989
1137
|
include Google::Apis::Core::Hashable
|
@@ -1635,6 +1783,86 @@ module Google
|
|
1635
1783
|
end
|
1636
1784
|
end
|
1637
1785
|
|
1786
|
+
# Kubernetes related attributes.
|
1787
|
+
class Kubernetes
|
1788
|
+
include Google::Apis::Core::Hashable
|
1789
|
+
|
1790
|
+
# Provides information on any Kubernetes access reviews (i.e. privilege checks)
|
1791
|
+
# relevant to the finding.
|
1792
|
+
# Corresponds to the JSON property `accessReviews`
|
1793
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::AccessReview>]
|
1794
|
+
attr_accessor :access_reviews
|
1795
|
+
|
1796
|
+
# Provides Kubernetes role binding information for findings that involve
|
1797
|
+
# RoleBindings or ClusterRoleBindings.
|
1798
|
+
# Corresponds to the JSON property `bindings`
|
1799
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding>]
|
1800
|
+
attr_accessor :bindings
|
1801
|
+
|
1802
|
+
# GKE Node Pools associated with the finding. This field will contain NodePool
|
1803
|
+
# information for each Node, when it is available.
|
1804
|
+
# Corresponds to the JSON property `nodePools`
|
1805
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::NodePool>]
|
1806
|
+
attr_accessor :node_pools
|
1807
|
+
|
1808
|
+
# Provides Kubernetes Node information.
|
1809
|
+
# Corresponds to the JSON property `nodes`
|
1810
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
1811
|
+
attr_accessor :nodes
|
1812
|
+
|
1813
|
+
# Kubernetes Pods associated with the finding. This field will contain Pod
|
1814
|
+
# records for each container that is owned by a Pod.
|
1815
|
+
# Corresponds to the JSON property `pods`
|
1816
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Pod>]
|
1817
|
+
attr_accessor :pods
|
1818
|
+
|
1819
|
+
# Provides Kubernetes role information for findings that involve Roles or
|
1820
|
+
# ClusterRoles.
|
1821
|
+
# Corresponds to the JSON property `roles`
|
1822
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Role>]
|
1823
|
+
attr_accessor :roles
|
1824
|
+
|
1825
|
+
def initialize(**args)
|
1826
|
+
update!(**args)
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
# Update properties of this object
|
1830
|
+
def update!(**args)
|
1831
|
+
@access_reviews = args[:access_reviews] if args.key?(:access_reviews)
|
1832
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
1833
|
+
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
1834
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
1835
|
+
@pods = args[:pods] if args.key?(:pods)
|
1836
|
+
@roles = args[:roles] if args.key?(:roles)
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
|
1840
|
+
# Label represents a generic name=value label. Label has separate name and value
|
1841
|
+
# fields to support filtering with contains().
|
1842
|
+
class Label
|
1843
|
+
include Google::Apis::Core::Hashable
|
1844
|
+
|
1845
|
+
# Label name.
|
1846
|
+
# Corresponds to the JSON property `name`
|
1847
|
+
# @return [String]
|
1848
|
+
attr_accessor :name
|
1849
|
+
|
1850
|
+
# Label value.
|
1851
|
+
# Corresponds to the JSON property `value`
|
1852
|
+
# @return [String]
|
1853
|
+
attr_accessor :value
|
1854
|
+
|
1855
|
+
def initialize(**args)
|
1856
|
+
update!(**args)
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# Update properties of this object
|
1860
|
+
def update!(**args)
|
1861
|
+
@name = args[:name] if args.key?(:name)
|
1862
|
+
@value = args[:value] if args.key?(:value)
|
1863
|
+
end
|
1864
|
+
end
|
1865
|
+
|
1638
1866
|
# A signature corresponding to memory page hashes.
|
1639
1867
|
class MemoryHashSignature
|
1640
1868
|
include Google::Apis::Core::Hashable
|
@@ -1710,6 +1938,50 @@ module Google
|
|
1710
1938
|
end
|
1711
1939
|
end
|
1712
1940
|
|
1941
|
+
# Kubernetes Nodes associated with the finding.
|
1942
|
+
class Node
|
1943
|
+
include Google::Apis::Core::Hashable
|
1944
|
+
|
1945
|
+
# Full Resource name of the Compute Engine VM running the cluster node.
|
1946
|
+
# Corresponds to the JSON property `name`
|
1947
|
+
# @return [String]
|
1948
|
+
attr_accessor :name
|
1949
|
+
|
1950
|
+
def initialize(**args)
|
1951
|
+
update!(**args)
|
1952
|
+
end
|
1953
|
+
|
1954
|
+
# Update properties of this object
|
1955
|
+
def update!(**args)
|
1956
|
+
@name = args[:name] if args.key?(:name)
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# Provides GKE Node Pool information.
|
1961
|
+
class NodePool
|
1962
|
+
include Google::Apis::Core::Hashable
|
1963
|
+
|
1964
|
+
# Kubernetes Node pool name.
|
1965
|
+
# Corresponds to the JSON property `name`
|
1966
|
+
# @return [String]
|
1967
|
+
attr_accessor :name
|
1968
|
+
|
1969
|
+
# Nodes associated with the finding.
|
1970
|
+
# Corresponds to the JSON property `nodes`
|
1971
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
1972
|
+
attr_accessor :nodes
|
1973
|
+
|
1974
|
+
def initialize(**args)
|
1975
|
+
update!(**args)
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
# Update properties of this object
|
1979
|
+
def update!(**args)
|
1980
|
+
@name = args[:name] if args.key?(:name)
|
1981
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
1982
|
+
end
|
1983
|
+
end
|
1984
|
+
|
1713
1985
|
# Resource capturing onboarding information for a given CRM resource.
|
1714
1986
|
class OnboardingState
|
1715
1987
|
include Google::Apis::Core::Hashable
|
@@ -1738,6 +2010,43 @@ module Google
|
|
1738
2010
|
end
|
1739
2011
|
end
|
1740
2012
|
|
2013
|
+
# Kubernetes Pod.
|
2014
|
+
class Pod
|
2015
|
+
include Google::Apis::Core::Hashable
|
2016
|
+
|
2017
|
+
# Pod containers associated with this finding, if any.
|
2018
|
+
# Corresponds to the JSON property `containers`
|
2019
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Container>]
|
2020
|
+
attr_accessor :containers
|
2021
|
+
|
2022
|
+
# Pod labels. For Kubernetes containers, these are applied to the container.
|
2023
|
+
# Corresponds to the JSON property `labels`
|
2024
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Label>]
|
2025
|
+
attr_accessor :labels
|
2026
|
+
|
2027
|
+
# Kubernetes Pod name.
|
2028
|
+
# Corresponds to the JSON property `name`
|
2029
|
+
# @return [String]
|
2030
|
+
attr_accessor :name
|
2031
|
+
|
2032
|
+
# Kubernetes Pod namespace.
|
2033
|
+
# Corresponds to the JSON property `ns`
|
2034
|
+
# @return [String]
|
2035
|
+
attr_accessor :ns
|
2036
|
+
|
2037
|
+
def initialize(**args)
|
2038
|
+
update!(**args)
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
# Update properties of this object
|
2042
|
+
def update!(**args)
|
2043
|
+
@containers = args[:containers] if args.key?(:containers)
|
2044
|
+
@labels = args[:labels] if args.key?(:labels)
|
2045
|
+
@name = args[:name] if args.key?(:name)
|
2046
|
+
@ns = args[:ns] if args.key?(:ns)
|
2047
|
+
end
|
2048
|
+
end
|
2049
|
+
|
1741
2050
|
# Represents an operating system process.
|
1742
2051
|
class Process
|
1743
2052
|
include Google::Apis::Core::Hashable
|
@@ -1775,8 +2084,8 @@ module Google
|
|
1775
2084
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::File>]
|
1776
2085
|
attr_accessor :libraries
|
1777
2086
|
|
1778
|
-
# The process name visible in utilities like top and ps
|
1779
|
-
# proc/[pid]/comm and changed with prctl(PR_SET_NAME)
|
2087
|
+
# The process name visible in utilities like `top` and `ps`; it can be accessed
|
2088
|
+
# via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
|
1780
2089
|
# Corresponds to the JSON property `name`
|
1781
2090
|
# @return [String]
|
1782
2091
|
attr_accessor :name
|
@@ -1841,6 +2150,49 @@ module Google
|
|
1841
2150
|
end
|
1842
2151
|
end
|
1843
2152
|
|
2153
|
+
# Resource capturing the settings for the Rapid Vulnerability Detection service.
|
2154
|
+
class RapidVulnerabilityDetectionSettings
|
2155
|
+
include Google::Apis::Core::Hashable
|
2156
|
+
|
2157
|
+
# The configurations including the state of enablement for the service's
|
2158
|
+
# different modules. The absence of a module in the map implies its
|
2159
|
+
# configuration is inherited from its parent's.
|
2160
|
+
# Corresponds to the JSON property `modules`
|
2161
|
+
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::Config>]
|
2162
|
+
attr_accessor :modules
|
2163
|
+
|
2164
|
+
# The resource name of the RapidVulnerabilityDetectionSettings. Formats: *
|
2165
|
+
# organizations/`organization`/rapidVulnerabilityDetectionSettings * folders/`
|
2166
|
+
# folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
2167
|
+
# rapidVulnerabilityDetectionSettings
|
2168
|
+
# Corresponds to the JSON property `name`
|
2169
|
+
# @return [String]
|
2170
|
+
attr_accessor :name
|
2171
|
+
|
2172
|
+
# The state of enablement for the service at its level of the resource hierarchy.
|
2173
|
+
# A DISABLED state will override all module enablement_states to DISABLED.
|
2174
|
+
# Corresponds to the JSON property `serviceEnablementState`
|
2175
|
+
# @return [String]
|
2176
|
+
attr_accessor :service_enablement_state
|
2177
|
+
|
2178
|
+
# Output only. The time the settings were last updated.
|
2179
|
+
# Corresponds to the JSON property `updateTime`
|
2180
|
+
# @return [String]
|
2181
|
+
attr_accessor :update_time
|
2182
|
+
|
2183
|
+
def initialize(**args)
|
2184
|
+
update!(**args)
|
2185
|
+
end
|
2186
|
+
|
2187
|
+
# Update properties of this object
|
2188
|
+
def update!(**args)
|
2189
|
+
@modules = args[:modules] if args.key?(:modules)
|
2190
|
+
@name = args[:name] if args.key?(:name)
|
2191
|
+
@service_enablement_state = args[:service_enablement_state] if args.key?(:service_enablement_state)
|
2192
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2193
|
+
end
|
2194
|
+
end
|
2195
|
+
|
1844
2196
|
# Additional Links
|
1845
2197
|
class Reference
|
1846
2198
|
include Google::Apis::Core::Hashable
|
@@ -1867,6 +2219,37 @@ module Google
|
|
1867
2219
|
end
|
1868
2220
|
end
|
1869
2221
|
|
2222
|
+
# Kubernetes Role or ClusterRole.
|
2223
|
+
class Role
|
2224
|
+
include Google::Apis::Core::Hashable
|
2225
|
+
|
2226
|
+
# Role type.
|
2227
|
+
# Corresponds to the JSON property `kind`
|
2228
|
+
# @return [String]
|
2229
|
+
attr_accessor :kind
|
2230
|
+
|
2231
|
+
# Role name.
|
2232
|
+
# Corresponds to the JSON property `name`
|
2233
|
+
# @return [String]
|
2234
|
+
attr_accessor :name
|
2235
|
+
|
2236
|
+
# Role namespace.
|
2237
|
+
# Corresponds to the JSON property `ns`
|
2238
|
+
# @return [String]
|
2239
|
+
attr_accessor :ns
|
2240
|
+
|
2241
|
+
def initialize(**args)
|
2242
|
+
update!(**args)
|
2243
|
+
end
|
2244
|
+
|
2245
|
+
# Update properties of this object
|
2246
|
+
def update!(**args)
|
2247
|
+
@kind = args[:kind] if args.key?(:kind)
|
2248
|
+
@name = args[:name] if args.key?(:name)
|
2249
|
+
@ns = args[:ns] if args.key?(:ns)
|
2250
|
+
end
|
2251
|
+
end
|
2252
|
+
|
1870
2253
|
# Resource capturing the settings for Security Center.
|
1871
2254
|
class SecurityCenterSettings
|
1872
2255
|
include Google::Apis::Core::Hashable
|
@@ -1875,7 +2258,8 @@ module Google
|
|
1875
2258
|
# the organization this resource resides in. The format is `projects/`project_id`
|
1876
2259
|
# `. An empty value disables logging. This value is only referenced by services
|
1877
2260
|
# that support log sink. Please refer to the documentation for an updated list
|
1878
|
-
# of compatible services.
|
2261
|
+
# of compatible services. This may only be specified for organization level
|
2262
|
+
# onboarding.
|
1879
2263
|
# Corresponds to the JSON property `logSinkProject`
|
1880
2264
|
# @return [String]
|
1881
2265
|
attr_accessor :log_sink_project
|
@@ -1887,13 +2271,13 @@ module Google
|
|
1887
2271
|
# @return [String]
|
1888
2272
|
attr_accessor :name
|
1889
2273
|
|
1890
|
-
# Timestamp of when the customer organization was onboarded to SCC.
|
2274
|
+
# Output only. Timestamp of when the customer organization was onboarded to SCC.
|
1891
2275
|
# Corresponds to the JSON property `onboardingTime`
|
1892
2276
|
# @return [String]
|
1893
2277
|
attr_accessor :onboarding_time
|
1894
2278
|
|
1895
|
-
# The organization level service account to be used for security
|
1896
|
-
# components.
|
2279
|
+
# Output only. The organization level service account to be used for security
|
2280
|
+
# center components.
|
1897
2281
|
# Corresponds to the JSON property `orgServiceAccount`
|
1898
2282
|
# @return [String]
|
1899
2283
|
attr_accessor :org_service_account
|
@@ -2007,6 +2391,37 @@ module Google
|
|
2007
2391
|
end
|
2008
2392
|
end
|
2009
2393
|
|
2394
|
+
# Represents a Kubernetes Subject.
|
2395
|
+
class Subject
|
2396
|
+
include Google::Apis::Core::Hashable
|
2397
|
+
|
2398
|
+
# Authentication type for subject.
|
2399
|
+
# Corresponds to the JSON property `kind`
|
2400
|
+
# @return [String]
|
2401
|
+
attr_accessor :kind
|
2402
|
+
|
2403
|
+
# Name for subject.
|
2404
|
+
# Corresponds to the JSON property `name`
|
2405
|
+
# @return [String]
|
2406
|
+
attr_accessor :name
|
2407
|
+
|
2408
|
+
# Namespace for subject.
|
2409
|
+
# Corresponds to the JSON property `ns`
|
2410
|
+
# @return [String]
|
2411
|
+
attr_accessor :ns
|
2412
|
+
|
2413
|
+
def initialize(**args)
|
2414
|
+
update!(**args)
|
2415
|
+
end
|
2416
|
+
|
2417
|
+
# Update properties of this object
|
2418
|
+
def update!(**args)
|
2419
|
+
@kind = args[:kind] if args.key?(:kind)
|
2420
|
+
@name = args[:name] if args.key?(:name)
|
2421
|
+
@ns = args[:ns] if args.key?(:ns)
|
2422
|
+
end
|
2423
|
+
end
|
2424
|
+
|
2010
2425
|
# Resource capturing the state of an organization's subscription.
|
2011
2426
|
class Subscription
|
2012
2427
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta2
|
18
18
|
# Version of the google-apis-securitycenter_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220713"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AccessReview
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Compliance
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -58,6 +64,12 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
66
|
|
67
|
+
class Container
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class ContainerThreatDetectionSettings
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -142,6 +154,12 @@ module Google
|
|
142
154
|
include Google::Apis::Core::JsonObjectSupport
|
143
155
|
end
|
144
156
|
|
157
|
+
class GoogleCloudSecuritycenterV1Binding
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
145
163
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
165
|
|
@@ -232,6 +250,18 @@ module Google
|
|
232
250
|
include Google::Apis::Core::JsonObjectSupport
|
233
251
|
end
|
234
252
|
|
253
|
+
class Kubernetes
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class Label
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
235
265
|
class MemoryHashSignature
|
236
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
267
|
|
@@ -244,12 +274,30 @@ module Google
|
|
244
274
|
include Google::Apis::Core::JsonObjectSupport
|
245
275
|
end
|
246
276
|
|
277
|
+
class Node
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class NodePool
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
247
289
|
class OnboardingState
|
248
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
291
|
|
250
292
|
include Google::Apis::Core::JsonObjectSupport
|
251
293
|
end
|
252
294
|
|
295
|
+
class Pod
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
253
301
|
class Process
|
254
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
303
|
|
@@ -262,12 +310,24 @@ module Google
|
|
262
310
|
include Google::Apis::Core::JsonObjectSupport
|
263
311
|
end
|
264
312
|
|
313
|
+
class RapidVulnerabilityDetectionSettings
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
265
319
|
class Reference
|
266
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
321
|
|
268
322
|
include Google::Apis::Core::JsonObjectSupport
|
269
323
|
end
|
270
324
|
|
325
|
+
class Role
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
271
331
|
class SecurityCenterSettings
|
272
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
333
|
|
@@ -286,6 +346,12 @@ module Google
|
|
286
346
|
include Google::Apis::Core::JsonObjectSupport
|
287
347
|
end
|
288
348
|
|
349
|
+
class Subject
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
289
355
|
class Subscription
|
290
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
357
|
|
@@ -329,6 +395,19 @@ module Google
|
|
329
395
|
end
|
330
396
|
end
|
331
397
|
|
398
|
+
class AccessReview
|
399
|
+
# @private
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
property :group, as: 'group'
|
402
|
+
property :name, as: 'name'
|
403
|
+
property :ns, as: 'ns'
|
404
|
+
property :resource, as: 'resource'
|
405
|
+
property :subresource, as: 'subresource'
|
406
|
+
property :verb, as: 'verb'
|
407
|
+
property :version, as: 'version'
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
332
411
|
class Compliance
|
333
412
|
# @private
|
334
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -372,6 +451,17 @@ module Google
|
|
372
451
|
end
|
373
452
|
end
|
374
453
|
|
454
|
+
class Container
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :image_id, as: 'imageId'
|
458
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::Label, decorator: Google::Apis::SecuritycenterV1beta2::Label::Representation
|
459
|
+
|
460
|
+
property :name, as: 'name'
|
461
|
+
property :uri, as: 'uri'
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
375
465
|
class ContainerThreatDetectionSettings
|
376
466
|
# @private
|
377
467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -490,6 +580,8 @@ module Google
|
|
490
580
|
|
491
581
|
hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::ContactDetails, decorator: Google::Apis::SecuritycenterV1beta2::ContactDetails::Representation
|
492
582
|
|
583
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
|
584
|
+
|
493
585
|
property :create_time, as: 'createTime'
|
494
586
|
property :description, as: 'description'
|
495
587
|
property :event_time, as: 'eventTime'
|
@@ -503,6 +595,8 @@ module Google
|
|
503
595
|
|
504
596
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
|
505
597
|
|
598
|
+
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::Kubernetes::Representation
|
599
|
+
|
506
600
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation
|
507
601
|
|
508
602
|
property :mute, as: 'mute'
|
@@ -553,6 +647,18 @@ module Google
|
|
553
647
|
end
|
554
648
|
end
|
555
649
|
|
650
|
+
class GoogleCloudSecuritycenterV1Binding
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :name, as: 'name'
|
654
|
+
property :ns, as: 'ns'
|
655
|
+
property :role, as: 'role', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation
|
656
|
+
|
657
|
+
collection :subjects, as: 'subjects', class: Google::Apis::SecuritycenterV1beta2::Subject, decorator: Google::Apis::SecuritycenterV1beta2::Subject::Representation
|
658
|
+
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
556
662
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
557
663
|
# @private
|
558
664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -712,6 +818,32 @@ module Google
|
|
712
818
|
end
|
713
819
|
end
|
714
820
|
|
821
|
+
class Kubernetes
|
822
|
+
# @private
|
823
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
824
|
+
collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1beta2::AccessReview, decorator: Google::Apis::SecuritycenterV1beta2::AccessReview::Representation
|
825
|
+
|
826
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding::Representation
|
827
|
+
|
828
|
+
collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1beta2::NodePool, decorator: Google::Apis::SecuritycenterV1beta2::NodePool::Representation
|
829
|
+
|
830
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
831
|
+
|
832
|
+
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta2::Pod, decorator: Google::Apis::SecuritycenterV1beta2::Pod::Representation
|
833
|
+
|
834
|
+
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation
|
835
|
+
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
839
|
+
class Label
|
840
|
+
# @private
|
841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
842
|
+
property :name, as: 'name'
|
843
|
+
property :value, as: 'value'
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
715
847
|
class MemoryHashSignature
|
716
848
|
# @private
|
717
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -732,6 +864,22 @@ module Google
|
|
732
864
|
end
|
733
865
|
end
|
734
866
|
|
867
|
+
class Node
|
868
|
+
# @private
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
870
|
+
property :name, as: 'name'
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
class NodePool
|
875
|
+
# @private
|
876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
877
|
+
property :name, as: 'name'
|
878
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
879
|
+
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
735
883
|
class OnboardingState
|
736
884
|
# @private
|
737
885
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -740,6 +888,18 @@ module Google
|
|
740
888
|
end
|
741
889
|
end
|
742
890
|
|
891
|
+
class Pod
|
892
|
+
# @private
|
893
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
894
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
|
895
|
+
|
896
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::Label, decorator: Google::Apis::SecuritycenterV1beta2::Label::Representation
|
897
|
+
|
898
|
+
property :name, as: 'name'
|
899
|
+
property :ns, as: 'ns'
|
900
|
+
end
|
901
|
+
end
|
902
|
+
|
743
903
|
class Process
|
744
904
|
# @private
|
745
905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -770,6 +930,17 @@ module Google
|
|
770
930
|
end
|
771
931
|
end
|
772
932
|
|
933
|
+
class RapidVulnerabilityDetectionSettings
|
934
|
+
# @private
|
935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
936
|
+
hash :modules, as: 'modules', class: Google::Apis::SecuritycenterV1beta2::Config, decorator: Google::Apis::SecuritycenterV1beta2::Config::Representation
|
937
|
+
|
938
|
+
property :name, as: 'name'
|
939
|
+
property :service_enablement_state, as: 'serviceEnablementState'
|
940
|
+
property :update_time, as: 'updateTime'
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
773
944
|
class Reference
|
774
945
|
# @private
|
775
946
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -778,6 +949,15 @@ module Google
|
|
778
949
|
end
|
779
950
|
end
|
780
951
|
|
952
|
+
class Role
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :kind, as: 'kind'
|
956
|
+
property :name, as: 'name'
|
957
|
+
property :ns, as: 'ns'
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
781
961
|
class SecurityCenterSettings
|
782
962
|
# @private
|
783
963
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -809,6 +989,15 @@ module Google
|
|
809
989
|
end
|
810
990
|
end
|
811
991
|
|
992
|
+
class Subject
|
993
|
+
# @private
|
994
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
995
|
+
property :kind, as: 'kind'
|
996
|
+
property :name, as: 'name'
|
997
|
+
property :ns, as: 'ns'
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
812
1001
|
class Subscription
|
813
1002
|
# @private
|
814
1003
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -148,6 +148,39 @@ module Google
|
|
148
148
|
execute_or_queue_command(command, &block)
|
149
149
|
end
|
150
150
|
|
151
|
+
# Get the RapidVulnerabilityDetectionSettings resource.
|
152
|
+
# @param [String] name
|
153
|
+
# Required. The name of the RapidVulnerabilityDetectionSettings to retrieve.
|
154
|
+
# Formats: * organizations/`organization`/rapidVulnerabilityDetectionSettings *
|
155
|
+
# folders/`folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
156
|
+
# rapidVulnerabilityDetectionSettings
|
157
|
+
# @param [String] fields
|
158
|
+
# Selector specifying which fields to include in a partial response.
|
159
|
+
# @param [String] quota_user
|
160
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
161
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
162
|
+
# @param [Google::Apis::RequestOptions] options
|
163
|
+
# Request-specific options
|
164
|
+
#
|
165
|
+
# @yield [result, err] Result & error if block supplied
|
166
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
167
|
+
# @yieldparam err [StandardError] error object if request failed
|
168
|
+
#
|
169
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
170
|
+
#
|
171
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
172
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
173
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
174
|
+
def get_folder_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
175
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
176
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
177
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
178
|
+
command.params['name'] = name unless name.nil?
|
179
|
+
command.query['fields'] = fields unless fields.nil?
|
180
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
181
|
+
execute_or_queue_command(command, &block)
|
182
|
+
end
|
183
|
+
|
151
184
|
# Get the SecurityCenterSettings resource.
|
152
185
|
# @param [String] name
|
153
186
|
# Required. The name of the SecurityCenterSettings to retrieve. Format:
|
@@ -356,6 +389,45 @@ module Google
|
|
356
389
|
execute_or_queue_command(command, &block)
|
357
390
|
end
|
358
391
|
|
392
|
+
# Update the RapidVulnerabilityDetectionSettings resource.
|
393
|
+
# @param [String] name
|
394
|
+
# The resource name of the RapidVulnerabilityDetectionSettings. Formats: *
|
395
|
+
# organizations/`organization`/rapidVulnerabilityDetectionSettings * folders/`
|
396
|
+
# folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
397
|
+
# rapidVulnerabilityDetectionSettings
|
398
|
+
# @param [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] rapid_vulnerability_detection_settings_object
|
399
|
+
# @param [String] update_mask
|
400
|
+
# The list of fields to be updated.
|
401
|
+
# @param [String] fields
|
402
|
+
# Selector specifying which fields to include in a partial response.
|
403
|
+
# @param [String] quota_user
|
404
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
405
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
406
|
+
# @param [Google::Apis::RequestOptions] options
|
407
|
+
# Request-specific options
|
408
|
+
#
|
409
|
+
# @yield [result, err] Result & error if block supplied
|
410
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
411
|
+
# @yieldparam err [StandardError] error object if request failed
|
412
|
+
#
|
413
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
414
|
+
#
|
415
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
416
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
417
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
418
|
+
def update_folder_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
419
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
420
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
421
|
+
command.request_object = rapid_vulnerability_detection_settings_object
|
422
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
423
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
424
|
+
command.params['name'] = name unless name.nil?
|
425
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
426
|
+
command.query['fields'] = fields unless fields.nil?
|
427
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
428
|
+
execute_or_queue_command(command, &block)
|
429
|
+
end
|
430
|
+
|
359
431
|
# Update the SecurityHealthAnalyticsSettings resource.
|
360
432
|
# @param [String] name
|
361
433
|
# The resource name of the SecurityHealthAnalyticsSettings. Formats: *
|
@@ -540,6 +612,40 @@ module Google
|
|
540
612
|
execute_or_queue_command(command, &block)
|
541
613
|
end
|
542
614
|
|
615
|
+
# Calculates the effective RapidVulnerabilityDetectionSettings based on its
|
616
|
+
# level in the resource hierarchy and its settings.
|
617
|
+
# @param [String] name
|
618
|
+
# Required. The name of the RapidVulnerabilityDetectionSettings to calculate.
|
619
|
+
# Formats: * organizations/`organization`/rapidVulnerabilityDetectionSettings *
|
620
|
+
# folders/`folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
621
|
+
# rapidVulnerabilityDetectionSettings
|
622
|
+
# @param [String] fields
|
623
|
+
# Selector specifying which fields to include in a partial response.
|
624
|
+
# @param [String] quota_user
|
625
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
626
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
627
|
+
# @param [Google::Apis::RequestOptions] options
|
628
|
+
# Request-specific options
|
629
|
+
#
|
630
|
+
# @yield [result, err] Result & error if block supplied
|
631
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
632
|
+
# @yieldparam err [StandardError] error object if request failed
|
633
|
+
#
|
634
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
635
|
+
#
|
636
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
637
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
638
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
639
|
+
def calculate_folder_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
640
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
641
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
642
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
643
|
+
command.params['name'] = name unless name.nil?
|
644
|
+
command.query['fields'] = fields unless fields.nil?
|
645
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
646
|
+
execute_or_queue_command(command, &block)
|
647
|
+
end
|
648
|
+
|
543
649
|
# Calculates the effective SecurityHealthAnalyticsSettings based on its level in
|
544
650
|
# the resource hierarchy and its settings.
|
545
651
|
# @param [String] name
|
@@ -739,6 +845,39 @@ module Google
|
|
739
845
|
execute_or_queue_command(command, &block)
|
740
846
|
end
|
741
847
|
|
848
|
+
# Get the RapidVulnerabilityDetectionSettings resource.
|
849
|
+
# @param [String] name
|
850
|
+
# Required. The name of the RapidVulnerabilityDetectionSettings to retrieve.
|
851
|
+
# Formats: * organizations/`organization`/rapidVulnerabilityDetectionSettings *
|
852
|
+
# folders/`folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
853
|
+
# rapidVulnerabilityDetectionSettings
|
854
|
+
# @param [String] fields
|
855
|
+
# Selector specifying which fields to include in a partial response.
|
856
|
+
# @param [String] quota_user
|
857
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
858
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
859
|
+
# @param [Google::Apis::RequestOptions] options
|
860
|
+
# Request-specific options
|
861
|
+
#
|
862
|
+
# @yield [result, err] Result & error if block supplied
|
863
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
864
|
+
# @yieldparam err [StandardError] error object if request failed
|
865
|
+
#
|
866
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
867
|
+
#
|
868
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
869
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
870
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
871
|
+
def get_organization_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
872
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
873
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
874
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
875
|
+
command.params['name'] = name unless name.nil?
|
876
|
+
command.query['fields'] = fields unless fields.nil?
|
877
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
878
|
+
execute_or_queue_command(command, &block)
|
879
|
+
end
|
880
|
+
|
742
881
|
# Get the SecurityCenterSettings resource.
|
743
882
|
# @param [String] name
|
744
883
|
# Required. The name of the SecurityCenterSettings to retrieve. Format:
|
@@ -978,6 +1117,45 @@ module Google
|
|
978
1117
|
execute_or_queue_command(command, &block)
|
979
1118
|
end
|
980
1119
|
|
1120
|
+
# Update the RapidVulnerabilityDetectionSettings resource.
|
1121
|
+
# @param [String] name
|
1122
|
+
# The resource name of the RapidVulnerabilityDetectionSettings. Formats: *
|
1123
|
+
# organizations/`organization`/rapidVulnerabilityDetectionSettings * folders/`
|
1124
|
+
# folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
1125
|
+
# rapidVulnerabilityDetectionSettings
|
1126
|
+
# @param [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] rapid_vulnerability_detection_settings_object
|
1127
|
+
# @param [String] update_mask
|
1128
|
+
# The list of fields to be updated.
|
1129
|
+
# @param [String] fields
|
1130
|
+
# Selector specifying which fields to include in a partial response.
|
1131
|
+
# @param [String] quota_user
|
1132
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1133
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1134
|
+
# @param [Google::Apis::RequestOptions] options
|
1135
|
+
# Request-specific options
|
1136
|
+
#
|
1137
|
+
# @yield [result, err] Result & error if block supplied
|
1138
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
1139
|
+
# @yieldparam err [StandardError] error object if request failed
|
1140
|
+
#
|
1141
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
1142
|
+
#
|
1143
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1144
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1145
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1146
|
+
def update_organization_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1147
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
1148
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
1149
|
+
command.request_object = rapid_vulnerability_detection_settings_object
|
1150
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
1151
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
1152
|
+
command.params['name'] = name unless name.nil?
|
1153
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1154
|
+
command.query['fields'] = fields unless fields.nil?
|
1155
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1156
|
+
execute_or_queue_command(command, &block)
|
1157
|
+
end
|
1158
|
+
|
981
1159
|
# Update the SecurityHealthAnalyticsSettings resource.
|
982
1160
|
# @param [String] name
|
983
1161
|
# The resource name of the SecurityHealthAnalyticsSettings. Formats: *
|
@@ -1162,6 +1340,40 @@ module Google
|
|
1162
1340
|
execute_or_queue_command(command, &block)
|
1163
1341
|
end
|
1164
1342
|
|
1343
|
+
# Calculates the effective RapidVulnerabilityDetectionSettings based on its
|
1344
|
+
# level in the resource hierarchy and its settings.
|
1345
|
+
# @param [String] name
|
1346
|
+
# Required. The name of the RapidVulnerabilityDetectionSettings to calculate.
|
1347
|
+
# Formats: * organizations/`organization`/rapidVulnerabilityDetectionSettings *
|
1348
|
+
# folders/`folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
1349
|
+
# rapidVulnerabilityDetectionSettings
|
1350
|
+
# @param [String] fields
|
1351
|
+
# Selector specifying which fields to include in a partial response.
|
1352
|
+
# @param [String] quota_user
|
1353
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1354
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1355
|
+
# @param [Google::Apis::RequestOptions] options
|
1356
|
+
# Request-specific options
|
1357
|
+
#
|
1358
|
+
# @yield [result, err] Result & error if block supplied
|
1359
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
1360
|
+
# @yieldparam err [StandardError] error object if request failed
|
1361
|
+
#
|
1362
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
1363
|
+
#
|
1364
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1365
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1366
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1367
|
+
def calculate_organization_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
1368
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
1369
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
1370
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
1371
|
+
command.params['name'] = name unless name.nil?
|
1372
|
+
command.query['fields'] = fields unless fields.nil?
|
1373
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1374
|
+
execute_or_queue_command(command, &block)
|
1375
|
+
end
|
1376
|
+
|
1165
1377
|
# Calculates the effective SecurityHealthAnalyticsSettings based on its level in
|
1166
1378
|
# the resource hierarchy and its settings.
|
1167
1379
|
# @param [String] name
|
@@ -1361,6 +1573,39 @@ module Google
|
|
1361
1573
|
execute_or_queue_command(command, &block)
|
1362
1574
|
end
|
1363
1575
|
|
1576
|
+
# Get the RapidVulnerabilityDetectionSettings resource.
|
1577
|
+
# @param [String] name
|
1578
|
+
# Required. The name of the RapidVulnerabilityDetectionSettings to retrieve.
|
1579
|
+
# Formats: * organizations/`organization`/rapidVulnerabilityDetectionSettings *
|
1580
|
+
# folders/`folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
1581
|
+
# rapidVulnerabilityDetectionSettings
|
1582
|
+
# @param [String] fields
|
1583
|
+
# Selector specifying which fields to include in a partial response.
|
1584
|
+
# @param [String] quota_user
|
1585
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1586
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1587
|
+
# @param [Google::Apis::RequestOptions] options
|
1588
|
+
# Request-specific options
|
1589
|
+
#
|
1590
|
+
# @yield [result, err] Result & error if block supplied
|
1591
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
1592
|
+
# @yieldparam err [StandardError] error object if request failed
|
1593
|
+
#
|
1594
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
1595
|
+
#
|
1596
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1597
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1598
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1599
|
+
def get_project_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
1600
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
1601
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
1602
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
1603
|
+
command.params['name'] = name unless name.nil?
|
1604
|
+
command.query['fields'] = fields unless fields.nil?
|
1605
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1606
|
+
execute_or_queue_command(command, &block)
|
1607
|
+
end
|
1608
|
+
|
1364
1609
|
# Get the SecurityCenterSettings resource.
|
1365
1610
|
# @param [String] name
|
1366
1611
|
# Required. The name of the SecurityCenterSettings to retrieve. Format:
|
@@ -1569,6 +1814,45 @@ module Google
|
|
1569
1814
|
execute_or_queue_command(command, &block)
|
1570
1815
|
end
|
1571
1816
|
|
1817
|
+
# Update the RapidVulnerabilityDetectionSettings resource.
|
1818
|
+
# @param [String] name
|
1819
|
+
# The resource name of the RapidVulnerabilityDetectionSettings. Formats: *
|
1820
|
+
# organizations/`organization`/rapidVulnerabilityDetectionSettings * folders/`
|
1821
|
+
# folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
1822
|
+
# rapidVulnerabilityDetectionSettings
|
1823
|
+
# @param [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] rapid_vulnerability_detection_settings_object
|
1824
|
+
# @param [String] update_mask
|
1825
|
+
# The list of fields to be updated.
|
1826
|
+
# @param [String] fields
|
1827
|
+
# Selector specifying which fields to include in a partial response.
|
1828
|
+
# @param [String] quota_user
|
1829
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1830
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1831
|
+
# @param [Google::Apis::RequestOptions] options
|
1832
|
+
# Request-specific options
|
1833
|
+
#
|
1834
|
+
# @yield [result, err] Result & error if block supplied
|
1835
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
1836
|
+
# @yieldparam err [StandardError] error object if request failed
|
1837
|
+
#
|
1838
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
1839
|
+
#
|
1840
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1841
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1842
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1843
|
+
def update_project_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1844
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
1845
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
1846
|
+
command.request_object = rapid_vulnerability_detection_settings_object
|
1847
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
1848
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
1849
|
+
command.params['name'] = name unless name.nil?
|
1850
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1851
|
+
command.query['fields'] = fields unless fields.nil?
|
1852
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1853
|
+
execute_or_queue_command(command, &block)
|
1854
|
+
end
|
1855
|
+
|
1572
1856
|
# Update the SecurityHealthAnalyticsSettings resource.
|
1573
1857
|
# @param [String] name
|
1574
1858
|
# The resource name of the SecurityHealthAnalyticsSettings. Formats: *
|
@@ -1862,6 +2146,40 @@ module Google
|
|
1862
2146
|
execute_or_queue_command(command, &block)
|
1863
2147
|
end
|
1864
2148
|
|
2149
|
+
# Calculates the effective RapidVulnerabilityDetectionSettings based on its
|
2150
|
+
# level in the resource hierarchy and its settings.
|
2151
|
+
# @param [String] name
|
2152
|
+
# Required. The name of the RapidVulnerabilityDetectionSettings to calculate.
|
2153
|
+
# Formats: * organizations/`organization`/rapidVulnerabilityDetectionSettings *
|
2154
|
+
# folders/`folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
|
2155
|
+
# rapidVulnerabilityDetectionSettings
|
2156
|
+
# @param [String] fields
|
2157
|
+
# Selector specifying which fields to include in a partial response.
|
2158
|
+
# @param [String] quota_user
|
2159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2161
|
+
# @param [Google::Apis::RequestOptions] options
|
2162
|
+
# Request-specific options
|
2163
|
+
#
|
2164
|
+
# @yield [result, err] Result & error if block supplied
|
2165
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings] parsed result object
|
2166
|
+
# @yieldparam err [StandardError] error object if request failed
|
2167
|
+
#
|
2168
|
+
# @return [Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings]
|
2169
|
+
#
|
2170
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2171
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2172
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2173
|
+
def calculate_project_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
2174
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
2175
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation
|
2176
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
|
2177
|
+
command.params['name'] = name unless name.nil?
|
2178
|
+
command.query['fields'] = fields unless fields.nil?
|
2179
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2180
|
+
execute_or_queue_command(command, &block)
|
2181
|
+
end
|
2182
|
+
|
1865
2183
|
# Calculates the effective SecurityHealthAnalyticsSettings based on its level in
|
1866
2184
|
# the resource hierarchy and its settings.
|
1867
2185
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.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: 2022-
|
11
|
+
date: 2022-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.29.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|