google-cloud-security_center-v1 0.14.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -5
  3. data/lib/google/cloud/security_center/v1/security_center/client.rb +28 -29
  4. data/lib/google/cloud/security_center/v1/security_center/operations.rb +3 -0
  5. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  6. data/lib/google/cloud/securitycenter/v1/asset_pb.rb +2 -1
  7. data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +2 -1
  8. data/lib/google/cloud/securitycenter/v1/compliance_pb.rb +24 -0
  9. data/lib/google/cloud/securitycenter/v1/connection_pb.rb +35 -0
  10. data/lib/google/cloud/securitycenter/v1/contact_details_pb.rb +26 -0
  11. data/lib/google/cloud/securitycenter/v1/exfiltration_pb.rb +28 -0
  12. data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +2 -1
  13. data/lib/google/cloud/securitycenter/v1/file_pb.rb +27 -0
  14. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +13 -1
  15. data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +22 -0
  16. data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +1 -0
  17. data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +2 -1
  18. data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +2 -1
  19. data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +2 -1
  20. data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +2 -1
  21. data/lib/google/cloud/securitycenter/v1/process_pb.rb +38 -0
  22. data/lib/google/cloud/securitycenter/v1/resource_pb.rb +2 -1
  23. data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +2 -1
  24. data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +2 -1
  25. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +2 -1
  26. data/lib/google/cloud/securitycenter/v1/source_pb.rb +2 -1
  27. data/proto_docs/google/cloud/securitycenter/v1/compliance.rb +43 -0
  28. data/proto_docs/google/cloud/securitycenter/v1/connection.rb +70 -0
  29. data/proto_docs/google/cloud/securitycenter/v1/contact_details.rb +44 -0
  30. data/proto_docs/google/cloud/securitycenter/v1/exfiltration.rb +59 -0
  31. data/proto_docs/google/cloud/securitycenter/v1/file.rb +56 -0
  32. data/proto_docs/google/cloud/securitycenter/v1/finding.rb +44 -0
  33. data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +52 -0
  34. data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +3 -1
  35. data/proto_docs/google/cloud/securitycenter/v1/process.rb +79 -0
  36. data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +28 -29
  37. data/proto_docs/google/protobuf/any.rb +3 -3
  38. data/proto_docs/google/protobuf/struct.rb +2 -2
  39. metadata +24 -12
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecurityCenter
23
+ module V1
24
+ # Contains compliance information about a security standard indicating unmet
25
+ # recommendations.
26
+ # @!attribute [rw] standard
27
+ # @return [::String]
28
+ # Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
29
+ # etc.
30
+ # @!attribute [rw] version
31
+ # @return [::String]
32
+ # Version of the standard/benchmark e.g. 1.1
33
+ # @!attribute [rw] ids
34
+ # @return [::Array<::String>]
35
+ # Policies within the standard/benchmark e.g. A.12.4.1
36
+ class Compliance
37
+ include ::Google::Protobuf::MessageExts
38
+ extend ::Google::Protobuf::MessageExts::ClassMethods
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,70 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecurityCenter
23
+ module V1
24
+ # Contains information about the IP connection associated with the finding.
25
+ # @!attribute [rw] destination_ip
26
+ # @return [::String]
27
+ # Destination IP address. Not present for sockets that are listening and not
28
+ # connected.
29
+ # @!attribute [rw] destination_port
30
+ # @return [::Integer]
31
+ # Destination port. Not present for sockets that are listening and not
32
+ # connected.
33
+ # @!attribute [rw] source_ip
34
+ # @return [::String]
35
+ # Source IP address.
36
+ # @!attribute [rw] source_port
37
+ # @return [::Integer]
38
+ # Source port.
39
+ # @!attribute [rw] protocol
40
+ # @return [::Google::Cloud::SecurityCenter::V1::Connection::Protocol]
41
+ # IANA Internet Protocol Number such as TCP(6) and UDP(17).
42
+ class Connection
43
+ include ::Google::Protobuf::MessageExts
44
+ extend ::Google::Protobuf::MessageExts::ClassMethods
45
+
46
+ # IANA Internet Protocol Number such as TCP(6) and UDP(17).
47
+ module Protocol
48
+ # Unspecified protocol (not HOPOPT).
49
+ PROTOCOL_UNSPECIFIED = 0
50
+
51
+ # Internet Control Message Protocol.
52
+ ICMP = 1
53
+
54
+ # Transmission Control Protocol.
55
+ TCP = 6
56
+
57
+ # User Datagram Protocol.
58
+ UDP = 17
59
+
60
+ # Generic Routing Encapsulation.
61
+ GRE = 47
62
+
63
+ # Encap Security Payload.
64
+ ESP = 50
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecurityCenter
23
+ module V1
24
+ # The details pertaining to specific contacts
25
+ # @!attribute [rw] contacts
26
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Contact>]
27
+ # A list of contacts
28
+ class ContactDetails
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # Representa a single contact's email address
34
+ # @!attribute [rw] email
35
+ # @return [::String]
36
+ # An email address e.g. "person123@company.com"
37
+ class Contact
38
+ include ::Google::Protobuf::MessageExts
39
+ extend ::Google::Protobuf::MessageExts::ClassMethods
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecurityCenter
23
+ module V1
24
+ # Exfiltration represents a data exfiltration attempt of one or more
25
+ # sources to one or more targets. Sources represent the source
26
+ # of data that is exfiltrated, and Targets represents the destination the
27
+ # data was copied to.
28
+ # @!attribute [rw] sources
29
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::ExfilResource>]
30
+ # If there are multiple sources, then the data is considered "joined" between
31
+ # them. For instance, BigQuery can join multiple tables, and each
32
+ # table would be considered a source.
33
+ # @!attribute [rw] targets
34
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::ExfilResource>]
35
+ # If there are multiple targets, each target would get a complete copy of the
36
+ # "joined" source data.
37
+ class Exfiltration
38
+ include ::Google::Protobuf::MessageExts
39
+ extend ::Google::Protobuf::MessageExts::ClassMethods
40
+ end
41
+
42
+ # Resource that has been exfiltrated or exfiltrated_to.
43
+ # @!attribute [rw] name
44
+ # @return [::String]
45
+ # Resource's URI (https://google.aip.dev/122#full-resource-names)
46
+ # @!attribute [rw] components
47
+ # @return [::Array<::String>]
48
+ # Subcomponents of the asset that is exfiltrated - these could be
49
+ # URIs used during exfiltration, table names, databases, filenames, etc.
50
+ # For example, multiple tables may be exfiltrated from the same CloudSQL
51
+ # instance, or multiple files from the same Cloud Storage bucket.
52
+ class ExfilResource
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecurityCenter
23
+ module V1
24
+ # File information about the related binary/library used by an executable, or
25
+ # the script used by a script interpreter
26
+ # @!attribute [rw] path
27
+ # @return [::String]
28
+ # Absolute path of the file as a JSON encoded string.
29
+ # @!attribute [rw] size
30
+ # @return [::Integer]
31
+ # Size of the file in bytes.
32
+ # @!attribute [rw] sha256
33
+ # @return [::String]
34
+ # SHA256 hash of the first hashed_size bytes of the file encoded as a
35
+ # hex string. If hashed_size == size, sha256 represents the SHA256 hash
36
+ # of the entire file.
37
+ # @!attribute [rw] hashed_size
38
+ # @return [::Integer]
39
+ # The length in bytes of the file prefix that was hashed. If
40
+ # hashed_size == size, any hashes reported represent the entire
41
+ # file.
42
+ # @!attribute [rw] partially_hashed
43
+ # @return [::Boolean]
44
+ # True when the hash covers only a prefix of the file.
45
+ # @!attribute [rw] contents
46
+ # @return [::String]
47
+ # Prefix of the file contents as a JSON encoded string.
48
+ # (Currently only populated for Malicious Script Executed findings.)
49
+ class File
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -132,12 +132,47 @@ module Google
132
132
  # @return [::Google::Cloud::SecurityCenter::V1::Access]
