google-cloud-security_center 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3fe839c6da3afa2baccc0f7f62720f2c9e8f6b05b823869de2e0f5a9405af9d
4
- data.tar.gz: fc13139742f52499f99c2306b916e2db162a30841c7b41e307078d9bd2e18ce2
3
+ metadata.gz: 2daba5c3c372280d1fd73c867769aeee7a9334ec3936440dfb41d3083b6c108b
4
+ data.tar.gz: 86301029e6853f4f13f79b02f1a0e5cc1f01133071aeeb630d2f400559baee03
5
5
  SHA512:
6
- metadata.gz: 3ecfe006a1bf242506fec515ccca796998815b0e847908e351b2356faf7355e26ce796d741c8c032efad2ca9e46c9570514327cce1fe394a161448c18906a686
7
- data.tar.gz: cc178ef1f3f3039b7f5ce6e8d790f85d1d071c9531e9213c65cb301f2ce7d2720c230b8ef6e1f17704063f4eb88eaac527c116348635c6f6aa8e9162be692157
6
+ metadata.gz: 45114b653c8267f98e0e7399cadabd18b0a6d8610af03837fc5a519532679baac123ee028ae4f87a378b031b92ef1f9f7b8b636ddfeb5422e7bd51225c391db5
7
+ data.tar.gz: 34d5ec85bb5cf9faca82a2e8307cb15a2746a9bf20b3d67619416c8a8d52b624a46589401fc106ed0eb58353f596668697707e621de9b541961c8ee602cea5ef
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/resource_pb'
8
9
  require 'google/cloud/security_center/v1/security_marks_pb'
9
10
  require 'google/protobuf/struct_pb'
10
11
  require 'google/protobuf/timestamp_pb'
@@ -28,7 +28,7 @@ module Google
28
28
  # The relative resource name of this asset. See:
29
29
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
30
30
  # Example:
31
- # "organizations/123/assets/456".
31
+ # "organizations/{organization_id}/assets/{asset_id}".
32
32
  # @!attribute [rw] security_center_properties
33
33
  # @return [Google::Cloud::SecurityCenter::V1::Asset::SecurityCenterProperties]
34
34
  # Cloud SCC managed properties. These properties are managed by
@@ -19,28 +19,31 @@ module Google
19
19
  module V1
20
20
  # Cloud Security Command Center (Cloud SCC) finding.
21
21
  #
22
- # A finding is a record of assessment data (security, risk, health or privacy)
23
- # ingested into Cloud SCC for presentation, notification, analysis,
24
- # policy testing, and enforcement. For example, an XSS vulnerability in an
25
- # App Engine application is a finding.
22
+ # A finding is a record of assessment data like security, risk, health, or
23
+ # privacy, that is ingested into Cloud SCC for presentation, notification,
24
+ # analysis, policy testing, and enforcement. For example, a
25
+ # cross-site scripting (XSS) vulnerability in an App Engine application is a
26
+ # finding.
26
27
  # @!attribute [rw] name
27
28
  # @return [String]
28
29
  # The relative resource name of this finding. See:
29
30
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
30
31
  # Example:
31
- # "organizations/123/sources/456/findings/789"
32
+ # "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
32
33
  # @!attribute [rw] parent
33
34
  # @return [String]
34
35
  # The relative resource name of the source the finding belongs to. See:
35
36
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
36
37
  # This field is immutable after creation time.
37
38
  # For example:
38
- # "organizations/123/sources/456"
39
+ # "organizations/{organization_id}/sources/{source_id}"
39
40
  # @!attribute [rw] resource_name
40
41
  # @return [String]
41
- # The full resource name of the Google Cloud Platform (GCP) resource this
42
- # finding is for. See:
42
+ # For findings on Google Cloud Platform (GCP) resources, the full resource
43
+ # name of the GCP resource this finding is for. See:
43
44
  # https://cloud.google.com/apis/design/resource_names#full_resource_name
45
+ # When the finding is for a non-GCP resource, the resourceName can be a
46
+ # customer or partner defined string.
44
47
  # This field is immutable after creation time.
45
48
  # @!attribute [rw] state
46
49
  # @return [Google::Cloud::SecurityCenter::V1::Finding::State]
@@ -69,8 +72,8 @@ module Google
69
72
  # @!attribute [rw] event_time
70
73
  # @return [Google::Protobuf::Timestamp]
71
74
  # The time at which the event took place. For example, if the finding
72
- # represents an open firewall it would capture the time the open firewall was
73
- # detected.
75
+ # represents an open firewall it would capture the time the detector believes
76
+ # the firewall became open. The accuracy is determined by the detector.
74
77
  # @!attribute [rw] create_time
75
78
  # @return [Google::Protobuf::Timestamp]
76
79
  # The time at which the finding was created in Cloud SCC.
@@ -24,7 +24,7 @@ module Google
24
24
  # The relative resource name of the settings. See:
25
25
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
26
26
  # Example:
27
- # "organizations/123/organizationSettings".
27
+ # "organizations/{organization_id}/organizationSettings".
28
28
  # @!attribute [rw] enable_asset_discovery
29
29
  # @return [true, false]
30
30
  # A flag that indicates if Asset Discovery should be enabled. If the flag is
@@ -26,12 +26,13 @@ module Google
26
26
  # The relative resource name of the SecurityMarks. See:
27
27
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
28
28
  # Examples:
29
- # "organizations/123/assets/456/securityMarks"
30
- # "organizations/123/sources/456/findings/789/securityMarks".
29
+ # "organizations/{organization_id}/assets/{asset_id}/securityMarks"
30
+ # "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
31
31
  # @!attribute [rw] marks
32
32
  # @return [Hash{String => String}]
33
33
  # Mutable user specified security marks belonging to the parent resource.
34
34
  # Constraints are as follows:
35
+ #
35
36
  # * Keys and values are treated as case insensitive
36
37
  # * Keys must be between 1 - 256 characters (inclusive)
