google-cloud-design_center-v1 0.a → 0.1.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/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +151 -8
- data/lib/google/cloud/design_center/v1/bindings_override.rb +108 -0
- data/lib/google/cloud/design_center/v1/design_center/client.rb +8904 -0
- data/lib/google/cloud/design_center/v1/design_center/credentials.rb +47 -0
- data/lib/google/cloud/design_center/v1/design_center/operations.rb +843 -0
- data/lib/google/cloud/design_center/v1/design_center/paths.rb +477 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/client.rb +8308 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/operations.rb +927 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/service_stub.rb +5000 -0
- data/lib/google/cloud/design_center/v1/design_center/rest.rb +54 -0
- data/lib/google/cloud/design_center/v1/design_center.rb +56 -0
- data/lib/google/cloud/design_center/v1/rest.rb +38 -0
- data/lib/google/cloud/design_center/v1/version.rb +7 -2
- data/lib/google/cloud/design_center/v1.rb +45 -0
- data/lib/google/cloud/designcenter/v1/apphub_integration_messages_pb.rb +27 -0
- data/lib/google/cloud/designcenter/v1/apphub_integration_pb.rb +24 -0
- data/lib/google/cloud/designcenter/v1/assessment_pb.rb +48 -0
- data/lib/google/cloud/designcenter/v1/authoring_messages_pb.rb +73 -0
- data/lib/google/cloud/designcenter/v1/authoring_pb.rb +46 -0
- data/lib/google/cloud/designcenter/v1/best_practices_messages_pb.rb +45 -0
- data/lib/google/cloud/designcenter/v1/best_practices_pb.rb +29 -0
- data/lib/google/cloud/designcenter/v1/catalog_management_messages_pb.rb +54 -0
- data/lib/google/cloud/designcenter/v1/catalog_management_pb.rb +34 -0
- data/lib/google/cloud/designcenter/v1/deployment_messages_pb.rb +56 -0
- data/lib/google/cloud/designcenter/v1/deployment_pb.rb +50 -0
- data/lib/google/cloud/designcenter/v1/deployment_resources_pb.rb +35 -0
- data/lib/google/cloud/designcenter/v1/designcenter_pb.rb +50 -0
- data/lib/google/cloud/designcenter/v1/designcenter_services_pb.rb +229 -0
- data/lib/google/cloud/designcenter/v1/enums_pb.rb +31 -0
- data/lib/google/cloud/designcenter/v1/export_pb.rb +29 -0
- data/lib/google/cloud/designcenter/v1/iac_pb.rb +30 -0
- data/lib/google/cloud/designcenter/v1/ingestion_pb.rb +35 -0
- data/lib/google/cloud/designcenter/v1/metadata_pb.rb +74 -0
- data/lib/google/cloud/designcenter/v1/parameters_pb.rb +30 -0
- data/lib/google/cloud/designcenter/v1/sharing_messages_pb.rb +42 -0
- data/lib/google/cloud/designcenter/v1/sharing_pb.rb +33 -0
- data/lib/google-cloud-design_center-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/apphub/v1/application.rb +149 -0
- data/proto_docs/google/cloud/apphub/v1/attributes.rb +115 -0
- data/proto_docs/google/cloud/apphub/v1/properties.rb +94 -0
- data/proto_docs/google/cloud/config/v1/config.rb +2709 -0
- data/proto_docs/google/cloud/designcenter/v1/apphub_integration.rb +55 -0
- data/proto_docs/google/cloud/designcenter/v1/apphub_integration_messages.rb +81 -0
- data/proto_docs/google/cloud/designcenter/v1/assessment.rb +502 -0
- data/proto_docs/google/cloud/designcenter/v1/authoring.rb +492 -0
- data/proto_docs/google/cloud/designcenter/v1/authoring_messages.rb +779 -0
- data/proto_docs/google/cloud/designcenter/v1/best_practices.rb +123 -0
- data/proto_docs/google/cloud/designcenter/v1/best_practices_messages.rb +296 -0
- data/proto_docs/google/cloud/designcenter/v1/catalog_management.rb +258 -0
- data/proto_docs/google/cloud/designcenter/v1/catalog_management_messages.rb +438 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment.rb +476 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment_messages.rb +466 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment_resources.rb +182 -0
- data/proto_docs/google/cloud/designcenter/v1/designcenter.rb +245 -0
- data/proto_docs/google/cloud/designcenter/v1/enums.rb +223 -0
- data/proto_docs/google/cloud/designcenter/v1/export.rb +112 -0
- data/proto_docs/google/cloud/designcenter/v1/iac.rb +138 -0
- data/proto_docs/google/cloud/designcenter/v1/ingestion.rb +276 -0
- data/proto_docs/google/cloud/designcenter/v1/metadata.rb +945 -0
- data/proto_docs/google/cloud/designcenter/v1/parameters.rb +112 -0
- data/proto_docs/google/cloud/designcenter/v1/sharing.rb +188 -0
- data/proto_docs/google/cloud/designcenter/v1/sharing_messages.rb +258 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +128 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +168 -9
|
@@ -0,0 +1,2709 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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 ConfigService
|
|
23
|
+
module V1
|
|
24
|
+
# A Deployment is a group of resources and configs managed and provisioned by
|
|
25
|
+
# Infra Manager.
|
|
26
|
+
# @!attribute [rw] terraform_blueprint
|
|
27
|
+
# @return [::Google::Cloud::ConfigService::V1::TerraformBlueprint]
|
|
28
|
+
# A blueprint described using Terraform's HashiCorp Configuration Language
|
|
29
|
+
# as a root module.
|
|
30
|
+
# @!attribute [rw] name
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Identifier. Resource name of the deployment.
|
|
33
|
+
# Format: `projects/{project}/locations/{location}/deployments/{deployment}`
|
|
34
|
+
# @!attribute [r] create_time
|
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
36
|
+
# Output only. Time when the deployment was created.
|
|
37
|
+
# @!attribute [r] update_time
|
|
38
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
39
|
+
# Output only. Time when the deployment was last modified.
|
|
40
|
+
# @!attribute [rw] labels
|
|
41
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
42
|
+
# Optional. User-defined metadata for the deployment.
|
|
43
|
+
# @!attribute [r] state
|
|
44
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment::State]
|
|
45
|
+
# Output only. Current state of the deployment.
|
|
46
|
+
# @!attribute [r] latest_revision
|
|
47
|
+
# @return [::String]
|
|
48
|
+
# Output only. Revision name that was most recently applied.
|
|
49
|
+
# Format: `projects/{project}/locations/{location}/deployments/{deployment}/
|
|
50
|
+
# revisions/{revision}`
|
|
51
|
+
# @!attribute [r] state_detail
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Output only. Additional information regarding the current state.
|
|
54
|
+
# @!attribute [r] error_code
|
|
55
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment::ErrorCode]
|
|
56
|
+
# Output only. Error code describing errors that may have occurred.
|
|
57
|
+
# @!attribute [r] delete_results
|
|
58
|
+
# @return [::Google::Cloud::ConfigService::V1::ApplyResults]
|
|
59
|
+
# Output only. Location of artifacts from a DeleteDeployment operation.
|
|
60
|
+
# @!attribute [r] delete_build
|
|
61
|
+
# @return [::String]
|
|
62
|
+
# Output only. Cloud Build instance UUID associated with deleting this
|
|
63
|
+
# deployment.
|
|
64
|
+
# @!attribute [r] delete_logs
|
|
65
|
+
# @return [::String]
|
|
66
|
+
# Output only. Location of Cloud Build logs in Google Cloud Storage,
|
|
67
|
+
# populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
|
|
68
|
+
# @!attribute [r] tf_errors
|
|
69
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::TerraformError>]
|
|
70
|
+
# Output only. Errors encountered when deleting this deployment.
|
|
71
|
+
# Errors are truncated to 10 entries, see `delete_results` and `error_logs`
|
|
72
|
+
# for full details.
|
|
73
|
+
# @!attribute [r] error_logs
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# Output only. Location of Terraform error logs in Google Cloud Storage.
|
|
76
|
+
# Format: `gs://{bucket}/{object}`.
|
|
77
|
+
# @!attribute [rw] artifacts_gcs_bucket
|
|
78
|
+
# @return [::String]
|
|
79
|
+
# User-defined location of Cloud Build logs and artifacts in Google Cloud
|
|
80
|
+
# Storage. Format: `gs://{bucket}/{folder}`
|
|
81
|
+
#
|
|
82
|
+
# A default bucket will be bootstrapped if the field is not set or empty.
|
|
83
|
+
# Default bucket format: `gs://<project number>-<region>-blueprint-config`
|
|
84
|
+
# Constraints:
|
|
85
|
+
# - The bucket needs to be in the same project as the deployment
|
|
86
|
+
# - The path cannot be within the path of `gcs_source`
|
|
87
|
+
# - The field cannot be updated, including changing its presence
|
|
88
|
+
# @!attribute [rw] service_account
|
|
89
|
+
# @return [::String]
|
|
90
|
+
# Required. User-specified Service Account (SA) credentials to be used when
|
|
91
|
+
# actuating resources.
|
|
92
|
+
# Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
|
|
93
|
+
# @!attribute [rw] import_existing_resources
|
|
94
|
+
# @return [::Boolean]
|
|
95
|
+
# By default, Infra Manager will return a failure when
|
|
96
|
+
# Terraform encounters a 409 code (resource conflict error) during actuation.
|
|
97
|
+
# If this flag is set to true, Infra Manager will instead
|
|
98
|
+
# attempt to automatically import the resource into the Terraform state (for
|
|
99
|
+
# supported resource types) and continue actuation.
|
|
100
|
+
#
|
|
101
|
+
# Not all resource types are supported, refer to documentation.
|
|
102
|
+
# @!attribute [rw] worker_pool
|
|
103
|
+
# @return [::String]
|
|
104
|
+
# The user-specified Cloud Build worker pool resource in which the Cloud
|
|
105
|
+
# Build job will execute. Format:
|
|
106
|
+
# `projects/{project}/locations/{location}/workerPools/{workerPoolId}`.
|
|
107
|
+
# If this field is unspecified, the default Cloud Build worker pool will be
|
|
108
|
+
# used.
|
|
109
|
+
# @!attribute [r] lock_state
|
|
110
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment::LockState]
|
|
111
|
+
# Output only. Current lock state of the deployment.
|
|
112
|
+
# @!attribute [rw] tf_version_constraint
|
|
113
|
+
# @return [::String]
|
|
114
|
+
# The user-specified Terraform version constraint.
|
|
115
|
+
# Example: "=1.3.10".
|
|
116
|
+
# @!attribute [r] tf_version
|
|
117
|
+
# @return [::String]
|
|
118
|
+
# Output only. The current Terraform version set on the deployment.
|
|
119
|
+
# It is in the format of "Major.Minor.Patch", for example, "1.3.10".
|
|
120
|
+
# @!attribute [rw] quota_validation
|
|
121
|
+
# @return [::Google::Cloud::ConfigService::V1::QuotaValidation]
|
|
122
|
+
# Optional. Input to control quota checks for resources in terraform
|
|
123
|
+
# configuration files. There are limited resources on which quota validation
|
|
124
|
+
# applies.
|
|
125
|
+
# @!attribute [rw] annotations
|
|
126
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
127
|
+
# Optional. Arbitrary key-value metadata storage e.g. to help client tools
|
|
128
|
+
# identify deployments during automation. See
|
|
129
|
+
# https://google.aip.dev/148#annotations for details on format and size
|
|
130
|
+
# limitations.
|
|
131
|
+
# @!attribute [rw] provider_config
|
|
132
|
+
# @return [::Google::Cloud::ConfigService::V1::ProviderConfig]
|
|
133
|
+
# Optional. This field specifies the provider configurations.
|
|
134
|
+
class Deployment
|
|
135
|
+
include ::Google::Protobuf::MessageExts
|
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
137
|
+
|
|
138
|
+
# @!attribute [rw] key
|
|
139
|
+
# @return [::String]
|
|
140
|
+
# @!attribute [rw] value
|
|
141
|
+
# @return [::String]
|
|
142
|
+
class LabelsEntry
|
|
143
|
+
include ::Google::Protobuf::MessageExts
|
|
144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# @!attribute [rw] key
|
|
148
|
+
# @return [::String]
|
|
149
|
+
# @!attribute [rw] value
|
|
150
|
+
# @return [::String]
|
|
151
|
+
class AnnotationsEntry
|
|
152
|
+
include ::Google::Protobuf::MessageExts
|
|
153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# Possible states of a deployment.
|
|
157
|
+
module State
|
|
158
|
+
# The default value. This value is used if the state is omitted.
|
|
159
|
+
STATE_UNSPECIFIED = 0
|
|
160
|
+
|
|
161
|
+
# The deployment is being created.
|
|
162
|
+
CREATING = 1
|
|
163
|
+
|
|
164
|
+
# The deployment is healthy.
|
|
165
|
+
ACTIVE = 2
|
|
166
|
+
|
|
167
|
+
# The deployment is being updated.
|
|
168
|
+
UPDATING = 3
|
|
169
|
+
|
|
170
|
+
# The deployment is being deleted.
|
|
171
|
+
DELETING = 4
|
|
172
|
+
|
|
173
|
+
# The deployment has encountered an unexpected error.
|
|
174
|
+
FAILED = 5
|
|
175
|
+
|
|
176
|
+
# The deployment is no longer being actively reconciled.
|
|
177
|
+
# This may be the result of recovering the project after deletion.
|
|
178
|
+
SUSPENDED = 6
|
|
179
|
+
|
|
180
|
+
# The deployment has been deleted.
|
|
181
|
+
DELETED = 7
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Possible errors that can occur with deployments.
|
|
185
|
+
module ErrorCode
|
|
186
|
+
# No error code was specified.
|
|
187
|
+
ERROR_CODE_UNSPECIFIED = 0
|
|
188
|
+
|
|
189
|
+
# The revision failed. See Revision for more details.
|
|
190
|
+
REVISION_FAILED = 1
|
|
191
|
+
|
|
192
|
+
# Cloud Build failed due to a permission issue.
|
|
193
|
+
CLOUD_BUILD_PERMISSION_DENIED = 3
|
|
194
|
+
|
|
195
|
+
# Cloud Build job associated with a deployment deletion could not be
|
|
196
|
+
# started.
|
|
197
|
+
DELETE_BUILD_API_FAILED = 5
|
|
198
|
+
|
|
199
|
+
# Cloud Build job associated with a deployment deletion was started but
|
|
200
|
+
# failed.
|
|
201
|
+
DELETE_BUILD_RUN_FAILED = 6
|
|
202
|
+
|
|
203
|
+
# Cloud Storage bucket creation failed due to a permission issue.
|
|
204
|
+
BUCKET_CREATION_PERMISSION_DENIED = 7
|
|
205
|
+
|
|
206
|
+
# Cloud Storage bucket creation failed due to an issue unrelated to
|
|
207
|
+
# permissions.
|
|
208
|
+
BUCKET_CREATION_FAILED = 8
|
|
209
|
+
|
|
210
|
+
# Failed to import values from an external source.
|
|
211
|
+
EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 10
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# Possible lock states of a deployment.
|
|
215
|
+
module LockState
|
|
216
|
+
# The default value. This value is used if the lock state is omitted.
|
|
217
|
+
LOCK_STATE_UNSPECIFIED = 0
|
|
218
|
+
|
|
219
|
+
# The deployment is locked.
|
|
220
|
+
LOCKED = 1
|
|
221
|
+
|
|
222
|
+
# The deployment is unlocked.
|
|
223
|
+
UNLOCKED = 2
|
|
224
|
+
|
|
225
|
+
# The deployment is being locked.
|
|
226
|
+
LOCKING = 3
|
|
227
|
+
|
|
228
|
+
# The deployment is being unlocked.
|
|
229
|
+
UNLOCKING = 4
|
|
230
|
+
|
|
231
|
+
# The deployment has failed to lock.
|
|
232
|
+
LOCK_FAILED = 5
|
|
233
|
+
|
|
234
|
+
# The deployment has failed to unlock.
|
|
235
|
+
UNLOCK_FAILED = 6
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# TerraformBlueprint describes the source of a Terraform root module which
|
|
240
|
+
# describes the resources and configs to be deployed.
|
|
241
|
+
# @!attribute [rw] gcs_source
|
|
242
|
+
# @return [::String]
|
|
243
|
+
# URI of an object in Google Cloud Storage.
|
|
244
|
+
# Format: `gs://{bucket}/{object}`
|
|
245
|
+
#
|
|
246
|
+
# URI may also specify an object version for zipped objects.
|
|
247
|
+
# Format: `gs://{bucket}/{object}#{version}`
|
|
248
|
+
#
|
|
249
|
+
# Note: The following fields are mutually exclusive: `gcs_source`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
250
|
+
# @!attribute [rw] git_source
|
|
251
|
+
# @return [::Google::Cloud::ConfigService::V1::GitSource]
|
|
252
|
+
# URI of a public Git repo.
|
|
253
|
+
#
|
|
254
|
+
# Note: The following fields are mutually exclusive: `git_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
255
|
+
# @!attribute [rw] input_values
|
|
256
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::TerraformVariable}]
|
|
257
|
+
# Optional. Input variable values for the Terraform blueprint.
|
|
258
|
+
# @!attribute [rw] external_values
|
|
259
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::ExternalValueSource}]
|
|
260
|
+
# Optional. Map of input variable names in this blueprint to configurations
|
|
261
|
+
# for importing values from external sources.
|
|
262
|
+
class TerraformBlueprint
|
|
263
|
+
include ::Google::Protobuf::MessageExts
|
|
264
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
265
|
+
|
|
266
|
+
# @!attribute [rw] key
|
|
267
|
+
# @return [::String]
|
|
268
|
+
# @!attribute [rw] value
|
|
269
|
+
# @return [::Google::Cloud::ConfigService::V1::TerraformVariable]
|
|
270
|
+
class InputValuesEntry
|
|
271
|
+
include ::Google::Protobuf::MessageExts
|
|
272
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# @!attribute [rw] key
|
|
276
|
+
# @return [::String]
|
|
277
|
+
# @!attribute [rw] value
|
|
278
|
+
# @return [::Google::Cloud::ConfigService::V1::ExternalValueSource]
|
|
279
|
+
class ExternalValuesEntry
|
|
280
|
+
include ::Google::Protobuf::MessageExts
|
|
281
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
282
|
+
end
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# A Terraform input variable.
|
|
286
|
+
# @!attribute [rw] input_value
|
|
287
|
+
# @return [::Google::Protobuf::Value]
|
|
288
|
+
# Optional. Input variable value.
|
|
289
|
+
class TerraformVariable
|
|
290
|
+
include ::Google::Protobuf::MessageExts
|
|
291
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# Configuration for a source of an external value.
|
|
295
|
+
# @!attribute [rw] deployment_source
|
|
296
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentSource]
|
|
297
|
+
# A source from a Deployment.
|
|
298
|
+
class ExternalValueSource
|
|
299
|
+
include ::Google::Protobuf::MessageExts
|
|
300
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Configuration for a value sourced from a Deployment.
|
|
304
|
+
# @!attribute [rw] deployment
|
|
305
|
+
# @return [::String]
|
|
306
|
+
# Required. The resource name of the source Deployment to import the output
|
|
307
|
+
# from. Format:
|
|
308
|
+
# projects/\\{project}/locations/\\{location}/deployments/\\{deployment} The source
|
|
309
|
+
# deployment must be in the same project and location.
|
|
310
|
+
# @!attribute [rw] output_name
|
|
311
|
+
# @return [::String]
|
|
312
|
+
# Required. The name of the output variable in the source deployment's latest
|
|
313
|
+
# successfully applied revision.
|
|
314
|
+
class DeploymentSource
|
|
315
|
+
include ::Google::Protobuf::MessageExts
|
|
316
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# Outputs and artifacts from applying a deployment.
|
|
320
|
+
# @!attribute [rw] content
|
|
321
|
+
# @return [::String]
|
|
322
|
+
# Location of a blueprint copy and other manifests in Google Cloud Storage.
|
|
323
|
+
# Format: `gs://{bucket}/{object}`
|
|
324
|
+
# @!attribute [rw] artifacts
|
|
325
|
+
# @return [::String]
|
|
326
|
+
# Location of artifacts (e.g. logs) in Google Cloud Storage.
|
|
327
|
+
# Format: `gs://{bucket}/{object}`
|
|
328
|
+
# @!attribute [rw] outputs
|
|
329
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::TerraformOutput}]
|
|
330
|
+
# Map of output name to output info.
|
|
331
|
+
class ApplyResults
|
|
332
|
+
include ::Google::Protobuf::MessageExts
|
|
333
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
334
|
+
|
|
335
|
+
# @!attribute [rw] key
|
|
336
|
+
# @return [::String]
|
|
337
|
+
# @!attribute [rw] value
|
|
338
|
+
# @return [::Google::Cloud::ConfigService::V1::TerraformOutput]
|
|
339
|
+
class OutputsEntry
|
|
340
|
+
include ::Google::Protobuf::MessageExts
|
|
341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
# Describes a Terraform output.
|
|
346
|
+
# @!attribute [rw] sensitive
|
|
347
|
+
# @return [::Boolean]
|
|
348
|
+
# Identifies whether Terraform has set this output as a potential
|
|
349
|
+
# sensitive value.
|
|
350
|
+
# @!attribute [rw] value
|
|
351
|
+
# @return [::Google::Protobuf::Value]
|
|
352
|
+
# Value of output.
|
|
353
|
+
class TerraformOutput
|
|
354
|
+
include ::Google::Protobuf::MessageExts
|
|
355
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# @!attribute [rw] parent
|
|
359
|
+
# @return [::String]
|
|
360
|
+
# Required. The parent in whose context the Deployments are listed. The
|
|
361
|
+
# parent value is in the format:
|
|
362
|
+
# 'projects/\\{project_id}/locations/\\{location}'.
|
|
363
|
+
# @!attribute [rw] page_size
|
|
364
|
+
# @return [::Integer]
|
|
365
|
+
# When requesting a page of resources, 'page_size' specifies number of
|
|
366
|
+
# resources to return. If unspecified, at most 500 will be returned. The
|
|
367
|
+
# maximum value is 1000.
|
|
368
|
+
# @!attribute [rw] page_token
|
|
369
|
+
# @return [::String]
|
|
370
|
+
# Token returned by previous call to 'ListDeployments' which specifies the
|
|
371
|
+
# position in the list from where to continue listing the resources.
|
|
372
|
+
# @!attribute [rw] filter
|
|
373
|
+
# @return [::String]
|
|
374
|
+
# Lists the Deployments that match the filter expression. A filter
|
|
375
|
+
# expression filters the resources listed in the response. The expression
|
|
376
|
+
# must be of the form '\\{field} \\{operator} \\{value}' where operators: '<', '>',
|
|
377
|
+
# '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
|
|
378
|
+
# operator which is roughly synonymous with equality). \\{field} can refer to a
|
|
379
|
+
# proto or JSON field, or a synthetic field. Field names can be camelCase or
|
|
380
|
+
# snake_case.
|
|
381
|
+
#
|
|
382
|
+
# Examples:
|
|
383
|
+
# - Filter by name:
|
|
384
|
+
# name = "projects/foo/locations/us-central1/deployments/bar
|
|
385
|
+
#
|
|
386
|
+
# - Filter by labels:
|
|
387
|
+
# - Resources that have a key called 'foo'
|
|
388
|
+
# labels.foo:*
|
|
389
|
+
# - Resources that have a key called 'foo' whose value is 'bar'
|
|
390
|
+
# labels.foo = bar
|
|
391
|
+
#
|
|
392
|
+
# - Filter by state:
|
|
393
|
+
# - Deployments in CREATING state.
|
|
394
|
+
# state=CREATING
|
|
395
|
+
# @!attribute [rw] order_by
|
|
396
|
+
# @return [::String]
|
|
397
|
+
# Field to use to sort the list.
|
|
398
|
+
class ListDeploymentsRequest
|
|
399
|
+
include ::Google::Protobuf::MessageExts
|
|
400
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
# @!attribute [rw] deployments
|
|
404
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::Deployment>]
|
|
405
|
+
# List of {::Google::Cloud::ConfigService::V1::Deployment Deployment}s.
|
|
406
|
+
# @!attribute [rw] next_page_token
|
|
407
|
+
# @return [::String]
|
|
408
|
+
# Token to be supplied to the next ListDeployments request via `page_token`
|
|
409
|
+
# to obtain the next set of results.
|
|
410
|
+
# @!attribute [rw] unreachable
|
|
411
|
+
# @return [::Array<::String>]
|
|
412
|
+
# Locations that could not be reached.
|
|
413
|
+
class ListDeploymentsResponse
|
|
414
|
+
include ::Google::Protobuf::MessageExts
|
|
415
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
# @!attribute [rw] name
|
|
419
|
+
# @return [::String]
|
|
420
|
+
# Required. The name of the deployment. Format:
|
|
421
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
422
|
+
class GetDeploymentRequest
|
|
423
|
+
include ::Google::Protobuf::MessageExts
|
|
424
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
# A request to list Revisions passed to a 'ListRevisions' call.
|
|
428
|
+
# @!attribute [rw] parent
|
|
429
|
+
# @return [::String]
|
|
430
|
+
# Required. The parent in whose context the Revisions are listed. The parent
|
|
431
|
+
# value is in the format:
|
|
432
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
433
|
+
# @!attribute [rw] page_size
|
|
434
|
+
# @return [::Integer]
|
|
435
|
+
# When requesting a page of resources, `page_size` specifies number of
|
|
436
|
+
# resources to return. If unspecified, at most 500 will be returned. The
|
|
437
|
+
# maximum value is 1000.
|
|
438
|
+
# @!attribute [rw] page_token
|
|
439
|
+
# @return [::String]
|
|
440
|
+
# Token returned by previous call to 'ListRevisions' which specifies the
|
|
441
|
+
# position in the list from where to continue listing the resources.
|
|
442
|
+
# @!attribute [rw] filter
|
|
443
|
+
# @return [::String]
|
|
444
|
+
# Lists the Revisions that match the filter expression. A filter
|
|
445
|
+
# expression filters the resources listed in the response. The expression
|
|
446
|
+
# must be of the form '\\{field} \\{operator} \\{value}' where operators: '<', '>',
|
|
447
|
+
# '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
|
|
448
|
+
# operator which is roughly synonymous with equality). \\{field} can refer to a
|
|
449
|
+
# proto or JSON field, or a synthetic field. Field names can be camelCase or
|
|
450
|
+
# snake_case.
|
|
451
|
+
#
|
|
452
|
+
# Examples:
|
|
453
|
+
# - Filter by name:
|
|
454
|
+
# name = "projects/foo/locations/us-central1/deployments/dep/revisions/bar
|
|
455
|
+
#
|
|
456
|
+
# - Filter by labels:
|
|
457
|
+
# - Resources that have a key called 'foo'
|
|
458
|
+
# labels.foo:*
|
|
459
|
+
# - Resources that have a key called 'foo' whose value is 'bar'
|
|
460
|
+
# labels.foo = bar
|
|
461
|
+
#
|
|
462
|
+
# - Filter by state:
|
|
463
|
+
# - Revisions in CREATING state.
|
|
464
|
+
# state=CREATING
|
|
465
|
+
# @!attribute [rw] order_by
|
|
466
|
+
# @return [::String]
|
|
467
|
+
# Field to use to sort the list.
|
|
468
|
+
class ListRevisionsRequest
|
|
469
|
+
include ::Google::Protobuf::MessageExts
|
|
470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# A response to a 'ListRevisions' call. Contains a list of Revisions.
|
|
474
|
+
# @!attribute [rw] revisions
|
|
475
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::Revision>]
|
|
476
|
+
# List of {::Google::Cloud::ConfigService::V1::Revision Revision}s.
|
|
477
|
+
# @!attribute [rw] next_page_token
|
|
478
|
+
# @return [::String]
|
|
479
|
+
# A token to request the next page of resources from the 'ListRevisions'
|
|
480
|
+
# method. The value of an empty string means that there are no more resources
|
|
481
|
+
# to return.
|
|
482
|
+
# @!attribute [rw] unreachable
|
|
483
|
+
# @return [::Array<::String>]
|
|
484
|
+
# Locations that could not be reached.
|
|
485
|
+
class ListRevisionsResponse
|
|
486
|
+
include ::Google::Protobuf::MessageExts
|
|
487
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
# A request to get a Revision from a 'GetRevision' call.
|
|
491
|
+
# @!attribute [rw] name
|
|
492
|
+
# @return [::String]
|
|
493
|
+
# Required. The name of the Revision in the format:
|
|
494
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}/revisions/\\{revision}'.
|
|
495
|
+
class GetRevisionRequest
|
|
496
|
+
include ::Google::Protobuf::MessageExts
|
|
497
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
# @!attribute [rw] parent
|
|
501
|
+
# @return [::String]
|
|
502
|
+
# Required. The parent in whose context the Deployment is created. The parent
|
|
503
|
+
# value is in the format: 'projects/\\{project_id}/locations/\\{location}'.
|
|
504
|
+
# @!attribute [rw] deployment_id
|
|
505
|
+
# @return [::String]
|
|
506
|
+
# Required. The Deployment ID.
|
|
507
|
+
# @!attribute [rw] deployment
|
|
508
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment]
|
|
509
|
+
# Required. {::Google::Cloud::ConfigService::V1::Deployment Deployment} resource to be
|
|
510
|
+
# created.
|
|
511
|
+
# @!attribute [rw] request_id
|
|
512
|
+
# @return [::String]
|
|
513
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
514
|
+
# request ID so that if you must retry your request, the server will know to
|
|
515
|
+
# ignore the request if it has already been completed. The server will
|
|
516
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
517
|
+
#
|
|
518
|
+
# For example, consider a situation where you make an initial request and the
|
|
519
|
+
# request times out. If you make the request again with the same request ID,
|
|
520
|
+
# the server can check if original operation with the same request ID was
|
|
521
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
522
|
+
# from accidentally creating duplicate commitments.
|
|
523
|
+
#
|
|
524
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
525
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
526
|
+
class CreateDeploymentRequest
|
|
527
|
+
include ::Google::Protobuf::MessageExts
|
|
528
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
# A request to create a deployment group
|
|
532
|
+
# @!attribute [rw] parent
|
|
533
|
+
# @return [::String]
|
|
534
|
+
# Required. The parent in whose context the Deployment Group is created. The
|
|
535
|
+
# parent value is in the format: 'projects/\\{project_id}/locations/\\{location}'
|
|
536
|
+
# @!attribute [rw] deployment_group_id
|
|
537
|
+
# @return [::String]
|
|
538
|
+
# Required. The deployment group ID.
|
|
539
|
+
# @!attribute [rw] deployment_group
|
|
540
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentGroup]
|
|
541
|
+
# Required. [Deployment Group][] resource to create
|
|
542
|
+
# @!attribute [rw] request_id
|
|
543
|
+
# @return [::String]
|
|
544
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
545
|
+
# request ID so that if you must retry your request, the server will know to
|
|
546
|
+
# ignore the request if it has already been completed. The server will
|
|
547
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
548
|
+
#
|
|
549
|
+
# For example, consider a situation where you make an initial request and the
|
|
550
|
+
# request times out. If you make the request again with the same request ID,
|
|
551
|
+
# the server can check if original operation with the same request ID was
|
|
552
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
553
|
+
# from accidentally creating duplicate commitments.
|
|
554
|
+
#
|
|
555
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
556
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
557
|
+
class CreateDeploymentGroupRequest
|
|
558
|
+
include ::Google::Protobuf::MessageExts
|
|
559
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
# A request message for updating a deployment group
|
|
563
|
+
# @!attribute [rw] update_mask
|
|
564
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
565
|
+
# Optional. Field mask used to specify the fields to be overwritten in the
|
|
566
|
+
# Deployment Group resource by the update.
|
|
567
|
+
#
|
|
568
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
569
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
570
|
+
# user does not provide a mask then all fields will be overwritten.
|
|
571
|
+
# @!attribute [rw] deployment_group
|
|
572
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentGroup]
|
|
573
|
+
# Required. {::Google::Cloud::ConfigService::V1::DeploymentGroup DeploymentGroup} to
|
|
574
|
+
# update.
|
|
575
|
+
#
|
|
576
|
+
# The deployment group's `name` field is used to identify the resource to be
|
|
577
|
+
# updated. Format:
|
|
578
|
+
# `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
|
|
579
|
+
# @!attribute [rw] request_id
|
|
580
|
+
# @return [::String]
|
|
581
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
582
|
+
# request ID so that if you must retry your request, the server will know to
|
|
583
|
+
# ignore the request if it has already been completed. The server will
|
|
584
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
585
|
+
#
|
|
586
|
+
# For example, consider a situation where you make an initial request and the
|
|
587
|
+
# request times out. If you make the request again with the same request ID,
|
|
588
|
+
# the server can check if original operation with the same request ID was
|
|
589
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
590
|
+
# from accidentally creating duplicate commitments.
|
|
591
|
+
#
|
|
592
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
593
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
594
|
+
class UpdateDeploymentGroupRequest
|
|
595
|
+
include ::Google::Protobuf::MessageExts
|
|
596
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
# Request message for Delete DeploymentGroup
|
|
600
|
+
# @!attribute [rw] name
|
|
601
|
+
# @return [::String]
|
|
602
|
+
# Required. The name of DeploymentGroup in the format
|
|
603
|
+
# projects/\\{project_id}/locations/\\{location_id}/deploymentGroups/\\{deploymentGroup}
|
|
604
|
+
# @!attribute [rw] request_id
|
|
605
|
+
# @return [::String]
|
|
606
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
607
|
+
# request ID so that if you must retry your request, the server will know to
|
|
608
|
+
# ignore the request if it has already been completed. The server will
|
|
609
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
610
|
+
#
|
|
611
|
+
# For example, consider a situation where you make an initial request and the
|
|
612
|
+
# request times out. If you make the request again with the same request ID,
|
|
613
|
+
# the server can check if original operation with the same request ID was
|
|
614
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
615
|
+
# from accidentally creating duplicate commitments.
|
|
616
|
+
#
|
|
617
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
618
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
619
|
+
# @!attribute [rw] force
|
|
620
|
+
# @return [::Boolean]
|
|
621
|
+
# Optional. If set to true, any revisions for this deployment group will also
|
|
622
|
+
# be deleted. (Otherwise, the request will only work if the deployment group
|
|
623
|
+
# has no revisions.)
|
|
624
|
+
# @!attribute [rw] deployment_reference_policy
|
|
625
|
+
# @return [::Google::Cloud::ConfigService::V1::DeleteDeploymentGroupRequest::DeploymentReferencePolicy]
|
|
626
|
+
# Optional. Policy on how to handle referenced deployments when deleting the
|
|
627
|
+
# DeploymentGroup.
|
|
628
|
+
# If unspecified, the default behavior is to fail the deletion if any
|
|
629
|
+
# deployments currently referenced in the `deployment_units` of the
|
|
630
|
+
# DeploymentGroup or in the latest revision are not deleted.
|
|
631
|
+
class DeleteDeploymentGroupRequest
|
|
632
|
+
include ::Google::Protobuf::MessageExts
|
|
633
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
634
|
+
|
|
635
|
+
# Policy on how to handle referenced deployments when deleting the
|
|
636
|
+
# DeploymentGroup.
|
|
637
|
+
module DeploymentReferencePolicy
|
|
638
|
+
# The default behavior. If unspecified, the system will act as if
|
|
639
|
+
# `FAIL_IF_ANY_REFERENCES_EXIST` is specified.
|
|
640
|
+
DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED = 0
|
|
641
|
+
|
|
642
|
+
# Fail the deletion if any deployments currently referenced in the
|
|
643
|
+
# `deployment_units` of the DeploymentGroup or in the latest revision
|
|
644
|
+
# are not deleted.
|
|
645
|
+
FAIL_IF_ANY_REFERENCES_EXIST = 1
|
|
646
|
+
|
|
647
|
+
# Fail the deletion only if any deployments currently referenced in the
|
|
648
|
+
# `deployment_units` of the DeploymentGroup are not deleted.
|
|
649
|
+
# The deletion will proceed even if the deployments in the latest revision
|
|
650
|
+
# of the DeploymentGroup are not deleted.
|
|
651
|
+
FAIL_IF_METADATA_REFERENCES_EXIST = 2
|
|
652
|
+
|
|
653
|
+
# Ignore any deployments currently referenced in the
|
|
654
|
+
# `deployment_units` of the DeploymentGroup or in the latest revision.
|
|
655
|
+
IGNORE_DEPLOYMENT_REFERENCES = 3
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
# @!attribute [rw] update_mask
|
|
660
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
661
|
+
# Optional. Field mask used to specify the fields to be overwritten in the
|
|
662
|
+
# Deployment resource by the update.
|
|
663
|
+
#
|
|
664
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
665
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
666
|
+
# user does not provide a mask then all fields will be overwritten.
|
|
667
|
+
# @!attribute [rw] deployment
|
|
668
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment]
|
|
669
|
+
# Required. {::Google::Cloud::ConfigService::V1::Deployment Deployment} to update.
|
|
670
|
+
#
|
|
671
|
+
# The deployment's `name` field is used to identify the resource to be
|
|
672
|
+
# updated. Format:
|
|
673
|
+
# `projects/{project}/locations/{location}/deployments/{deployment}`
|
|
674
|
+
# @!attribute [rw] request_id
|
|
675
|
+
# @return [::String]
|
|
676
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
677
|
+
# request ID so that if you must retry your request, the server will know to
|
|
678
|
+
# ignore the request if it has already been completed. The server will
|
|
679
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
680
|
+
#
|
|
681
|
+
# For example, consider a situation where you make an initial request and the
|
|
682
|
+
# request times out. If you make the request again with the same request ID,
|
|
683
|
+
# the server can check if original operation with the same request ID was
|
|
684
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
685
|
+
# from accidentally creating duplicate commitments.
|
|
686
|
+
#
|
|
687
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
688
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
689
|
+
class UpdateDeploymentRequest
|
|
690
|
+
include ::Google::Protobuf::MessageExts
|
|
691
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
# @!attribute [rw] name
|
|
695
|
+
# @return [::String]
|
|
696
|
+
# Required. The name of the Deployment in the format:
|
|
697
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
698
|
+
# @!attribute [rw] request_id
|
|
699
|
+
# @return [::String]
|
|
700
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
701
|
+
# request ID so that if you must retry your request, the server will know to
|
|
702
|
+
# ignore the request if it has already been completed. The server will
|
|
703
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
704
|
+
#
|
|
705
|
+
# For example, consider a situation where you make an initial request and the
|
|
706
|
+
# request times out. If you make the request again with the same request ID,
|
|
707
|
+
# the server can check if original operation with the same request ID was
|
|
708
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
709
|
+
# from accidentally creating duplicate commitments.
|
|
710
|
+
#
|
|
711
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
712
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
713
|
+
# @!attribute [rw] force
|
|
714
|
+
# @return [::Boolean]
|
|
715
|
+
# Optional. If set to true, any revisions for this deployment will also be
|
|
716
|
+
# deleted. (Otherwise, the request will only work if the deployment has no
|
|
717
|
+
# revisions.)
|
|
718
|
+
# @!attribute [rw] delete_policy
|
|
719
|
+
# @return [::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest::DeletePolicy]
|
|
720
|
+
# Optional. Policy on how resources actuated by the deployment should be
|
|
721
|
+
# deleted. If unspecified, the default behavior is to delete the underlying
|
|
722
|
+
# resources.
|
|
723
|
+
class DeleteDeploymentRequest
|
|
724
|
+
include ::Google::Protobuf::MessageExts
|
|
725
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
726
|
+
|
|
727
|
+
# Policy on how resources actuated by the deployment should be deleted.
|
|
728
|
+
module DeletePolicy
|
|
729
|
+
# Unspecified policy, resources will be deleted.
|
|
730
|
+
DELETE_POLICY_UNSPECIFIED = 0
|
|
731
|
+
|
|
732
|
+
# Deletes resources actuated by the deployment.
|
|
733
|
+
DELETE = 1
|
|
734
|
+
|
|
735
|
+
# Abandons resources and only deletes the deployment and its metadata.
|
|
736
|
+
ABANDON = 2
|
|
737
|
+
end
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
# Represents the metadata of the long-running operation.
|
|
741
|
+
# @!attribute [r] deployment_metadata
|
|
742
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentOperationMetadata]
|
|
743
|
+
# Output only. Metadata about the deployment operation state.
|
|
744
|
+
#
|
|
745
|
+
# Note: The following fields are mutually exclusive: `deployment_metadata`, `preview_metadata`, `provision_deployment_group_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
746
|
+
# @!attribute [r] preview_metadata
|
|
747
|
+
# @return [::Google::Cloud::ConfigService::V1::PreviewOperationMetadata]
|
|
748
|
+
# Output only. Metadata about the preview operation state.
|
|
749
|
+
#
|
|
750
|
+
# Note: The following fields are mutually exclusive: `preview_metadata`, `deployment_metadata`, `provision_deployment_group_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
751
|
+
# @!attribute [r] provision_deployment_group_metadata
|
|
752
|
+
# @return [::Google::Cloud::ConfigService::V1::ProvisionDeploymentGroupOperationMetadata]
|
|
753
|
+
# Output only. Metadata about ProvisionDeploymentGroup operation state.
|
|
754
|
+
#
|
|
755
|
+
# Note: The following fields are mutually exclusive: `provision_deployment_group_metadata`, `deployment_metadata`, `preview_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
756
|
+
# @!attribute [r] create_time
|
|
757
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
758
|
+
# Output only. Time when the operation was created.
|
|
759
|
+
# @!attribute [r] end_time
|
|
760
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
761
|
+
# Output only. Time when the operation finished running.
|
|
762
|
+
# @!attribute [r] target
|
|
763
|
+
# @return [::String]
|
|
764
|
+
# Output only. Server-defined resource path for the target of the operation.
|
|
765
|
+
# @!attribute [r] verb
|
|
766
|
+
# @return [::String]
|
|
767
|
+
# Output only. Name of the verb executed by the operation.
|
|
768
|
+
# @!attribute [r] status_message
|
|
769
|
+
# @return [::String]
|
|
770
|
+
# Output only. Human-readable status of the operation, if any.
|
|
771
|
+
# @!attribute [r] requested_cancellation
|
|
772
|
+
# @return [::Boolean]
|
|
773
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
|
774
|
+
# operation. Operations that have successfully been cancelled have
|
|
775
|
+
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
|
776
|
+
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of `1`,
|
|
777
|
+
# corresponding to `Code.CANCELLED`.
|
|
778
|
+
# @!attribute [r] api_version
|
|
779
|
+
# @return [::String]
|
|
780
|
+
# Output only. API version used to start the operation.
|
|
781
|
+
class OperationMetadata
|
|
782
|
+
include ::Google::Protobuf::MessageExts
|
|
783
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
784
|
+
end
|
|
785
|
+
|
|
786
|
+
# A child resource of a Deployment generated by a 'CreateDeployment' or
|
|
787
|
+
# 'UpdateDeployment' call. Each Revision contains metadata pertaining to a
|
|
788
|
+
# snapshot of a particular Deployment.
|
|
789
|
+
# @!attribute [r] terraform_blueprint
|
|
790
|
+
# @return [::Google::Cloud::ConfigService::V1::TerraformBlueprint]
|
|
791
|
+
# Output only. A blueprint described using Terraform's HashiCorp
|
|
792
|
+
# Configuration Language as a root module.
|
|
793
|
+
# @!attribute [rw] name
|
|
794
|
+
# @return [::String]
|
|
795
|
+
# Revision name. Format:
|
|
796
|
+
# `projects/{project}/locations/{location}/deployments/{deployment}/
|
|
797
|
+
# revisions/{revision}`
|
|
798
|
+
# @!attribute [r] create_time
|
|
799
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
800
|
+
# Output only. Time when the revision was created.
|
|
801
|
+
# @!attribute [r] update_time
|
|
802
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
803
|
+
# Output only. Time when the revision was last modified.
|
|
804
|
+
# @!attribute [r] action
|
|
805
|
+
# @return [::Google::Cloud::ConfigService::V1::Revision::Action]
|
|
806
|
+
# Output only. The action which created this revision
|
|
807
|
+
# @!attribute [r] state
|
|
808
|
+
# @return [::Google::Cloud::ConfigService::V1::Revision::State]
|
|
809
|
+
# Output only. Current state of the revision.
|
|
810
|
+
# @!attribute [r] apply_results
|
|
811
|
+
# @return [::Google::Cloud::ConfigService::V1::ApplyResults]
|
|
812
|
+
# Output only. Outputs and artifacts from applying a deployment.
|
|
813
|
+
# @!attribute [r] state_detail
|
|
814
|
+
# @return [::String]
|
|
815
|
+
# Output only. Additional info regarding the current state.
|
|
816
|
+
# @!attribute [r] error_code
|
|
817
|
+
# @return [::Google::Cloud::ConfigService::V1::Revision::ErrorCode]
|
|
818
|
+
# Output only. Code describing any errors that may have occurred.
|
|
819
|
+
# @!attribute [r] build
|
|
820
|
+
# @return [::String]
|
|
821
|
+
# Output only. Cloud Build instance UUID associated with this revision.
|
|
822
|
+
# @!attribute [r] logs
|
|
823
|
+
# @return [::String]
|
|
824
|
+
# Output only. Location of Revision operation logs in
|
|
825
|
+
# `gs://{bucket}/{object}` format.
|
|
826
|
+
# @!attribute [r] tf_errors
|
|
827
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::TerraformError>]
|
|
828
|
+
# Output only. Errors encountered when creating or updating this deployment.
|
|
829
|
+
# Errors are truncated to 10 entries, see `delete_results` and `error_logs`
|
|
830
|
+
# for full details.
|
|
831
|
+
# @!attribute [r] error_logs
|
|
832
|
+
# @return [::String]
|
|
833
|
+
# Output only. Location of Terraform error logs in Google Cloud Storage.
|
|
834
|
+
# Format: `gs://{bucket}/{object}`.
|
|
835
|
+
# @!attribute [r] service_account
|
|
836
|
+
# @return [::String]
|
|
837
|
+
# Output only. User-specified Service Account (SA) to be used as credential
|
|
838
|
+
# to manage resources. Format:
|
|
839
|
+
# `projects/{projectID}/serviceAccounts/{serviceAccount}`
|
|
840
|
+
# @!attribute [r] import_existing_resources
|
|
841
|
+
# @return [::Boolean]
|
|
842
|
+
# Output only. By default, Infra Manager will return a failure when
|
|
843
|
+
# Terraform encounters a 409 code (resource conflict error) during actuation.
|
|
844
|
+
# If this flag is set to true, Infra Manager will instead
|
|
845
|
+
# attempt to automatically import the resource into the Terraform state (for
|
|
846
|
+
# supported resource types) and continue actuation.
|
|
847
|
+
#
|
|
848
|
+
# Not all resource types are supported, refer to documentation.
|
|
849
|
+
# @!attribute [r] worker_pool
|
|
850
|
+
# @return [::String]
|
|
851
|
+
# Output only. The user-specified Cloud Build worker pool resource in which
|
|
852
|
+
# the Cloud Build job will execute. Format:
|
|
853
|
+
# `projects/{project}/locations/{location}/workerPools/{workerPoolId}`.
|
|
854
|
+
# If this field is unspecified, the default Cloud Build worker pool will be
|
|
855
|
+
# used.
|
|
856
|
+
# @!attribute [r] tf_version_constraint
|
|
857
|
+
# @return [::String]
|
|
858
|
+
# Output only. The user-specified Terraform version constraint.
|
|
859
|
+
# Example: "=1.3.10".
|
|
860
|
+
# @!attribute [r] tf_version
|
|
861
|
+
# @return [::String]
|
|
862
|
+
# Output only. The version of Terraform used to create the Revision.
|
|
863
|
+
# It is in the format of "Major.Minor.Patch", for example, "1.3.10".
|
|
864
|
+
# @!attribute [r] quota_validation_results
|
|
865
|
+
# @return [::String]
|
|
866
|
+
# Output only. Cloud Storage path containing quota validation results. This
|
|
867
|
+
# field is set when a user sets Deployment.quota_validation field to ENABLED
|
|
868
|
+
# or ENFORCED. Format: `gs://{bucket}/{object}`.
|
|
869
|
+
# @!attribute [rw] quota_validation
|
|
870
|
+
# @return [::Google::Cloud::ConfigService::V1::QuotaValidation]
|
|
871
|
+
# Optional. Input to control quota checks for resources in terraform
|
|
872
|
+
# configuration files. There are limited resources on which quota validation
|
|
873
|
+
# applies.
|
|
874
|
+
# @!attribute [r] provider_config
|
|
875
|
+
# @return [::Google::Cloud::ConfigService::V1::ProviderConfig]
|
|
876
|
+
# Output only. This field specifies the provider configurations.
|
|
877
|
+
class Revision
|
|
878
|
+
include ::Google::Protobuf::MessageExts
|
|
879
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
880
|
+
|
|
881
|
+
# Actions that generate a revision.
|
|
882
|
+
module Action
|
|
883
|
+
# The default value. This value is used if the action is omitted.
|
|
884
|
+
ACTION_UNSPECIFIED = 0
|
|
885
|
+
|
|
886
|
+
# The revision was generated by creating a deployment.
|
|
887
|
+
CREATE = 1
|
|
888
|
+
|
|
889
|
+
# The revision was generated by updating a deployment.
|
|
890
|
+
UPDATE = 2
|
|
891
|
+
|
|
892
|
+
# The revision was deleted.
|
|
893
|
+
DELETE = 3
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
# Possible states of a revision.
|
|
897
|
+
module State
|
|
898
|
+
# The default value. This value is used if the state is omitted.
|
|
899
|
+
STATE_UNSPECIFIED = 0
|
|
900
|
+
|
|
901
|
+
# The revision is being applied.
|
|
902
|
+
APPLYING = 1
|
|
903
|
+
|
|
904
|
+
# The revision was applied successfully.
|
|
905
|
+
APPLIED = 2
|
|
906
|
+
|
|
907
|
+
# The revision could not be applied successfully.
|
|
908
|
+
FAILED = 3
|
|
909
|
+
end
|
|
910
|
+
|
|
911
|
+
# Possible errors if Revision could not be created or updated successfully.
|
|
912
|
+
module ErrorCode
|
|
913
|
+
# No error code was specified.
|
|
914
|
+
ERROR_CODE_UNSPECIFIED = 0
|
|
915
|
+
|
|
916
|
+
# Cloud Build failed due to a permission issue.
|
|
917
|
+
CLOUD_BUILD_PERMISSION_DENIED = 1
|
|
918
|
+
|
|
919
|
+
# Cloud Build job associated with creating or updating a deployment could
|
|
920
|
+
# not be started.
|
|
921
|
+
APPLY_BUILD_API_FAILED = 4
|
|
922
|
+
|
|
923
|
+
# Cloud Build job associated with creating or updating a deployment was
|
|
924
|
+
# started but failed.
|
|
925
|
+
APPLY_BUILD_RUN_FAILED = 5
|
|
926
|
+
|
|
927
|
+
# quota validation failed for one or more resources in terraform
|
|
928
|
+
# configuration files.
|
|
929
|
+
QUOTA_VALIDATION_FAILED = 7
|
|
930
|
+
|
|
931
|
+
# Failed to import values from an external source.
|
|
932
|
+
EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 8
|
|
933
|
+
end
|
|
934
|
+
end
|
|
935
|
+
|
|
936
|
+
# Errors encountered during actuation using Terraform
|
|
937
|
+
# @!attribute [rw] resource_address
|
|
938
|
+
# @return [::String]
|
|
939
|
+
# Address of the resource associated with the error,
|
|
940
|
+
# e.g. `google_compute_network.vpc_network`.
|
|
941
|
+
# @!attribute [rw] http_response_code
|
|
942
|
+
# @return [::Integer]
|
|
943
|
+
# HTTP response code returned from Google Cloud Platform APIs when Terraform
|
|
944
|
+
# fails to provision the resource. If unset or 0, no HTTP response code was
|
|
945
|
+
# returned by Terraform.
|
|
946
|
+
# @!attribute [rw] error_description
|
|
947
|
+
# @return [::String]
|
|
948
|
+
# A human-readable error description.
|
|
949
|
+
# @!attribute [r] error
|
|
950
|
+
# @return [::Google::Rpc::Status]
|
|
951
|
+
# Output only. Original error response from underlying Google API, if
|
|
952
|
+
# available.
|
|
953
|
+
class TerraformError
|
|
954
|
+
include ::Google::Protobuf::MessageExts
|
|
955
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
956
|
+
end
|
|
957
|
+
|
|
958
|
+
# A set of files in a Git repository.
|
|
959
|
+
# @!attribute [rw] repo
|
|
960
|
+
# @return [::String]
|
|
961
|
+
# Repository URL.
|
|
962
|
+
# Example: 'https://github.com/kubernetes/examples.git'
|
|
963
|
+
# @!attribute [rw] directory
|
|
964
|
+
# @return [::String]
|
|
965
|
+
# Subdirectory inside the repository.
|
|
966
|
+
# Example: 'staging/my-package'
|
|
967
|
+
# @!attribute [rw] ref
|
|
968
|
+
# @return [::String]
|
|
969
|
+
# Git reference (e.g. branch or tag).
|
|
970
|
+
class GitSource
|
|
971
|
+
include ::Google::Protobuf::MessageExts
|
|
972
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
973
|
+
end
|
|
974
|
+
|
|
975
|
+
# Ephemeral metadata content describing the state of a deployment operation.
|
|
976
|
+
# @!attribute [rw] step
|
|
977
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentOperationMetadata::DeploymentStep]
|
|
978
|
+
# The current step the deployment operation is running.
|
|
979
|
+
# @!attribute [rw] apply_results
|
|
980
|
+
# @return [::Google::Cloud::ConfigService::V1::ApplyResults]
|
|
981
|
+
# Outputs and artifacts from applying a deployment.
|
|
982
|
+
# @!attribute [r] build
|
|
983
|
+
# @return [::String]
|
|
984
|
+
# Output only. Cloud Build instance UUID associated with this operation.
|
|
985
|
+
# @!attribute [r] logs
|
|
986
|
+
# @return [::String]
|
|
987
|
+
# Output only. Location of Deployment operations logs in
|
|
988
|
+
# `gs://{bucket}/{object}` format.
|
|
989
|
+
# @!attribute [r] apply_results_available
|
|
990
|
+
# @return [::Boolean]
|
|
991
|
+
# Output only. Indicating if early apply results are available.
|
|
992
|
+
class DeploymentOperationMetadata
|
|
993
|
+
include ::Google::Protobuf::MessageExts
|
|
994
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
995
|
+
|
|
996
|
+
# The possible steps a deployment may be running.
|
|
997
|
+
module DeploymentStep
|
|
998
|
+
# Unspecified deployment step
|
|
999
|
+
DEPLOYMENT_STEP_UNSPECIFIED = 0
|
|
1000
|
+
|
|
1001
|
+
# Infra Manager is creating a Google Cloud Storage bucket to store
|
|
1002
|
+
# artifacts and metadata about the deployment and revision
|
|
1003
|
+
PREPARING_STORAGE_BUCKET = 1
|
|
1004
|
+
|
|
1005
|
+
# Downloading the blueprint onto the Google Cloud Storage bucket
|
|
1006
|
+
DOWNLOADING_BLUEPRINT = 2
|
|
1007
|
+
|
|
1008
|
+
# Initializing Terraform using `terraform init`
|
|
1009
|
+
RUNNING_TF_INIT = 3
|
|
1010
|
+
|
|
1011
|
+
# Running `terraform plan`
|
|
1012
|
+
RUNNING_TF_PLAN = 4
|
|
1013
|
+
|
|
1014
|
+
# Actuating resources using Terraform using `terraform apply`
|
|
1015
|
+
RUNNING_TF_APPLY = 5
|
|
1016
|
+
|
|
1017
|
+
# Destroying resources using Terraform using `terraform destroy`
|
|
1018
|
+
RUNNING_TF_DESTROY = 6
|
|
1019
|
+
|
|
1020
|
+
# Validating the uploaded TF state file when unlocking a deployment
|
|
1021
|
+
RUNNING_TF_VALIDATE = 7
|
|
1022
|
+
|
|
1023
|
+
# Unlocking a deployment
|
|
1024
|
+
UNLOCKING_DEPLOYMENT = 8
|
|
1025
|
+
|
|
1026
|
+
# Operation was successful
|
|
1027
|
+
SUCCEEDED = 9
|
|
1028
|
+
|
|
1029
|
+
# Operation failed
|
|
1030
|
+
FAILED = 10
|
|
1031
|
+
|
|
1032
|
+
# Validating the provided repository.
|
|
1033
|
+
VALIDATING_REPOSITORY = 11
|
|
1034
|
+
|
|
1035
|
+
# Running quota validation
|
|
1036
|
+
RUNNING_QUOTA_VALIDATION = 12
|
|
1037
|
+
end
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
# Resource represents a Google Cloud Platform resource actuated by IM.
|
|
1041
|
+
# Resources are child resources of Revisions.
|
|
1042
|
+
# @!attribute [r] name
|
|
1043
|
+
# @return [::String]
|
|
1044
|
+
# Output only. Resource name.
|
|
1045
|
+
# Format:
|
|
1046
|
+
# `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`
|
|
1047
|
+
# @!attribute [r] terraform_info
|
|
1048
|
+
# @return [::Google::Cloud::ConfigService::V1::ResourceTerraformInfo]
|
|
1049
|
+
# Output only. Terraform-specific info if this resource was created using
|
|
1050
|
+
# Terraform.
|
|
1051
|
+
# @!attribute [r] cai_assets
|
|
1052
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::ResourceCAIInfo}]
|
|
1053
|
+
# Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
|
|
1054
|
+
# ID). CAI type format follows
|
|
1055
|
+
# https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
1056
|
+
# @!attribute [r] intent
|
|
1057
|
+
# @return [::Google::Cloud::ConfigService::V1::Resource::Intent]
|
|
1058
|
+
# Output only. Intent of the resource.
|
|
1059
|
+
# @!attribute [r] state
|
|
1060
|
+
# @return [::Google::Cloud::ConfigService::V1::Resource::State]
|
|
1061
|
+
# Output only. Current state of the resource.
|
|
1062
|
+
class Resource
|
|
1063
|
+
include ::Google::Protobuf::MessageExts
|
|
1064
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1065
|
+
|
|
1066
|
+
# @!attribute [rw] key
|
|
1067
|
+
# @return [::String]
|
|
1068
|
+
# @!attribute [rw] value
|
|
1069
|
+
# @return [::Google::Cloud::ConfigService::V1::ResourceCAIInfo]
|
|
1070
|
+
class CaiAssetsEntry
|
|
1071
|
+
include ::Google::Protobuf::MessageExts
|
|
1072
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1073
|
+
end
|
|
1074
|
+
|
|
1075
|
+
# Possible intent of the resource.
|
|
1076
|
+
module Intent
|
|
1077
|
+
# The default value. This value is used if the intent is omitted.
|
|
1078
|
+
INTENT_UNSPECIFIED = 0
|
|
1079
|
+
|
|
1080
|
+
# Infra Manager will create this Resource.
|
|
1081
|
+
CREATE = 1
|
|
1082
|
+
|
|
1083
|
+
# Infra Manager will update this Resource.
|
|
1084
|
+
UPDATE = 2
|
|
1085
|
+
|
|
1086
|
+
# Infra Manager will delete this Resource.
|
|
1087
|
+
DELETE = 3
|
|
1088
|
+
|
|
1089
|
+
# Infra Manager will destroy and recreate this Resource.
|
|
1090
|
+
RECREATE = 4
|
|
1091
|
+
|
|
1092
|
+
# Infra Manager will leave this Resource untouched.
|
|
1093
|
+
UNCHANGED = 5
|
|
1094
|
+
end
|
|
1095
|
+
|
|
1096
|
+
# Possible states of a resource.
|
|
1097
|
+
module State
|
|
1098
|
+
# The default value. This value is used if the state is omitted.
|
|
1099
|
+
STATE_UNSPECIFIED = 0
|
|
1100
|
+
|
|
1101
|
+
# Resource has been planned for reconcile.
|
|
1102
|
+
PLANNED = 1
|
|
1103
|
+
|
|
1104
|
+
# Resource is actively reconciling into the intended state.
|
|
1105
|
+
IN_PROGRESS = 2
|
|
1106
|
+
|
|
1107
|
+
# Resource has reconciled to intended state.
|
|
1108
|
+
RECONCILED = 3
|
|
1109
|
+
|
|
1110
|
+
# Resource failed to reconcile.
|
|
1111
|
+
FAILED = 4
|
|
1112
|
+
end
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1115
|
+
# Terraform info of a Resource.
|
|
1116
|
+
# @!attribute [rw] address
|
|
1117
|
+
# @return [::String]
|
|
1118
|
+
# TF resource address that uniquely identifies this resource within this
|
|
1119
|
+
# deployment.
|
|
1120
|
+
# @!attribute [rw] type
|
|
1121
|
+
# @return [::String]
|
|
1122
|
+
# TF resource type
|
|
1123
|
+
# @!attribute [rw] id
|
|
1124
|
+
# @return [::String]
|
|
1125
|
+
# ID attribute of the TF resource
|
|
1126
|
+
class ResourceTerraformInfo
|
|
1127
|
+
include ::Google::Protobuf::MessageExts
|
|
1128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1129
|
+
end
|
|
1130
|
+
|
|
1131
|
+
# CAI info of a Resource.
|
|
1132
|
+
# @!attribute [rw] full_resource_name
|
|
1133
|
+
# @return [::String]
|
|
1134
|
+
# CAI resource name in the format following
|
|
1135
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
1136
|
+
class ResourceCAIInfo
|
|
1137
|
+
include ::Google::Protobuf::MessageExts
|
|
1138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
# A request to get a Resource from a 'GetResource' call.
|
|
1142
|
+
# @!attribute [rw] name
|
|
1143
|
+
# @return [::String]
|
|
1144
|
+
# Required. The name of the Resource in the format:
|
|
1145
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}/revisions/\\{revision}/resource/\\{resource}'.
|
|
1146
|
+
class GetResourceRequest
|
|
1147
|
+
include ::Google::Protobuf::MessageExts
|
|
1148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# A request to list Resources passed to a 'ListResources' call.
|
|
1152
|
+
# @!attribute [rw] parent
|
|
1153
|
+
# @return [::String]
|
|
1154
|
+
# Required. The parent in whose context the Resources are listed. The parent
|
|
1155
|
+
# value is in the format:
|
|
1156
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}/revisions/\\{revision}'.
|
|
1157
|
+
# @!attribute [rw] page_size
|
|
1158
|
+
# @return [::Integer]
|
|
1159
|
+
# When requesting a page of resources, 'page_size' specifies number of
|
|
1160
|
+
# resources to return. If unspecified, at most 500 will be returned. The
|
|
1161
|
+
# maximum value is 1000.
|
|
1162
|
+
# @!attribute [rw] page_token
|
|
1163
|
+
# @return [::String]
|
|
1164
|
+
# Token returned by previous call to 'ListResources' which specifies the
|
|
1165
|
+
# position in the list from where to continue listing the resources.
|
|
1166
|
+
# @!attribute [rw] filter
|
|
1167
|
+
# @return [::String]
|
|
1168
|
+
# Lists the Resources that match the filter expression. A filter
|
|
1169
|
+
# expression filters the resources listed in the response. The expression
|
|
1170
|
+
# must be of the form '\\{field} \\{operator} \\{value}' where operators: '<', '>',
|
|
1171
|
+
# '<=',
|
|
1172
|
+
# '>=',
|
|
1173
|
+
# '!=', '=', ':' are supported (colon ':' represents a HAS operator which is
|
|
1174
|
+
# roughly synonymous with equality). \\{field} can refer to a proto or JSON
|
|
1175
|
+
# field, or a synthetic field. Field names can be camelCase or snake_case.
|
|
1176
|
+
#
|
|
1177
|
+
# Examples:
|
|
1178
|
+
# - Filter by name:
|
|
1179
|
+
# name =
|
|
1180
|
+
# "projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz
|
|
1181
|
+
# @!attribute [rw] order_by
|
|
1182
|
+
# @return [::String]
|
|
1183
|
+
# Field to use to sort the list.
|
|
1184
|
+
class ListResourcesRequest
|
|
1185
|
+
include ::Google::Protobuf::MessageExts
|
|
1186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1189
|
+
# A response to a 'ListResources' call. Contains a list of Resources.
|
|
1190
|
+
# @!attribute [rw] resources
|
|
1191
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::Resource>]
|
|
1192
|
+
# List of {::Google::Cloud::ConfigService::V1::Resource Resources}.
|
|
1193
|
+
# @!attribute [rw] next_page_token
|
|
1194
|
+
# @return [::String]
|
|
1195
|
+
# A token to request the next page of resources from the 'ListResources'
|
|
1196
|
+
# method. The value of an empty string means that there are no more resources
|
|
1197
|
+
# to return.
|
|
1198
|
+
# @!attribute [rw] unreachable
|
|
1199
|
+
# @return [::Array<::String>]
|
|
1200
|
+
# Locations that could not be reached.
|
|
1201
|
+
class ListResourcesResponse
|
|
1202
|
+
include ::Google::Protobuf::MessageExts
|
|
1203
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1204
|
+
end
|
|
1205
|
+
|
|
1206
|
+
# Contains info about a Terraform state file
|
|
1207
|
+
# @!attribute [r] signed_uri
|
|
1208
|
+
# @return [::String]
|
|
1209
|
+
# Output only. Cloud Storage signed URI used for downloading or uploading the
|
|
1210
|
+
# state file.
|
|
1211
|
+
class Statefile
|
|
1212
|
+
include ::Google::Protobuf::MessageExts
|
|
1213
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1214
|
+
end
|
|
1215
|
+
|
|
1216
|
+
# A request to export a state file passed to a 'ExportDeploymentStatefile'
|
|
1217
|
+
# call.
|
|
1218
|
+
# @!attribute [rw] parent
|
|
1219
|
+
# @return [::String]
|
|
1220
|
+
# Required. The parent in whose context the statefile is listed. The parent
|
|
1221
|
+
# value is in the format:
|
|
1222
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
1223
|
+
# @!attribute [rw] draft
|
|
1224
|
+
# @return [::Boolean]
|
|
1225
|
+
# Optional. If this flag is set to true, the exported deployment state file
|
|
1226
|
+
# will be the draft state. This will enable the draft file to be validated
|
|
1227
|
+
# before copying it over to the working state on unlock.
|
|
1228
|
+
class ExportDeploymentStatefileRequest
|
|
1229
|
+
include ::Google::Protobuf::MessageExts
|
|
1230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# A request to export a state file passed to a 'ExportRevisionStatefile'
|
|
1234
|
+
# call.
|
|
1235
|
+
# @!attribute [rw] parent
|
|
1236
|
+
# @return [::String]
|
|
1237
|
+
# Required. The parent in whose context the statefile is listed. The parent
|
|
1238
|
+
# value is in the format:
|
|
1239
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}/revisions/\\{revision}'.
|
|
1240
|
+
class ExportRevisionStatefileRequest
|
|
1241
|
+
include ::Google::Protobuf::MessageExts
|
|
1242
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# A request to import a state file passed to a 'ImportStatefile' call.
|
|
1246
|
+
# @!attribute [rw] parent
|
|
1247
|
+
# @return [::String]
|
|
1248
|
+
# Required. The parent in whose context the statefile is listed. The parent
|
|
1249
|
+
# value is in the format:
|
|
1250
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
1251
|
+
# @!attribute [rw] lock_id
|
|
1252
|
+
# @return [::Integer]
|
|
1253
|
+
# Required. Lock ID of the lock file to verify that the user who is importing
|
|
1254
|
+
# the state file previously locked the Deployment.
|
|
1255
|
+
# @!attribute [rw] skip_draft
|
|
1256
|
+
# @return [::Boolean]
|
|
1257
|
+
# Optional.
|
|
1258
|
+
class ImportStatefileRequest
|
|
1259
|
+
include ::Google::Protobuf::MessageExts
|
|
1260
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1261
|
+
end
|
|
1262
|
+
|
|
1263
|
+
# A request to delete a state file passed to a 'DeleteStatefile' call.
|
|
1264
|
+
# @!attribute [rw] name
|
|
1265
|
+
# @return [::String]
|
|
1266
|
+
# Required. The name of the deployment in the format:
|
|
1267
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
1268
|
+
# @!attribute [rw] lock_id
|
|
1269
|
+
# @return [::Integer]
|
|
1270
|
+
# Required. Lock ID of the lock file to verify that the user who is deleting
|
|
1271
|
+
# the state file previously locked the Deployment.
|
|
1272
|
+
class DeleteStatefileRequest
|
|
1273
|
+
include ::Google::Protobuf::MessageExts
|
|
1274
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
# A request to lock a deployment passed to a 'LockDeployment' call.
|
|
1278
|
+
# @!attribute [rw] name
|
|
1279
|
+
# @return [::String]
|
|
1280
|
+
# Required. The name of the deployment in the format:
|
|
1281
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
1282
|
+
class LockDeploymentRequest
|
|
1283
|
+
include ::Google::Protobuf::MessageExts
|
|
1284
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1287
|
+
# A request to unlock a state file passed to a 'UnlockDeployment' call.
|
|
1288
|
+
# @!attribute [rw] name
|
|
1289
|
+
# @return [::String]
|
|
1290
|
+
# Required. The name of the deployment in the format:
|
|
1291
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
1292
|
+
# @!attribute [rw] lock_id
|
|
1293
|
+
# @return [::Integer]
|
|
1294
|
+
# Required. Lock ID of the lock file to be unlocked.
|
|
1295
|
+
class UnlockDeploymentRequest
|
|
1296
|
+
include ::Google::Protobuf::MessageExts
|
|
1297
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
# A request to get a state file lock info passed to a 'ExportLockInfo' call.
|
|
1301
|
+
# @!attribute [rw] name
|
|
1302
|
+
# @return [::String]
|
|
1303
|
+
# Required. The name of the deployment in the format:
|
|
1304
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
1305
|
+
class ExportLockInfoRequest
|
|
1306
|
+
include ::Google::Protobuf::MessageExts
|
|
1307
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
# Details about the lock which locked the deployment.
|
|
1311
|
+
# @!attribute [rw] lock_id
|
|
1312
|
+
# @return [::Integer]
|
|
1313
|
+
# Unique ID for the lock to be overridden with generation ID in the backend.
|
|
1314
|
+
# @!attribute [rw] operation
|
|
1315
|
+
# @return [::String]
|
|
1316
|
+
# Terraform operation, provided by the caller.
|
|
1317
|
+
# @!attribute [rw] info
|
|
1318
|
+
# @return [::String]
|
|
1319
|
+
# Extra information to store with the lock, provided by the caller.
|
|
1320
|
+
# @!attribute [rw] who
|
|
1321
|
+
# @return [::String]
|
|
1322
|
+
# user@hostname when available
|
|
1323
|
+
# @!attribute [rw] version
|
|
1324
|
+
# @return [::String]
|
|
1325
|
+
# Terraform version
|
|
1326
|
+
# @!attribute [rw] create_time
|
|
1327
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1328
|
+
# Time that the lock was taken.
|
|
1329
|
+
class LockInfo
|
|
1330
|
+
include ::Google::Protobuf::MessageExts
|
|
1331
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1332
|
+
end
|
|
1333
|
+
|
|
1334
|
+
# A preview represents a set of actions Infra Manager would perform
|
|
1335
|
+
# to move the resources towards the desired state as specified in the
|
|
1336
|
+
# configuration.
|
|
1337
|
+
# @!attribute [rw] terraform_blueprint
|
|
1338
|
+
# @return [::Google::Cloud::ConfigService::V1::TerraformBlueprint]
|
|
1339
|
+
# The terraform blueprint to preview.
|
|
1340
|
+
# @!attribute [rw] name
|
|
1341
|
+
# @return [::String]
|
|
1342
|
+
# Identifier. Resource name of the preview. Resource name can be user
|
|
1343
|
+
# provided or server generated ID if unspecified. Format:
|
|
1344
|
+
# `projects/{project}/locations/{location}/previews/{preview}`
|
|
1345
|
+
# @!attribute [r] create_time
|
|
1346
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1347
|
+
# Output only. Time the preview was created.
|
|
1348
|
+
# @!attribute [rw] labels
|
|
1349
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
1350
|
+
# Optional. User-defined labels for the preview.
|
|
1351
|
+
# @!attribute [r] state
|
|
1352
|
+
# @return [::Google::Cloud::ConfigService::V1::Preview::State]
|
|
1353
|
+
# Output only. Current state of the preview.
|
|
1354
|
+
# @!attribute [rw] deployment
|
|
1355
|
+
# @return [::String]
|
|
1356
|
+
# Optional. Deployment reference. If specified, the preview will be performed
|
|
1357
|
+
# using the provided deployment's current state and use any relevant fields
|
|
1358
|
+
# from the deployment unless explicitly specified in the preview create
|
|
1359
|
+
# request.
|
|
1360
|
+
# @!attribute [rw] preview_mode
|
|
1361
|
+
# @return [::Google::Cloud::ConfigService::V1::Preview::PreviewMode]
|
|
1362
|
+
# Optional. Current mode of preview.
|
|
1363
|
+
# @!attribute [rw] service_account
|
|
1364
|
+
# @return [::String]
|
|
1365
|
+
# Required. User-specified Service Account (SA) credentials to be used when
|
|
1366
|
+
# previewing resources.
|
|
1367
|
+
# Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
|
|
1368
|
+
# @!attribute [rw] artifacts_gcs_bucket
|
|
1369
|
+
# @return [::String]
|
|
1370
|
+
# User-defined location of Cloud Build logs, artifacts, and
|
|
1371
|
+
# in Google Cloud Storage.
|
|
1372
|
+
# Format: `gs://{bucket}/{folder}`
|
|
1373
|
+
# A default bucket will be bootstrapped if the field is not set or empty
|
|
1374
|
+
# Default Bucket Format: `gs://<project number>-<region>-blueprint-config`
|
|
1375
|
+
# Constraints:
|
|
1376
|
+
# - The bucket needs to be in the same project as the deployment
|
|
1377
|
+
# - The path cannot be within the path of `gcs_source`
|
|
1378
|
+
# If omitted and deployment resource ref provided has artifacts_gcs_bucket
|
|
1379
|
+
# defined, that artifact bucket is used.
|
|
1380
|
+
# @!attribute [rw] worker_pool
|
|
1381
|
+
# @return [::String]
|
|
1382
|
+
# The user-specified Worker Pool resource in which the Cloud Build job will
|
|
1383
|
+
# execute.
|
|
1384
|
+
# Format projects/\\{project}/locations/\\{location}/workerPools/\\{workerPoolId}
|
|
1385
|
+
# If this field is unspecified, the default Cloud Build worker pool will be
|
|
1386
|
+
# used. If omitted and deployment resource ref provided has worker_pool
|
|
1387
|
+
# defined, that worker pool is used.
|
|
1388
|
+
# @!attribute [r] error_code
|
|
1389
|
+
# @return [::Google::Cloud::ConfigService::V1::Preview::ErrorCode]
|
|
1390
|
+
# Output only. Code describing any errors that may have occurred.
|
|
1391
|
+
# @!attribute [r] error_status
|
|
1392
|
+
# @return [::Google::Rpc::Status]
|
|
1393
|
+
# Output only. Additional information regarding the current state.
|
|
1394
|
+
# @!attribute [r] build
|
|
1395
|
+
# @return [::String]
|
|
1396
|
+
# Output only. Cloud Build instance UUID associated with this preview.
|
|
1397
|
+
# @!attribute [r] tf_errors
|
|
1398
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::TerraformError>]
|
|
1399
|
+
# Output only. Summary of errors encountered during Terraform preview.
|
|
1400
|
+
# It has a size limit of 10, i.e. only top 10 errors will be summarized here.
|
|
1401
|
+
# @!attribute [r] error_logs
|
|
1402
|
+
# @return [::String]
|
|
1403
|
+
# Output only. Link to tf-error.ndjson file, which contains the full list of
|
|
1404
|
+
# the errors encountered during a Terraform preview.
|
|
1405
|
+
# Format: `gs://{bucket}/{object}`.
|
|
1406
|
+
# @!attribute [r] preview_artifacts
|
|
1407
|
+
# @return [::Google::Cloud::ConfigService::V1::PreviewArtifacts]
|
|
1408
|
+
# Output only. Artifacts from preview.
|
|
1409
|
+
# @!attribute [r] logs
|
|
1410
|
+
# @return [::String]
|
|
1411
|
+
# Output only. Location of preview logs in `gs://{bucket}/{object}` format.
|
|
1412
|
+
# @!attribute [r] tf_version
|
|
1413
|
+
# @return [::String]
|
|
1414
|
+
# Output only. The current Terraform version set on the preview.
|
|
1415
|
+
# It is in the format of "Major.Minor.Patch", for example, "1.3.10".
|
|
1416
|
+
# @!attribute [rw] tf_version_constraint
|
|
1417
|
+
# @return [::String]
|
|
1418
|
+
# The user-specified Terraform version constraint.
|
|
1419
|
+
# Example: "=1.3.10".
|
|
1420
|
+
# @!attribute [rw] annotations
|
|
1421
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
1422
|
+
# Optional. Arbitrary key-value metadata storage e.g. to help client tools
|
|
1423
|
+
# identify preview during automation. See
|
|
1424
|
+
# https://google.aip.dev/148#annotations for details on format and size
|
|
1425
|
+
# limitations.
|
|
1426
|
+
# @!attribute [rw] provider_config
|
|
1427
|
+
# @return [::Google::Cloud::ConfigService::V1::ProviderConfig]
|
|
1428
|
+
# Optional. This field specifies the provider configurations.
|
|
1429
|
+
class Preview
|
|
1430
|
+
include ::Google::Protobuf::MessageExts
|
|
1431
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1432
|
+
|
|
1433
|
+
# @!attribute [rw] key
|
|
1434
|
+
# @return [::String]
|
|
1435
|
+
# @!attribute [rw] value
|
|
1436
|
+
# @return [::String]
|
|
1437
|
+
class LabelsEntry
|
|
1438
|
+
include ::Google::Protobuf::MessageExts
|
|
1439
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
# @!attribute [rw] key
|
|
1443
|
+
# @return [::String]
|
|
1444
|
+
# @!attribute [rw] value
|
|
1445
|
+
# @return [::String]
|
|
1446
|
+
class AnnotationsEntry
|
|
1447
|
+
include ::Google::Protobuf::MessageExts
|
|
1448
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1449
|
+
end
|
|
1450
|
+
|
|
1451
|
+
# Possible states of a preview.
|
|
1452
|
+
module State
|
|
1453
|
+
# The default value. This value is used if the state is unknown.
|
|
1454
|
+
STATE_UNSPECIFIED = 0
|
|
1455
|
+
|
|
1456
|
+
# The preview is being created.
|
|
1457
|
+
CREATING = 1
|
|
1458
|
+
|
|
1459
|
+
# The preview has succeeded.
|
|
1460
|
+
SUCCEEDED = 2
|
|
1461
|
+
|
|
1462
|
+
# The preview is being applied.
|
|
1463
|
+
APPLYING = 3
|
|
1464
|
+
|
|
1465
|
+
# The preview is stale. A preview can become stale if a revision has been
|
|
1466
|
+
# applied after this preview was created.
|
|
1467
|
+
STALE = 4
|
|
1468
|
+
|
|
1469
|
+
# The preview is being deleted.
|
|
1470
|
+
DELETING = 5
|
|
1471
|
+
|
|
1472
|
+
# The preview has encountered an unexpected error.
|
|
1473
|
+
FAILED = 6
|
|
1474
|
+
|
|
1475
|
+
# The preview has been deleted.
|
|
1476
|
+
DELETED = 7
|
|
1477
|
+
end
|
|
1478
|
+
|
|
1479
|
+
# Preview mode provides options for customizing preview operations.
|
|
1480
|
+
module PreviewMode
|
|
1481
|
+
# Unspecified policy, default mode will be used.
|
|
1482
|
+
PREVIEW_MODE_UNSPECIFIED = 0
|
|
1483
|
+
|
|
1484
|
+
# DEFAULT mode generates an execution plan for reconciling current resource
|
|
1485
|
+
# state into expected resource state.
|
|
1486
|
+
DEFAULT = 1
|
|
1487
|
+
|
|
1488
|
+
# DELETE mode generates as execution plan for destroying current resources.
|
|
1489
|
+
DELETE = 2
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
# Possible errors that can occur with previews.
|
|
1493
|
+
module ErrorCode
|
|
1494
|
+
# No error code was specified.
|
|
1495
|
+
ERROR_CODE_UNSPECIFIED = 0
|
|
1496
|
+
|
|
1497
|
+
# Cloud Build failed due to a permissions issue.
|
|
1498
|
+
CLOUD_BUILD_PERMISSION_DENIED = 1
|
|
1499
|
+
|
|
1500
|
+
# Cloud Storage bucket failed to create due to a permissions issue.
|
|
1501
|
+
BUCKET_CREATION_PERMISSION_DENIED = 2
|
|
1502
|
+
|
|
1503
|
+
# Cloud Storage bucket failed for a non-permissions-related issue.
|
|
1504
|
+
BUCKET_CREATION_FAILED = 3
|
|
1505
|
+
|
|
1506
|
+
# Acquiring lock on provided deployment reference failed.
|
|
1507
|
+
DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4
|
|
1508
|
+
|
|
1509
|
+
# Preview encountered an error when trying to access Cloud Build API.
|
|
1510
|
+
PREVIEW_BUILD_API_FAILED = 5
|
|
1511
|
+
|
|
1512
|
+
# Preview created a build but build failed and logs were generated.
|
|
1513
|
+
PREVIEW_BUILD_RUN_FAILED = 6
|
|
1514
|
+
|
|
1515
|
+
# Failed to import values from an external source.
|
|
1516
|
+
EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7
|
|
1517
|
+
end
|
|
1518
|
+
end
|
|
1519
|
+
|
|
1520
|
+
# Ephemeral metadata content describing the state of a preview operation.
|
|
1521
|
+
# @!attribute [rw] step
|
|
1522
|
+
# @return [::Google::Cloud::ConfigService::V1::PreviewOperationMetadata::PreviewStep]
|
|
1523
|
+
# The current step the preview operation is running.
|
|
1524
|
+
# @!attribute [rw] preview_artifacts
|
|
1525
|
+
# @return [::Google::Cloud::ConfigService::V1::PreviewArtifacts]
|
|
1526
|
+
# Artifacts from preview.
|
|
1527
|
+
# @!attribute [r] logs
|
|
1528
|
+
# @return [::String]
|
|
1529
|
+
# Output only. Location of preview logs in `gs://{bucket}/{object}` format.
|
|
1530
|
+
# @!attribute [r] build
|
|
1531
|
+
# @return [::String]
|
|
1532
|
+
# Output only. Cloud Build instance UUID associated with this preview.
|
|
1533
|
+
class PreviewOperationMetadata
|
|
1534
|
+
include ::Google::Protobuf::MessageExts
|
|
1535
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1536
|
+
|
|
1537
|
+
# The possible steps a preview may be running.
|
|
1538
|
+
module PreviewStep
|
|
1539
|
+
# Unspecified preview step.
|
|
1540
|
+
PREVIEW_STEP_UNSPECIFIED = 0
|
|
1541
|
+
|
|
1542
|
+
# Infra Manager is creating a Google Cloud Storage bucket to store
|
|
1543
|
+
# artifacts and metadata about the preview.
|
|
1544
|
+
PREPARING_STORAGE_BUCKET = 1
|
|
1545
|
+
|
|
1546
|
+
# Downloading the blueprint onto the Google Cloud Storage bucket.
|
|
1547
|
+
DOWNLOADING_BLUEPRINT = 2
|
|
1548
|
+
|
|
1549
|
+
# Initializing Terraform using `terraform init`.
|
|
1550
|
+
RUNNING_TF_INIT = 3
|
|
1551
|
+
|
|
1552
|
+
# Running `terraform plan`.
|
|
1553
|
+
RUNNING_TF_PLAN = 4
|
|
1554
|
+
|
|
1555
|
+
# Fetching a deployment.
|
|
1556
|
+
FETCHING_DEPLOYMENT = 5
|
|
1557
|
+
|
|
1558
|
+
# Locking a deployment.
|
|
1559
|
+
LOCKING_DEPLOYMENT = 6
|
|
1560
|
+
|
|
1561
|
+
# Unlocking a deployment.
|
|
1562
|
+
UNLOCKING_DEPLOYMENT = 7
|
|
1563
|
+
|
|
1564
|
+
# Operation was successful.
|
|
1565
|
+
SUCCEEDED = 8
|
|
1566
|
+
|
|
1567
|
+
# Operation failed.
|
|
1568
|
+
FAILED = 9
|
|
1569
|
+
|
|
1570
|
+
# Validating the provided repository.
|
|
1571
|
+
VALIDATING_REPOSITORY = 10
|
|
1572
|
+
end
|
|
1573
|
+
end
|
|
1574
|
+
|
|
1575
|
+
# Artifacts created by preview.
|
|
1576
|
+
# @!attribute [r] content
|
|
1577
|
+
# @return [::String]
|
|
1578
|
+
# Output only. Location of a blueprint copy and other content in Google Cloud
|
|
1579
|
+
# Storage. Format: `gs://{bucket}/{object}`
|
|
1580
|
+
# @!attribute [r] artifacts
|
|
1581
|
+
# @return [::String]
|
|
1582
|
+
# Output only. Location of artifacts in Google Cloud Storage.
|
|
1583
|
+
# Format: `gs://{bucket}/{object}`
|
|
1584
|
+
class PreviewArtifacts
|
|
1585
|
+
include ::Google::Protobuf::MessageExts
|
|
1586
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1587
|
+
end
|
|
1588
|
+
|
|
1589
|
+
# A request to create a preview.
|
|
1590
|
+
# @!attribute [rw] parent
|
|
1591
|
+
# @return [::String]
|
|
1592
|
+
# Required. The parent in whose context the Preview is created. The parent
|
|
1593
|
+
# value is in the format: 'projects/\\{project_id}/locations/\\{location}'.
|
|
1594
|
+
# @!attribute [rw] preview_id
|
|
1595
|
+
# @return [::String]
|
|
1596
|
+
# Optional. The preview ID.
|
|
1597
|
+
# @!attribute [rw] preview
|
|
1598
|
+
# @return [::Google::Cloud::ConfigService::V1::Preview]
|
|
1599
|
+
# Required. {::Google::Cloud::ConfigService::V1::Preview Preview} resource to be created.
|
|
1600
|
+
# @!attribute [rw] request_id
|
|
1601
|
+
# @return [::String]
|
|
1602
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
1603
|
+
# request ID so that if you must retry your request, the server will know to
|
|
1604
|
+
# ignore the request if it has already been completed. The server will
|
|
1605
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
1606
|
+
#
|
|
1607
|
+
# For example, consider a situation where you make an initial request and the
|
|
1608
|
+
# request times out. If you make the request again with the same request ID,
|
|
1609
|
+
# the server can check if original operation with the same request ID was
|
|
1610
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
1611
|
+
# from accidentally creating duplicate commitments.
|
|
1612
|
+
#
|
|
1613
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
1614
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1615
|
+
class CreatePreviewRequest
|
|
1616
|
+
include ::Google::Protobuf::MessageExts
|
|
1617
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1618
|
+
end
|
|
1619
|
+
|
|
1620
|
+
# A request to get details about a preview.
|
|
1621
|
+
# @!attribute [rw] name
|
|
1622
|
+
# @return [::String]
|
|
1623
|
+
# Required. The name of the preview. Format:
|
|
1624
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}'.
|
|
1625
|
+
class GetPreviewRequest
|
|
1626
|
+
include ::Google::Protobuf::MessageExts
|
|
1627
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1628
|
+
end
|
|
1629
|
+
|
|
1630
|
+
# A request to list all previews for a given project and location.
|
|
1631
|
+
# @!attribute [rw] parent
|
|
1632
|
+
# @return [::String]
|
|
1633
|
+
# Required. The parent in whose context the Previews are listed. The parent
|
|
1634
|
+
# value is in the format: 'projects/\\{project_id}/locations/\\{location}'.
|
|
1635
|
+
# @!attribute [rw] page_size
|
|
1636
|
+
# @return [::Integer]
|
|
1637
|
+
# Optional. When requesting a page of resources, 'page_size' specifies number
|
|
1638
|
+
# of resources to return. If unspecified, at most 500 will be returned. The
|
|
1639
|
+
# maximum value is 1000.
|
|
1640
|
+
# @!attribute [rw] page_token
|
|
1641
|
+
# @return [::String]
|
|
1642
|
+
# Optional. Token returned by previous call to 'ListDeployments' which
|
|
1643
|
+
# specifies the position in the list from where to continue listing the
|
|
1644
|
+
# resources.
|
|
1645
|
+
# @!attribute [rw] filter
|
|
1646
|
+
# @return [::String]
|
|
1647
|
+
# Optional. Lists the Deployments that match the filter expression. A filter
|
|
1648
|
+
# expression filters the resources listed in the response. The expression
|
|
1649
|
+
# must be of the form '\\{field} \\{operator} \\{value}' where operators: '<', '>',
|
|
1650
|
+
# '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
|
|
1651
|
+
# operator which is roughly synonymous with equality). \\{field} can refer to a
|
|
1652
|
+
# proto or JSON field, or a synthetic field. Field names can be camelCase or
|
|
1653
|
+
# snake_case.
|
|
1654
|
+
#
|
|
1655
|
+
# Examples:
|
|
1656
|
+
# - Filter by name:
|
|
1657
|
+
# name = "projects/foo/locations/us-central1/deployments/bar
|
|
1658
|
+
#
|
|
1659
|
+
# - Filter by labels:
|
|
1660
|
+
# - Resources that have a key called 'foo'
|
|
1661
|
+
# labels.foo:*
|
|
1662
|
+
# - Resources that have a key called 'foo' whose value is 'bar'
|
|
1663
|
+
# labels.foo = bar
|
|
1664
|
+
#
|
|
1665
|
+
# - Filter by state:
|
|
1666
|
+
# - Deployments in CREATING state.
|
|
1667
|
+
# state=CREATING
|
|
1668
|
+
# @!attribute [rw] order_by
|
|
1669
|
+
# @return [::String]
|
|
1670
|
+
# Optional. Field to use to sort the list.
|
|
1671
|
+
class ListPreviewsRequest
|
|
1672
|
+
include ::Google::Protobuf::MessageExts
|
|
1673
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1674
|
+
end
|
|
1675
|
+
|
|
1676
|
+
# A response to a `ListPreviews` call. Contains a list of Previews.
|
|
1677
|
+
# @!attribute [rw] previews
|
|
1678
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::Preview>]
|
|
1679
|
+
# List of {::Google::Cloud::ConfigService::V1::Preview Previews}.
|
|
1680
|
+
# @!attribute [rw] next_page_token
|
|
1681
|
+
# @return [::String]
|
|
1682
|
+
# Token to be supplied to the next ListPreviews request via `page_token`
|
|
1683
|
+
# to obtain the next set of results.
|
|
1684
|
+
# @!attribute [rw] unreachable
|
|
1685
|
+
# @return [::Array<::String>]
|
|
1686
|
+
# Locations that could not be reached.
|
|
1687
|
+
class ListPreviewsResponse
|
|
1688
|
+
include ::Google::Protobuf::MessageExts
|
|
1689
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1690
|
+
end
|
|
1691
|
+
|
|
1692
|
+
# A request to delete a preview.
|
|
1693
|
+
# @!attribute [rw] name
|
|
1694
|
+
# @return [::String]
|
|
1695
|
+
# Required. The name of the Preview in the format:
|
|
1696
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}'.
|
|
1697
|
+
# @!attribute [rw] request_id
|
|
1698
|
+
# @return [::String]
|
|
1699
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
1700
|
+
# request ID so that if you must retry your request, the server will know to
|
|
1701
|
+
# ignore the request if it has already been completed. The server will
|
|
1702
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
1703
|
+
#
|
|
1704
|
+
# For example, consider a situation where you make an initial request and the
|
|
1705
|
+
# request times out. If you make the request again with the same request ID,
|
|
1706
|
+
# the server can check if original operation with the same request ID was
|
|
1707
|
+
# received, and if so, will ignore the second request. This prevents clients
|
|
1708
|
+
# from accidentally creating duplicate commitments.
|
|
1709
|
+
#
|
|
1710
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
1711
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1712
|
+
class DeletePreviewRequest
|
|
1713
|
+
include ::Google::Protobuf::MessageExts
|
|
1714
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1715
|
+
end
|
|
1716
|
+
|
|
1717
|
+
# A request to export preview results.
|
|
1718
|
+
# @!attribute [rw] parent
|
|
1719
|
+
# @return [::String]
|
|
1720
|
+
# Required. The preview whose results should be exported. The preview value
|
|
1721
|
+
# is in the format:
|
|
1722
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}'.
|
|
1723
|
+
class ExportPreviewResultRequest
|
|
1724
|
+
include ::Google::Protobuf::MessageExts
|
|
1725
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1726
|
+
end
|
|
1727
|
+
|
|
1728
|
+
# A response to `ExportPreviewResult` call. Contains preview results.
|
|
1729
|
+
# @!attribute [r] result
|
|
1730
|
+
# @return [::Google::Cloud::ConfigService::V1::PreviewResult]
|
|
1731
|
+
# Output only. Signed URLs for accessing the plan files.
|
|
1732
|
+
class ExportPreviewResultResponse
|
|
1733
|
+
include ::Google::Protobuf::MessageExts
|
|
1734
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1735
|
+
end
|
|
1736
|
+
|
|
1737
|
+
# Contains a signed Cloud Storage URLs.
|
|
1738
|
+
# @!attribute [r] binary_signed_uri
|
|
1739
|
+
# @return [::String]
|
|
1740
|
+
# Output only. Plan binary signed URL
|
|
1741
|
+
# @!attribute [r] json_signed_uri
|
|
1742
|
+
# @return [::String]
|
|
1743
|
+
# Output only. Plan JSON signed URL
|
|
1744
|
+
class PreviewResult
|
|
1745
|
+
include ::Google::Protobuf::MessageExts
|
|
1746
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1747
|
+
end
|
|
1748
|
+
|
|
1749
|
+
# The request message for the GetTerraformVersion method.
|
|
1750
|
+
# @!attribute [rw] name
|
|
1751
|
+
# @return [::String]
|
|
1752
|
+
# Required. The name of the TerraformVersion. Format:
|
|
1753
|
+
# 'projects/\\{project_id}/locations/\\{location}/terraformVersions/\\{terraform_version}'
|
|
1754
|
+
class GetTerraformVersionRequest
|
|
1755
|
+
include ::Google::Protobuf::MessageExts
|
|
1756
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1757
|
+
end
|
|
1758
|
+
|
|
1759
|
+
# The request message for the ListTerraformVersions method.
|
|
1760
|
+
# @!attribute [rw] parent
|
|
1761
|
+
# @return [::String]
|
|
1762
|
+
# Required. The parent in whose context the TerraformVersions are listed. The
|
|
1763
|
+
# parent value is in the format:
|
|
1764
|
+
# 'projects/\\{project_id}/locations/\\{location}'.
|
|
1765
|
+
# @!attribute [rw] page_size
|
|
1766
|
+
# @return [::Integer]
|
|
1767
|
+
# Optional. When requesting a page of terraform versions, 'page_size'
|
|
1768
|
+
# specifies number of terraform versions to return. If unspecified, at most
|
|
1769
|
+
# 500 will be returned. The maximum value is 1000.
|
|
1770
|
+
# @!attribute [rw] page_token
|
|
1771
|
+
# @return [::String]
|
|
1772
|
+
# Optional. Token returned by previous call to 'ListTerraformVersions' which
|
|
1773
|
+
# specifies the position in the list from where to continue listing the
|
|
1774
|
+
# terraform versions.
|
|
1775
|
+
# @!attribute [rw] filter
|
|
1776
|
+
# @return [::String]
|
|
1777
|
+
# Optional. Lists the TerraformVersions that match the filter expression. A
|
|
1778
|
+
# filter expression filters the resources listed in the response. The
|
|
1779
|
+
# expression must be of the form '\\{field} \\{operator} \\{value}' where
|
|
1780
|
+
# operators: '<', '>',
|
|
1781
|
+
# '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
|
|
1782
|
+
# operator which is roughly synonymous with equality). \\{field} can refer to a
|
|
1783
|
+
# proto or JSON field, or a synthetic field. Field names can be camelCase or
|
|
1784
|
+
# snake_case.
|
|
1785
|
+
# @!attribute [rw] order_by
|
|
1786
|
+
# @return [::String]
|
|
1787
|
+
# Optional. Field to use to sort the list.
|
|
1788
|
+
class ListTerraformVersionsRequest
|
|
1789
|
+
include ::Google::Protobuf::MessageExts
|
|
1790
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1791
|
+
end
|
|
1792
|
+
|
|
1793
|
+
# The response message for the `ListTerraformVersions` method.
|
|
1794
|
+
# @!attribute [rw] terraform_versions
|
|
1795
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::TerraformVersion>]
|
|
1796
|
+
# List of {::Google::Cloud::ConfigService::V1::TerraformVersion TerraformVersion}s.
|
|
1797
|
+
# @!attribute [rw] next_page_token
|
|
1798
|
+
# @return [::String]
|
|
1799
|
+
# Token to be supplied to the next ListTerraformVersions request via
|
|
1800
|
+
# `page_token` to obtain the next set of results.
|
|
1801
|
+
# @!attribute [rw] unreachable
|
|
1802
|
+
# @return [::Array<::String>]
|
|
1803
|
+
# Unreachable resources, if any.
|
|
1804
|
+
class ListTerraformVersionsResponse
|
|
1805
|
+
include ::Google::Protobuf::MessageExts
|
|
1806
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1807
|
+
end
|
|
1808
|
+
|
|
1809
|
+
# A TerraformVersion represents the support state the corresponding
|
|
1810
|
+
# Terraform version.
|
|
1811
|
+
# @!attribute [rw] name
|
|
1812
|
+
# @return [::String]
|
|
1813
|
+
# Identifier. The version name is in the format:
|
|
1814
|
+
# 'projects/\\{project_id}/locations/\\{location}/terraformVersions/\\{terraform_version}'.
|
|
1815
|
+
# @!attribute [r] state
|
|
1816
|
+
# @return [::Google::Cloud::ConfigService::V1::TerraformVersion::State]
|
|
1817
|
+
# Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
|
|
1818
|
+
# @!attribute [r] support_time
|
|
1819
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1820
|
+
# Output only. When the version is supported.
|
|
1821
|
+
# @!attribute [r] deprecate_time
|
|
1822
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1823
|
+
# Output only. When the version is deprecated.
|
|
1824
|
+
# @!attribute [r] obsolete_time
|
|
1825
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1826
|
+
# Output only. When the version is obsolete.
|
|
1827
|
+
class TerraformVersion
|
|
1828
|
+
include ::Google::Protobuf::MessageExts
|
|
1829
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1830
|
+
|
|
1831
|
+
# Possible states of a TerraformVersion.
|
|
1832
|
+
module State
|
|
1833
|
+
# The default value. This value is used if the state is omitted.
|
|
1834
|
+
STATE_UNSPECIFIED = 0
|
|
1835
|
+
|
|
1836
|
+
# The version is actively supported.
|
|
1837
|
+
ACTIVE = 1
|
|
1838
|
+
|
|
1839
|
+
# The version is deprecated.
|
|
1840
|
+
DEPRECATED = 2
|
|
1841
|
+
|
|
1842
|
+
# The version is obsolete.
|
|
1843
|
+
OBSOLETE = 3
|
|
1844
|
+
end
|
|
1845
|
+
end
|
|
1846
|
+
|
|
1847
|
+
# Terraform info of a ResourceChange.
|
|
1848
|
+
# @!attribute [r] address
|
|
1849
|
+
# @return [::String]
|
|
1850
|
+
# Output only. TF resource address that uniquely identifies the resource.
|
|
1851
|
+
# @!attribute [r] type
|
|
1852
|
+
# @return [::String]
|
|
1853
|
+
# Output only. TF resource type.
|
|
1854
|
+
# @!attribute [r] resource_name
|
|
1855
|
+
# @return [::String]
|
|
1856
|
+
# Output only. TF resource name.
|
|
1857
|
+
# @!attribute [r] provider
|
|
1858
|
+
# @return [::String]
|
|
1859
|
+
# Output only. TF resource provider.
|
|
1860
|
+
# @!attribute [r] actions
|
|
1861
|
+
# @return [::Array<::String>]
|
|
1862
|
+
# Output only. TF resource actions.
|
|
1863
|
+
class ResourceChangeTerraformInfo
|
|
1864
|
+
include ::Google::Protobuf::MessageExts
|
|
1865
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1866
|
+
end
|
|
1867
|
+
|
|
1868
|
+
# A resource change represents a change to a resource in the state file.
|
|
1869
|
+
# @!attribute [rw] name
|
|
1870
|
+
# @return [::String]
|
|
1871
|
+
# Identifier. The name of the resource change.
|
|
1872
|
+
# Format:
|
|
1873
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}/resourceChanges/\\{resource_change}'.
|
|
1874
|
+
# @!attribute [r] terraform_info
|
|
1875
|
+
# @return [::Google::Cloud::ConfigService::V1::ResourceChangeTerraformInfo]
|
|
1876
|
+
# Output only. Terraform info of the resource change.
|
|
1877
|
+
# @!attribute [r] intent
|
|
1878
|
+
# @return [::Google::Cloud::ConfigService::V1::ResourceChange::Intent]
|
|
1879
|
+
# Output only. The intent of the resource change.
|
|
1880
|
+
# @!attribute [r] property_changes
|
|
1881
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::PropertyChange>]
|
|
1882
|
+
# Output only. The property changes of the resource change.
|
|
1883
|
+
class ResourceChange
|
|
1884
|
+
include ::Google::Protobuf::MessageExts
|
|
1885
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1886
|
+
|
|
1887
|
+
# Possible intent of the resource change.
|
|
1888
|
+
module Intent
|
|
1889
|
+
# The default value.
|
|
1890
|
+
INTENT_UNSPECIFIED = 0
|
|
1891
|
+
|
|
1892
|
+
# The resource will be created.
|
|
1893
|
+
CREATE = 1
|
|
1894
|
+
|
|
1895
|
+
# The resource will be updated.
|
|
1896
|
+
UPDATE = 2
|
|
1897
|
+
|
|
1898
|
+
# The resource will be deleted.
|
|
1899
|
+
DELETE = 3
|
|
1900
|
+
|
|
1901
|
+
# The resource will be recreated.
|
|
1902
|
+
RECREATE = 4
|
|
1903
|
+
|
|
1904
|
+
# The resource will be untouched.
|
|
1905
|
+
UNCHANGED = 5
|
|
1906
|
+
end
|
|
1907
|
+
end
|
|
1908
|
+
|
|
1909
|
+
# A property change represents a change to a property in the state file.
|
|
1910
|
+
# @!attribute [r] path
|
|
1911
|
+
# @return [::String]
|
|
1912
|
+
# Output only. The path of the property change.
|
|
1913
|
+
# @!attribute [r] before_sensitive_paths
|
|
1914
|
+
# @return [::Array<::String>]
|
|
1915
|
+
# Output only. The paths of sensitive fields in `before`. Paths are relative
|
|
1916
|
+
# to `path`.
|
|
1917
|
+
# @!attribute [r] before
|
|
1918
|
+
# @return [::Google::Protobuf::Value]
|
|
1919
|
+
# Output only. Representations of the object value before the actions.
|
|
1920
|
+
# @!attribute [r] after_sensitive_paths
|
|
1921
|
+
# @return [::Array<::String>]
|
|
1922
|
+
# Output only. The paths of sensitive fields in `after`. Paths are relative
|
|
1923
|
+
# to `path`.
|
|
1924
|
+
# @!attribute [r] after
|
|
1925
|
+
# @return [::Google::Protobuf::Value]
|
|
1926
|
+
# Output only. Representations of the object value after the actions.
|
|
1927
|
+
class PropertyChange
|
|
1928
|
+
include ::Google::Protobuf::MessageExts
|
|
1929
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1930
|
+
end
|
|
1931
|
+
|
|
1932
|
+
# The request message for the ListResourceChanges method.
|
|
1933
|
+
# @!attribute [rw] parent
|
|
1934
|
+
# @return [::String]
|
|
1935
|
+
# Required. The parent in whose context the ResourceChanges are listed. The
|
|
1936
|
+
# parent value is in the format:
|
|
1937
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}'.
|
|
1938
|
+
# @!attribute [rw] page_size
|
|
1939
|
+
# @return [::Integer]
|
|
1940
|
+
# Optional. When requesting a page of resource changes, 'page_size' specifies
|
|
1941
|
+
# number of resource changes to return. If unspecified, at most 500 will be
|
|
1942
|
+
# returned. The maximum value is 1000.
|
|
1943
|
+
# @!attribute [rw] page_token
|
|
1944
|
+
# @return [::String]
|
|
1945
|
+
# Optional. Token returned by previous call to 'ListResourceChanges' which
|
|
1946
|
+
# specifies the position in the list from where to continue listing the
|
|
1947
|
+
# resource changes.
|
|
1948
|
+
# @!attribute [rw] filter
|
|
1949
|
+
# @return [::String]
|
|
1950
|
+
# Optional. Lists the resource changes that match the filter expression. A
|
|
1951
|
+
# filter expression filters the resource changes listed in the response. The
|
|
1952
|
+
# expression must be of the form '\\{field} \\{operator} \\{value}' where
|
|
1953
|
+
# operators: '<', '>',
|
|
1954
|
+
# '<=',
|
|
1955
|
+
# '>=',
|
|
1956
|
+
# '!=', '=', ':' are supported (colon ':' represents a HAS operator which is
|
|
1957
|
+
# roughly synonymous with equality). \\{field} can refer to a proto or JSON
|
|
1958
|
+
# field, or a synthetic field. Field names can be camelCase or snake_case.
|
|
1959
|
+
#
|
|
1960
|
+
# Examples:
|
|
1961
|
+
# - Filter by name:
|
|
1962
|
+
# name =
|
|
1963
|
+
# "projects/foo/locations/us-central1/previews/dep/resourceChanges/baz
|
|
1964
|
+
# @!attribute [rw] order_by
|
|
1965
|
+
# @return [::String]
|
|
1966
|
+
# Optional. Field to use to sort the list.
|
|
1967
|
+
class ListResourceChangesRequest
|
|
1968
|
+
include ::Google::Protobuf::MessageExts
|
|
1969
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1970
|
+
end
|
|
1971
|
+
|
|
1972
|
+
# A response to a 'ListResourceChanges' call. Contains a list of
|
|
1973
|
+
# ResourceChanges.
|
|
1974
|
+
# @!attribute [rw] resource_changes
|
|
1975
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::ResourceChange>]
|
|
1976
|
+
# List of ResourceChanges.
|
|
1977
|
+
# @!attribute [rw] next_page_token
|
|
1978
|
+
# @return [::String]
|
|
1979
|
+
# A token to request the next page of resources from the
|
|
1980
|
+
# 'ListResourceChanges' method. The value of an empty string means that
|
|
1981
|
+
# there are no more resources to return.
|
|
1982
|
+
# @!attribute [rw] unreachable
|
|
1983
|
+
# @return [::Array<::String>]
|
|
1984
|
+
# Unreachable resources, if any.
|
|
1985
|
+
class ListResourceChangesResponse
|
|
1986
|
+
include ::Google::Protobuf::MessageExts
|
|
1987
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1990
|
+
# The request message for the GetResourceChange method.
|
|
1991
|
+
# @!attribute [rw] name
|
|
1992
|
+
# @return [::String]
|
|
1993
|
+
# Required. The name of the resource change to retrieve.
|
|
1994
|
+
# Format:
|
|
1995
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}/resourceChanges/\\{resource_change}'.
|
|
1996
|
+
class GetResourceChangeRequest
|
|
1997
|
+
include ::Google::Protobuf::MessageExts
|
|
1998
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1999
|
+
end
|
|
2000
|
+
|
|
2001
|
+
# Terraform info of a ResourceChange.
|
|
2002
|
+
# @!attribute [r] address
|
|
2003
|
+
# @return [::String]
|
|
2004
|
+
# Output only. The address of the drifted resource.
|
|
2005
|
+
# @!attribute [r] type
|
|
2006
|
+
# @return [::String]
|
|
2007
|
+
# Output only. The type of the drifted resource.
|
|
2008
|
+
# @!attribute [r] resource_name
|
|
2009
|
+
# @return [::String]
|
|
2010
|
+
# Output only. TF resource name.
|
|
2011
|
+
# @!attribute [r] provider
|
|
2012
|
+
# @return [::String]
|
|
2013
|
+
# Output only. The provider of the drifted resource.
|
|
2014
|
+
class ResourceDriftTerraformInfo
|
|
2015
|
+
include ::Google::Protobuf::MessageExts
|
|
2016
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2017
|
+
end
|
|
2018
|
+
|
|
2019
|
+
# A resource drift represents a drift to a resource in the state file.
|
|
2020
|
+
# @!attribute [rw] name
|
|
2021
|
+
# @return [::String]
|
|
2022
|
+
# Identifier. The name of the resource drift.
|
|
2023
|
+
# Format:
|
|
2024
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}/resourceDrifts/\\{resource_drift}'.
|
|
2025
|
+
# @!attribute [r] terraform_info
|
|
2026
|
+
# @return [::Google::Cloud::ConfigService::V1::ResourceDriftTerraformInfo]
|
|
2027
|
+
# Output only. Terraform info of the resource drift.
|
|
2028
|
+
# @!attribute [r] property_drifts
|
|
2029
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::PropertyDrift>]
|
|
2030
|
+
# Output only. The property drifts of the resource drift.
|
|
2031
|
+
class ResourceDrift
|
|
2032
|
+
include ::Google::Protobuf::MessageExts
|
|
2033
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2034
|
+
end
|
|
2035
|
+
|
|
2036
|
+
# A property drift represents a drift to a property in the state file.
|
|
2037
|
+
# @!attribute [r] path
|
|
2038
|
+
# @return [::String]
|
|
2039
|
+
# Output only. The path of the property drift.
|
|
2040
|
+
# @!attribute [r] before_sensitive_paths
|
|
2041
|
+
# @return [::Array<::String>]
|
|
2042
|
+
# Output only. The paths of sensitive fields in `before`. Paths are relative
|
|
2043
|
+
# to `path`.
|
|
2044
|
+
# @!attribute [r] before
|
|
2045
|
+
# @return [::Google::Protobuf::Value]
|
|
2046
|
+
# Output only. Representations of the object value before the actions.
|
|
2047
|
+
# @!attribute [r] after_sensitive_paths
|
|
2048
|
+
# @return [::Array<::String>]
|
|
2049
|
+
# Output only. The paths of sensitive fields in `after`. Paths are relative
|
|
2050
|
+
# to `path`.
|
|
2051
|
+
# @!attribute [r] after
|
|
2052
|
+
# @return [::Google::Protobuf::Value]
|
|
2053
|
+
# Output only. Representations of the object value after the actions.
|
|
2054
|
+
class PropertyDrift
|
|
2055
|
+
include ::Google::Protobuf::MessageExts
|
|
2056
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2057
|
+
end
|
|
2058
|
+
|
|
2059
|
+
# The request message for the ListResourceDrifts method.
|
|
2060
|
+
# @!attribute [rw] parent
|
|
2061
|
+
# @return [::String]
|
|
2062
|
+
# Required. The parent in whose context the ResourceDrifts are listed. The
|
|
2063
|
+
# parent value is in the format:
|
|
2064
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}'.
|
|
2065
|
+
# @!attribute [rw] page_size
|
|
2066
|
+
# @return [::Integer]
|
|
2067
|
+
# Optional. When requesting a page of resource drifts, 'page_size' specifies
|
|
2068
|
+
# number of resource drifts to return. If unspecified, at most 500 will be
|
|
2069
|
+
# returned. The maximum value is 1000.
|
|
2070
|
+
# @!attribute [rw] page_token
|
|
2071
|
+
# @return [::String]
|
|
2072
|
+
# Optional. Token returned by previous call to 'ListResourceDrifts' which
|
|
2073
|
+
# specifies the position in the list from where to continue listing the
|
|
2074
|
+
# resource drifts.
|
|
2075
|
+
# @!attribute [rw] filter
|
|
2076
|
+
# @return [::String]
|
|
2077
|
+
# Optional. Lists the resource drifts that match the filter expression. A
|
|
2078
|
+
# filter expression filters the resource drifts listed in the response. The
|
|
2079
|
+
# expression must be of the form '\\{field} \\{operator} \\{value}' where
|
|
2080
|
+
# operators: '<', '>',
|
|
2081
|
+
# '<=',
|
|
2082
|
+
# '>=',
|
|
2083
|
+
# '!=', '=', ':' are supported (colon ':' represents a HAS operator which is
|
|
2084
|
+
# roughly synonymous with equality). \\{field} can refer to a proto or JSON
|
|
2085
|
+
# field, or a synthetic field. Field names can be camelCase or snake_case.
|
|
2086
|
+
#
|
|
2087
|
+
# Examples:
|
|
2088
|
+
# - Filter by name:
|
|
2089
|
+
# name =
|
|
2090
|
+
# "projects/foo/locations/us-central1/previews/dep/resourceDrifts/baz
|
|
2091
|
+
# @!attribute [rw] order_by
|
|
2092
|
+
# @return [::String]
|
|
2093
|
+
# Optional. Field to use to sort the list.
|
|
2094
|
+
class ListResourceDriftsRequest
|
|
2095
|
+
include ::Google::Protobuf::MessageExts
|
|
2096
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2097
|
+
end
|
|
2098
|
+
|
|
2099
|
+
# A response to a 'ListResourceDrifts' call. Contains a list of ResourceDrifts.
|
|
2100
|
+
# @!attribute [rw] resource_drifts
|
|
2101
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::ResourceDrift>]
|
|
2102
|
+
# List of ResourceDrifts.
|
|
2103
|
+
# @!attribute [rw] next_page_token
|
|
2104
|
+
# @return [::String]
|
|
2105
|
+
# A token to request the next page of resources from the
|
|
2106
|
+
# 'ListResourceDrifts' method. The value of an empty string means that
|
|
2107
|
+
# there are no more resources to return.
|
|
2108
|
+
# @!attribute [rw] unreachable
|
|
2109
|
+
# @return [::Array<::String>]
|
|
2110
|
+
# Unreachable resources, if any.
|
|
2111
|
+
class ListResourceDriftsResponse
|
|
2112
|
+
include ::Google::Protobuf::MessageExts
|
|
2113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
# The request message for the GetResourceDrift method.
|
|
2117
|
+
# @!attribute [rw] name
|
|
2118
|
+
# @return [::String]
|
|
2119
|
+
# Required. The name of the resource drift to retrieve.
|
|
2120
|
+
# Format:
|
|
2121
|
+
# 'projects/\\{project_id}/locations/\\{location}/previews/\\{preview}/resourceDrifts/\\{resource_drift}'.
|
|
2122
|
+
class GetResourceDriftRequest
|
|
2123
|
+
include ::Google::Protobuf::MessageExts
|
|
2124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2125
|
+
end
|
|
2126
|
+
|
|
2127
|
+
# ProviderConfig contains the provider configurations.
|
|
2128
|
+
# @!attribute [rw] source_type
|
|
2129
|
+
# @return [::Google::Cloud::ConfigService::V1::ProviderConfig::ProviderSource]
|
|
2130
|
+
# Optional. ProviderSource specifies the source type of the provider.
|
|
2131
|
+
class ProviderConfig
|
|
2132
|
+
include ::Google::Protobuf::MessageExts
|
|
2133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2134
|
+
|
|
2135
|
+
# ProviderSource represents the source type of the provider.
|
|
2136
|
+
module ProviderSource
|
|
2137
|
+
# Unspecified source type, default to public sources.
|
|
2138
|
+
PROVIDER_SOURCE_UNSPECIFIED = 0
|
|
2139
|
+
|
|
2140
|
+
# Service maintained provider source type.
|
|
2141
|
+
SERVICE_MAINTAINED = 1
|
|
2142
|
+
end
|
|
2143
|
+
end
|
|
2144
|
+
|
|
2145
|
+
# The request message for the GetAutoMigrationConfig method.
|
|
2146
|
+
# @!attribute [rw] name
|
|
2147
|
+
# @return [::String]
|
|
2148
|
+
# Required. The name of the AutoMigrationConfig.
|
|
2149
|
+
# Format:
|
|
2150
|
+
# 'projects/\\{project_id}/locations/\\{location}/AutoMigrationConfig'.
|
|
2151
|
+
class GetAutoMigrationConfigRequest
|
|
2152
|
+
include ::Google::Protobuf::MessageExts
|
|
2153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2154
|
+
end
|
|
2155
|
+
|
|
2156
|
+
# AutoMigrationConfig contains the automigration configuration for a project.
|
|
2157
|
+
# @!attribute [rw] name
|
|
2158
|
+
# @return [::String]
|
|
2159
|
+
# Identifier. The name of the AutoMigrationConfig.
|
|
2160
|
+
# Format:
|
|
2161
|
+
# 'projects/\\{project_id}/locations/\\{location}/AutoMigrationConfig'.
|
|
2162
|
+
# @!attribute [r] update_time
|
|
2163
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
2164
|
+
# Output only. Time the AutoMigrationConfig was last updated.
|
|
2165
|
+
# @!attribute [rw] auto_migration_enabled
|
|
2166
|
+
# @return [::Boolean]
|
|
2167
|
+
# Optional. Whether the auto migration is enabled for the project.
|
|
2168
|
+
class AutoMigrationConfig
|
|
2169
|
+
include ::Google::Protobuf::MessageExts
|
|
2170
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2171
|
+
end
|
|
2172
|
+
|
|
2173
|
+
# The request message for the UpdateAutoMigrationConfig method.
|
|
2174
|
+
# @!attribute [rw] update_mask
|
|
2175
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
2176
|
+
# Optional. The update mask applies to the resource. See
|
|
2177
|
+
# {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
|
|
2178
|
+
# @!attribute [rw] auto_migration_config
|
|
2179
|
+
# @return [::Google::Cloud::ConfigService::V1::AutoMigrationConfig]
|
|
2180
|
+
# Required. The AutoMigrationConfig to update.
|
|
2181
|
+
class UpdateAutoMigrationConfigRequest
|
|
2182
|
+
include ::Google::Protobuf::MessageExts
|
|
2183
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2184
|
+
end
|
|
2185
|
+
|
|
2186
|
+
# A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
|
|
2187
|
+
# structure.
|
|
2188
|
+
# @!attribute [rw] name
|
|
2189
|
+
# @return [::String]
|
|
2190
|
+
# Identifier. The name of the deployment group.
|
|
2191
|
+
# Format:
|
|
2192
|
+
# 'projects/\\{project_id}/locations/\\{location}/deploymentGroups/\\{deployment_group}'.
|
|
2193
|
+
# @!attribute [r] create_time
|
|
2194
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
2195
|
+
# Output only. Time when the deployment group was created.
|
|
2196
|
+
# @!attribute [r] update_time
|
|
2197
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
2198
|
+
# Output only. Time when the deployment group was last updated.
|
|
2199
|
+
# @!attribute [rw] labels
|
|
2200
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
2201
|
+
# Optional. User-defined metadata for the deployment group.
|
|
2202
|
+
# @!attribute [rw] annotations
|
|
2203
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
2204
|
+
# Optional. Arbitrary key-value metadata storage e.g. to help client tools
|
|
2205
|
+
# identify deployment group during automation. See
|
|
2206
|
+
# https://google.aip.dev/148#annotations for details on format and size
|
|
2207
|
+
# limitations.
|
|
2208
|
+
# @!attribute [r] state
|
|
2209
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentGroup::State]
|
|
2210
|
+
# Output only. Current state of the deployment group.
|
|
2211
|
+
# @!attribute [r] state_description
|
|
2212
|
+
# @return [::String]
|
|
2213
|
+
# Output only. Additional information regarding the current state.
|
|
2214
|
+
# @!attribute [rw] deployment_units
|
|
2215
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::DeploymentUnit>]
|
|
2216
|
+
# The deployment units of the deployment group in a DAG like structure.
|
|
2217
|
+
# When a deployment group is being provisioned, the deployment units are
|
|
2218
|
+
# deployed in a DAG order.
|
|
2219
|
+
# The provided units must be in a DAG order, otherwise an error will be
|
|
2220
|
+
# returned.
|
|
2221
|
+
# @!attribute [r] provisioning_state
|
|
2222
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentGroup::ProvisioningState]
|
|
2223
|
+
# Output only. The provisioning state of the deployment group.
|
|
2224
|
+
# @!attribute [r] provisioning_state_description
|
|
2225
|
+
# @return [::String]
|
|
2226
|
+
# Output only. Additional information regarding the current provisioning
|
|
2227
|
+
# state.
|
|
2228
|
+
# @!attribute [r] provisioning_error
|
|
2229
|
+
# @return [::Google::Rpc::Status]
|
|
2230
|
+
# Output only. The error status of the deployment group provisioning or
|
|
2231
|
+
# deprovisioning.
|
|
2232
|
+
class DeploymentGroup
|
|
2233
|
+
include ::Google::Protobuf::MessageExts
|
|
2234
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2235
|
+
|
|
2236
|
+
# @!attribute [rw] key
|
|
2237
|
+
# @return [::String]
|
|
2238
|
+
# @!attribute [rw] value
|
|
2239
|
+
# @return [::String]
|
|
2240
|
+
class LabelsEntry
|
|
2241
|
+
include ::Google::Protobuf::MessageExts
|
|
2242
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
# @!attribute [rw] key
|
|
2246
|
+
# @return [::String]
|
|
2247
|
+
# @!attribute [rw] value
|
|
2248
|
+
# @return [::String]
|
|
2249
|
+
class AnnotationsEntry
|
|
2250
|
+
include ::Google::Protobuf::MessageExts
|
|
2251
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2252
|
+
end
|
|
2253
|
+
|
|
2254
|
+
# Possible states of a deployment group.
|
|
2255
|
+
module State
|
|
2256
|
+
# The default value. This value is used if the state is omitted.
|
|
2257
|
+
STATE_UNSPECIFIED = 0
|
|
2258
|
+
|
|
2259
|
+
# The deployment group is being created.
|
|
2260
|
+
CREATING = 1
|
|
2261
|
+
|
|
2262
|
+
# The deployment group is healthy.
|
|
2263
|
+
ACTIVE = 2
|
|
2264
|
+
|
|
2265
|
+
# The deployment group is being updated.
|
|
2266
|
+
UPDATING = 3
|
|
2267
|
+
|
|
2268
|
+
# The deployment group is being deleted.
|
|
2269
|
+
DELETING = 4
|
|
2270
|
+
|
|
2271
|
+
# The deployment group has encountered an unexpected error.
|
|
2272
|
+
FAILED = 5
|
|
2273
|
+
|
|
2274
|
+
# The deployment group is no longer being actively reconciled.
|
|
2275
|
+
# This may be the result of recovering the project after deletion.
|
|
2276
|
+
SUSPENDED = 6
|
|
2277
|
+
|
|
2278
|
+
# The deployment group has been deleted.
|
|
2279
|
+
DELETED = 7
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
# Possible provisioning states of a deployment group.
|
|
2283
|
+
module ProvisioningState
|
|
2284
|
+
# Unspecified provisioning state.
|
|
2285
|
+
PROVISIONING_STATE_UNSPECIFIED = 0
|
|
2286
|
+
|
|
2287
|
+
# The deployment group is being provisioned.
|
|
2288
|
+
PROVISIONING = 1
|
|
2289
|
+
|
|
2290
|
+
# The deployment group is provisioned.
|
|
2291
|
+
PROVISIONED = 2
|
|
2292
|
+
|
|
2293
|
+
# The deployment group failed to be provisioned.
|
|
2294
|
+
FAILED_TO_PROVISION = 3
|
|
2295
|
+
|
|
2296
|
+
# The deployment group is being deprovisioned.
|
|
2297
|
+
DEPROVISIONING = 4
|
|
2298
|
+
|
|
2299
|
+
# The deployment group is deprovisioned.
|
|
2300
|
+
DEPROVISIONED = 5
|
|
2301
|
+
|
|
2302
|
+
# The deployment group failed to be deprovisioned.
|
|
2303
|
+
FAILED_TO_DEPROVISION = 6
|
|
2304
|
+
end
|
|
2305
|
+
end
|
|
2306
|
+
|
|
2307
|
+
# A DeploymentUnit is a container for a deployment and its dependencies.
|
|
2308
|
+
# An existing deployment can be provided directly in the unit, or the unit
|
|
2309
|
+
# can act as a placeholder to define the DAG, with the deployment specs
|
|
2310
|
+
# supplied in a `provisionDeploymentRequest`.
|
|
2311
|
+
# @!attribute [rw] id
|
|
2312
|
+
# @return [::String]
|
|
2313
|
+
# The id of the deployment unit. Must be unique within the deployment group.
|
|
2314
|
+
# @!attribute [rw] deployment
|
|
2315
|
+
# @return [::String]
|
|
2316
|
+
# Optional. The name of the deployment to be provisioned.
|
|
2317
|
+
# Format:
|
|
2318
|
+
# 'projects/\\{project_id}/locations/\\{location}/deployments/\\{deployment}'.
|
|
2319
|
+
# @!attribute [rw] dependencies
|
|
2320
|
+
# @return [::Array<::String>]
|
|
2321
|
+
# Required. The IDs of the deployment units within the deployment group that
|
|
2322
|
+
# this unit depends on.
|
|
2323
|
+
class DeploymentUnit
|
|
2324
|
+
include ::Google::Protobuf::MessageExts
|
|
2325
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2326
|
+
end
|
|
2327
|
+
|
|
2328
|
+
# Spec for a deployment to be created.
|
|
2329
|
+
# @!attribute [rw] deployment_id
|
|
2330
|
+
# @return [::String]
|
|
2331
|
+
# Required. The id of the deployment to be created which doesn't include the
|
|
2332
|
+
# project id and location.
|
|
2333
|
+
# @!attribute [rw] deployment
|
|
2334
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment]
|
|
2335
|
+
# Required. The deployment to be created.
|
|
2336
|
+
class DeploymentSpec
|
|
2337
|
+
include ::Google::Protobuf::MessageExts
|
|
2338
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2339
|
+
end
|
|
2340
|
+
|
|
2341
|
+
# The request message for the GetDeploymentGroup method.
|
|
2342
|
+
# @!attribute [rw] name
|
|
2343
|
+
# @return [::String]
|
|
2344
|
+
# Required. The name of the deployment group to retrieve.
|
|
2345
|
+
# Format:
|
|
2346
|
+
# 'projects/\\{project_id}/locations/\\{location}/deploymentGroups/\\{deployment_group}'.
|
|
2347
|
+
class GetDeploymentGroupRequest
|
|
2348
|
+
include ::Google::Protobuf::MessageExts
|
|
2349
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2350
|
+
end
|
|
2351
|
+
|
|
2352
|
+
# The request message for the ListDeploymentGroups method.
|
|
2353
|
+
# @!attribute [rw] parent
|
|
2354
|
+
# @return [::String]
|
|
2355
|
+
# Required. The parent, which owns this collection of deployment groups.
|
|
2356
|
+
# Format: 'projects/\\{project_id}/locations/\\{location}'.
|
|
2357
|
+
# @!attribute [rw] page_size
|
|
2358
|
+
# @return [::Integer]
|
|
2359
|
+
# Optional. When requesting a page of resources, 'page_size' specifies number
|
|
2360
|
+
# of resources to return. If unspecified, at most 500 will be returned. The
|
|
2361
|
+
# maximum value is 1000.
|
|
2362
|
+
# @!attribute [rw] page_token
|
|
2363
|
+
# @return [::String]
|
|
2364
|
+
# Optional. Token returned by previous call to 'ListDeploymentGroups' which
|
|
2365
|
+
# specifies the position in the list from where to continue listing the
|
|
2366
|
+
# deployment groups.
|
|
2367
|
+
# @!attribute [rw] filter
|
|
2368
|
+
# @return [::String]
|
|
2369
|
+
# Optional. Lists the DeploymentGroups that match the filter expression. A
|
|
2370
|
+
# filter expression filters the deployment groups listed in the response. The
|
|
2371
|
+
# expression must be of the form '\\{field} \\{operator} \\{value}' where
|
|
2372
|
+
# operators: '<', '>',
|
|
2373
|
+
# '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
|
|
2374
|
+
# operator which is roughly synonymous with equality). \\{field} can refer to a
|
|
2375
|
+
# proto or JSON field, or a synthetic field. Field names can be camelCase or
|
|
2376
|
+
# snake_case.
|
|
2377
|
+
#
|
|
2378
|
+
# Examples:
|
|
2379
|
+
# - Filter by name:
|
|
2380
|
+
# name = "projects/foo/locations/us-central1/deploymentGroups/bar"
|
|
2381
|
+
#
|
|
2382
|
+
# - Filter by labels:
|
|
2383
|
+
# - Resources that have a key called 'foo'
|
|
2384
|
+
# labels.foo:*
|
|
2385
|
+
# - Resources that have a key called 'foo' whose value is 'bar'
|
|
2386
|
+
# labels.foo = bar
|
|
2387
|
+
#
|
|
2388
|
+
# - Filter by state:
|
|
2389
|
+
# - DeploymentGroups in CREATING state.
|
|
2390
|
+
# state=CREATING
|
|
2391
|
+
# @!attribute [rw] order_by
|
|
2392
|
+
# @return [::String]
|
|
2393
|
+
# Optional. Field to use to sort the list.
|
|
2394
|
+
class ListDeploymentGroupsRequest
|
|
2395
|
+
include ::Google::Protobuf::MessageExts
|
|
2396
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2397
|
+
end
|
|
2398
|
+
|
|
2399
|
+
# The response message for the ListDeploymentGroups method.
|
|
2400
|
+
# @!attribute [rw] deployment_groups
|
|
2401
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::DeploymentGroup>]
|
|
2402
|
+
# The deployment groups from the specified collection.
|
|
2403
|
+
# @!attribute [rw] next_page_token
|
|
2404
|
+
# @return [::String]
|
|
2405
|
+
# Token to be supplied to the next ListDeploymentGroups request via
|
|
2406
|
+
# `page_token` to obtain the next set of results.
|
|
2407
|
+
# @!attribute [rw] unreachable
|
|
2408
|
+
# @return [::Array<::String>]
|
|
2409
|
+
# Locations that could not be reached.
|
|
2410
|
+
class ListDeploymentGroupsResponse
|
|
2411
|
+
include ::Google::Protobuf::MessageExts
|
|
2412
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2413
|
+
end
|
|
2414
|
+
|
|
2415
|
+
# The request message for the ProvisionDeploymentGroup method.
|
|
2416
|
+
# @!attribute [rw] name
|
|
2417
|
+
# @return [::String]
|
|
2418
|
+
# Required. The name of the deployment group to provision.
|
|
2419
|
+
# Format:
|
|
2420
|
+
# 'projects/\\{project_id}/locations/\\{location}/deploymentGroups/\\{deployment_group}'.
|
|
2421
|
+
# @!attribute [rw] deployment_specs
|
|
2422
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::DeploymentSpec}]
|
|
2423
|
+
# Optional. The deployment specs of the deployment units to be created within
|
|
2424
|
+
# the same project and location of the deployment group. The key is the unit
|
|
2425
|
+
# ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
|
|
2426
|
+
# `deployment_spec` has a `deployment_id` that matches an existing deployment
|
|
2427
|
+
# in the same project and location. If an existing deployment was part of the
|
|
2428
|
+
# last successful revision but is no longer in the current DeploymentGroup's
|
|
2429
|
+
# `deployment_units`, it will be recreated if included in `deployment_specs`.
|
|
2430
|
+
class ProvisionDeploymentGroupRequest
|
|
2431
|
+
include ::Google::Protobuf::MessageExts
|
|
2432
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2433
|
+
|
|
2434
|
+
# @!attribute [rw] key
|
|
2435
|
+
# @return [::String]
|
|
2436
|
+
# @!attribute [rw] value
|
|
2437
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentSpec]
|
|
2438
|
+
class DeploymentSpecsEntry
|
|
2439
|
+
include ::Google::Protobuf::MessageExts
|
|
2440
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2441
|
+
end
|
|
2442
|
+
end
|
|
2443
|
+
|
|
2444
|
+
# The request message for the DeprovisionDeploymentGroup method.
|
|
2445
|
+
# @!attribute [rw] name
|
|
2446
|
+
# @return [::String]
|
|
2447
|
+
# Required. The name of the deployment group to deprovision.
|
|
2448
|
+
# Format:
|
|
2449
|
+
# 'projects/\\{project_id}/locations/\\{location}/deploymentGroups/\\{deployment_group}'.
|
|
2450
|
+
# @!attribute [rw] force
|
|
2451
|
+
# @return [::Boolean]
|
|
2452
|
+
# Optional. If set to true, this option is propagated to the deletion of each
|
|
2453
|
+
# deployment in the group. This corresponds to the 'force' field
|
|
2454
|
+
# in DeleteDeploymentRequest.
|
|
2455
|
+
# @!attribute [rw] delete_policy
|
|
2456
|
+
# @return [::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest::DeletePolicy]
|
|
2457
|
+
# Optional. Policy on how resources within each deployment should be handled
|
|
2458
|
+
# during deletion. This policy is applied globally to the deletion of all
|
|
2459
|
+
# deployments in this group. This corresponds to the 'delete_policy' field
|
|
2460
|
+
# in DeleteDeploymentRequest.
|
|
2461
|
+
class DeprovisionDeploymentGroupRequest
|
|
2462
|
+
include ::Google::Protobuf::MessageExts
|
|
2463
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2464
|
+
end
|
|
2465
|
+
|
|
2466
|
+
# The summary of the deployment operation.
|
|
2467
|
+
# @!attribute [r] deployment_step
|
|
2468
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentOperationMetadata::DeploymentStep]
|
|
2469
|
+
# Output only. The current step the deployment operation is running.
|
|
2470
|
+
# @!attribute [r] build
|
|
2471
|
+
# @return [::String]
|
|
2472
|
+
# Output only. Cloud Build instance UUID associated with this operation.
|
|
2473
|
+
# @!attribute [r] logs
|
|
2474
|
+
# @return [::String]
|
|
2475
|
+
# Output only. Location of Deployment operations logs in
|
|
2476
|
+
# `gs://{bucket}/{object}` format.
|
|
2477
|
+
# @!attribute [r] content
|
|
2478
|
+
# @return [::String]
|
|
2479
|
+
# Output only. Location of Deployment operations content in
|
|
2480
|
+
# `gs://{bucket}/{object}` format.
|
|
2481
|
+
# @!attribute [r] artifacts
|
|
2482
|
+
# @return [::String]
|
|
2483
|
+
# Output only. Location of Deployment operations artifacts in
|
|
2484
|
+
# `gs://{bucket}/{object}` format.
|
|
2485
|
+
class DeploymentOperationSummary
|
|
2486
|
+
include ::Google::Protobuf::MessageExts
|
|
2487
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2488
|
+
end
|
|
2489
|
+
|
|
2490
|
+
# The progress of a deployment unit provisioning or deprovisioning.
|
|
2491
|
+
# @!attribute [r] unit_id
|
|
2492
|
+
# @return [::String]
|
|
2493
|
+
# Output only. The unit id of the deployment unit to be provisioned.
|
|
2494
|
+
# @!attribute [r] deployment
|
|
2495
|
+
# @return [::String]
|
|
2496
|
+
# Output only. The name of the deployment to be provisioned.
|
|
2497
|
+
# Format:
|
|
2498
|
+
# 'projects/\\{project}/locations/\\{location}/deployments/\\{deployment}'.
|
|
2499
|
+
# @!attribute [r] state
|
|
2500
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentUnitProgress::State]
|
|
2501
|
+
# Output only. The current step of the deployment unit provisioning.
|
|
2502
|
+
# @!attribute [r] state_description
|
|
2503
|
+
# @return [::String]
|
|
2504
|
+
# Output only. Additional information regarding the current state.
|
|
2505
|
+
# @!attribute [r] deployment_operation_summary
|
|
2506
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentOperationSummary]
|
|
2507
|
+
# Output only. The summary of the deployment operation.
|
|
2508
|
+
# @!attribute [r] error
|
|
2509
|
+
# @return [::Google::Rpc::Status]
|
|
2510
|
+
# Output only. Holds the error status of the deployment unit provisioning.
|
|
2511
|
+
# @!attribute [r] intent
|
|
2512
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentUnitProgress::Intent]
|
|
2513
|
+
# Output only. The intent of the deployment unit.
|
|
2514
|
+
class DeploymentUnitProgress
|
|
2515
|
+
include ::Google::Protobuf::MessageExts
|
|
2516
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2517
|
+
|
|
2518
|
+
# The possible steps a deployment unit provisioning may be running.
|
|
2519
|
+
module State
|
|
2520
|
+
# The default value. This value is unused.
|
|
2521
|
+
STATE_UNSPECIFIED = 0
|
|
2522
|
+
|
|
2523
|
+
# The deployment unit is queued for deployment creation or update.
|
|
2524
|
+
QUEUED = 1
|
|
2525
|
+
|
|
2526
|
+
# The underlying deployment of the unit is being created or updated.
|
|
2527
|
+
APPLYING_DEPLOYMENT = 2
|
|
2528
|
+
|
|
2529
|
+
# The underlying deployment operation of the unit has succeeded.
|
|
2530
|
+
SUCCEEDED = 4
|
|
2531
|
+
|
|
2532
|
+
# The underlying deployment operation of the unit has failed.
|
|
2533
|
+
FAILED = 5
|
|
2534
|
+
|
|
2535
|
+
# The deployment unit was aborted, likely due to failures in other
|
|
2536
|
+
# dependent deployment units.
|
|
2537
|
+
ABORTED = 6
|
|
2538
|
+
|
|
2539
|
+
# The deployment unit was skipped because there were no changes to apply.
|
|
2540
|
+
SKIPPED = 7
|
|
2541
|
+
|
|
2542
|
+
# The deployment is being deleted.
|
|
2543
|
+
DELETING_DEPLOYMENT = 8
|
|
2544
|
+
|
|
2545
|
+
# The deployment is being previewed.
|
|
2546
|
+
PREVIEWING_DEPLOYMENT = 9
|
|
2547
|
+
end
|
|
2548
|
+
|
|
2549
|
+
# The possible intents of a deployment unit.
|
|
2550
|
+
module Intent
|
|
2551
|
+
# Unspecified intent.
|
|
2552
|
+
INTENT_UNSPECIFIED = 0
|
|
2553
|
+
|
|
2554
|
+
# Create deployment in the unit from the deployment spec.
|
|
2555
|
+
CREATE_DEPLOYMENT = 1
|
|
2556
|
+
|
|
2557
|
+
# Update deployment in the unit.
|
|
2558
|
+
UPDATE_DEPLOYMENT = 2
|
|
2559
|
+
|
|
2560
|
+
# Delete deployment in the unit.
|
|
2561
|
+
DELETE_DEPLOYMENT = 3
|
|
2562
|
+
|
|
2563
|
+
# Recreate deployment in the unit.
|
|
2564
|
+
RECREATE_DEPLOYMENT = 4
|
|
2565
|
+
|
|
2566
|
+
# Delete deployment in latest successful revision while no longer
|
|
2567
|
+
# referenced in any deployment unit in the current deployment group.
|
|
2568
|
+
CLEAN_UP = 5
|
|
2569
|
+
|
|
2570
|
+
# Expected to be unchanged.
|
|
2571
|
+
UNCHANGED = 6
|
|
2572
|
+
end
|
|
2573
|
+
end
|
|
2574
|
+
|
|
2575
|
+
# Operation metadata for `ProvisionDeploymentGroup` and
|
|
2576
|
+
# `DeprovisionDeploymentGroup` long-running operations.
|
|
2577
|
+
# @!attribute [r] step
|
|
2578
|
+
# @return [::Google::Cloud::ConfigService::V1::ProvisionDeploymentGroupOperationMetadata::ProvisionDeploymentGroupStep]
|
|
2579
|
+
# Output only. The current step of the deployment group operation.
|
|
2580
|
+
# @!attribute [r] deployment_unit_progresses
|
|
2581
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::DeploymentUnitProgress>]
|
|
2582
|
+
# Output only. Progress information for each deployment unit within the
|
|
2583
|
+
# operation.
|
|
2584
|
+
class ProvisionDeploymentGroupOperationMetadata
|
|
2585
|
+
include ::Google::Protobuf::MessageExts
|
|
2586
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2587
|
+
|
|
2588
|
+
# Possible steps during a deployment group provisioning or deprovisioning
|
|
2589
|
+
# operation.
|
|
2590
|
+
module ProvisionDeploymentGroupStep
|
|
2591
|
+
# Unspecified step.
|
|
2592
|
+
PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED = 0
|
|
2593
|
+
|
|
2594
|
+
# Validating the deployment group.
|
|
2595
|
+
VALIDATING_DEPLOYMENT_GROUP = 1
|
|
2596
|
+
|
|
2597
|
+
# Locking the deployments to the deployment group for atomic actuation.
|
|
2598
|
+
ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP = 2
|
|
2599
|
+
|
|
2600
|
+
# Provisioning the deployment units.
|
|
2601
|
+
PROVISIONING_DEPLOYMENT_UNITS = 3
|
|
2602
|
+
|
|
2603
|
+
# Unlocking the deployments from the deployment group after actuation.
|
|
2604
|
+
DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP = 4
|
|
2605
|
+
|
|
2606
|
+
# The operation has succeeded.
|
|
2607
|
+
SUCCEEDED = 5
|
|
2608
|
+
|
|
2609
|
+
# The operation has failed.
|
|
2610
|
+
FAILED = 6
|
|
2611
|
+
|
|
2612
|
+
# Deprovisioning the deployment units.
|
|
2613
|
+
DEPROVISIONING_DEPLOYMENT_UNITS = 7
|
|
2614
|
+
end
|
|
2615
|
+
end
|
|
2616
|
+
|
|
2617
|
+
# A DeploymentGroupRevision represents a snapshot of a
|
|
2618
|
+
# {::Google::Cloud::ConfigService::V1::DeploymentGroup DeploymentGroup} at a given point in
|
|
2619
|
+
# time, created when a DeploymentGroup is provisioned or deprovisioned.
|
|
2620
|
+
# @!attribute [rw] name
|
|
2621
|
+
# @return [::String]
|
|
2622
|
+
# Identifier. The name of the deployment group revision.
|
|
2623
|
+
# Format:
|
|
2624
|
+
# 'projects/\\{project_id}/locations/\\{location}/deploymentGroups/\\{deployment_group}/revisions/\\{revision}'.
|
|
2625
|
+
# @!attribute [r] snapshot
|
|
2626
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentGroup]
|
|
2627
|
+
# Output only. The snapshot of the deployment group at this revision.
|
|
2628
|
+
# @!attribute [r] create_time
|
|
2629
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
2630
|
+
# Output only. Time when the deployment group revision was created.
|
|
2631
|
+
# @!attribute [r] alternative_ids
|
|
2632
|
+
# @return [::Array<::String>]
|
|
2633
|
+
# Output only. The alternative IDs of the deployment group revision.
|
|
2634
|
+
class DeploymentGroupRevision
|
|
2635
|
+
include ::Google::Protobuf::MessageExts
|
|
2636
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2637
|
+
end
|
|
2638
|
+
|
|
2639
|
+
# The request message for the GetDeploymentGroupRevision method.
|
|
2640
|
+
# @!attribute [rw] name
|
|
2641
|
+
# @return [::String]
|
|
2642
|
+
# Required. The name of the deployment group revision to retrieve.
|
|
2643
|
+
# Format:
|
|
2644
|
+
# 'projects/\\{project_id}/locations/\\{location}/deploymentGroups/\\{deployment_group}/revisions/\\{revision}'.
|
|
2645
|
+
class GetDeploymentGroupRevisionRequest
|
|
2646
|
+
include ::Google::Protobuf::MessageExts
|
|
2647
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2648
|
+
end
|
|
2649
|
+
|
|
2650
|
+
# The request message for the ListDeploymentGroupRevisions method.
|
|
2651
|
+
# @!attribute [rw] parent
|
|
2652
|
+
# @return [::String]
|
|
2653
|
+
# Required. The parent, which owns this collection of deployment group
|
|
2654
|
+
# revisions. Format:
|
|
2655
|
+
# 'projects/\\{project_id}/locations/\\{location}/deploymentGroups/\\{deployment_group}'.
|
|
2656
|
+
# @!attribute [rw] page_size
|
|
2657
|
+
# @return [::Integer]
|
|
2658
|
+
# Optional. When requesting a page of resources, 'page_size' specifies number
|
|
2659
|
+
# of resources to return. If unspecified, a sensible default will be used by
|
|
2660
|
+
# the server. The maximum value is 1000; values above 1000 will be coerced to
|
|
2661
|
+
# 1000.
|
|
2662
|
+
# @!attribute [rw] page_token
|
|
2663
|
+
# @return [::String]
|
|
2664
|
+
# Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
|
|
2665
|
+
# which specifies the position in the list from where to continue listing the
|
|
2666
|
+
# deployment group revisions. All other parameters provided to
|
|
2667
|
+
# `ListDeploymentGroupRevisions` must match the call that provided the page
|
|
2668
|
+
# token.
|
|
2669
|
+
class ListDeploymentGroupRevisionsRequest
|
|
2670
|
+
include ::Google::Protobuf::MessageExts
|
|
2671
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2672
|
+
end
|
|
2673
|
+
|
|
2674
|
+
# The response message for the ListDeploymentGroupRevisions method.
|
|
2675
|
+
# @!attribute [rw] deployment_group_revisions
|
|
2676
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::DeploymentGroupRevision>]
|
|
2677
|
+
# The deployment group revisions from the specified collection.
|
|
2678
|
+
# @!attribute [rw] next_page_token
|
|
2679
|
+
# @return [::String]
|
|
2680
|
+
# Token to be supplied to the next ListDeploymentGroupRevisions request via
|
|
2681
|
+
# `page_token` to obtain the next set of results.
|
|
2682
|
+
# @!attribute [rw] unreachable
|
|
2683
|
+
# @return [::Array<::String>]
|
|
2684
|
+
# Unordered list. Locations that could not be reached.
|
|
2685
|
+
class ListDeploymentGroupRevisionsResponse
|
|
2686
|
+
include ::Google::Protobuf::MessageExts
|
|
2687
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2688
|
+
end
|
|
2689
|
+
|
|
2690
|
+
# Enum values to control quota checks for resources in terraform
|
|
2691
|
+
# configuration files.
|
|
2692
|
+
module QuotaValidation
|
|
2693
|
+
# The default value.
|
|
2694
|
+
# QuotaValidation on terraform configuration files will be disabled in
|
|
2695
|
+
# this case.
|
|
2696
|
+
QUOTA_VALIDATION_UNSPECIFIED = 0
|
|
2697
|
+
|
|
2698
|
+
# Enable computing quotas for resources in terraform configuration files to
|
|
2699
|
+
# get visibility on resources with insufficient quotas.
|
|
2700
|
+
ENABLED = 1
|
|
2701
|
+
|
|
2702
|
+
# Enforce quota checks so deployment fails if there isn't sufficient quotas
|
|
2703
|
+
# available to deploy resources in terraform configuration files.
|
|
2704
|
+
ENFORCED = 2
|
|
2705
|
+
end
|
|
2706
|
+
end
|
|
2707
|
+
end
|
|
2708
|
+
end
|
|
2709
|
+
end
|