133
133
  # Access details associated to the Finding, such as more information on the
134
134
  # caller, which method was accessed, from where, etc.
135
+ # @!attribute [rw] connections
136
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Connection>]
137
+ # Contains information about the IP connection associated with the finding.
135
138
  # @!attribute [rw] mute_initiator
136
139
  # @return [::String]
137
140
  # First known as mute_annotation. Records additional information about the
138
141
  # mute operation e.g. mute config that muted the finding, user who muted the
139
142
  # finding, etc. Unlike other attributes of a finding, a finding provider
140
143
  # shouldn't set the value of mute.
144
+ # @!attribute [rw] processes
145
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Process>]
146
+ # Represents operating system processes associated with the Finding.
147
+ # @!attribute [r] contacts
148
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ContactDetails}]
149
+ # Output only. Map containing the point of contacts for the given finding. The key
150
+ # represents the type of contact, while the value contains a list of all the
151
+ # contacts that pertain. Please refer to:
152
+ # https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
153
+ #
154
+ # {
155
+ # "security": {
156
+ # "contacts": [
157
+ # {
158
+ # "email": "person1@company.com"
159
+ # },
160
+ # {
161
+ # "email": "person2@company.com"
162
+ # }
163
+ # ]
164
+ # }
165
+ # }
166
+ # @!attribute [rw] compliances
167
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Compliance>]
168
+ # Contains compliance information for security standards associated to the
169
+ # finding.
170
+ # @!attribute [rw] description
171
+ # @return [::String]
172
+ # Contains more detail about the finding.
173
+ # @!attribute [rw] exfiltration
174
+ # @return [::Google::Cloud::SecurityCenter::V1::Exfiltration]
175
+ # Represents exfiltration associated with the Finding.
141
176
  # @!attribute [rw] iam_bindings
142
177
  # @return [::Array<::Google::Cloud::SecurityCenter::V1::IamBinding>]
143
178
  # Represents IAM bindings associated with the Finding.
@@ -166,6 +201,15 @@ module Google
166
201
  extend ::Google::Protobuf::MessageExts::ClassMethods
167
202
  end
168
203
 
204
+ # @!attribute [rw] key
205
+ # @return [::String]
206
+ # @!attribute [rw] value
207
+ # @return [::Google::Cloud::SecurityCenter::V1::ContactDetails]
208
+ class ContactsEntry
209
+ include ::Google::Protobuf::MessageExts
210
+ extend ::Google::Protobuf::MessageExts::ClassMethods
211
+ end
212
+
169
213
  # The state of the finding.
170
214
  module State
171
215
  # Unspecified state.
@@ -31,9 +31,61 @@ module Google
31
31
  # @!attribute [rw] domains
32
32
  # @return [::Array<::String>]
33
33
  # List of domains associated to the Finding.
34
+ # @!attribute [rw] signatures
35
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature>]
36
+ # The list of matched signatures indicating that the given
37
+ # process is present in the environment.
34
38
  class Indicator
35
39
  include ::Google::Protobuf::MessageExts
36
40
  extend ::Google::Protobuf::MessageExts::ClassMethods
41
+
42
+ # Indicates what signature matched this process.
43
+ # @!attribute [rw] memory_hash_signature
44
+ # @return [::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::MemoryHashSignature]
45
+ # Signature indicating that a binary family was matched.
46
+ # @!attribute [rw] yara_rule_signature
47
+ # @return [::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::YaraRuleSignature]
48
+ # Signature indicating that a YARA rule was matched.
49
+ class ProcessSignature
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+
53
+ # A signature corresponding to memory page hashes.
54
+ # @!attribute [rw] binary_family
55
+ # @return [::String]
56
+ # The binary family.
57
+ # @!attribute [rw] detections
58
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::MemoryHashSignature::Detection>]
59
+ # The list of memory hash detections contributing to the binary family
60
+ # match.
61
+ class MemoryHashSignature
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+
65
+ # Memory hash detection contributing to the binary family match.
66
+ # @!attribute [rw] binary
67
+ # @return [::String]
68
+ # The name of the binary associated with the memory hash
69
+ # signature detection.
70
+ # @!attribute [rw] percent_pages_matched
71
+ # @return [::Float]
72
+ # The percentage of memory page hashes in the signature
73
+ # that were matched.
74
+ class Detection
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+ end
78
+ end
79
+
80
+ # A signature corresponding to a YARA rule.
81
+ # @!attribute [rw] yara_rule
82
+ # @return [::String]
83
+ # The name of the YARA rule.
84
+ class YaraRuleSignature
85
+ include ::Google::Protobuf::MessageExts
86
+ extend ::Google::Protobuf::MessageExts::ClassMethods
87
+ end
88
+ end
37
89
  end
38
90
  end
39
91
  end
@@ -99,7 +99,6 @@ module Google
99
99
 
100
100
  # MITRE ATT&CK techniques that can be referenced by SCC findings.
101
101
  # See: https://attack.mitre.org/techniques/enterprise/
102
- # Next ID: 31
103
102
  module Technique
104
103
  # Unspecified value.
105
104
  TECHNIQUE_UNSPECIFIED = 0
@@ -193,6 +192,9 @@ module Google
193
192
 
194
193
  # T1484
195
194
  DOMAIN_POLICY_MODIFICATION = 30
195
+
196
+ # T1562
197
+ IMPAIR_DEFENSES = 31
196
198
  end
197
199
  end
198
200
  end
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecurityCenter
23
+ module V1
24
+ # Represents an operating system process.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # The process name visible in utilities like `top` and `ps`; it can
28
+ # be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
29
+ # @!attribute [rw] binary
30
+ # @return [::Google::Cloud::SecurityCenter::V1::File]
31
+ # File information for the process executable.
32
+ # @!attribute [rw] libraries
33
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::File>]
34
+ # File information for libraries loaded by the process.
35
+ # @!attribute [rw] script
36
+ # @return [::Google::Cloud::SecurityCenter::V1::File]
37
+ # When the process represents the invocation of a script,
38
+ # `binary` provides information about the interpreter while `script`
39
+ # provides information about the script file provided to the
40
+ # interpreter.
41
+ # @!attribute [rw] args
42
+ # @return [::Array<::String>]
43
+ # Process arguments as JSON encoded strings.
44
+ # @!attribute [rw] arguments_truncated
45
+ # @return [::Boolean]
46
+ # True if `args` is incomplete.
47
+ # @!attribute [rw] env_variables
48
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>]
49
+ # Process environment variables.
50
+ # @!attribute [rw] env_variables_truncated
51
+ # @return [::Boolean]
52
+ # True if `env_variables` is incomplete.
53
+ # @!attribute [rw] pid
54
+ # @return [::Integer]
55
+ # The process id.
56
+ # @!attribute [rw] parent_pid
57
+ # @return [::Integer]
58
+ # The parent process id.
59
+ class Process
60
+ include ::Google::Protobuf::MessageExts
61
+ extend ::Google::Protobuf::MessageExts::ClassMethods
62
+ end
63
+
64
+ # EnvironmentVariable is a name-value pair to store environment variables for
65
+ # Process.
66
+ # @!attribute [rw] name
67
+ # @return [::String]
68
+ # Environment variable name as a JSON encoded string.
69
+ # @!attribute [rw] val
70
+ # @return [::String]
71
+ # Environment variable value as a JSON encoded string.
72
+ class EnvironmentVariable
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -29,8 +29,8 @@ module Google
29
29
  # 2. Once a bulk operation is started, there is no way to stop it.
30
30
  # @!attribute [rw] parent
31
31
  # @return [::String]
32
- # Required. The parent, at which bulk action needs to be applied. Its format
33
- # is "organizations/[organization_id]", "folders/[folder_id]",
32
+ # Required. The parent, at which bulk action needs to be applied. Its format is
33
+ # "organizations/[organization_id]", "folders/[folder_id]",
34
34
  # "projects/[project_id]".
35
35
  # @!attribute [rw] filter
36
36
  # @return [::String]
@@ -81,8 +81,8 @@ module Google
81
81
  # greater than 0 characters in length.
82
82
  # @!attribute [rw] finding
83
83
  # @return [::Google::Cloud::SecurityCenter::V1::Finding]
84
- # Required. The Finding being created. The name and security_marks will be
85
- # ignored as they are both output only fields on this resource.
84
+ # Required. The Finding being created. The name and security_marks will be ignored as
85
+ # they are both output only fields on this resource.
86
86
  class CreateFindingRequest
87
87
  include ::Google::Protobuf::MessageExts
88
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -111,8 +111,8 @@ module Google
111
111
  # Request message for creating a notification config.
112
112
  # @!attribute [rw] parent
113
113
  # @return [::String]
114
- # Required. Resource name of the new notification config's parent. Its format
115
- # is "organizations/[organization_id]".
114
+ # Required. Resource name of the new notification config's parent. Its format is
115
+ # "organizations/[organization_id]".
116
116
  # @!attribute [rw] config_id
117
117
  # @return [::String]
118
118
  # Required.
@@ -121,9 +121,8 @@ module Google
121
121
  # characters, underscores or hyphens only.
122
122
  # @!attribute [rw] notification_config
123
123
  # @return [::Google::Cloud::SecurityCenter::V1::NotificationConfig]
124
- # Required. The notification config being created. The name and the service
125
- # account will be ignored as they are both output only fields on this
126
- # resource.
124
+ # Required. The notification config being created. The name and the service account
125
+ # will be ignored as they are both output only fields on this resource.
127
126
  class CreateNotificationConfigRequest
128
127
  include ::Google::Protobuf::MessageExts
129
128
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -136,8 +135,8 @@ module Google
136
135
  # "organizations/[organization_id]".
137
136
  # @!attribute [rw] source
138
137
  # @return [::Google::Cloud::SecurityCenter::V1::Source]
139
- # Required. The Source being created, only the display_name and description
140
- # will be used. All other fields will be ignored.
138
+ # Required. The Source being created, only the display_name and description will be
139
+ # used. All other fields will be ignored.
141
140
  class CreateSourceRequest
142
141
  include ::Google::Protobuf::MessageExts
143
142
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -202,8 +201,8 @@ module Google
202
201
  # Request message for getting organization settings.
203
202
  # @!attribute [rw] name
204
203
  # @return [::String]
205
- # Required. Name of the organization to get organization settings for. Its
206
- # format is "organizations/[organization_id]/organizationSettings".
204
+ # Required. Name of the organization to get organization settings for. Its format is
205
+ # "organizations/[organization_id]/organizationSettings".
207
206
  class GetOrganizationSettingsRequest
208
207
  include ::Google::Protobuf::MessageExts
209
208
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -291,9 +290,9 @@ module Google
291
290
  # property not existing: `-resource_properties.my_property : ""`
292
291
  # @!attribute [rw] group_by
293
292
  # @return [::String]
294
- # Required. Expression that defines what assets fields to use for grouping.
295
- # The string value should follow SQL syntax: comma separated list of fields.
296
- # For example:
293
+ # Required. Expression that defines what assets fields to use for grouping. The string
294
+ # value should follow SQL syntax: comma separated list of fields. For
295
+ # example:
297
296
  # "security_center_properties.resource_project,security_center_properties.project".
298
297
  #
299
298
  # The following fields are supported when compare_duration is not set:
@@ -452,9 +451,9 @@ module Google
452
451
  # * resource.type: `=`, `:`
453
452
  # @!attribute [rw] group_by
454
453
  # @return [::String]
455
- # Required. Expression that defines what assets fields to use for grouping
456
- # (including `state_change`). The string value should follow SQL syntax:
457
- # comma separated list of fields. For example: "parent,resource_name".
454
+ # Required. Expression that defines what assets fields to use for grouping (including
455
+ # `state_change`). The string value should follow SQL syntax: comma separated
456
+ # list of fields. For example: "parent,resource_name".
458
457
  #
459
458
  # The following fields are supported:
460
459
  #
@@ -567,8 +566,8 @@ module Google
567
566
  # folder or project.
568
567
  # @!attribute [rw] parent
569
568
  # @return [::String]
570
- # Required. The parent, which owns the collection of mute configs. Its format
571
- # is "organizations/[organization_id]", "folders/[folder_id]",
569
+ # Required. The parent, which owns the collection of mute configs. Its format is
570
+ # "organizations/[organization_id]", "folders/[folder_id]",
572
571
  # "projects/[project_id]".
573
572
  # @!attribute [rw] page_size
574
573
  # @return [::Integer]
@@ -636,8 +635,8 @@ module Google
636
635
  # Request message for listing sources.
637
636
  # @!attribute [rw] parent
638
637
  # @return [::String]
639
- # Required. Resource name of the parent of sources to list. Its format should
640
- # be "organizations/[organization_id], folders/[folder_id], or
638
+ # Required. Resource name of the parent of sources to list. Its format should be
639
+ # "organizations/[organization_id], folders/[folder_id], or
641
640
  # projects/[project_id]".
642
641
  # @!attribute [rw] page_token
643
642
  # @return [::String]
@@ -1144,8 +1143,8 @@ module Google
1144
1143
  # Request message for running asset discovery for an organization.
1145
1144
  # @!attribute [rw] parent
1146
1145
  # @return [::String]
1147
- # Required. Name of the organization to run asset discovery for. Its format
1148
- # is "organizations/[organization_id]".
1146
+ # Required. Name of the organization to run asset discovery for. Its format is
1147
+ # "organizations/[organization_id]".
1149
1148
  class RunAssetDiscoveryRequest
1150
1149
  include ::Google::Protobuf::MessageExts
1151
1150
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1168,8 +1167,8 @@ module Google
1168
1167
  # Request message for updating or creating a finding.
1169
1168
  # @!attribute [rw] finding
1170
1169
  # @return [::Google::Cloud::SecurityCenter::V1::Finding]
1171
- # Required. The finding resource to update or create if it does not already
1172
- # exist. parent, security_marks, and update_time will be ignored.
1170
+ # Required. The finding resource to update or create if it does not already exist.
1171
+ # parent, security_marks, and update_time will be ignored.
1173
1172
  #
1174
1173
  # In the case of creation, the finding id portion of the name must be
1175
1174
  # alphanumeric and less than or equal to 32 characters and greater than 0
@@ -1302,8 +1301,8 @@ module Google
1302
1301
  # organization, folder or project.
1303
1302
  # @!attribute [rw] parent
1304
1303
  # @return [::String]
1305
- # Required. The parent, which owns the collection of BigQuery exports. Its
1306
- # format is "organizations/[organization_id]", "folders/[folder_id]",
1304
+ # Required. The parent, which owns the collection of BigQuery exports. Its format is
1305
+ # "organizations/[organization_id]", "folders/[folder_id]",
1307
1306
  # "projects/[project_id]".
1308
1307
  # @!attribute [rw] page_size
1309
1308
  # @return [::Integer]
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example: