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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +4 -4
- data/lib/google/cloud/cloud_security_compliance/v1/audit/client.rb +859 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit/credentials.rb +47 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb +841 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit/paths.rb +110 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb +796 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +925 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/service_stub.rb +387 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit/rest.rb +54 -0
- data/lib/google/cloud/cloud_security_compliance/v1/audit.rb +56 -0
- data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +1 -1
- data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb +608 -0
- data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/credentials.rb +47 -0
- data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/paths.rb +72 -0
- data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb +559 -0
- data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/service_stub.rb +234 -0
- data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest.rb +54 -0
- data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service.rb +56 -0
- data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +133 -102
- data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +113 -99
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +80 -41
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/operations.rb +20 -3
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +60 -38
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +940 -0
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/credentials.rb +47 -0
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/paths.rb +142 -0
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +870 -0
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/service_stub.rb +456 -0
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest.rb +53 -0
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring.rb +55 -0
- data/lib/google/cloud/cloud_security_compliance/v1/rest.rb +4 -1
- data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
- data/lib/google/cloud/cloud_security_compliance/v1.rb +5 -2
- data/lib/google/cloud/cloudsecuritycompliance/v1/audit_pb.rb +70 -0
- data/lib/google/cloud/cloudsecuritycompliance/v1/audit_services_pb.rb +51 -0
- data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb.rb +54 -0
- data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_services_pb.rb +54 -0
- data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +4 -1
- data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
- data/lib/google/cloud/cloudsecuritycompliance/v1/config_services_pb.rb +58 -55
- data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_services_pb.rb +9 -6
- data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +74 -0
- data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_services_pb.rb +53 -0
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/audit.rb +413 -0
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.rb +108 -0
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +210 -181
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +69 -57
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +180 -139
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +527 -0
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +34 -1
|
@@ -21,37 +21,39 @@ module Google
|
|
|
21
21
|
module Cloud
|
|
22
22
|
module CloudSecurityCompliance
|
|
23
23
|
module V1
|
|
24
|
-
#
|
|
25
|
-
# resource. Supported target resources are organizations
|
|
26
|
-
#
|
|
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.
|
|
30
|
-
# organizations
|
|
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
|
|
34
|
-
#
|
|
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
|
|
39
|
-
#
|
|
40
|
-
#
|
|
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.
|
|
46
|
+
# Required. A reference to the framework that you're deploying.
|
|
44
47
|
# @!attribute [rw] description
|
|
45
48
|
# @return [::String]
|
|
46
|
-
# Optional.
|
|
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.
|
|
50
|
-
# the framework. Every
|
|
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.
|
|
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
|
|
65
|
-
# provide the `etag` when you delete a
|
|
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
|
-
#
|
|
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.
|
|
74
|
-
# the
|
|
75
|
-
#
|
|
76
|
-
#
|
|
77
|
-
#
|
|
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
|
-
#
|
|
93
|
-
# resource. Supported target resources are
|
|
94
|
-
# folders
|
|
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.
|
|
98
|
-
# organizations
|
|
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
|
|
102
|
-
#
|
|
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
|
|
107
|
-
# the
|
|
108
|
-
#
|
|
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.
|
|
122
|
+
# Required. The deployment mode and parameters for the cloud control.
|
|
112
123
|
# @!attribute [rw] description
|
|
113
124
|
# @return [::String]
|
|
114
|
-
# Optional.
|
|
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.
|
|
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
|
|
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
|
|
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,
|
|
127
|
-
# provide the `etag` when you update a
|
|
128
|
-
# provide the `etag` when you delete a
|
|
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
|
-
#
|
|
141
|
+
# deployment.
|
|
131
142
|
# @!attribute [r] parameter_substituted_cloud_control
|
|
132
143
|
# @return [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl]
|
|
133
|
-
# Output only. The
|
|
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
|
|
137
|
-
#
|
|
138
|
-
# multiple
|
|
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
|
-
#
|
|
148
|
-
#
|
|
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.
|
|
152
|
-
#
|
|
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.
|
|
158
|
-
#
|
|
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
|
-
#
|
|
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.
|
|
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.
|
|
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
|
-
#
|
|
186
|
-
# as the
|
|
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
|
|
190
|
-
# organizations
|
|
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.
|
|
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
|
-
#
|
|
200
|
-
# as the
|
|
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.
|
|
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.
|
|
218
|
+
# Required. The display name of the project.
|
|
207
219
|
# @!attribute [rw] billing_account_id
|
|
208
220
|
# @return [::String]
|
|
209
|
-
# Required.
|
|
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
|
-
#
|
|
216
|
-
#
|
|
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.
|
|
231
|
+
# Required. The cloud control name and parameters.
|
|
220
232
|
# @!attribute [rw] enforcement_mode
|
|
221
233
|
# @return [::Google::Cloud::CloudSecurityCompliance::V1::EnforcementMode]
|
|
222
|
-
# Required.
|
|
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
|
-
#
|
|
240
|
+
# The request message for [CreateFrameworkDeployment][].
|
|
229
241
|
# @!attribute [rw] parent
|
|
230
242
|
# @return [::String]
|
|
231
|
-
# Required. The parent resource of the
|
|
232
|
-
# organizations
|
|
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.
|
|
237
|
-
# parent.
|
|
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
|
|
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
|
-
#
|
|
259
|
+
# The request message for [DeleteFrameworkDeployment][].
|
|
248
260
|
# @!attribute [rw] name
|
|
249
261
|
# @return [::String]
|
|
250
|
-
# Required. name of the
|
|
251
|
-
# format
|
|
252
|
-
# organizations
|
|
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
|
-
#
|
|
281
|
+
# The request message for [GetFrameworkDeployment][].
|
|
269
282
|
# @!attribute [rw] name
|
|
270
283
|
# @return [::String]
|
|
271
|
-
# Required.
|
|
272
|
-
# organizations
|
|
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
|
-
#
|
|
292
|
+
# The request message for [ListFrameworkDeployments][].
|
|
279
293
|
# @!attribute [rw] parent
|
|
280
294
|
# @return [::String]
|
|
281
|
-
# Required. parent resource of the
|
|
282
|
-
# organizations
|
|
283
|
-
#
|
|
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.
|
|
287
|
-
# requested.
|
|
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
|
|
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.
|
|
294
|
-
# https://google.aip.dev/
|
|
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.
|
|
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
|
-
#
|
|
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
|
|
328
|
+
# The list of framework deployments.
|
|
307
329
|
# @!attribute [rw] next_page_token
|
|
308
330
|
# @return [::String]
|
|
309
|
-
# A token
|
|
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
|
-
#
|
|
338
|
+
# The request message for [GetCloudControlDeployment][].
|
|
316
339
|
# @!attribute [rw] name
|
|
317
340
|
# @return [::String]
|
|
318
|
-
# Required.
|
|
319
|
-
# organizations
|
|
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
|
-
#
|
|
349
|
+
# The request message for [ListCloudControlDeployments][].
|
|
326
350
|
# @!attribute [rw] parent
|
|
327
351
|
# @return [::String]
|
|
328
|
-
# Required. parent resource
|
|
329
|
-
# organizations
|
|
330
|
-
#
|
|
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.
|
|
334
|
-
# requested.
|
|
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
|
|
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.
|
|
341
|
-
# https://google.aip.dev/
|
|
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.
|
|
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
|
-
#
|
|
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
|
|
385
|
+
# The list of cloud control deployments.
|
|
354
386
|
# @!attribute [rw] next_page_token
|
|
355
387
|
# @return [::String]
|
|
356
|
-
# A token
|
|
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
|
|
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
|
|
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
|
|
406
|
+
# The reference to a framework deployment.
|
|
373
407
|
# @!attribute [r] framework_deployment
|
|
374
408
|
# @return [::String]
|
|
375
|
-
# Output only. The name of the
|
|
376
|
-
# organizations
|
|
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
|
|
380
|
-
#
|
|
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
|
|
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
|
-
#
|
|
435
|
+
# The state of the deployment resource.
|
|
395
436
|
module DeploymentState
|
|
396
|
-
#
|
|
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
|
|
443
|
+
# Deployment is being created.
|
|
403
444
|
DEPLOYMENT_STATE_CREATING = 2
|
|
404
445
|
|
|
405
|
-
# Deployment is
|
|
446
|
+
# Deployment is being deleted.
|
|
406
447
|
DEPLOYMENT_STATE_DELETING = 3
|
|
407
448
|
|
|
408
|
-
# Deployment has failed. All the changes made by the deployment
|
|
409
|
-
# successfully rolled back.
|
|
410
|
-
#
|
|
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
|
|
417
|
-
# successfully. Retrying the operation
|
|
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
|
|
422
|
-
# deleted successfully. Retrying the operation
|
|
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
|