37
38
  # * Keys must be letters, numbers, underscores, or dashes
@@ -20,48 +20,48 @@ module Google
20
20
  # Request message for creating a finding.
21
21
  # @!attribute [rw] parent
22
22
  # @return [String]
23
- # Resource name of the new finding's parent. Its format should be
23
+ # Required. Resource name of the new finding's parent. Its format should be
24
24
  # "organizations/[organization_id]/sources/[source_id]".
25
25
  # @!attribute [rw] finding_id
26
26
  # @return [String]
27
- # Unique identifier provided by the client within the parent scope.
27
+ # Required. Unique identifier provided by the client within the parent scope.
28
28
  # It must be alphanumeric and less than or equal to 32 characters and
29
29
  # greater than 0 characters in length.
30
30
  # @!attribute [rw] finding
31
31
  # @return [Google::Cloud::SecurityCenter::V1::Finding]
32
- # The Finding being created. The name and security_marks will be ignored as
32
+ # Required. The Finding being created. The name and security_marks will be ignored as
33
33
  # they are both output only fields on this resource.
34
34
  class CreateFindingRequest; end
35
35
 
36
36
  # Request message for creating a source.
37
37
  # @!attribute [rw] parent
38
38
  # @return [String]
39
- # Resource name of the new source's parent. Its format should be
39
+ # Required. Resource name of the new source's parent. Its format should be
40
40
  # "organizations/[organization_id]".
41
41
  # @!attribute [rw] source
42
42
  # @return [Google::Cloud::SecurityCenter::V1::Source]
43
- # The Source being created, only the display_name and description will be
43
+ # Required. The Source being created, only the display_name and description will be
44
44
  # used. All other fields will be ignored.
45
45
  class CreateSourceRequest; end
46
46
 
47
47
  # Request message for getting organization settings.
48
48
  # @!attribute [rw] name
49
49
  # @return [String]
50
- # Name of the organization to get organization settings for. Its format is
50
+ # Required. Name of the organization to get organization settings for. Its format is
51
51
  # "organizations/[organization_id]/organizationSettings".
52
52
  class GetOrganizationSettingsRequest; end
53
53
 
54
54
  # Request message for getting a source.
55
55
  # @!attribute [rw] name
56
56
  # @return [String]
57
- # Relative resource name of the source. Its format is
57
+ # Required. Relative resource name of the source. Its format is
58
58
  # "organizations/[organization_id]/source/[source_id]".
59
59
  class GetSourceRequest; end
60
60
 
61
61
  # Request message for grouping by assets.
62
62
  # @!attribute [rw] parent
63
63
  # @return [String]
64
- # Name of the organization to groupBy. Its format is
64
+ # Required. Name of the organization to groupBy. Its format is
65
65
  # "organizations/[organization_id]".
66
66
  # @!attribute [rw] filter
67
67
  # @return [String]
@@ -92,34 +92,35 @@ module Google
92
92
  # * boolean literals `true` and `false` without quotes.
93
93
  #
94
94
  # The following field and operator combinations are supported:
95
- # name | '='
96
- # update_time | '=', '>', '<', '>=', '<='
95
+ #
96
+ # * name: `=`
97
+ # * update_time: `=`, `>`, `<`, `>=`, `<=`
97
98
  #
98
99
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
99
100
  # Examples:
100
- # "update_time = \"2019-06-10T16:07:18-07:00\""
101
- # "update_time = 1560208038000"
101
+ # "update_time = \"2019-06-10T16:07:18-07:00\""
102
+ # "update_time = 1560208038000"
102
103
  #
103
- # create_time | '=', '>', '<', '>=', '<='
104
+ # * create_time: `=`, `>`, `<`, `>=`, `<=`
104
105
  #
105
106
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
106
107
  # Examples:
107
- # "create_time = \"2019-06-10T16:07:18-07:00\""
108
- # "create_time = 1560208038000"
109
- #
110
- # iam_policy.policy_blob | '=', ':'
111
- # resource_properties | '=', ':', '>', '<', '>=', '<='
112
- # security_marks | '=', ':'
113
- # security_center_properties.resource_name | '=', ':'
114
- # security_center_properties.resource_type | '=', ':'
115
- # security_center_properties.resource_parent | '=', ':'
116
- # security_center_properties.resource_project | '=', ':'
117
- # security_center_properties.resource_owners | '=', ':'
108
+ # "create_time = \"2019-06-10T16:07:18-07:00\""
109
+ # "create_time = 1560208038000"
110
+ #
111
+ # * iam_policy.policy_blob: `=`, `:`
112
+ # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
113
+ # * security_marks.marks: `=`, `:`
114
+ # * security_center_properties.resource_name: `=`, `:`
115
+ # * security_center_properties.resource_type: `=`, `:`
116
+ # * security_center_properties.resource_parent: `=`, `:`
117
+ # * security_center_properties.resource_project: `=`, `:`
118
+ # * security_center_properties.resource_owners: `=`, `:`
118
119
  #
119
120
  # For example, `resource_properties.size = 100` is a valid filter string.
120
121
  # @!attribute [rw] group_by
121
122
  # @return [String]
122
- # Expression that defines what assets fields to use for grouping. The string
123
+ # Required. Expression that defines what assets fields to use for grouping. The string
123
124
  # value should follow SQL syntax: comma separated list of fields. For
124
125
  # example:
125
126
  # "security_center_properties.resource_project,security_center_properties.project".
@@ -200,10 +201,10 @@ module Google
200
201
  # Request message for grouping by findings.
201
202
  # @!attribute [rw] parent
202
203
  # @return [String]
203
- # Name of the source to groupBy. Its format is
204
+ # Required. Name of the source to groupBy. Its format is
204
205
  # "organizations/[organization_id]/sources/[source_id]". To groupBy across
205
206
  # all sources provide a source_id of `-`. For example:
206
- # organizations/123/sources/-
207
+ # organizations/{organization_id}/sources/-
207
208
  # @!attribute [rw] filter
208
209
  # @return [String]
209
210
  # Expression that defines the filter to apply across findings.
@@ -231,26 +232,27 @@ module Google
231
232
  # * boolean literals `true` and `false` without quotes.
232
233
  #
233
234
  # The following field and operator combinations are supported:
234
- # name | `=`
235
- # parent | '=', ':'
236
- # resource_name | '=', ':'
237
- # state | '=', ':'
238
- # category | '=', ':'
239
- # external_uri | '=', ':'
240
- # event_time | `=`, `>`, `<`, `>=`, `<=`
235
+ #
236
+ # * name: `=`
237
+ # * parent: `=`, `:`
238
+ # * resource_name: `=`, `:`
239
+ # * state: `=`, `:`
240
+ # * category: `=`, `:`
241
+ # * external_uri: `=`, `:`
242
+ # * event_time: `=`, `>`, `<`, `>=`, `<=`
241
243
  #
242
244
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
243
245
  # Examples:
244
- # "event_time = \"2019-06-10T16:07:18-07:00\""
245
- # "event_time = 1560208038000"
246
+ # "event_time = \"2019-06-10T16:07:18-07:00\""
247
+ # "event_time = 1560208038000"
246
248
  #
247
- # security_marks | '=', ':'
248
- # source_properties | '=', ':', `>`, `<`, `>=`, `<=`
249
+ # * security_marks.marks: `=`, `:`
250
+ # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
249
251
  #
250
252
  # For example, `source_properties.size = 100` is a valid filter string.
251
253
  # @!attribute [rw] group_by
252
254
  # @return [String]
253
- # Expression that defines what assets fields to use for grouping (including
255
+ # Required. Expression that defines what assets fields to use for grouping (including
254
256
  # `state_change`). The string value should follow SQL syntax: comma separated
255
257
  # list of fields. For example: "parent,resource_name".
256
258
  #
@@ -339,7 +341,7 @@ module Google
339
341
  # Request message for listing sources.
340
342
  # @!attribute [rw] parent
341
343
  # @return [String]
342
- # Resource name of the parent of sources to list. Its format should be
344
+ # Required. Resource name of the parent of sources to list. Its format should be
343
345
  # "organizations/[organization_id]".
344
346
  # @!attribute [rw] page_token
345
347
  # @return [String]
@@ -365,7 +367,7 @@ module Google
365
367
  # Request message for listing assets.
366
368
  # @!attribute [rw] parent
367
369
  # @return [String]
368
- # Name of the organization assets should belong to. Its format is
370
+ # Required. Name of the organization assets should belong to. Its format is
369
371
  # "organizations/[organization_id]".
370
372
  # @!attribute [rw] filter
371
373
  # @return [String]
@@ -396,29 +398,30 @@ module Google
396
398
  # * boolean literals `true` and `false` without quotes.
397
399
  #
398
400
  # The following are the allowed field and operator combinations:
399
- # name | `=`
400
- # update_time | `=`, `>`, `<`, `>=`, `<=`
401
+ #
402
+ # * name: `=`
403
+ # * update_time: `=`, `>`, `<`, `>=`, `<=`
401
404
  #
402
405
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
403
406
  # Examples:
404
- # "update_time = \"2019-06-10T16:07:18-07:00\""
405
- # "update_time = 1560208038000"
407
+ # "update_time = \"2019-06-10T16:07:18-07:00\""
408
+ # "update_time = 1560208038000"
406
409
  #
407
- # create_time | `=`, `>`, `<`, `>=`, `<=`
410
+ # * create_time: `=`, `>`, `<`, `>=`, `<=`
408
411
  #
409
412
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
410
413
  # Examples:
411
- # "create_time = \"2019-06-10T16:07:18-07:00\""
412
- # "create_time = 1560208038000"
413
- #
414
- # iam_policy.policy_blob | '=', ':'
415
- # resource_properties | '=', ':', `>`, `<`, `>=`, `<=`
416
- # security_marks | '=', ':'
417
- # security_center_properties.resource_name | '=', ':'
418
- # security_center_properties.resource_type | '=', ':'
419
- # security_center_properties.resource_parent | '=', ':'
420
- # security_center_properties.resource_project | '=', ':'
421
- # security_center_properties.resource_owners | '=', ':'
414
+ # "create_time = \"2019-06-10T16:07:18-07:00\""
415
+ # "create_time = 1560208038000"
416
+ #
417
+ # * iam_policy.policy_blob: `=`, `:`
418
+ # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
419
+ # * security_marks.marks: `=`, `:`
420
+ # * security_center_properties.resource_name: `=`, `:`
421
+ # * security_center_properties.resource_type: `=`, `:`
422
+ # * security_center_properties.resource_parent: `=`, `:`
423
+ # * security_center_properties.resource_project: `=`, `:`
424
+ # * security_center_properties.resource_owners: `=`, `:`
422
425
  #
423
426
  # For example, `resource_properties.size = 100` is a valid filter string.
424
427
  # @!attribute [rw] order_by
@@ -436,7 +439,7 @@ module Google
436
439
  # name
437
440
  # update_time
438
441
  # resource_properties
439
- # security_marks
442
+ # security_marks.marks
440
443
  # security_center_properties.resource_name
441
444
  # security_center_properties.resource_parent
442
445
  # security_center_properties.resource_project
@@ -475,9 +478,7 @@ module Google
475
478
  # read_time.
476
479
  # @!attribute [rw] field_mask
477
480
  # @return [Google::Protobuf::FieldMask]
478
- # Optional.
479
- #
480
- # A field mask to specify the ListAssetsResult fields to be listed in the
481
+ # Optional. A field mask to specify the ListAssetsResult fields to be listed in the
481
482
  # response.
482
483
  # An empty field mask will list all fields.
483
484
  # @!attribute [rw] page_token
@@ -539,10 +540,10 @@ module Google
539
540
  # Request message for listing findings.
540
541
  # @!attribute [rw] parent
541
542
  # @return [String]
542
- # Name of the source the findings belong to. Its format is
543
+ # Required. Name of the source the findings belong to. Its format is
543
544
  # "organizations/[organization_id]/sources/[source_id]". To list across all
544
545
  # sources provide a source_id of `-`. For example:
545
- # organizations/123/sources/-
546
+ # organizations/{organization_id}/sources/-
546
547
  # @!attribute [rw] filter
547
548
  # @return [String]
548
549
  # Expression that defines the filter to apply across findings.
@@ -570,21 +571,22 @@ module Google
570
571
  # * boolean literals `true` and `false` without quotes.
571
572
  #
572
573
  # The following field and operator combinations are supported:
573
- # name | `=`
574
- # parent | '=', ':'
575
- # resource_name | '=', ':'
576
- # state | '=', ':'
577
- # category | '=', ':'
578
- # external_uri | '=', ':'
579
- # event_time | `=`, `>`, `<`, `>=`, `<=`
574
+ #
575
+ # name: `=`
576
+ # parent: `=`, `:`
577
+ # resource_name: `=`, `:`
578
+ # state: `=`, `:`
579
+ # category: `=`, `:`
580
+ # external_uri: `=`, `:`
581
+ # event_time: `=`, `>`, `<`, `>=`, `<=`
580
582
  #
581
583
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
582
584
  # Examples:
583
585
  # "event_time = \"2019-06-10T16:07:18-07:00\""
584
586
  # "event_time = 1560208038000"
585
587
  #
586
- # security_marks | '=', ':'
587
- # source_properties | '=', ':', `>`, `<`, `>=`, `<=`
588
+ # security_marks.marks: `=`, `:`
589
+ # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
588
590
  #
589
591
  # For example, `source_properties.size = 100` is a valid filter string.
590
592
  # @!attribute [rw] order_by
@@ -606,7 +608,7 @@ module Google
606
608
  # resource_name
607
609
  # event_time
608
610
  # source_properties
609
- # security_marks
611
+ # security_marks.marks
610
612
  # @!attribute [rw] read_time
611
613
  # @return [Google::Protobuf::Timestamp]
612
614
  # Time used as a reference point when filtering findings. The filter is
@@ -641,9 +643,7 @@ module Google
641
643
  # read_time.
642
644
  # @!attribute [rw] field_mask
643
645
  # @return [Google::Protobuf::FieldMask]
644
- # Optional.
645
- #
646
- # A field mask to specify the Finding fields to be listed in the response.
646
+ # Optional. A field mask to specify the Finding fields to be listed in the response.
647
647
  # An empty field mask will list all fields.
648
648
  # @!attribute [rw] page_token
649
649
  # @return [String]
@@ -712,29 +712,29 @@ module Google
712
712
  # Request message for updating a finding's state.
713
713
  # @!attribute [rw] name
714
714
  # @return [String]
715
- # The relative resource name of the finding. See:
715
+ # Required. The relative resource name of the finding. See:
716
716
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
717
717
  # Example:
718
- # "organizations/123/sources/456/finding/789".
718
+ # "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".
719
719
  # @!attribute [rw] state
720
720
  # @return [Google::Cloud::SecurityCenter::V1::Finding::State]
721
- # The desired State of the finding.
721
+ # Required. The desired State of the finding.
722
722
  # @!attribute [rw] start_time
723
723
  # @return [Google::Protobuf::Timestamp]
724
- # The time at which the updated state takes effect.
724
+ # Required. The time at which the updated state takes effect.
725
725
  class SetFindingStateRequest; end
726
726
 
727
727
  # Request message for running asset discovery for an organization.
728
728
  # @!attribute [rw] parent
729
729
  # @return [String]
730
- # Name of the organization to run asset discovery for. Its format is
730
+ # Required. Name of the organization to run asset discovery for. Its format is
731
731
  # "organizations/[organization_id]".
732
732
  class RunAssetDiscoveryRequest; end
733
733
 
734
734
  # Request message for updating or creating a finding.
735
735
  # @!attribute [rw] finding
736
736
  # @return [Google::Cloud::SecurityCenter::V1::Finding]
737
- # The finding resource to update or create if it does not already exist.
737
+ # Required. The finding resource to update or create if it does not already exist.
738
738
  # parent, security_marks, and update_time will be ignored.
739
739
  #
740
740
  # In the case of creation, the finding id portion of the name must be
@@ -754,7 +754,7 @@ module Google
754
754
  # Request message for updating an organization's settings.
755
755
  # @!attribute [rw] organization_settings
756
756
  # @return [Google::Cloud::SecurityCenter::V1::OrganizationSettings]
757
- # The organization settings resource to update.
757
+ # Required. The organization settings resource to update.
758
758
  # @!attribute [rw] update_mask
759
759
  # @return [Google::Protobuf::FieldMask]
760
760
  # The FieldMask to use when updating the settings resource.
@@ -765,7 +765,7 @@ module Google
765
765
  # Request message for updating a source.
766
766
  # @!attribute [rw] source
767
767
  # @return [Google::Cloud::SecurityCenter::V1::Source]
768
- # The source resource to update.
768
+ # Required. The source resource to update.
769
769
  # @!attribute [rw] update_mask
770
770
  # @return [Google::Protobuf::FieldMask]
771
771
  # The FieldMask to use when updating the source resource.
@@ -776,7 +776,7 @@ module Google
776
776
  # Request message for updating a SecurityMarks resource.
777
777
  # @!attribute [rw] security_marks
778
778
  # @return [Google::Cloud::SecurityCenter::V1::SecurityMarks]
779
- # The security marks resource to update.
779
+ # Required. The security marks resource to update.
780
780
  # @!attribute [rw] update_mask
781
781
  # @return [Google::Protobuf::FieldMask]
782
782
  # The FieldMask to use when updating the security marks resource.
@@ -19,31 +19,30 @@ module Google
19
19
  module V1
20
20
  # Cloud Security Command Center's (Cloud SCC) finding source. A finding source
21
21
  # is an entity or a mechanism that can produce a finding. A source is like a
22
- # container of findings that come from the same scanner, logger, monitor, etc.
22
+ # container of findings that come from the same scanner, logger, monitor, and
23
+ # other tools.
23
24
  # @!attribute [rw] name
24
25
  # @return [String]
25
26
  # The relative resource name of this source. See:
26
27
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
27
28
  # Example:
28
- # "organizations/123/sources/456"
29
+ # "organizations/{organization_id}/sources/{source_id}"
29
30
  # @!attribute [rw] display_name
30
31
  # @return [String]
31
- # The sources display name.
32
- # A sources display name must be unique amongst its siblings, for example,
32
+ # The source's display name.
33
+ # A source's display name must be unique amongst its siblings, for example,
33
34
  # two sources with the same parent can't share the same display name.
34
- # The display name must start and end with a letter or digit, may contain
35
- # letters, digits, spaces, hyphens, and underscores, and can be no longer
36
- # than 32 characters. This is captured by the regular expression:
37
- # [\p{L}\p{N}](https://cloud.google.com{\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
35
+ # The display name must have a length between 1 and 64 characters
36
+ # (inclusive).
38
37
  # @!attribute [rw] description
39
38
  # @return [String]
40
39
  # The description of the source (max of 1024 characters).
41
40
  # Example:
42
- # "Cloud Security Scanner is a web security scanner for common
41
+ # "Web Security Scanner is a web security scanner for common
43
42
  # vulnerabilities in App Engine applications. It can automatically
44
43
  # scan and detect four common vulnerabilities, including cross-site-scripting
45
44
  # (XSS), Flash injection, mixed content (HTTP in HTTPS), and
46
- # outdated/insecure libraries."
45
+ # outdated or insecure libraries."
47
46
  class Source; end
48
47
  end
49
48
  end
@@ -5,6 +5,8 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
8
10
  require 'google/cloud/security_center/v1/security_marks_pb'
9
11
  require 'google/protobuf/struct_pb'
10
12
  require 'google/protobuf/timestamp_pb'
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/resource_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_message "google.cloud.securitycenter.v1.OrganizationSettings" do
10
11
  optional :name, :string, 1
@@ -4,9 +4,8 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/protobuf/duration_pb'
8
- require 'google/protobuf/timestamp_pb'
9
7
  require 'google/api/annotations_pb'
8
+ require 'google/protobuf/duration_pb'
10
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
10
  add_message "google.cloud.securitycenter.v1.RunAssetDiscoveryResponse" do
12
11
  optional :state, :enum, 1, "google.cloud.securitycenter.v1.RunAssetDiscoveryResponse.State"
@@ -497,10 +497,10 @@ module Google
497
497
  # Creates a source.
498
498
  #
499
499
  # @param parent [String]
500
- # Resource name of the new source's parent. Its format should be
500
+ # Required. Resource name of the new source's parent. Its format should be
501
501
  # "organizations/[organization_id]".
502
502
  # @param source [Google::Cloud::SecurityCenter::V1::Source | Hash]
503
- # The Source being created, only the display_name and description will be
503
+ # Required. The Source being created, only the display_name and description will be
504
504
  # used. All other fields will be ignored.
505
505
  # A hash of the same form as `Google::Cloud::SecurityCenter::V1::Source`
506
506
  # can also be provided.
@@ -539,14 +539,14 @@ module Google
539
539
  # to succeed.
540
540
  #
541
541
  # @param parent [String]
542
- # Resource name of the new finding's parent. Its format should be
542
+ # Required. Resource name of the new finding's parent. Its format should be
543
543
  # "organizations/[organization_id]/sources/[source_id]".
544
544
  # @param finding_id [String]
545
- # Unique identifier provided by the client within the parent scope.
545
+ # Required. Unique identifier provided by the client within the parent scope.
546
546
  # It must be alphanumeric and less than or equal to 32 characters and
547
547
  # greater than 0 characters in length.
548
548
  # @param finding [Google::Cloud::SecurityCenter::V1::Finding | Hash]
549
- # The Finding being created. The name and security_marks will be ignored as
549
+ # Required. The Finding being created. The name and security_marks will be ignored as
550
550
  # they are both output only fields on this resource.
551
551
  # A hash of the same form as `Google::Cloud::SecurityCenter::V1::Finding`
552
552
  # can also be provided.
@@ -627,7 +627,7 @@ module Google
627
627
  # Gets the settings for an organization.
628
628
  #
629
629
  # @param name [String]
630
- # Name of the organization to get organization settings for. Its format is
630
+ # Required. Name of the organization to get organization settings for. Its format is
631
631
  # "organizations/[organization_id]/organizationSettings".
632
632
  # @param options [Google::Gax::CallOptions]
633
633
  # Overrides the default settings for this call, e.g, timeout,
@@ -658,7 +658,7 @@ module Google
658
658
  # Gets a source.
659
659
  #
660
660
  # @param name [String]
661
- # Relative resource name of the source. Its format is
661
+ # Required. Relative resource name of the source. Its format is
662
662
  # "organizations/[organization_id]/source/[source_id]".
663
663
  # @param options [Google::Gax::CallOptions]
664
664
  # Overrides the default settings for this call, e.g, timeout,
@@ -690,10 +690,10 @@ module Google
690
690
  # properties.
691
691
  #
692
692
  # @param parent [String]
693
- # Name of the organization to groupBy. Its format is
693
+ # Required. Name of the organization to groupBy. Its format is
694
694
  # "organizations/[organization_id]".
695
695
  # @param group_by [String]
696
- # Expression that defines what assets fields to use for grouping. The string
696
+ # Required. Expression that defines what assets fields to use for grouping. The string
697
697
  # value should follow SQL syntax: comma separated list of fields. For
698
698
  # example:
699
699
  # "security_center_properties.resource_project,security_center_properties.project".
@@ -735,29 +735,30 @@ module Google
735
735
  # * boolean literals `true` and `false` without quotes.
736
736
  #
737
737
  # The following field and operator combinations are supported:
738
- # name | '='
739
- # update_time | '=', '>', '<', '>=', '<='
738
+ #
739
+ # * name: `=`
740
+ # * update_time: `=`, `>`, `<`, `>=`, `<=`
740
741
  #
741
742
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
742
743
  # Examples:
743
- # "update_time = \"2019-06-10T16:07:18-07:00\""
744
- # "update_time = 1560208038000"
744
+ # "update_time = \"2019-06-10T16:07:18-07:00\""
745
+ # "update_time = 1560208038000"
745
746
  #
746
- # create_time | '=', '>', '<', '>=', '<='
747
+ # * create_time: `=`, `>`, `<`, `>=`, `<=`
747
748
  #
748
749
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
749
750
  # Examples:
750
- # "create_time = \"2019-06-10T16:07:18-07:00\""
751
- # "create_time = 1560208038000"
752
- #
753
- # iam_policy.policy_blob | '=', ':'
754
- # resource_properties | '=', ':', '>', '<', '>=', '<='
755
- # security_marks | '=', ':'
756
- # security_center_properties.resource_name | '=', ':'
757
- # security_center_properties.resource_type | '=', ':'
758
- # security_center_properties.resource_parent | '=', ':'
759
- # security_center_properties.resource_project | '=', ':'
760
- # security_center_properties.resource_owners | '=', ':'
751
+ # "create_time = \"2019-06-10T16:07:18-07:00\""
752
+ # "create_time = 1560208038000"
753
+ #
754
+ # * iam_policy.policy_blob: `=`, `:`
755
+ # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
756
+ # * security_marks.marks: `=`, `:`
757
+ # * security_center_properties.resource_name: `=`, `:`
758
+ # * security_center_properties.resource_type: `=`, `:`
759
+ # * security_center_properties.resource_parent: `=`, `:`
760
+ # * security_center_properties.resource_project: `=`, `:`
761
+ # * security_center_properties.resource_owners: `=`, `:`
761
762
  #
762
763
  # For example, `resource_properties.size = 100` is a valid filter string.
763
764
  # @param compare_duration [Google::Protobuf::Duration | Hash]
@@ -862,15 +863,15 @@ module Google
862
863
  # specified properties.
863
864
  #
864
865
  # To group across all sources provide a `-` as the source id.
865
- # Example: /v1/organizations/123/sources/-/findings
866
+ # Example: /v1/organizations/{organization_id}/sources/-/findings
866
867
  #
867
868
  # @param parent [String]
868
- # Name of the source to groupBy. Its format is
869
+ # Required. Name of the source to groupBy. Its format is
869
870
  # "organizations/[organization_id]/sources/[source_id]". To groupBy across
870
871
  # all sources provide a source_id of `-`. For example:
871
- # organizations/123/sources/-
872
+ # organizations/{organization_id}/sources/-
872
873
  # @param group_by [String]
873
- # Expression that defines what assets fields to use for grouping (including
874
+ # Required. Expression that defines what assets fields to use for grouping (including
874
875
  # `state_change`). The string value should follow SQL syntax: comma separated
875
876
  # list of fields. For example: "parent,resource_name".
876
877
  #
@@ -910,21 +911,22 @@ module Google
910
911
  # * boolean literals `true` and `false` without quotes.
911
912
  #
912
913
  # The following field and operator combinations are supported:
913
- # name | `=`
914
- # parent | '=', ':'
915
- # resource_name | '=', ':'
916
- # state | '=', ':'
917
- # category | '=', ':'
918
- # external_uri | '=', ':'
919
- # event_time | `=`, `>`, `<`, `>=`, `<=`
914
+ #
915
+ # * name: `=`
916
+ # * parent: `=`, `:`
917
+ # * resource_name: `=`, `:`
918
+ # * state: `=`, `:`
919
+ # * category: `=`, `:`
920
+ # * external_uri: `=`, `:`
921
+ # * event_time: `=`, `>`, `<`, `>=`, `<=`
920
922
  #
921
923
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
922
924
  # Examples:
923
- # "event_time = \"2019-06-10T16:07:18-07:00\""
924
- # "event_time = 1560208038000"
925
+ # "event_time = \"2019-06-10T16:07:18-07:00\""
926
+ # "event_time = 1560208038000"
925
927
  #
926
- # security_marks | '=', ':'
927
- # source_properties | '=', ':', `>`, `<`, `>=`, `<=`
928
+ # * security_marks.marks: `=`, `:`
929
+ # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
928
930
  #
929
931
  # For example, `source_properties.size = 100` is a valid filter string.
930
932
  # @param read_time [Google::Protobuf::Timestamp | Hash]
@@ -1027,7 +1029,7 @@ module Google
1027
1029
  # Lists an organization's assets.
1028
1030
  #
1029
1031
  # @param parent [String]
1030
- # Name of the organization assets should belong to. Its format is
1032
+ # Required. Name of the organization assets should belong to. Its format is
1031
1033
  # "organizations/[organization_id]".
1032
1034
  # @param filter [String]
1033
1035
  # Expression that defines the filter to apply across assets.
@@ -1057,29 +1059,30 @@ module Google
1057
1059
  # * boolean literals `true` and `false` without quotes.
1058
1060
  #
1059
1061
  # The following are the allowed field and operator combinations:
1060
- # name | `=`
1061
- # update_time | `=`, `>`, `<`, `>=`, `<=`
1062
+ #
1063
+ # * name: `=`
1064
+ # * update_time: `=`, `>`, `<`, `>=`, `<=`
1062
1065
  #
1063
1066
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
1064
1067
  # Examples:
1065
- # "update_time = \"2019-06-10T16:07:18-07:00\""
1066
- # "update_time = 1560208038000"
1068
+ # "update_time = \"2019-06-10T16:07:18-07:00\""
1069
+ # "update_time = 1560208038000"
1067
1070
  #
1068
- # create_time | `=`, `>`, `<`, `>=`, `<=`
1071
+ # * create_time: `=`, `>`, `<`, `>=`, `<=`
1069
1072
  #
1070
1073
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
1071
1074
  # Examples:
1072
- # "create_time = \"2019-06-10T16:07:18-07:00\""
1073
- # "create_time = 1560208038000"
1074
- #
1075
- # iam_policy.policy_blob | '=', ':'
1076
- # resource_properties | '=', ':', `>`, `<`, `>=`, `<=`
1077
- # security_marks | '=', ':'
1078
- # security_center_properties.resource_name | '=', ':'
1079
- # security_center_properties.resource_type | '=', ':'
1080
- # security_center_properties.resource_parent | '=', ':'
1081
- # security_center_properties.resource_project | '=', ':'
1082
- # security_center_properties.resource_owners | '=', ':'
1075
+ # "create_time = \"2019-06-10T16:07:18-07:00\""
1076
+ # "create_time = 1560208038000"
1077
+ #
1078
+ # * iam_policy.policy_blob: `=`, `:`
1079
+ # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1080
+ # * security_marks.marks: `=`, `:`
1081
+ # * security_center_properties.resource_name: `=`, `:`
1082
+ # * security_center_properties.resource_type: `=`, `:`
1083
+ # * security_center_properties.resource_parent: `=`, `:`
1084
+ # * security_center_properties.resource_project: `=`, `:`
1085
+ # * security_center_properties.resource_owners: `=`, `:`
1083
1086
  #
1084
1087
  # For example, `resource_properties.size = 100` is a valid filter string.
1085
1088
  # @param order_by [String]
@@ -1096,7 +1099,7 @@ module Google
1096
1099
  # name
1097
1100
  # update_time
1098
1101
  # resource_properties
1099
- # security_marks
1102
+ # security_marks.marks
1100
1103
  # security_center_properties.resource_name
1101
1104
  # security_center_properties.resource_parent
1102
1105
  # security_center_properties.resource_project
@@ -1136,9 +1139,7 @@ module Google
1136
1139
  # A hash of the same form as `Google::Protobuf::Duration`
1137
1140
  # can also be provided.
1138
1141
  # @param field_mask [Google::Protobuf::FieldMask | Hash]
1139
- # Optional.
1140
- #
1141
- # A field mask to specify the ListAssetsResult fields to be listed in the
1142
+ # Optional. A field mask to specify the ListAssetsResult fields to be listed in the
1142
1143
  # response.
1143
1144
  # An empty field mask will list all fields.
1144
1145
  # A hash of the same form as `Google::Protobuf::FieldMask`
@@ -1206,13 +1207,13 @@ module Google
1206
1207
  # Lists an organization or source's findings.
1207
1208
  #
1208
1209
  # To list across all sources provide a `-` as the source id.
1209
- # Example: /v1/organizations/123/sources/-/findings
1210
+ # Example: /v1/organizations/{organization_id}/sources/-/findings
1210
1211
  #
1211
1212
  # @param parent [String]
1212
- # Name of the source the findings belong to. Its format is
1213
+ # Required. Name of the source the findings belong to. Its format is
1213
1214
  # "organizations/[organization_id]/sources/[source_id]". To list across all
1214
1215
  # sources provide a source_id of `-`. For example:
1215
- # organizations/123/sources/-
1216
+ # organizations/{organization_id}/sources/-
1216
1217
  # @param filter [String]
1217
1218
  # Expression that defines the filter to apply across findings.
1218
1219
  # The expression is a list of one or more restrictions combined via logical
@@ -1239,21 +1240,22 @@ module Google
1239
1240
  # * boolean literals `true` and `false` without quotes.
1240
1241
  #
1241
1242
  # The following field and operator combinations are supported:
1242
- # name | `=`
1243
- # parent | '=', ':'
1244
- # resource_name | '=', ':'
1245
- # state | '=', ':'
1246
- # category | '=', ':'
1247
- # external_uri | '=', ':'
1248
- # event_time | `=`, `>`, `<`, `>=`, `<=`
1243
+ #
1244
+ # name: `=`
1245
+ # parent: `=`, `:`
1246
+ # resource_name: `=`, `:`
1247
+ # state: `=`, `:`
1248
+ # category: `=`, `:`
1249
+ # external_uri: `=`, `:`
1250
+ # event_time: `=`, `>`, `<`, `>=`, `<=`
1249
1251
  #
1250
1252
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
1251
1253
  # Examples:
1252
1254
  # "event_time = \"2019-06-10T16:07:18-07:00\""
1253
1255
  # "event_time = 1560208038000"
1254
1256
  #
1255
- # security_marks | '=', ':'
1256
- # source_properties | '=', ':', `>`, `<`, `>=`, `<=`
1257
+ # security_marks.marks: `=`, `:`
1258
+ # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1257
1259
  #
1258
1260
  # For example, `source_properties.size = 100` is a valid filter string.
1259
1261
  # @param order_by [String]
@@ -1274,7 +1276,7 @@ module Google
1274
1276
  # resource_name
1275
1277
  # event_time
1276
1278
  # source_properties
1277
- # security_marks
1279
+ # security_marks.marks
1278
1280
  # @param read_time [Google::Protobuf::Timestamp | Hash]
1279
1281
  # Time used as a reference point when filtering findings. The filter is
1280
1282
  # limited to findings existing at the supplied time and their values are
@@ -1310,9 +1312,7 @@ module Google
1310
1312
  # A hash of the same form as `Google::Protobuf::Duration`
1311
1313
  # can also be provided.
1312
1314
  # @param field_mask [Google::Protobuf::FieldMask | Hash]
1313
- # Optional.
1314
- #
1315
- # A field mask to specify the Finding fields to be listed in the response.
1315
+ # Optional. A field mask to specify the Finding fields to be listed in the response.
1316
1316
  # An empty field mask will list all fields.
1317
1317
  # A hash of the same form as `Google::Protobuf::FieldMask`
1318
1318
  # can also be provided.
@@ -1379,7 +1379,7 @@ module Google
1379
1379
  # Lists all sources belonging to an organization.
1380
1380
  #
1381
1381
  # @param parent [String]
1382
- # Resource name of the parent of sources to list. Its format should be
1382
+ # Required. Resource name of the parent of sources to list. Its format should be
1383
1383
  # "organizations/[organization_id]".
1384
1384
  # @param page_size [Integer]
1385
1385
  # The maximum number of resources contained in the underlying API
@@ -1439,7 +1439,7 @@ module Google
1439
1439
  # error.
1440
1440
  #
1441
1441
  # @param parent [String]
1442
- # Name of the organization to run asset discovery for. Its format is
1442
+ # Required. Name of the organization to run asset discovery for. Its format is
1443
1443
  # "organizations/[organization_id]".
1444
1444
  # @param options [Google::Gax::CallOptions]
1445
1445
  # Overrides the default settings for this call, e.g, timeout,
@@ -1500,14 +1500,14 @@ module Google
1500
1500
  # Updates the state of a finding.
1501
1501
  #
1502
1502
  # @param name [String]
1503
- # The relative resource name of the finding. See:
1503
+ # Required. The relative resource name of the finding. See:
1504
1504
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1505
1505
  # Example:
1506
- # "organizations/123/sources/456/finding/789".
1506
+ # "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".
1507
1507
  # @param state [Google::Cloud::SecurityCenter::V1::Finding::State]
1508
- # The desired State of the finding.
1508
+ # Required. The desired State of the finding.
1509
1509
  # @param start_time [Google::Protobuf::Timestamp | Hash]
1510
- # The time at which the updated state takes effect.
1510
+ # Required. The time at which the updated state takes effect.
1511
1511
  # A hash of the same form as `Google::Protobuf::Timestamp`
1512
1512
  # can also be provided.
1513
1513
  # @param options [Google::Gax::CallOptions]
@@ -1634,7 +1634,7 @@ module Google
1634
1634
  # finding creation to succeed.
1635
1635
  #
1636
1636
  # @param finding [Google::Cloud::SecurityCenter::V1::Finding | Hash]
1637
- # The finding resource to update or create if it does not already exist.
1637
+ # Required. The finding resource to update or create if it does not already exist.
1638
1638
  # parent, security_marks, and update_time will be ignored.
1639
1639
  #
1640
1640
  # In the case of creation, the finding id portion of the name must be
@@ -1685,7 +1685,7 @@ module Google
1685
1685
  # Updates an organization's settings.
1686
1686
  #
1687
1687
  # @param organization_settings [Google::Cloud::SecurityCenter::V1::OrganizationSettings | Hash]
1688
- # The organization settings resource to update.
1688
+ # Required. The organization settings resource to update.
1689
1689
  # A hash of the same form as `Google::Cloud::SecurityCenter::V1::OrganizationSettings`
1690
1690
  # can also be provided.
1691
1691
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
@@ -1727,7 +1727,7 @@ module Google
1727
1727
  # Updates a source.
1728
1728
  #
1729
1729
  # @param source [Google::Cloud::SecurityCenter::V1::Source | Hash]
1730
- # The source resource to update.
1730
+ # Required. The source resource to update.
1731
1731
  # A hash of the same form as `Google::Cloud::SecurityCenter::V1::Source`
1732
1732
  # can also be provided.
1733
1733
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
@@ -1769,7 +1769,7 @@ module Google
1769
1769
  # Updates security marks.
1770
1770
  #
1771
1771
  # @param security_marks [Google::Cloud::SecurityCenter::V1::SecurityMarks | Hash]
1772
- # The security marks resource to update.
1772
+ # Required. The security marks resource to update.
1773
1773
  # A hash of the same form as `Google::Cloud::SecurityCenter::V1::SecurityMarks`
1774
1774
  # can also be provided.
1775
1775
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/resource_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_message "google.cloud.securitycenter.v1.SecurityMarks" do
10
11
  optional :name, :string, 1
@@ -5,6 +5,9 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/cloud/security_center/v1/asset_pb'
9
12
  require 'google/cloud/security_center/v1/finding_pb'
10
13
  require 'google/cloud/security_center/v1/organization_settings_pb'
@@ -50,14 +50,14 @@ module Google::Cloud::SecurityCenter::V1
50
50
  # specified properties.
51
51
  #
52
52
  # To group across all sources provide a `-` as the source id.
53
- # Example: /v1/organizations/123/sources/-/findings
53
+ # Example: /v1/organizations/{organization_id}/sources/-/findings
54
54
  rpc :GroupFindings, GroupFindingsRequest, GroupFindingsResponse
55
55
  # Lists an organization's assets.
56
56
  rpc :ListAssets, ListAssetsRequest, ListAssetsResponse
57
57
  # Lists an organization or source's findings.
58
58
  #
59
59
  # To list across all sources provide a `-` as the source id.
60
- # Example: /v1/organizations/123/sources/-/findings
60
+ # Example: /v1/organizations/{organization_id}/sources/-/findings
61
61
  rpc :ListFindings, ListFindingsRequest, ListFindingsResponse
62
62
  # Lists all sources belonging to an organization.
63
63
  rpc :ListSources, ListSourcesRequest, ListSourcesResponse
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/resource_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_message "google.cloud.securitycenter.v1.Source" do
10
11
  optional :name, :string, 1
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module SecurityCenter
19
- VERSION = "0.4.2".freeze
19
+ VERSION = "0.4.3".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-20 00:00:00.000000000 Z
11
+ date: 2019-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax