google-cloud-cloud_security_compliance-v1 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/cloud_security_compliance/v1/audit/client.rb +859 -0
  5. data/lib/google/cloud/cloud_security_compliance/v1/audit/credentials.rb +47 -0
  6. data/lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb +841 -0
  7. data/lib/google/cloud/cloud_security_compliance/v1/audit/paths.rb +110 -0
  8. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb +796 -0
  9. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +925 -0
  10. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/service_stub.rb +387 -0
  11. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest.rb +54 -0
  12. data/lib/google/cloud/cloud_security_compliance/v1/audit.rb +56 -0
  13. data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +1 -1
  14. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb +608 -0
  15. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/credentials.rb +47 -0
  16. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/paths.rb +72 -0
  17. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb +559 -0
  18. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/service_stub.rb +234 -0
  19. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest.rb +54 -0
  20. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service.rb +56 -0
  21. data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +133 -102
  22. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +113 -99
  23. data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +80 -41
  24. data/lib/google/cloud/cloud_security_compliance/v1/deployment/operations.rb +20 -3
  25. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +60 -38
  26. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +940 -0
  27. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/credentials.rb +47 -0
  28. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/paths.rb +142 -0
  29. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +870 -0
  30. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/service_stub.rb +456 -0
  31. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest.rb +53 -0
  32. data/lib/google/cloud/cloud_security_compliance/v1/monitoring.rb +55 -0
  33. data/lib/google/cloud/cloud_security_compliance/v1/rest.rb +4 -1
  34. data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
  35. data/lib/google/cloud/cloud_security_compliance/v1.rb +5 -2
  36. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_pb.rb +70 -0
  37. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_services_pb.rb +51 -0
  38. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb.rb +54 -0
  39. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_services_pb.rb +54 -0
  40. data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +4 -1
  41. data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
  42. data/lib/google/cloud/cloudsecuritycompliance/v1/config_services_pb.rb +58 -55
  43. data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_services_pb.rb +9 -6
  44. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +74 -0
  45. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_services_pb.rb +53 -0
  46. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/audit.rb +413 -0
  47. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.rb +108 -0
  48. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +210 -181
  49. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +69 -57
  50. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +180 -139
  51. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +527 -0
  52. data/proto_docs/google/type/interval.rb +45 -0
  53. metadata +34 -1
@@ -21,37 +21,39 @@ module Google
21
21
  module Cloud
22
22
  module CloudSecurityCompliance
23
23
  module V1
24
- # FrameworkDeployment represents deployment of a Framework on a target
25
- # resource. Supported target resources are organizations/\\{organization},
26
- # folders/\\{folder}, and projects/\\{project}.
24
+ # Framework deployments represent the assignment of a framework to a target
25
+ # resource. Supported target resources are organizations, folders, and
26
+ # projects.
27
27
  # @!attribute [rw] name
28
28
  # @return [::String]
29
- # Identifier. FrameworkDeployment name in the following format:
30
- # organizations/\\{organization}/locations/\\{location}/frameworkDeployments/\\{framework_deployment_id}
29
+ # Identifier. The name of the framework deployment, in the format
30
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
31
+ # The only supported location is `global`.
31
32
  # @!attribute [rw] target_resource_config
32
33
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceConfig]
33
- # Required. The details of the target resource on which the Framework is to
34
- # be deployed. It can either be an existing target resource or a new target
35
- # resource to be created.
34
+ # Required. The details of the target resource that you want to deploy the
35
+ # framework to. You can specify an existing resource, or create a new one.
36
36
  # @!attribute [r] computed_target_resource
37
37
  # @return [::String]
38
- # Output only. The resource on which the Framework is deployed based on the
39
- # provided TargetResourceConfig in the following format:
40
- # organizations/\\{organization}, folders/\\{folder} or projects/\\{project}
38
+ # Output only. The target resource to deploy the framework to, in one the
39
+ # following formats:
40
+ #
41
+ # - `organizations/{organizationID}`
42
+ # - `folders/{folderID}`
43
+ # - `projects/{projectID}`
41
44
  # @!attribute [rw] framework
42
45
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkReference]
43
- # Required. Reference to the framework to be deployed.
46
+ # Required. A reference to the framework that you're deploying.
44
47
  # @!attribute [rw] description
45
48
  # @return [::String]
