google-cloud-security_center-v1p1beta1 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/security_center/v1p1beta1.rb +1 -1
- data/lib/google/cloud/security_center/v1p1beta1/security_center.rb +1 -1
- data/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb +462 -462
- data/lib/google/cloud/security_center/v1p1beta1/security_center/credentials.rb +1 -1
- data/lib/google/cloud/security_center/v1p1beta1/security_center/operations.rb +100 -100
- data/lib/google/cloud/security_center/v1p1beta1/security_center/paths.rb +16 -16
- data/lib/google/cloud/security_center/v1p1beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb +26 -26
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb +16 -16
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/notification_config.rb +11 -11
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/notification_message.rb +4 -4
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/organization_settings.rb +9 -9
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.rb +4 -4
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/security_marks.rb +8 -8
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb +163 -163
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/source.rb +5 -5
- data/proto_docs/google/iam/v1/iam_policy.rb +15 -15
- data/proto_docs/google/iam/v1/options.rb +3 -3
- data/proto_docs/google/iam/v1/policy.rb +26 -26
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +18 -18
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- data/proto_docs/google/type/expr.rb +6 -6
- metadata +2 -2
@@ -23,15 +23,15 @@ module Google
|
|
23
23
|
module V1p1beta1
|
24
24
|
# Cloud SCC's Notification
|
25
25
|
# @!attribute [rw] notification_config_name
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Name of the notification config that generated current notification.
|
28
28
|
# @!attribute [rw] finding
|
29
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
29
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
30
30
|
# If it's a Finding based notification config, this field will be
|
31
31
|
# populated.
|
32
32
|
class NotificationMessage
|
33
|
-
include Google::Protobuf::MessageExts
|
34
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
@@ -24,34 +24,34 @@ module Google
|
|
24
24
|
# User specified settings that are attached to the Cloud Security Command
|
25
25
|
# Center (Cloud SCC) organization.
|
26
26
|
# @!attribute [rw] name
|
27
|
-
# @return [String]
|
27
|
+
# @return [::String]
|
28
28
|
# The relative resource name of the settings. See:
|
29
29
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
30
30
|
# Example:
|
31
31
|
# "organizations/\\{organization_id}/organizationSettings".
|
32
32
|
# @!attribute [rw] enable_asset_discovery
|
33
|
-
# @return [Boolean]
|
33
|
+
# @return [::Boolean]
|
34
34
|
# A flag that indicates if Asset Discovery should be enabled. If the flag is
|
35
35
|
# set to `true`, then discovery of assets will occur. If it is set to `false,
|
36
36
|
# all historical assets will remain, but discovery of future assets will not
|
37
37
|
# occur.
|
38
38
|
# @!attribute [rw] asset_discovery_config
|
39
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::OrganizationSettings::AssetDiscoveryConfig]
|
39
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::OrganizationSettings::AssetDiscoveryConfig]
|
40
40
|
# The configuration used for Asset Discovery runs.
|
41
41
|
class OrganizationSettings
|
42
|
-
include Google::Protobuf::MessageExts
|
43
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
44
|
|
45
45
|
# The configuration used for Asset Discovery runs.
|
46
46
|
# @!attribute [rw] project_ids
|
47
|
-
# @return [Array
|
47
|
+
# @return [::Array<::String>]
|
48
48
|
# The project ids to use for filtering asset discovery.
|
49
49
|
# @!attribute [rw] inclusion_mode
|
50
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::OrganizationSettings::AssetDiscoveryConfig::InclusionMode]
|
50
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::OrganizationSettings::AssetDiscoveryConfig::InclusionMode]
|
51
51
|
# The mode to use for filtering asset discovery.
|
52
52
|
class AssetDiscoveryConfig
|
53
|
-
include Google::Protobuf::MessageExts
|
54
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
55
|
|
56
56
|
# The mode of inclusion when running Asset Discovery.
|
57
57
|
# Asset discovery can be limited by explicitly identifying projects to be
|
@@ -23,14 +23,14 @@ module Google
|
|
23
23
|
module V1p1beta1
|
24
24
|
# Response of asset discovery run
|
25
25
|
# @!attribute [rw] state
|
26
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::RunAssetDiscoveryResponse::State]
|
26
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::RunAssetDiscoveryResponse::State]
|
27
27
|
# The state of an asset discovery run.
|
28
28
|
# @!attribute [rw] duration
|
29
|
-
# @return [Google::Protobuf::Duration]
|
29
|
+
# @return [::Google::Protobuf::Duration]
|
30
30
|
# The duration between asset discovery run start and end
|
31
31
|
class RunAssetDiscoveryResponse
|
32
|
-
include Google::Protobuf::MessageExts
|
33
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
|
35
35
|
# The state of an asset discovery run.
|
36
36
|
module State
|
@@ -26,14 +26,14 @@ module Google
|
|
26
26
|
# SCC organization -- they can be modified and viewed by all users who have
|
27
27
|
# proper permissions on the organization.
|
28
28
|
# @!attribute [rw] name
|
29
|
-
# @return [String]
|
29
|
+
# @return [::String]
|
30
30
|
# The relative resource name of the SecurityMarks. See:
|
31
31
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
32
32
|
# Examples:
|
33
33
|
# "organizations/\\{organization_id}/assets/\\{asset_id}/securityMarks"
|
34
34
|
# "organizations/\\{organization_id}/sources/\\{source_id}/findings/\\{finding_id}/securityMarks".
|
35
35
|
# @!attribute [rw] marks
|
36
|
-
# @return [Google::Protobuf::Map{String => String}]
|
36
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
37
37
|
# Mutable user specified security marks belonging to the parent resource.
|
38
38
|
# Constraints are as follows:
|
39
39
|
#
|
@@ -43,16 +43,16 @@ module Google
|
|
43
43
|
# * Values have leading and trailing whitespace trimmed, remaining
|
44
44
|
# characters must be between 1 - 4096 characters (inclusive)
|
45
45
|
class SecurityMarks
|
46
|
-
include Google::Protobuf::MessageExts
|
47
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
include ::Google::Protobuf::MessageExts
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
48
|
|
49
49
|
# @!attribute [rw] key
|
50
|
-
# @return [String]
|
50
|
+
# @return [::String]
|
51
51
|
# @!attribute [rw] value
|
52
|
-
# @return [String]
|
52
|
+
# @return [::String]
|
53
53
|
class MarksEntry
|
54
|
-
include Google::Protobuf::MessageExts
|
55
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -23,105 +23,105 @@ module Google
|
|
23
23
|
module V1p1beta1
|
24
24
|
# Request message for creating a finding.
|
25
25
|
# @!attribute [rw] parent
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. Resource name of the new finding's parent. Its format should be
|
28
28
|
# "organizations/[organization_id]/sources/[source_id]".
|
29
29
|
# @!attribute [rw] finding_id
|
30
|
-
# @return [String]
|
30
|
+
# @return [::String]
|
31
31
|
# Required. Unique identifier provided by the client within the parent scope.
|
32
32
|
# It must be alphanumeric and less than or equal to 32 characters and
|
33
33
|
# greater than 0 characters in length.
|
34
34
|
# @!attribute [rw] finding
|
35
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
35
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
36
36
|
# Required. The Finding being created. The name and security_marks will be
|
37
37
|
# ignored as they are both output only fields on this resource.
|
38
38
|
class CreateFindingRequest
|
39
|
-
include Google::Protobuf::MessageExts
|
40
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
include ::Google::Protobuf::MessageExts
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
41
|
end
|
42
42
|
|
43
43
|
# Request message for creating a notification config.
|
44
44
|
# @!attribute [rw] parent
|
45
|
-
# @return [String]
|
45
|
+
# @return [::String]
|
46
46
|
# Required. Resource name of the new notification config's parent. Its format
|
47
47
|
# is "organizations/[organization_id]".
|
48
48
|
# @!attribute [rw] config_id
|
49
|
-
# @return [String]
|
49
|
+
# @return [::String]
|
50
50
|
# Required.
|
51
51
|
# Unique identifier provided by the client within the parent scope.
|
52
52
|
# It must be between 1 and 128 characters, and contains alphanumeric
|
53
53
|
# characters, underscores or hyphens only.
|
54
54
|
# @!attribute [rw] notification_config
|
55
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig]
|
55
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig]
|
56
56
|
# Required. The notification config being created. The name and the service
|
57
57
|
# account will be ignored as they are both output only fields on this
|
58
58
|
# resource.
|
59
59
|
class CreateNotificationConfigRequest
|
60
|
-
include Google::Protobuf::MessageExts
|
61
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
62
|
end
|
63
63
|
|
64
64
|
# Request message for creating a source.
|
65
65
|
# @!attribute [rw] parent
|
66
|
-
# @return [String]
|
66
|
+
# @return [::String]
|
67
67
|
# Required. Resource name of the new source's parent. Its format should be
|
68
68
|
# "organizations/[organization_id]".
|
69
69
|
# @!attribute [rw] source
|
70
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Source]
|
70
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Source]
|
71
71
|
# Required. The Source being created, only the display_name and description
|
72
72
|
# will be used. All other fields will be ignored.
|
73
73
|
class CreateSourceRequest
|
74
|
-
include Google::Protobuf::MessageExts
|
75
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
include ::Google::Protobuf::MessageExts
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
76
|
end
|
77
77
|
|
78
78
|
# Request message for deleting a notification config.
|
79
79
|
# @!attribute [rw] name
|
80
|
-
# @return [String]
|
80
|
+
# @return [::String]
|
81
81
|
# Required. Name of the notification config to delete. Its format is
|
82
82
|
# "organizations/[organization_id]/notificationConfigs/[config_id]".
|
83
83
|
class DeleteNotificationConfigRequest
|
84
|
-
include Google::Protobuf::MessageExts
|
85
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
86
|
end
|
87
87
|
|
88
88
|
# Request message for getting a notification config.
|
89
89
|
# @!attribute [rw] name
|
90
|
-
# @return [String]
|
90
|
+
# @return [::String]
|
91
91
|
# Required. Name of the notification config to get. Its format is
|
92
92
|
# "organizations/[organization_id]/notificationConfigs/[config_id]".
|
93
93
|
class GetNotificationConfigRequest
|
94
|
-
include Google::Protobuf::MessageExts
|
95
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
96
|
end
|
97
97
|
|
98
98
|
# Request message for getting organization settings.
|
99
99
|
# @!attribute [rw] name
|
100
|
-
# @return [String]
|
100
|
+
# @return [::String]
|
101
101
|
# Required. Name of the organization to get organization settings for. Its
|
102
102
|
# format is "organizations/[organization_id]/organizationSettings".
|
103
103
|
class GetOrganizationSettingsRequest
|
104
|
-
include Google::Protobuf::MessageExts
|
105
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
104
|
+
include ::Google::Protobuf::MessageExts
|
105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
106
106
|
end
|
107
107
|
|
108
108
|
# Request message for getting a source.
|
109
109
|
# @!attribute [rw] name
|
110
|
-
# @return [String]
|
110
|
+
# @return [::String]
|
111
111
|
# Required. Relative resource name of the source. Its format is
|
112
112
|
# "organizations/[organization_id]/source/[source_id]".
|
113
113
|
class GetSourceRequest
|
114
|
-
include Google::Protobuf::MessageExts
|
115
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
114
|
+
include ::Google::Protobuf::MessageExts
|
115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
116
116
|
end
|
117
117
|
|
118
118
|
# Request message for grouping by assets.
|
119
119
|
# @!attribute [rw] parent
|
120
|
-
# @return [String]
|
120
|
+
# @return [::String]
|
121
121
|
# Required. Name of the organization to groupBy. Its format is
|
122
122
|
# "organizations/[organization_id]".
|
123
123
|
# @!attribute [rw] filter
|
124
|
-
# @return [String]
|
124
|
+
# @return [::String]
|
125
125
|
# Expression that defines the filter to apply across assets.
|
126
126
|
# The expression is a list of zero or more restrictions combined via logical
|
127
127
|
# operators `AND` and `OR`.
|
@@ -179,7 +179,7 @@ module Google
|
|
179
179
|
#
|
180
180
|
# For example, `resource_properties.size = 100` is a valid filter string.
|
181
181
|
# @!attribute [rw] group_by
|
182
|
-
# @return [String]
|
182
|
+
# @return [::String]
|
183
183
|
# Required. Expression that defines what assets fields to use for grouping.
|
184
184
|
# The string value should follow SQL syntax: comma separated list of fields.
|
185
185
|
# For example:
|
@@ -199,7 +199,7 @@ module Google
|
|
199
199
|
# * security_center_properties.resource_project_display_name
|
200
200
|
# * security_center_properties.resource_parent_display_name
|
201
201
|
# @!attribute [rw] compare_duration
|
202
|
-
# @return [Google::Protobuf::Duration]
|
202
|
+
# @return [::Google::Protobuf::Duration]
|
203
203
|
# When compare_duration is set, the GroupResult's "state_change" property is
|
204
204
|
# updated to indicate whether the asset was added, removed, or remained
|
205
205
|
# present during the compare_duration period of time that precedes the
|
@@ -228,60 +228,60 @@ module Google
|
|
228
228
|
# If this field is set then `state_change` must be a specified field in
|
229
229
|
# `group_by`.
|
230
230
|
# @!attribute [rw] read_time
|
231
|
-
# @return [Google::Protobuf::Timestamp]
|
231
|
+
# @return [::Google::Protobuf::Timestamp]
|
232
232
|
# Time used as a reference point when filtering assets. The filter is limited
|
233
233
|
# to assets existing at the supplied time and their values are those at that
|
234
234
|
# specific time. Absence of this field will default to the API's version of
|
235
235
|
# NOW.
|
236
236
|
# @!attribute [rw] having
|
237
|
-
# @return [String]
|
237
|
+
# @return [::String]
|
238
238
|
# Filter that specifies what fields to further filter on *after* the query
|
239
239
|
# filter has been executed. Currently only `state_change` is supported and
|
240
240
|
# requires compare_duration to be specified.
|
241
241
|
# @!attribute [rw] page_token
|
242
|
-
# @return [String]
|
242
|
+
# @return [::String]
|
243
243
|
# The value returned by the last `GroupAssetsResponse`; indicates
|
244
244
|
# that this is a continuation of a prior `GroupAssets` call, and that the
|
245
245
|
# system should return the next page of data.
|
246
246
|
# @!attribute [rw] page_size
|
247
|
-
# @return [Integer]
|
247
|
+
# @return [::Integer]
|
248
248
|
# The maximum number of results to return in a single response. Default is
|
249
249
|
# 10, minimum is 1, maximum is 1000.
|
250
250
|
class GroupAssetsRequest
|
251
|
-
include Google::Protobuf::MessageExts
|
252
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
253
|
end
|
254
254
|
|
255
255
|
# Response message for grouping by assets.
|
256
256
|
# @!attribute [rw] group_by_results
|
257
|
-
# @return [Array
|
257
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1p1beta1::GroupResult>]
|
258
258
|
# Group results. There exists an element for each existing unique
|
259
259
|
# combination of property/values. The element contains a count for the number
|
260
260
|
# of times those specific property/values appear.
|
261
261
|
# @!attribute [rw] read_time
|
262
|
-
# @return [Google::Protobuf::Timestamp]
|
262
|
+
# @return [::Google::Protobuf::Timestamp]
|
263
263
|
# Time used for executing the groupBy request.
|
264
264
|
# @!attribute [rw] next_page_token
|
265
|
-
# @return [String]
|
265
|
+
# @return [::String]
|
266
266
|
# Token to retrieve the next page of results, or empty if there are no more
|
267
267
|
# results.
|
268
268
|
# @!attribute [rw] total_size
|
269
|
-
# @return [Integer]
|
269
|
+
# @return [::Integer]
|
270
270
|
# The total number of results matching the query.
|
271
271
|
class GroupAssetsResponse
|
272
|
-
include Google::Protobuf::MessageExts
|
273
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
272
|
+
include ::Google::Protobuf::MessageExts
|
273
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
274
274
|
end
|
275
275
|
|
276
276
|
# Request message for grouping by findings.
|
277
277
|
# @!attribute [rw] parent
|
278
|
-
# @return [String]
|
278
|
+
# @return [::String]
|
279
279
|
# Required. Name of the source to groupBy. Its format is
|
280
280
|
# "organizations/[organization_id]/sources/[source_id]". To groupBy across
|
281
281
|
# all sources provide a source_id of `-`. For example:
|
282
282
|
# organizations/\\{organization_id}/sources/-
|
283
283
|
# @!attribute [rw] filter
|
284
|
-
# @return [String]
|
284
|
+
# @return [::String]
|
285
285
|
# Expression that defines the filter to apply across findings.
|
286
286
|
# The expression is a list of one or more restrictions combined via logical
|
287
287
|
# operators `AND` and `OR`.
|
@@ -326,7 +326,7 @@ module Google
|
|
326
326
|
#
|
327
327
|
# For example, `source_properties.size = 100` is a valid filter string.
|
328
328
|
# @!attribute [rw] group_by
|
329
|
-
# @return [String]
|
329
|
+
# @return [::String]
|
330
330
|
# Required. Expression that defines what assets fields to use for grouping
|
331
331
|
# (including `state_change`). The string value should follow SQL syntax:
|
332
332
|
# comma separated list of fields. For example: "parent,resource_name".
|
@@ -342,13 +342,13 @@ module Google
|
|
342
342
|
#
|
343
343
|
# * state_change
|
344
344
|
# @!attribute [rw] read_time
|
345
|
-
# @return [Google::Protobuf::Timestamp]
|
345
|
+
# @return [::Google::Protobuf::Timestamp]
|
346
346
|
# Time used as a reference point when filtering findings. The filter is
|
347
347
|
# limited to findings existing at the supplied time and their values are
|
348
348
|
# those at that specific time. Absence of this field will default to the
|
349
349
|
# API's version of NOW.
|
350
350
|
# @!attribute [rw] compare_duration
|
351
|
-
# @return [Google::Protobuf::Duration]
|
351
|
+
# @return [::Google::Protobuf::Duration]
|
352
352
|
# When compare_duration is set, the GroupResult's "state_change" attribute is
|
353
353
|
# updated to indicate whether the finding had its state changed, the
|
354
354
|
# finding's state remained unchanged, or if the finding was added during the
|
@@ -376,137 +376,137 @@ module Google
|
|
376
376
|
# If this field is set then `state_change` must be a specified field in
|
377
377
|
# `group_by`.
|
378
378
|
# @!attribute [rw] having
|
379
|
-
# @return [String]
|
379
|
+
# @return [::String]
|
380
380
|
# Filter that specifies what fields to further filter on *after* the query
|
381
381
|
# filter has been executed. Currently only `finding.state` and `state_change`
|
382
382
|
# are supported and requires compare_duration to be specified.
|
383
383
|
# @!attribute [rw] page_token
|
384
|
-
# @return [String]
|
384
|
+
# @return [::String]
|
385
385
|
# The value returned by the last `GroupFindingsResponse`; indicates
|
386
386
|
# that this is a continuation of a prior `GroupFindings` call, and
|
387
387
|
# that the system should return the next page of data.
|
388
388
|
# @!attribute [rw] page_size
|
389
|
-
# @return [Integer]
|
389
|
+
# @return [::Integer]
|
390
390
|
# The maximum number of results to return in a single response. Default is
|
391
391
|
# 10, minimum is 1, maximum is 1000.
|
392
392
|
class GroupFindingsRequest
|
393
|
-
include Google::Protobuf::MessageExts
|
394
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
393
|
+
include ::Google::Protobuf::MessageExts
|
394
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
395
395
|
end
|
396
396
|
|
397
397
|
# Response message for group by findings.
|
398
398
|
# @!attribute [rw] group_by_results
|
399
|
-
# @return [Array
|
399
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1p1beta1::GroupResult>]
|
400
400
|
# Group results. There exists an element for each existing unique
|
401
401
|
# combination of property/values. The element contains a count for the number
|
402
402
|
# of times those specific property/values appear.
|
403
403
|
# @!attribute [rw] read_time
|
404
|
-
# @return [Google::Protobuf::Timestamp]
|
404
|
+
# @return [::Google::Protobuf::Timestamp]
|
405
405
|
# Time used for executing the groupBy request.
|
406
406
|
# @!attribute [rw] next_page_token
|
407
|
-
# @return [String]
|
407
|
+
# @return [::String]
|
408
408
|
# Token to retrieve the next page of results, or empty if there are no more
|
409
409
|
# results.
|
410
410
|
# @!attribute [rw] total_size
|
411
|
-
# @return [Integer]
|
411
|
+
# @return [::Integer]
|
412
412
|
# The total number of results matching the query.
|
413
413
|
class GroupFindingsResponse
|
414
|
-
include Google::Protobuf::MessageExts
|
415
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
414
|
+
include ::Google::Protobuf::MessageExts
|
415
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
416
416
|
end
|
417
417
|
|
418
418
|
# Result containing the properties and count of a groupBy request.
|
419
419
|
# @!attribute [rw] properties
|
420
|
-
# @return [Google::Protobuf::Map{String => Google::Protobuf::Value}]
|
420
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
421
421
|
# Properties matching the groupBy fields in the request.
|
422
422
|
# @!attribute [rw] count
|
423
|
-
# @return [Integer]
|
423
|
+
# @return [::Integer]
|
424
424
|
# Total count of resources for the given properties.
|
425
425
|
class GroupResult
|
426
|
-
include Google::Protobuf::MessageExts
|
427
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
426
|
+
include ::Google::Protobuf::MessageExts
|
427
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
428
428
|
|
429
429
|
# @!attribute [rw] key
|
430
|
-
# @return [String]
|
430
|
+
# @return [::String]
|
431
431
|
# @!attribute [rw] value
|
432
|
-
# @return [Google::Protobuf::Value]
|
432
|
+
# @return [::Google::Protobuf::Value]
|
433
433
|
class PropertiesEntry
|
434
|
-
include Google::Protobuf::MessageExts
|
435
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
434
|
+
include ::Google::Protobuf::MessageExts
|
435
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
436
436
|
end
|
437
437
|
end
|
438
438
|
|
439
439
|
# Request message for listing notification configs.
|
440
440
|
# @!attribute [rw] parent
|
441
|
-
# @return [String]
|
441
|
+
# @return [::String]
|
442
442
|
# Required. Name of the organization to list notification configs.
|
443
443
|
# Its format is "organizations/[organization_id]".
|
444
444
|
# @!attribute [rw] page_token
|
445
|
-
# @return [String]
|
445
|
+
# @return [::String]
|
446
446
|
# The value returned by the last `ListNotificationConfigsResponse`; indicates
|
447
447
|
# that this is a continuation of a prior `ListNotificationConfigs` call, and
|
448
448
|
# that the system should return the next page of data.
|
449
449
|
# @!attribute [rw] page_size
|
450
|
-
# @return [Integer]
|
450
|
+
# @return [::Integer]
|
451
451
|
# The maximum number of results to return in a single response. Default is
|
452
452
|
# 10, minimum is 1, maximum is 1000.
|
453
453
|
class ListNotificationConfigsRequest
|
454
|
-
include Google::Protobuf::MessageExts
|
455
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
454
|
+
include ::Google::Protobuf::MessageExts
|
455
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
456
456
|
end
|
457
457
|
|
458
458
|
# Response message for listing notification configs.
|
459
459
|
# @!attribute [rw] notification_configs
|
460
|
-
# @return [Array
|
460
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig>]
|
461
461
|
# Notification configs belonging to the requested parent.
|
462
462
|
# @!attribute [rw] next_page_token
|
463
|
-
# @return [String]
|
463
|
+
# @return [::String]
|
464
464
|
# Token to retrieve the next page of results, or empty if there are no more
|
465
465
|
# results.
|
466
466
|
class ListNotificationConfigsResponse
|
467
|
-
include Google::Protobuf::MessageExts
|
468
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
467
|
+
include ::Google::Protobuf::MessageExts
|
468
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
469
469
|
end
|
470
470
|
|
471
471
|
# Request message for listing sources.
|
472
472
|
# @!attribute [rw] parent
|
473
|
-
# @return [String]
|
473
|
+
# @return [::String]
|
474
474
|
# Required. Resource name of the parent of sources to list. Its format should
|
475
475
|
# be "organizations/[organization_id]".
|
476
476
|
# @!attribute [rw] page_token
|
477
|
-
# @return [String]
|
477
|
+
# @return [::String]
|
478
478
|
# The value returned by the last `ListSourcesResponse`; indicates
|
479
479
|
# that this is a continuation of a prior `ListSources` call, and
|
480
480
|
# that the system should return the next page of data.
|
481
481
|
# @!attribute [rw] page_size
|
482
|
-
# @return [Integer]
|
482
|
+
# @return [::Integer]
|
483
483
|
# The maximum number of results to return in a single response. Default is
|
484
484
|
# 10, minimum is 1, maximum is 1000.
|
485
485
|
class ListSourcesRequest
|
486
|
-
include Google::Protobuf::MessageExts
|
487
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
486
|
+
include ::Google::Protobuf::MessageExts
|
487
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
488
488
|
end
|
489
489
|
|
490
490
|
# Response message for listing sources.
|
491
491
|
# @!attribute [rw] sources
|
492
|
-
# @return [Array
|
492
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1p1beta1::Source>]
|
493
493
|
# Sources belonging to the requested parent.
|
494
494
|
# @!attribute [rw] next_page_token
|
495
|
-
# @return [String]
|
495
|
+
# @return [::String]
|
496
496
|
# Token to retrieve the next page of results, or empty if there are no more
|
497
497
|
# results.
|
498
498
|
class ListSourcesResponse
|
499
|
-
include Google::Protobuf::MessageExts
|
500
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
499
|
+
include ::Google::Protobuf::MessageExts
|
500
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
501
501
|
end
|
502
502
|
|
503
503
|
# Request message for listing assets.
|
504
504
|
# @!attribute [rw] parent
|
505
|
-
# @return [String]
|
505
|
+
# @return [::String]
|
506
506
|
# Required. Name of the organization assets should belong to. Its format is
|
507
507
|
# "organizations/[organization_id]".
|
508
508
|
# @!attribute [rw] filter
|
509
|
-
# @return [String]
|
509
|
+
# @return [::String]
|
510
510
|
# Expression that defines the filter to apply across assets.
|
511
511
|
# The expression is a list of zero or more restrictions combined via logical
|
512
512
|
# operators `AND` and `OR`.
|
@@ -564,7 +564,7 @@ module Google
|
|
564
564
|
#
|
565
565
|
# For example, `resource_properties.size = 100` is a valid filter string.
|
566
566
|
# @!attribute [rw] order_by
|
567
|
-
# @return [String]
|
567
|
+
# @return [::String]
|
568
568
|
# Expression that defines what fields and order to use for sorting. The
|
569
569
|
# string value should follow SQL syntax: comma separated list of fields. For
|
570
570
|
# example: "name,resource_properties.a_property". The default sorting order
|
@@ -587,13 +587,13 @@ module Google
|
|
587
587
|
# security_center_properties.resource_project_display_name
|
588
588
|
# security_center_properties.resource_type
|
589
589
|
# @!attribute [rw] read_time
|
590
|
-
# @return [Google::Protobuf::Timestamp]
|
590
|
+
# @return [::Google::Protobuf::Timestamp]
|
591
591
|
# Time used as a reference point when filtering assets. The filter is limited
|
592
592
|
# to assets existing at the supplied time and their values are those at that
|
593
593
|
# specific time. Absence of this field will default to the API's version of
|
594
594
|
# NOW.
|
595
595
|
# @!attribute [rw] compare_duration
|
596
|
-
# @return [Google::Protobuf::Duration]
|
596
|
+
# @return [::Google::Protobuf::Duration]
|
597
597
|
# When compare_duration is set, the ListAssetsResult's "state_change"
|
598
598
|
# attribute is updated to indicate whether the asset was added, removed, or
|
599
599
|
# remained present during the compare_duration period of time that precedes
|
@@ -619,58 +619,58 @@ module Google
|
|
619
619
|
# is "UNUSED", which will be the state_change set for all assets present at
|
620
620
|
# read_time.
|
621
621
|
# @!attribute [rw] having
|
622
|
-
# @return [String]
|
622
|
+
# @return [::String]
|
623
623
|
# Filter that specifies what fields to further filter on *after* the query
|
624
624
|
# filter has been executed. Currently only `state_change` is supported and
|
625
625
|
# requires compare_duration to be specified.
|
626
626
|
# @!attribute [rw] field_mask
|
627
|
-
# @return [Google::Protobuf::FieldMask]
|
627
|
+
# @return [::Google::Protobuf::FieldMask]
|
628
628
|
# Optional.
|
629
629
|
# A field mask to specify the ListAssetsResult fields to be listed in the
|
630
630
|
# response.
|
631
631
|
# An empty field mask will list all fields.
|
632
632
|
# @!attribute [rw] page_token
|
633
|
-
# @return [String]
|
633
|
+
# @return [::String]
|
634
634
|
# The value returned by the last `ListAssetsResponse`; indicates
|
635
635
|
# that this is a continuation of a prior `ListAssets` call, and
|
636
636
|
# that the system should return the next page of data.
|
637
637
|
# @!attribute [rw] page_size
|
638
|
-
# @return [Integer]
|
638
|
+
# @return [::Integer]
|
639
639
|
# The maximum number of results to return in a single response. Default is
|
640
640
|
# 10, minimum is 1, maximum is 1000.
|
641
641
|
class ListAssetsRequest
|
642
|
-
include Google::Protobuf::MessageExts
|
643
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
642
|
+
include ::Google::Protobuf::MessageExts
|
643
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
644
644
|
end
|
645
645
|
|
646
646
|
# Response message for listing assets.
|
647
647
|
# @!attribute [rw] list_assets_results
|
648
|
-
# @return [Array
|
648
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult>]
|
649
649
|
# Assets matching the list request.
|
650
650
|
# @!attribute [rw] read_time
|
651
|
-
# @return [Google::Protobuf::Timestamp]
|
651
|
+
# @return [::Google::Protobuf::Timestamp]
|
652
652
|
# Time used for executing the list request.
|
653
653
|
# @!attribute [rw] next_page_token
|
654
|
-
# @return [String]
|
654
|
+
# @return [::String]
|
655
655
|
# Token to retrieve the next page of results, or empty if there are no more
|
656
656
|
# results.
|
657
657
|
# @!attribute [rw] total_size
|
658
|
-
# @return [Integer]
|
658
|
+
# @return [::Integer]
|
659
659
|
# The total number of assets matching the query.
|
660
660
|
class ListAssetsResponse
|
661
|
-
include Google::Protobuf::MessageExts
|
662
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
661
|
+
include ::Google::Protobuf::MessageExts
|
662
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
663
663
|
|
664
664
|
# Result containing the Asset and its State.
|
665
665
|
# @!attribute [rw] asset
|
666
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Asset]
|
666
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Asset]
|
667
667
|
# Asset matching the search request.
|
668
668
|
# @!attribute [rw] state_change
|
669
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult::StateChange]
|
669
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListAssetsResponse::ListAssetsResult::StateChange]
|
670
670
|
# State change of the asset between the points in time.
|
671
671
|
class ListAssetsResult
|
672
|
-
include Google::Protobuf::MessageExts
|
673
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
672
|
+
include ::Google::Protobuf::MessageExts
|
673
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
674
674
|
|
675
675
|
# The change in state of the asset.
|
676
676
|
#
|
@@ -696,13 +696,13 @@ module Google
|
|
696
696
|
|
697
697
|
# Request message for listing findings.
|
698
698
|
# @!attribute [rw] parent
|
699
|
-
# @return [String]
|
699
|
+
# @return [::String]
|
700
700
|
# Required. Name of the source the findings belong to. Its format is
|
701
701
|
# "organizations/[organization_id]/sources/[source_id]". To list across all
|
702
702
|
# sources provide a source_id of `-`. For example:
|
703
703
|
# organizations/\\{organization_id}/sources/-
|
704
704
|
# @!attribute [rw] filter
|
705
|
-
# @return [String]
|
705
|
+
# @return [::String]
|
706
706
|
# Expression that defines the filter to apply across findings.
|
707
707
|
# The expression is a list of one or more restrictions combined via logical
|
708
708
|
# operators `AND` and `OR`.
|
@@ -747,7 +747,7 @@ module Google
|
|
747
747
|
#
|
748
748
|
# For example, `source_properties.size = 100` is a valid filter string.
|
749
749
|
# @!attribute [rw] order_by
|
750
|
-
# @return [String]
|
750
|
+
# @return [::String]
|
751
751
|
# Expression that defines what fields and order to use for sorting. The
|
752
752
|
# string value should follow SQL syntax: comma separated list of fields. For
|
753
753
|
# example: "name,resource_properties.a_property". The default sorting order
|
@@ -767,13 +767,13 @@ module Google
|
|
767
767
|
# source_properties
|
768
768
|
# security_marks.marks
|
769
769
|
# @!attribute [rw] read_time
|
770
|
-
# @return [Google::Protobuf::Timestamp]
|
770
|
+
# @return [::Google::Protobuf::Timestamp]
|
771
771
|
# Time used as a reference point when filtering findings. The filter is
|
772
772
|
# limited to findings existing at the supplied time and their values are
|
773
773
|
# those at that specific time. Absence of this field will default to the
|
774
774
|
# API's version of NOW.
|
775
775
|
# @!attribute [rw] compare_duration
|
776
|
-
# @return [Google::Protobuf::Duration]
|
776
|
+
# @return [::Google::Protobuf::Duration]
|
777
777
|
# When compare_duration is set, the ListFindingsResult's "state_change"
|
778
778
|
# attribute is updated to indicate whether the finding had its state changed,
|
779
779
|
# the finding's state remained unchanged, or if the finding was added in any
|
@@ -799,82 +799,82 @@ module Google
|
|
799
799
|
# is "UNUSED", which will be the state_change set for all findings present at
|
800
800
|
# read_time.
|
801
801
|
# @!attribute [rw] having
|
802
|
-
# @return [String]
|
802
|
+
# @return [::String]
|
803
803
|
# Filter that specifies what fields to further filter on *after* the query
|
804
804
|
# filter has been executed. Currently only `finding.state` and `state_change`
|
805
805
|
# are supported and requires compare_duration to be specified.
|
806
806
|
# @!attribute [rw] field_mask
|
807
|
-
# @return [Google::Protobuf::FieldMask]
|
807
|
+
# @return [::Google::Protobuf::FieldMask]
|
808
808
|
# Optional.
|
809
809
|
# A field mask to specify the Finding fields to be listed in the response.
|
810
810
|
# An empty field mask will list all fields.
|
811
811
|
# @!attribute [rw] page_token
|
812
|
-
# @return [String]
|
812
|
+
# @return [::String]
|
813
813
|
# The value returned by the last `ListFindingsResponse`; indicates
|
814
814
|
# that this is a continuation of a prior `ListFindings` call, and
|
815
815
|
# that the system should return the next page of data.
|
816
816
|
# @!attribute [rw] page_size
|
817
|
-
# @return [Integer]
|
817
|
+
# @return [::Integer]
|
818
818
|
# The maximum number of results to return in a single response. Default is
|
819
819
|
# 10, minimum is 1, maximum is 1000.
|
820
820
|
class ListFindingsRequest
|
821
|
-
include Google::Protobuf::MessageExts
|
822
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
821
|
+
include ::Google::Protobuf::MessageExts
|
822
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
823
823
|
end
|
824
824
|
|
825
825
|
# Response message for listing findings.
|
826
826
|
# @!attribute [rw] list_findings_results
|
827
|
-
# @return [Array
|
827
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult>]
|
828
828
|
# Findings matching the list request.
|
829
829
|
# @!attribute [rw] read_time
|
830
|
-
# @return [Google::Protobuf::Timestamp]
|
830
|
+
# @return [::Google::Protobuf::Timestamp]
|
831
831
|
# Time used for executing the list request.
|
832
832
|
# @!attribute [rw] next_page_token
|
833
|
-
# @return [String]
|
833
|
+
# @return [::String]
|
834
834
|
# Token to retrieve the next page of results, or empty if there are no more
|
835
835
|
# results.
|
836
836
|
# @!attribute [rw] total_size
|
837
|
-
# @return [Integer]
|
837
|
+
# @return [::Integer]
|
838
838
|
# The total number of findings matching the query.
|
839
839
|
class ListFindingsResponse
|
840
|
-
include Google::Protobuf::MessageExts
|
841
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
840
|
+
include ::Google::Protobuf::MessageExts
|
841
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
842
842
|
|
843
843
|
# Result containing the Finding and its StateChange.
|
844
844
|
# @!attribute [rw] finding
|
845
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
845
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
846
846
|
# Finding matching the search request.
|
847
847
|
# @!attribute [rw] state_change
|
848
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::StateChange]
|
848
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::StateChange]
|
849
849
|
# State change of the finding between the points in time.
|
850
850
|
# @!attribute [rw] resource
|
851
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::Resource]
|
851
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::ListFindingsResponse::ListFindingsResult::Resource]
|
852
852
|
# Output only. Resource that is associated with this finding.
|
853
853
|
class ListFindingsResult
|
854
|
-
include Google::Protobuf::MessageExts
|
855
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
854
|
+
include ::Google::Protobuf::MessageExts
|
855
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
856
856
|
|
857
857
|
# Information related to the Google Cloud Platform (GCP) resource that is
|
858
858
|
# associated with this finding.
|
859
859
|
# @!attribute [rw] name
|
860
|
-
# @return [String]
|
860
|
+
# @return [::String]
|
861
861
|
# The full resource name of the resource. See:
|
862
862
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
863
863
|
# @!attribute [rw] project_name
|
864
|
-
# @return [String]
|
864
|
+
# @return [::String]
|
865
865
|
# The full resource name of project that the resource belongs to.
|
866
866
|
# @!attribute [rw] project_display_name
|
867
|
-
# @return [String]
|
867
|
+
# @return [::String]
|
868
868
|
# The human readable name of project that the resource belongs to.
|
869
869
|
# @!attribute [rw] parent_name
|
870
|
-
# @return [String]
|
870
|
+
# @return [::String]
|
871
871
|
# The full resource name of resource's parent.
|
872
872
|
# @!attribute [rw] parent_display_name
|
873
|
-
# @return [String]
|
873
|
+
# @return [::String]
|
874
874
|
# The human readable name of resource's parent.
|
875
875
|
class Resource
|
876
|
-
include Google::Protobuf::MessageExts
|
877
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
876
|
+
include ::Google::Protobuf::MessageExts
|
877
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
878
878
|
end
|
879
879
|
|
880
880
|
# The change in state of the finding.
|
@@ -909,35 +909,35 @@ module Google
|
|
909
909
|
|
910
910
|
# Request message for updating a finding's state.
|
911
911
|
# @!attribute [rw] name
|
912
|
-
# @return [String]
|
912
|
+
# @return [::String]
|
913
913
|
# Required. The relative resource name of the finding. See:
|
914
914
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
915
915
|
# Example:
|
916
916
|
# "organizations/\\{organization_id}/sources/\\{source_id}/finding/\\{finding_id}".
|
917
917
|
# @!attribute [rw] state
|
918
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Finding::State]
|
918
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding::State]
|
919
919
|
# Required. The desired State of the finding.
|
920
920
|
# @!attribute [rw] start_time
|
921
|
-
# @return [Google::Protobuf::Timestamp]
|
921
|
+
# @return [::Google::Protobuf::Timestamp]
|
922
922
|
# Required. The time at which the updated state takes effect.
|
923
923
|
class SetFindingStateRequest
|
924
|
-
include Google::Protobuf::MessageExts
|
925
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
924
|
+
include ::Google::Protobuf::MessageExts
|
925
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
926
926
|
end
|
927
927
|
|
928
928
|
# Request message for running asset discovery for an organization.
|
929
929
|
# @!attribute [rw] parent
|
930
|
-
# @return [String]
|
930
|
+
# @return [::String]
|
931
931
|
# Required. Name of the organization to run asset discovery for. Its format
|
932
932
|
# is "organizations/[organization_id]".
|
933
933
|
class RunAssetDiscoveryRequest
|
934
|
-
include Google::Protobuf::MessageExts
|
935
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
934
|
+
include ::Google::Protobuf::MessageExts
|
935
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
936
936
|
end
|
937
937
|
|
938
938
|
# Request message for updating or creating a finding.
|
939
939
|
# @!attribute [rw] finding
|
940
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
940
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding]
|
941
941
|
# Required. The finding resource to update or create if it does not already
|
942
942
|
# exist. parent, security_marks, and update_time will be ignored.
|
943
943
|
#
|
@@ -945,7 +945,7 @@ module Google
|
|
945
945
|
# alphanumeric and less than or equal to 32 characters and greater than 0
|
946
946
|
# characters in length.
|
947
947
|
# @!attribute [rw] update_mask
|
948
|
-
# @return [Google::Protobuf::FieldMask]
|
948
|
+
# @return [::Google::Protobuf::FieldMask]
|
949
949
|
# The FieldMask to use when updating the finding resource. This field should
|
950
950
|
# not be specified when creating a finding.
|
951
951
|
#
|
@@ -954,71 +954,71 @@ module Google
|
|
954
954
|
# be added/updated by using "source_properties.<property key>" in the field
|
955
955
|
# mask.
|
956
956
|
class UpdateFindingRequest
|
957
|
-
include Google::Protobuf::MessageExts
|
958
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
957
|
+
include ::Google::Protobuf::MessageExts
|
958
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
959
959
|
end
|
960
960
|
|
961
961
|
# Request message for updating a notification config.
|
962
962
|
# @!attribute [rw] notification_config
|
963
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig]
|
963
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig]
|
964
964
|
# Required. The notification config to update.
|
965
965
|
# @!attribute [rw] update_mask
|
966
|
-
# @return [Google::Protobuf::FieldMask]
|
966
|
+
# @return [::Google::Protobuf::FieldMask]
|
967
967
|
# The FieldMask to use when updating the notification config.
|
968
968
|
#
|
969
969
|
# If empty all mutable fields will be updated.
|
970
970
|
class UpdateNotificationConfigRequest
|
971
|
-
include Google::Protobuf::MessageExts
|
972
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
971
|
+
include ::Google::Protobuf::MessageExts
|
972
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
973
973
|
end
|
974
974
|
|
975
975
|
# Request message for updating an organization's settings.
|
976
976
|
# @!attribute [rw] organization_settings
|
977
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::OrganizationSettings]
|
977
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::OrganizationSettings]
|
978
978
|
# Required. The organization settings resource to update.
|
979
979
|
# @!attribute [rw] update_mask
|
980
|
-
# @return [Google::Protobuf::FieldMask]
|
980
|
+
# @return [::Google::Protobuf::FieldMask]
|
981
981
|
# The FieldMask to use when updating the settings resource.
|
982
982
|
#
|
983
983
|
# If empty all mutable fields will be updated.
|
984
984
|
class UpdateOrganizationSettingsRequest
|
985
|
-
include Google::Protobuf::MessageExts
|
986
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
985
|
+
include ::Google::Protobuf::MessageExts
|
986
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
987
987
|
end
|
988
988
|
|
989
989
|
# Request message for updating a source.
|
990
990
|
# @!attribute [rw] source
|
991
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::Source]
|
991
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Source]
|
992
992
|
# Required. The source resource to update.
|
993
993
|
# @!attribute [rw] update_mask
|
994
|
-
# @return [Google::Protobuf::FieldMask]
|
994
|
+
# @return [::Google::Protobuf::FieldMask]
|
995
995
|
# The FieldMask to use when updating the source resource.
|
996
996
|
#
|
997
997
|
# If empty all mutable fields will be updated.
|
998
998
|
class UpdateSourceRequest
|
999
|
-
include Google::Protobuf::MessageExts
|
1000
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
999
|
+
include ::Google::Protobuf::MessageExts
|
1000
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1001
1001
|
end
|
1002
1002
|
|
1003
1003
|
# Request message for updating a SecurityMarks resource.
|
1004
1004
|
# @!attribute [rw] security_marks
|
1005
|
-
# @return [Google::Cloud::SecurityCenter::V1p1beta1::SecurityMarks]
|
1005
|
+
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::SecurityMarks]
|
1006
1006
|
# Required. The security marks resource to update.
|
1007
1007
|
# @!attribute [rw] update_mask
|
1008
|
-
# @return [Google::Protobuf::FieldMask]
|
1008
|
+
# @return [::Google::Protobuf::FieldMask]
|
1009
1009
|
# The FieldMask to use when updating the security marks resource.
|
1010
1010
|
#
|
1011
1011
|
# The field mask must not contain duplicate fields.
|
1012
1012
|
# If empty or set to "marks", all marks will be replaced. Individual
|
1013
1013
|
# marks can be updated using "marks.<mark_key>".
|
1014
1014
|
# @!attribute [rw] start_time
|
1015
|
-
# @return [Google::Protobuf::Timestamp]
|
1015
|
+
# @return [::Google::Protobuf::Timestamp]
|
1016
1016
|
# The time at which the updated SecurityMarks take effect.
|
1017
1017
|
# If not set uses current server time. Updates will be applied to the
|
1018
1018
|
# SecurityMarks that are active immediately preceding this time.
|
1019
1019
|
class UpdateSecurityMarksRequest
|
1020
|
-
include Google::Protobuf::MessageExts
|
1021
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1020
|
+
include ::Google::Protobuf::MessageExts
|
1021
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1022
1022
|
end
|
1023
1023
|
end
|
1024
1024
|
end
|