46
- # Optional. User provided description of the Framework deployment
49
+ # Optional. A user-provided description of the framework deployment.
47
50
  # @!attribute [rw] cloud_control_metadata
48
51
  # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlMetadata>]
49
- # Required. Deployment mode and parameters for each of the Cloud Controls in
50
- # the framework. Every Cloud Control in the framework must have a
51
- # CloudControlMetadata.
52
+ # Required. The deployment mode and parameters for each of the cloud controls
53
+ # in the framework. Every cloud control in the framework includes metadata.
52
54
  # @!attribute [r] deployment_state
53
55
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::DeploymentState]
54
- # Output only. State of the Framework Deployment
56
+ # Output only. The state for the framework deployment.
55
57
  # @!attribute [r] create_time
56
58
  # @return [::Google::Protobuf::Timestamp]
57
59
  # Output only. The time at which the resource was created.
@@ -61,20 +63,24 @@ module Google
61
63
  # @!attribute [rw] etag
62
64
  # @return [::String]
63
65
  # Optional. To prevent concurrent updates from overwriting each other, always
64
- # provide the `etag` when you update a FrameworkDeployment. You can also
65
- # provide the `etag` when you delete a FrameworkDeployment, to help
66
+ # provide the `etag` when you update a framework deployment. You can also
67
+ # provide the `etag` when you delete a framework deployment, to help
66
68
  # ensure that you're deleting the intended version of the
67
- # FrameworkDeployment.
69
+ # framework deployment.
68
70
  # @!attribute [r] target_resource_display_name
69
71
  # @return [::String]
70
72
  # Output only. The display name of the target resource.
71
73
  # @!attribute [r] cloud_control_deployment_references
72
74
  # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeploymentReference>]
73
- # Output only. The references to the cloud control deployments. It has all
74
- # the CloudControlDeployments which are either directly added in the
75
- # framework or through a CloudControlGroup. Example: If a framework
76
- # deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2,
77
- # then the cloud_control_deployment_references will be:
75
+ # Output only. The references to the cloud control deployments. The reference
76
+ # includes all the cloud control deployments that are in the framework or in
77
+ # a cloud control group.
78
+ #
79
+ # For example, if a framework deployment deploys two
80
+ # cloud controls, `cc-deployment-1` and `cc-deployment-2`, then the
81
+ # references are:
82
+ #
83
+ # ```
78
84
  # {
79
85
  # cloud_control_deployment_reference: {
80
86
  # cloud_control_deployment:
@@ -84,58 +90,63 @@ module Google
84
90
  # cloud_control_deployment:
85
91
  # "organizations/\\{organization}/locations/\\{location}/cloudControlDeployments/cc-deployment-2"
86
92
  # }
93
+ # ```
87
94
  class FrameworkDeployment
88
95
  include ::Google::Protobuf::MessageExts
89
96
  extend ::Google::Protobuf::MessageExts::ClassMethods
90
97
  end
91
98
 
92
- # CloudControlDeployment represents deployment of a CloudControl on a target
93
- # resource. Supported target resources are organizations/\\{organization},
94
- # folders/\\{folder}, and projects/\\{project}.
99
+ # A cloud control deployment represents the deployment of a particular cloud
100
+ # control on a target resource. Supported target resources are
101
+ # `organizations/{organizationID}`, `folders/{folderID}`, and
102
+ # `projects/{projectID}`.
95
103
  # @!attribute [rw] name
96
104
  # @return [::String]
97
- # Identifier. CloudControlDeployment name in the following format:
98
- # organizations/\\{organization}/locations/\\{location}/cloudControlDeployments/\\{cloud_control_deployment_id}
105
+ # Identifier. The name for the cloud control deployment, in the format
106
+ # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}`.
107
+ # The only supported location is `global`.
99
108
  # @!attribute [rw] target_resource_config
100
109
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceConfig]
101
- # Required. The details of the target resource on which the CloudControl is
102
- # to be deployed. It can either be an existing target resource or a new
103
- # target resource to be created.
110
+ # Required. The details of the target resource that the cloud control is
111
+ # deployed You can use an existing target resource or create a new target.
104
112
  # @!attribute [r] target_resource
105
113
  # @return [::String]
106
- # Output only. The resource on which the CloudControl is deployed based on
107
- # the provided TargetResourceConfig in the following format:
108
- # organizations/\\{organization}, folders/\\{folder} or projects/\\{project}.
114
+ # Output only. The resource that the cloud control is deployed on, in one of
115
+ # the following formats:
116
+ #
117
+ # - `organizations/{organizationID}`
118
+ # - `folders/{folderID}`
119
+ # - `projects/{projectID}`
109
120
  # @!attribute [rw] cloud_control_metadata
110
121
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::CloudControlMetadata]
111
- # Required. Deployment mode and parameters for the Cloud Control.
122
+ # Required. The deployment mode and parameters for the cloud control.
112
123
  # @!attribute [rw] description
113
124
  # @return [::String]
114
- # Optional. User provided description of the CloudControl deployment
125
+ # Optional. A friendly description for the cloud control deployment.
115
126
  # @!attribute [r] deployment_state
116
127
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::DeploymentState]
117
- # Output only. State of the CloudControl deployment
128
+ # Output only. The state of the cloud control deployment.
118
129
  # @!attribute [r] create_time
119
130
  # @return [::Google::Protobuf::Timestamp]
120
- # Output only. The time at which the resource was created.
131
+ # Output only. The time when the resource was created.
121
132
  # @!attribute [r] update_time
122
133
  # @return [::Google::Protobuf::Timestamp]
123
- # Output only. The time at which the resource last updated.
134
+ # Output only. The time when the resource was last updated.
124
135
  # @!attribute [rw] etag
125
136
  # @return [::String]
126
- # Optional. To prevent concurrent updates from overwriting each other, always
127
- # provide the `etag` when you update a CloudControlDeployment. You can also
128
- # provide the `etag` when you delete a CloudControlDeployment, to help
137
+ # Optional. To prevent concurrent updates from overwriting each other,
138
+ # provide the `etag` when you update a cloud control deployment. You can also
139
+ # provide the `etag` when you delete a cloud control deployment to help
129
140
  # ensure that you're deleting the intended version of the
130
- # CloudControlDeployment.
141
+ # deployment.
131
142
  # @!attribute [r] parameter_substituted_cloud_control
132
143
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl]
133
- # Output only. The CloudControl after substitution of given parameters.
144
+ # Output only. The cloud control after the given parameters are substituted.
134
145
  # @!attribute [r] framework_deployment_references
135
146
  # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeploymentReference>]
136
- # Output only. The references to the Framework deployments that this Cloud
137
- # Control deployment is part of. A Cloud Control deployment can be part of
138
- # multiple Framework deployments.
147
+ # Output only. The references to the framework deployments that this cloud
148
+ # control deployment is part of. A cloud control deployment can be part of
149
+ # multiple framework deployments.
139
150
  # @!attribute [r] target_resource_display_name
140
151
  # @return [::String]
141
152
  # Output only. The display name of the target resource.
@@ -144,18 +155,21 @@ module Google
144
155
  extend ::Google::Protobuf::MessageExts::ClassMethods
145
156
  end
146
157
 
147
- # TargetResourceConfig contains either the name of the target_resource or
148
- # contains the config to create a new target_resource.
158
+ # The name of the target resource or the configuration that's required to
159
+ # create a new target resource.
149
160
  # @!attribute [rw] existing_target_resource
150
161
  # @return [::String]
151
- # Optional. CRM node in format organizations/\\{organization},
152
- # folders/\\{folder}, or projects/\\{project}
162
+ # Optional. The resource hierarchy node, in one of the following formats:
163
+ #
164
+ # - `organizations/{organizationID}`
165
+ # - `folders/{folderID}`
166
+ # - `projects/{projectID}`
153
167
  #
154
168
  # Note: The following fields are mutually exclusive: `existing_target_resource`, `target_resource_creation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
155
169
  # @!attribute [rw] target_resource_creation_config
156
170
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig]
157
- # Optional. Config to create a new resource and use that as the
158
- # target_resource for deployment.
171
+ # Optional. The details that are required to create a resource and use
172
+ # that resource as the target resource for deployment.
159
173
  #
160
174
  # Note: The following fields are mutually exclusive: `target_resource_creation_config`, `existing_target_resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
161
175
  class TargetResourceConfig
@@ -163,18 +177,15 @@ module Google
163
177
  extend ::Google::Protobuf::MessageExts::ClassMethods
164
178
  end
165
179
 
166
- # TargetResourceCreationConfig contains the config to create a new resource to
167
- # be used as the target_resource of a deployment.
180
+ # The configuration that's required to create a target resource.
168
181
  # @!attribute [rw] folder_creation_config
169
182
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::FolderCreationConfig]
170
- # Optional. Config to create a new folder to be used as the target_resource
171
- # of a deployment.
183
+ # Optional. The configuration that's required to create a folder.
172
184
  #
173
185
  # Note: The following fields are mutually exclusive: `folder_creation_config`, `project_creation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
174
186
  # @!attribute [rw] project_creation_config
175
187
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::ProjectCreationConfig]
176
- # Optional. Config to create a new project to be used as the
177
- # target_resource of a deployment.
188
+ # Optional. The configuration that's required to create a project.
178
189
  #
179
190
  # Note: The following fields are mutually exclusive: `project_creation_config`, `folder_creation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
180
191
  class TargetResourceCreationConfig
@@ -182,81 +193,83 @@ module Google
182
193
  extend ::Google::Protobuf::MessageExts::ClassMethods
183
194
  end
184
195
 
185
- # FolderCreationConfig contains the config to create a new folder to be used
186
- # as the target_resource of a deployment.
196
+ # The configuration that's required to create a folder to be used
197
+ # as the target resource for a deployment.
187
198
  # @!attribute [rw] parent
188
199
  # @return [::String]
189
- # Required. The parent of the folder to be created. It can be an
190
- # organizations/\\{org} or folders/\\{folder}
200
+ # Required. The parent of the folder, in the format
201
+ # `organizations/{organizationID}` or `folders/{folderID}`.
191
202
  # @!attribute [rw] folder_display_name
192
203
  # @return [::String]
193
- # Required. Display name of the folder to be created
204
+ # Required. The display name of the folder.
194
205
  class FolderCreationConfig
195
206
  include ::Google::Protobuf::MessageExts
196
207
  extend ::Google::Protobuf::MessageExts::ClassMethods
197
208
  end
198
209
 
199
- # ProjectCreationConfig contains the config to create a new project to be used
200
- # as the target_resource of a deployment.
210
+ # The configuration that's required to create a project to be used
211
+ # as the target resource of a deployment.
201
212
  # @!attribute [rw] parent
202
213
  # @return [::String]
203
- # Required. organizations/\\{org} or folders/\\{folder}
214
+ # Required. The parent of the project, in the format
215
+ # `organizations/{organizationID}` or `folders/{folderID}`.
204
216
  # @!attribute [rw] project_display_name
205
217
  # @return [::String]
206
- # Required. Display name of the project to be created.
218
+ # Required. The display name of the project.
207
219
  # @!attribute [rw] billing_account_id
208
220
  # @return [::String]
209
- # Required. Billing account id to be used for the project.
221
+ # Required. The billing account ID for the project.
210
222
  class ProjectCreationConfig
211
223
  include ::Google::Protobuf::MessageExts
212
224
  extend ::Google::Protobuf::MessageExts::ClassMethods
213
225
  end
214
226
 
215
- # CloudControlMetadata contains the enforcement mode and parameters of a Cloud
216
- # Control Deployment.
227
+ # The enforcement mode and parameters of a cloud
228
+ # control deployment.
217
229
  # @!attribute [rw] cloud_control_details
218
230
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDetails]
219
- # Required. Cloud control name and parameters.
231
+ # Required. The cloud control name and parameters.
220
232
  # @!attribute [rw] enforcement_mode
221
233
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::EnforcementMode]
222
- # Required. Enforcement mode of the cloud control
234
+ # Required. The enforcement mode of the cloud control.
223
235
  class CloudControlMetadata
224
236
  include ::Google::Protobuf::MessageExts
225
237
  extend ::Google::Protobuf::MessageExts::ClassMethods
226
238
  end
227
239
 
228
- # Request message for CreateFrameworkDeployment API.
240
+ # The request message for [CreateFrameworkDeployment][].
229
241
  # @!attribute [rw] parent
230
242
  # @return [::String]
231
- # Required. The parent resource of the FrameworkDeployment in the format:
232
- # organizations/\\{organization}/locations/\\{location}
233
- # Only global location is supported.
243
+ # Required. The parent resource of the framework deployment in the format
244
+ # `organizations/{organization}/locations/{location}`.
245
+ # Only the global location is supported.
234
246
  # @!attribute [rw] framework_deployment_id
235
247
  # @return [::String]
236
- # Optional. User provided identifier. It should be unique in scope of a
237
- # parent. This is optional and if not provided, a random UUID will be
248
+ # Optional. An identifier for the framework deployment that's unique in scope
249
+ # of the parent. If you don't specify a value, then a random UUID is
238
250
  # generated.
239
251
  # @!attribute [rw] framework_deployment
240
252
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment]
241
- # Required. The FrameworkDeployment to be created.
253
+ # Required. The framework deployment that you're creating.
242
254
  class CreateFrameworkDeploymentRequest
243
255
  include ::Google::Protobuf::MessageExts
244
256
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
257
  end
246
258
 
247
- # Request message for DeleteFrameworkDeployment.
259
+ # The request message for [DeleteFrameworkDeployment][].
248
260
  # @!attribute [rw] name
249
261
  # @return [::String]
250
- # Required. name of the FrameworkDeployment to be deleted in the following
251
- # format:
252
- # organizations/\\{organization}/locations/\\{location}/frameworkDeployments/\\{framework_deployment_id}
262
+ # Required. The name of the framework deployment that you want to delete,
263
+ # in the format
264
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
265
+ # The only supported location is `global`.
253
266
  # @!attribute [rw] etag
254
267
  # @return [::String]
255
268
  # Optional. An opaque identifier for the current version of the resource.
256
269
  #
257
270
  # If you provide this value, then it must match the existing value. If the
258
271
  # values don't match, then the request fails with an
259
- # [ABORTED][google.rpc.Code.ABORTED] error.
272
+ # [`ABORTED`][google.rpc.Code.ABORTED] error.
260
273
  #
261
274
  # If you omit this value, then the resource is deleted regardless of its
262
275
  # current `etag` value.
@@ -265,161 +278,189 @@ module Google
265
278
  extend ::Google::Protobuf::MessageExts::ClassMethods
266
279
  end
267
280
 
268
- # Request message for GetFrameworkDeployment.
281
+ # The request message for [GetFrameworkDeployment][].
269
282
  # @!attribute [rw] name
270
283
  # @return [::String]
271
- # Required. FrameworkDeployment name in the following format:
272
- # organizations/\\{organization}/locations/\\{location}/frameworkDeployments/\\{framework_deployment_id}
284
+ # Required. The name of the framework deployment, in the format
285
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
286
+ # The only supported location is `global`.
273
287
  class GetFrameworkDeploymentRequest
274
288
  include ::Google::Protobuf::MessageExts
275
289
  extend ::Google::Protobuf::MessageExts::ClassMethods
276
290
  end
277
291
 
278
- # Request message for ListFrameworkDeployments.
292
+ # The request message for [ListFrameworkDeployments][].
279
293
  # @!attribute [rw] parent
280
294
  # @return [::String]
281
- # Required. parent resource of the FrameworkDeployment in the format:
282
- # organizations/\\{organization}/locations/\\{location}
283
- # Only global location is supported.
295
+ # Required. The parent resource of the framework deployment, in the format
296
+ # `organizations/{organization}/locations/{location}`.
297
+ # The only supported location is `global`.
284
298
  # @!attribute [rw] page_size
285
299
  # @return [::Integer]
286
- # Optional. Requested page size. Server may return fewer items than
287
- # requested. If unspecified, server will pick an appropriate default.
300
+ # Optional. The requested page size. The server might return fewer items than
301
+ # requested.
302
+ # If unspecified, the server picks an appropriate default.
288
303
  # @!attribute [rw] page_token
289
304
  # @return [::String]
290
- # Optional. A token identifying a page of results the server should return.
305
+ # Optional. A token that identifies a page of results the server should
306
+ # return.
291
307
  # @!attribute [rw] filter
292
308
  # @return [::String]
293
- # Optional. Filter to be applied on the resource, defined by EBNF grammar
294
- # https://google.aip.dev/assets/misc/ebnf-filtering.txt.
309
+ # Optional. The filter to be applied on the resource, as defined by
310
+ # [AIP-160: Filtering](https://google.aip.dev/160).
295
311
  # @!attribute [rw] order_by
296
312
  # @return [::String]
297
- # Optional. Sort results. Supported are "name", "name desc" or "" (unsorted).
313
+ # Optional. The sort order for the results. The following values are
314
+ # supported:
315
+ #
316
+ # * `name`
317
+ # * `name desc`
318
+ #
319
+ # If you do not specify a value, then the results are not sorted.
298
320
  class ListFrameworkDeploymentsRequest
299
321
  include ::Google::Protobuf::MessageExts
300
322
  extend ::Google::Protobuf::MessageExts::ClassMethods
301
323
  end
302
324
 
303
- # Response message for ListFrameworkDeployments.
325
+ # The response message for [ListFrameworkDeployments][].
304
326
  # @!attribute [rw] framework_deployments
305
327
  # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment>]
306
- # The list of FrameworkDeployments.
328
+ # The list of framework deployments.
307
329
  # @!attribute [rw] next_page_token
308
330
  # @return [::String]
309
- # A token identifying a page of results the server should return.
331
+ # A token that identifies the next page of results that the server
332
+ # should return.
310
333
  class ListFrameworkDeploymentsResponse
311
334
  include ::Google::Protobuf::MessageExts
312
335
  extend ::Google::Protobuf::MessageExts::ClassMethods
313
336
  end
314
337
 
315
- # Request message for GetCloudControlDeployment.
338
+ # The request message for [GetCloudControlDeployment][].
316
339
  # @!attribute [rw] name
317
340
  # @return [::String]
318
- # Required. CloudControlDeployment name in the following format:
319
- # organizations/\\{organization}/locations/\\{location}/cloudControlDeployments/\\{cloud_control_deployment_id}
341
+ # Required. The name for the cloud control deployment, in the format
342
+ # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}`.
343
+ # The only supported location is `global`.
320
344
  class GetCloudControlDeploymentRequest
321
345
  include ::Google::Protobuf::MessageExts
322
346
  extend ::Google::Protobuf::MessageExts::ClassMethods
323
347
  end
324
348
 
325
- # Request message for ListCloudControlDeployments.
349
+ # The request message for [ListCloudControlDeployments][].
326
350
  # @!attribute [rw] parent
327
351
  # @return [::String]
328
- # Required. parent resource of the CloudControlDeployment in the format:
329
- # organizations/\\{organization}/locations/\\{location}
330
- # Only global location is supported.
352
+ # Required. The parent resource for the cloud control deployment, in the
353
+ # format `organizations/{organization}/locations/{location}`. The only
354
+ # supported location is `global`.
331
355
  # @!attribute [rw] page_size
332
356
  # @return [::Integer]
333
- # Optional. Requested page size. Server may return fewer items than
334
- # requested. If unspecified, server will pick an appropriate default.
357
+ # Optional. The requested page size. The server might return fewer items than
358
+ # you requested.
359
+ # If unspecified, the server picks an appropriate default.
335
360
  # @!attribute [rw] page_token
336
361
  # @return [::String]
337
- # Optional. A token identifying a page of results the server should return.
362
+ # Optional. A token that identifies the page of results that the server
363
+ # should return.
338
364
  # @!attribute [rw] filter
339
365
  # @return [::String]
340
- # Optional. Filter to be applied on the resource, defined by EBNF grammar
341
- # https://google.aip.dev/assets/misc/ebnf-filtering.txt.
366
+ # Optional. The filter to apply on the resource, as defined by
367
+ # [AIP-160: Filtering](https://google.aip.dev/160).
342
368
  # @!attribute [rw] order_by
343
369
  # @return [::String]
344
- # Optional. Sort results. Supported are "name", "name desc" or "" (unsorted).
370
+ # Optional. The sort order for the results. The following values are
371
+ # supported:
372
+ #
373
+ # * `name`
374
+ # * `name desc`
375
+ #
376
+ # If you do not specify a value, then the results are not sorted.
345
377
  class ListCloudControlDeploymentsRequest
346
378
  include ::Google::Protobuf::MessageExts
347
379
  extend ::Google::Protobuf::MessageExts::ClassMethods
348
380
  end
349
381
 
350
- # Response message for ListCloudControlDeployments.
382
+ # The response message for [ListCloudControlDeployments][].
351
383
  # @!attribute [rw] cloud_control_deployments
352
384
  # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment>]
353
- # The list of CloudControlDeployments.
385
+ # The list of cloud control deployments.
354
386
  # @!attribute [rw] next_page_token
355
387
  # @return [::String]
356
- # A token identifying a page of results the server should return.
388
+ # A token that identifies the next page of results that the server
389
+ # should return.
357
390
  class ListCloudControlDeploymentsResponse
358
391
  include ::Google::Protobuf::MessageExts
359
392
  extend ::Google::Protobuf::MessageExts::ClassMethods
360
393
  end
361
394
 
362
- # The reference to a CloudControlDeployment.
395
+ # The reference to a cloud control deployment.
363
396
  # @!attribute [r] cloud_control_deployment
364
397
  # @return [::String]
365
- # Output only. The name of the CloudControlDeployment. The format is:
366
- # organizations/\\{org}/locations/\\{location}/cloudControlDeployments/\\{cloud_control_deployment_id}
398
+ # Output only. The name of the CloudControlDeployment. The format is
399
+ # `organizations/{org}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}`.
400
+ # The only supported location is `global`.
367
401
  class CloudControlDeploymentReference
368
402
  include ::Google::Protobuf::MessageExts
369
403
  extend ::Google::Protobuf::MessageExts::ClassMethods
370
404
  end
371
405
 
372
- # The reference to a FrameworkDeployment.
406
+ # The reference to a framework deployment.
373
407
  # @!attribute [r] framework_deployment
374
408
  # @return [::String]
375
- # Output only. The name of the FrameworkDeployment. The format is:
376
- # organizations/\\{org}/locations/\\{location}/frameworkDeployments/\\{framework_deployment_id}
409
+ # Output only. The name of the framework deployment, in the format
410
+ # `organizations/{org}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
411
+ # The only supported location is `global`.
377
412
  # @!attribute [rw] framework_reference
378
413
  # @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkReference]
379
- # Optional. The reference to the Framework that this deployment is for.
380
- # Example: {
414
+ # Optional. The reference to the framework that this deployment is for.
415
+ # For example:
416
+ #
417
+ # ```
418
+ # {
381
419
  # framework:
382
420
  # "organizations/\\{org}/locations/\\{location}/frameworks/\\{framework}",
383
421
  # major_revision_id: 1
384
422
  # }
423
+ # ```
424
+ #
425
+ # The only supported location is `global`.
385
426
  # @!attribute [rw] framework_display_name
386
427
  # @return [::String]
387
- # Optional. The display name of the Framework that this FrameworkDeployment
428
+ # Optional. The display name of the framework that this framework deployment
388
429
  # is for.
389
430
  class FrameworkDeploymentReference
390
431
  include ::Google::Protobuf::MessageExts
391
432
  extend ::Google::Protobuf::MessageExts::ClassMethods
392
433
  end
393
434
 
394
- # DeploymentState represents the state of the Deployment resource.
435
+ # The state of the deployment resource.
395
436
  module DeploymentState
396
- # Unspecified. Invalid state.
437
+ # Default value. This value is unused.
397
438
  DEPLOYMENT_STATE_UNSPECIFIED = 0
398
439
 
399
440
  # Validating the deployment.
400
441
  DEPLOYMENT_STATE_VALIDATING = 1
401
442
 
402
- # Deployment is in CREATING state.
443
+ # Deployment is being created.
403
444
  DEPLOYMENT_STATE_CREATING = 2
404
445
 
405
- # Deployment is in DELETING state.
446
+ # Deployment is being deleted.
406
447
  DEPLOYMENT_STATE_DELETING = 3
407
448
 
408
- # Deployment has failed. All the changes made by the deployment have been
409
- # successfully rolled back. A deployment in the FAILED state can be retried
410
- # or deleted.
449
+ # Deployment has failed. All the changes made by the deployment were
450
+ # successfully rolled back. You can retry or delete a deployment that's
451
+ # in this state.
411
452
  DEPLOYMENT_STATE_FAILED = 4
412
453
 
413
454
  # Deployment is successful and ready to use.
414
455
  DEPLOYMENT_STATE_READY = 5
415
456
 
416
- # Deployment is partially deployed. All the Cloud Controls were not deployed
417
- # successfully. Retrying the operation will resume from the first failed
457
+ # Deployment is partially deployed. All the cloud controls weren't deployed
458
+ # successfully. Retrying the operation resumes from the first failed
418
459
  # step.
419
460
  DEPLOYMENT_STATE_PARTIALLY_DEPLOYED = 6
420
461
 
421
- # Deployment is partially deleted. All the Cloud Control Deployments were not
422
- # deleted successfully. Retrying the operation will resume from the first
462
+ # Deployment is partially deleted. All the cloud control deployments weren't
463
+ # deleted successfully. Retrying the operation resumes from the first
423
464
  # failed step.
424
465
  DEPLOYMENT_STATE_PARTIALLY_DELETED = 7
425
466
  end