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,466 @@
|
|
|
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 DesignCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Message for creating an application.
|
|
25
|
+
# @!attribute [rw] parent
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The parent resource in which to create the application.
|
|
28
|
+
# Format: `projects/$project/locations/$location/spaces/$space`
|
|
29
|
+
# @!attribute [rw] application_id
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Required. The ID of the application to create.
|
|
32
|
+
# @!attribute [rw] application
|
|
33
|
+
# @return [::Google::Cloud::DesignCenter::V1::Application]
|
|
34
|
+
# Required. The application to create.
|
|
35
|
+
class CreateApplicationRequest
|
|
36
|
+
include ::Google::Protobuf::MessageExts
|
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Message for getting an application.
|
|
41
|
+
# @!attribute [rw] name
|
|
42
|
+
# @return [::String]
|
|
43
|
+
# Required. The application name.
|
|
44
|
+
# Format:
|
|
45
|
+
# `projects/$project/locations/$location/spaces/$space/applications/$application`
|
|
46
|
+
class GetApplicationRequest
|
|
47
|
+
include ::Google::Protobuf::MessageExts
|
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Message for requesting a list of applications.
|
|
52
|
+
# @!attribute [rw] parent
|
|
53
|
+
# @return [::String]
|
|
54
|
+
# Required. The parent resource from which to request a list of applications.
|
|
55
|
+
# @!attribute [rw] page_size
|
|
56
|
+
# @return [::Integer]
|
|
57
|
+
# Optional. The maximum number of results to return from this request.
|
|
58
|
+
# Non-positive
|
|
59
|
+
# values are ignored. The presence of nextPageToken in the response
|
|
60
|
+
# indicates that more results might be available.
|
|
61
|
+
# @!attribute [rw] page_token
|
|
62
|
+
# @return [::String]
|
|
63
|
+
# Optional. If present, then retrieve the next batch of results from the
|
|
64
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
|
65
|
+
# from the previous response. The values of other method parameters should be
|
|
66
|
+
# identical to those in the previous call.
|
|
67
|
+
# @!attribute [rw] filter
|
|
68
|
+
# @return [::String]
|
|
69
|
+
# Optional. A filter that chooses which applications to return.
|
|
70
|
+
# @!attribute [rw] order_by
|
|
71
|
+
# @return [::String]
|
|
72
|
+
# Optional. How the results should be sorted.
|
|
73
|
+
class ListApplicationsRequest
|
|
74
|
+
include ::Google::Protobuf::MessageExts
|
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Message for response to listing applications.
|
|
79
|
+
# @!attribute [rw] applications
|
|
80
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Application>]
|
|
81
|
+
# The list of applications.
|
|
82
|
+
# @!attribute [rw] next_page_token
|
|
83
|
+
# @return [::String]
|
|
84
|
+
# If there might be more results than those appearing in this response, then
|
|
85
|
+
# nextPageToken is included. To get the next set of results, call this method
|
|
86
|
+
# again using the value of nextPageToken as pageToken.
|
|
87
|
+
# @!attribute [rw] unreachable
|
|
88
|
+
# @return [::Array<::String>]
|
|
89
|
+
# Unordered list. Locations that could not be reached.
|
|
90
|
+
class ListApplicationsResponse
|
|
91
|
+
include ::Google::Protobuf::MessageExts
|
|
92
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Message for updating an application.
|
|
96
|
+
# @!attribute [rw] update_mask
|
|
97
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
98
|
+
# Optional. The fields to overwrite in the application update. If you don't
|
|
99
|
+
# provide a mask, all fields are overwritten.
|
|
100
|
+
# @!attribute [rw] application
|
|
101
|
+
# @return [::Google::Cloud::DesignCenter::V1::Application]
|
|
102
|
+
# Required. The application to update.
|
|
103
|
+
class UpdateApplicationRequest
|
|
104
|
+
include ::Google::Protobuf::MessageExts
|
|
105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Message for deleting an application.
|
|
109
|
+
# @!attribute [rw] name
|
|
110
|
+
# @return [::String]
|
|
111
|
+
# Required. The application name.
|
|
112
|
+
# Format:
|
|
113
|
+
# `projects/$project/locations/$location/spaces/$space/applications/$application`
|
|
114
|
+
# @!attribute [rw] force
|
|
115
|
+
# @return [::Boolean]
|
|
116
|
+
# Optional. If set to true, the application's children are also deleted. If
|
|
117
|
+
# false, the application is only deleted if it has no children.
|
|
118
|
+
class DeleteApplicationRequest
|
|
119
|
+
include ::Google::Protobuf::MessageExts
|
|
120
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Message for deploying an application.
|
|
124
|
+
# @!attribute [rw] name
|
|
125
|
+
# @return [::String]
|
|
126
|
+
# Required. The application name.
|
|
127
|
+
# Format:
|
|
128
|
+
# `projects/$project/locations/$location/spaces/$space/applications/$application`
|
|
129
|
+
# @!attribute [rw] replace
|
|
130
|
+
# @return [::Boolean]
|
|
131
|
+
# Optional. Flag to update the existing deployment. If not set or false,
|
|
132
|
+
# deploy will fail if application `state` is in the `DEPLOYED` state.
|
|
133
|
+
# @!attribute [rw] worker_pool
|
|
134
|
+
# @return [::String]
|
|
135
|
+
# Optional. The user-specified Worker Pool resource in which the Cloud Build
|
|
136
|
+
# job will execute. Format:
|
|
137
|
+
# projects/\\{project}/locations/\\{location}/workerPools/\\{workerPoolId} If this
|
|
138
|
+
# flag is omitted, the worker pool already defined on the application will be
|
|
139
|
+
# used. If no worker pool is defined on the application, the default Cloud
|
|
140
|
+
# Build worker pool is used. The worker pool must exist in the same region as
|
|
141
|
+
# the application.
|
|
142
|
+
# @!attribute [rw] service_account
|
|
143
|
+
# @return [::String]
|
|
144
|
+
# Optional. The email address of the service account to use for this
|
|
145
|
+
# deployment.
|
|
146
|
+
#
|
|
147
|
+
# - If provided, this service account will be used to execute the deployment
|
|
148
|
+
# process, taking precedence over any service_account specified on the
|
|
149
|
+
# Application resource.
|
|
150
|
+
# - The caller must have the 'iam.serviceAccounts.actAs' permission on this
|
|
151
|
+
# service account.
|
|
152
|
+
# - If this field is omitted, the system will use the 'service_account'
|
|
153
|
+
# defined within the Application resource.
|
|
154
|
+
# - We recommend that you provide a service account here or on the
|
|
155
|
+
# Application resource. If you don't provide a service account, the
|
|
156
|
+
# deployment will fail.
|
|
157
|
+
# Format: projects/\\{PROJECT}/serviceAccounts/\\{EMAIL_ADDRESS}
|
|
158
|
+
# @!attribute [rw] validate_only
|
|
159
|
+
# @return [::Boolean]
|
|
160
|
+
# Optional. If set to true, the request is validated, but no actual
|
|
161
|
+
# deployment will occur. See https://google.aip.dev/163 for more details.
|
|
162
|
+
class DeployApplicationRequest
|
|
163
|
+
include ::Google::Protobuf::MessageExts
|
|
164
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# Response for DeployApplication.
|
|
168
|
+
# @!attribute [rw] deployment
|
|
169
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment]
|
|
170
|
+
# Infrastructure Manager deployment.
|
|
171
|
+
# @!attribute [rw] build_id
|
|
172
|
+
# @return [::String]
|
|
173
|
+
# Cloud Build deployment id.
|
|
174
|
+
# @!attribute [rw] deployment_group
|
|
175
|
+
# @return [::Google::Cloud::ConfigService::V1::DeploymentGroup]
|
|
176
|
+
# Infrastructure Manager deployment group.
|
|
177
|
+
# Used for composite application deployment response.
|
|
178
|
+
class DeployApplicationResponse
|
|
179
|
+
include ::Google::Protobuf::MessageExts
|
|
180
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Status of the [Resources][]s in the deployment.
|
|
184
|
+
# @!attribute [r] name
|
|
185
|
+
# @return [::String]
|
|
186
|
+
# Output only. Identifier. The name of the resource.
|
|
187
|
+
# @!attribute [r] type
|
|
188
|
+
# @return [::String]
|
|
189
|
+
# Output only. The type of the resource.
|
|
190
|
+
# @!attribute [r] state
|
|
191
|
+
# @return [::Google::Cloud::DesignCenter::V1::Resource::State]
|
|
192
|
+
# Output only. Current state of the resource.
|
|
193
|
+
class Resource
|
|
194
|
+
include ::Google::Protobuf::MessageExts
|
|
195
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
196
|
+
|
|
197
|
+
# Possible states of a resource.
|
|
198
|
+
module State
|
|
199
|
+
# The default value. This value is used if the state is omitted.
|
|
200
|
+
STATE_UNSPECIFIED = 0
|
|
201
|
+
|
|
202
|
+
# Resource has been planned for reconcile.
|
|
203
|
+
PLANNED = 1
|
|
204
|
+
|
|
205
|
+
# Resource is actively reconciling into the intended state.
|
|
206
|
+
IN_PROGRESS = 2
|
|
207
|
+
|
|
208
|
+
# Resource has reconciled to intended state.
|
|
209
|
+
RECONCILED = 3
|
|
210
|
+
|
|
211
|
+
# Resource failed to reconcile.
|
|
212
|
+
FAILED = 4
|
|
213
|
+
|
|
214
|
+
# Drift is detected in the resourece state.
|
|
215
|
+
DRIFTED = 5
|
|
216
|
+
|
|
217
|
+
# Resource is intended state.
|
|
218
|
+
INTENDED = 6
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# Request message for GenerateApplicationIaC method.
|
|
223
|
+
# @!attribute [rw] name
|
|
224
|
+
# @return [::String]
|
|
225
|
+
# Required. The name of the application.
|
|
226
|
+
# @!attribute [rw] iac_format
|
|
227
|
+
# @return [::Google::Cloud::DesignCenter::V1::IACFormat]
|
|
228
|
+
# Optional. The IaC format to generate.
|
|
229
|
+
# @!attribute [rw] gcs_uri
|
|
230
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
231
|
+
# @return [::String]
|
|
232
|
+
# Optional. DEPRECATED: Use the 'artifact_location' field instead.
|
|
233
|
+
# The Cloud Storage URI to write the generated IaC to.
|
|
234
|
+
# @!attribute [rw] artifact_location
|
|
235
|
+
# @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
|
|
236
|
+
# Optional. Specifies the destination for the generated IaC, which can be
|
|
237
|
+
# Cloud Storage or a Developer Connect repository.
|
|
238
|
+
class GenerateApplicationIaCRequest
|
|
239
|
+
include ::Google::Protobuf::MessageExts
|
|
240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# Response message for GenerateApplicationIaC method.
|
|
244
|
+
# @!attribute [rw] gcs_uri
|
|
245
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
246
|
+
# @return [::String]
|
|
247
|
+
# DEPRECATED: Use the 'artifact_location' field instead.
|
|
248
|
+
# The Cloud Storage URI of the generated IaC.
|
|
249
|
+
# @!attribute [rw] artifact_location
|
|
250
|
+
# @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
|
|
251
|
+
# The destination where the generated IaC was written.
|
|
252
|
+
# @!attribute [rw] root_modules_metadata
|
|
253
|
+
# @return [::Google::Cloud::DesignCenter::V1::RootModulesMetadata]
|
|
254
|
+
# Root modules metadata of the application.
|
|
255
|
+
class GenerateApplicationIaCResponse
|
|
256
|
+
include ::Google::Protobuf::MessageExts
|
|
257
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# Request message for ExportApplicationIaC method.
|
|
261
|
+
# @!attribute [rw] name
|
|
262
|
+
# @return [::String]
|
|
263
|
+
# Required. The name of the application.
|
|
264
|
+
# @!attribute [rw] iac_format
|
|
265
|
+
# @return [::Google::Cloud::DesignCenter::V1::IACFormat]
|
|
266
|
+
# Optional. The IaC format to generate.
|
|
267
|
+
# @!attribute [rw] artifact_location
|
|
268
|
+
# @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
|
|
269
|
+
# Optional. Specifies the destination for the generated IaC, which can be
|
|
270
|
+
# Cloud Storage or a Developer Connect repository.
|
|
271
|
+
# @!attribute [rw] export_iac_config
|
|
272
|
+
# @return [::Google::Cloud::DesignCenter::V1::ExportIaCConfig]
|
|
273
|
+
# Optional. Configuration for exporting IaC.
|
|
274
|
+
class ExportApplicationIaCRequest
|
|
275
|
+
include ::Google::Protobuf::MessageExts
|
|
276
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# Response message for ExportApplicationIaC method.
|
|
280
|
+
# @!attribute [rw] artifact_location
|
|
281
|
+
# @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
|
|
282
|
+
# The destination where the generated IaC was written.
|
|
283
|
+
# @!attribute [rw] root_modules_metadata
|
|
284
|
+
# @return [::Google::Cloud::DesignCenter::V1::RootModulesMetadata]
|
|
285
|
+
# Root modules metadata of the application.
|
|
286
|
+
class ExportApplicationIaCResponse
|
|
287
|
+
include ::Google::Protobuf::MessageExts
|
|
288
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# Request message for ImportApplicationIaC method.
|
|
292
|
+
# @!attribute [rw] gcs_uri
|
|
293
|
+
# @return [::String]
|
|
294
|
+
# Optional. The Cloud Storage URI of the terraform code.
|
|
295
|
+
#
|
|
296
|
+
# Note: The following fields are mutually exclusive: `gcs_uri`, `iac_module`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
297
|
+
# @!attribute [rw] iac_module
|
|
298
|
+
# @return [::Google::Cloud::DesignCenter::V1::IaCModule]
|
|
299
|
+
# Optional. The IaC module to import.
|
|
300
|
+
#
|
|
301
|
+
# Note: The following fields are mutually exclusive: `iac_module`, `gcs_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
302
|
+
# @!attribute [rw] name
|
|
303
|
+
# @return [::String]
|
|
304
|
+
# Required. The name of the application.
|
|
305
|
+
# @!attribute [rw] allow_partial_import
|
|
306
|
+
# @return [::Boolean]
|
|
307
|
+
# Optional. If set to true, partially imports the valid edits in the IaC and
|
|
308
|
+
# ignores the invalid changes. Defaults to false, which means any edits which
|
|
309
|
+
# can't be imported must result in an error.
|
|
310
|
+
# @!attribute [rw] validate_iac
|
|
311
|
+
# @return [::Boolean]
|
|
312
|
+
# Optional. If set to true, the IaC is validated against the golden terraform
|
|
313
|
+
# without importing. Defaults to false.
|
|
314
|
+
class ImportApplicationIaCRequest
|
|
315
|
+
include ::Google::Protobuf::MessageExts
|
|
316
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# Response message for ImportApplicationIaC method.
|
|
320
|
+
# @!attribute [rw] application
|
|
321
|
+
# @return [::Google::Cloud::DesignCenter::V1::Application]
|
|
322
|
+
# Application template corresponding to the imported IaC.
|
|
323
|
+
# @!attribute [rw] errors
|
|
324
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ImportIaCError>]
|
|
325
|
+
# Errors encountered during import.
|
|
326
|
+
# @!attribute [rw] state
|
|
327
|
+
# @return [::Google::Cloud::DesignCenter::V1::ImportApplicationIaCResponse::State]
|
|
328
|
+
# The state of the import.
|
|
329
|
+
class ImportApplicationIaCResponse
|
|
330
|
+
include ::Google::Protobuf::MessageExts
|
|
331
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
332
|
+
|
|
333
|
+
# State of Import.
|
|
334
|
+
module State
|
|
335
|
+
# Default.
|
|
336
|
+
STATE_UNSPECIFIED = 0
|
|
337
|
+
|
|
338
|
+
# The import was successful.
|
|
339
|
+
SUCCEEDED = 1
|
|
340
|
+
|
|
341
|
+
# The import failed.
|
|
342
|
+
FAILED = 2
|
|
343
|
+
end
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
# Message for previewing an application.
|
|
347
|
+
# @!attribute [rw] name
|
|
348
|
+
# @return [::String]
|
|
349
|
+
# Required. The application name in the following format:
|
|
350
|
+
# `projects/$project/locations/$location/spaces/$space/applications/$application`
|
|
351
|
+
# @!attribute [rw] worker_pool
|
|
352
|
+
# @return [::String]
|
|
353
|
+
# Optional. The user-specified Worker Pool resource in which the Cloud Build
|
|
354
|
+
# job will execute. Format:
|
|
355
|
+
# projects/\\{project}/locations/\\{location}/workerPools/\\{workerPoolId} If this
|
|
356
|
+
# flag is omitted, the worker pool already defined on the application will be
|
|
357
|
+
# used. If no worker pool is defined on the application, the default Cloud
|
|
358
|
+
# Build worker pool is used. The worker pool must exist in the same region as
|
|
359
|
+
# the application.
|
|
360
|
+
# @!attribute [rw] service_account
|
|
361
|
+
# @return [::String]
|
|
362
|
+
# Optional. The email address of the service account to use for this preview
|
|
363
|
+
# operation.
|
|
364
|
+
#
|
|
365
|
+
# - If provided, this service account will be used to execute the preview
|
|
366
|
+
# process, taking precedence over any service_account specified on the
|
|
367
|
+
# Application resource.
|
|
368
|
+
# - The caller must have the 'iam.serviceAccounts.actAs' permission on this
|
|
369
|
+
# service account.
|
|
370
|
+
# - If this field is omitted, the system will use the 'service_account'
|
|
371
|
+
# defined within the Application resource.
|
|
372
|
+
# - We recommend that you provide a service account here or on the
|
|
373
|
+
# Application resource. If you don't provide a service account, the preview
|
|
374
|
+
# will fail.
|
|
375
|
+
# Format: projects/\\{PROJECT}/serviceAccounts/\\{EMAIL_ADDRESS}
|
|
376
|
+
class PreviewApplicationRequest
|
|
377
|
+
include ::Google::Protobuf::MessageExts
|
|
378
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
# Response for PreviewApplication.
|
|
382
|
+
# @!attribute [rw] preview
|
|
383
|
+
# @return [::Google::Cloud::ConfigService::V1::Preview]
|
|
384
|
+
# Infrastructure Manager preview.
|
|
385
|
+
# @!attribute [rw] assessment_report
|
|
386
|
+
# @return [::Google::Cloud::DesignCenter::V1::AssessmentReport]
|
|
387
|
+
# Best practices by Design Assessment report
|
|
388
|
+
class PreviewApplicationResponse
|
|
389
|
+
include ::Google::Protobuf::MessageExts
|
|
390
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# Request message for `RecommendIAMRoles`.
|
|
394
|
+
# @!attribute [rw] name
|
|
395
|
+
# @return [::String]
|
|
396
|
+
# Required. The name of the application resource for which to recommend IAM
|
|
397
|
+
# roles. Format:
|
|
398
|
+
# projects/$project/locations/$location/spaces/$space/applications/$application
|
|
399
|
+
class RecommendIAMRolesRequest
|
|
400
|
+
include ::Google::Protobuf::MessageExts
|
|
401
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
# Response message for `RecommendIAMRoles`.
|
|
405
|
+
# @!attribute [rw] project_configurations
|
|
406
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::RolesAndApisConfig>]
|
|
407
|
+
# A list of project configurations containing recommended IAM roles and
|
|
408
|
+
# required APIs for each target Google Cloud project in the application
|
|
409
|
+
# infrastructure.
|
|
410
|
+
class RecommendIAMRolesResponse
|
|
411
|
+
include ::Google::Protobuf::MessageExts
|
|
412
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
# Request message for ConfigureAndDeployTemplate.
|
|
416
|
+
# @!attribute [rw] parent
|
|
417
|
+
# @return [::String]
|
|
418
|
+
# Required. The parent resource where the template will be deployed.
|
|
419
|
+
# Format: `projects/{project}/locations/{location}`
|
|
420
|
+
# @!attribute [rw] template_uri
|
|
421
|
+
# @return [::String]
|
|
422
|
+
# Required. The URI or identifier of the template to configure and deploy.
|
|
423
|
+
# @!attribute [rw] space_id
|
|
424
|
+
# @return [::String]
|
|
425
|
+
# Required. The space ID where the template and application will be created.
|
|
426
|
+
# @!attribute [rw] template_parameters
|
|
427
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
428
|
+
# Optional. Template configuration parameters (key-value pairs).
|
|
429
|
+
# @!attribute [rw] service_account
|
|
430
|
+
# @return [::String]
|
|
431
|
+
# Optional. The resource name of the service account to use for this
|
|
432
|
+
# deployment.
|
|
433
|
+
#
|
|
434
|
+
# - If provided, this service account will be used to execute the deployment
|
|
435
|
+
# process.
|
|
436
|
+
# - The caller must have the `iam.serviceAccounts.actAs` permission on this
|
|
437
|
+
# service account.
|
|
438
|
+
# - If this field is omitted, a default system service account will be used.
|
|
439
|
+
# Format: projects/\\{PROJECT}/serviceAccounts/\\{EMAIL_ADDRESS}
|
|
440
|
+
class ConfigureAndDeployTemplateRequest
|
|
441
|
+
include ::Google::Protobuf::MessageExts
|
|
442
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
# Response message for ConfigureAndDeployTemplate.
|
|
446
|
+
# Populated inside Operation.response upon LRO completion.
|
|
447
|
+
# @!attribute [rw] application_uri
|
|
448
|
+
# @return [::String]
|
|
449
|
+
# The URI of the deployed application.
|
|
450
|
+
# @!attribute [rw] application_template_uri
|
|
451
|
+
# @return [::String]
|
|
452
|
+
# The URI of the application template.
|
|
453
|
+
# @!attribute [rw] deployment_metadata
|
|
454
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentMetadata]
|
|
455
|
+
# The deployment metadata of the deployed application.
|
|
456
|
+
# @!attribute [rw] deployment_state
|
|
457
|
+
# @return [::Google::Cloud::DesignCenter::V1::Application::State]
|
|
458
|
+
# The deployment state of the deployed application.
|
|
459
|
+
class ConfigureAndDeployTemplateResponse
|
|
460
|
+
include ::Google::Protobuf::MessageExts
|
|
461
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
462
|
+
end
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
end
|
|
466
|
+
end
|
|
@@ -0,0 +1,182 @@
|
|
|
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 DesignCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Represents the application resource.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The name of the application.
|
|
28
|
+
# Format:
|
|
29
|
+
# projects/\\{project}/locations/\\{location}/spaces/\\{space}/applications/\\{application}
|
|
30
|
+
# @!attribute [r] create_time
|
|
31
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
32
|
+
# Output only. Create timestamp.
|
|
33
|
+
# @!attribute [r] update_time
|
|
34
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
35
|
+
# Output only. Update timestamp.
|
|
36
|
+
# @!attribute [rw] source
|
|
37
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentSource]
|
|
38
|
+
# Required. The application deployment source.
|
|
39
|
+
# @!attribute [rw] app_parameters
|
|
40
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
41
|
+
# Optional. A list of parameters to attach to the deployment source object,
|
|
42
|
+
# which is a catalog entry or application template snapshot.
|
|
43
|
+
# @!attribute [rw] component_parameters
|
|
44
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ComponentParameters>]
|
|
45
|
+
# Optional. A list of component parameters to associate with the application.
|
|
46
|
+
# @!attribute [rw] service_account
|
|
47
|
+
# @return [::String]
|
|
48
|
+
# Optional. Your own service account that you use to deploy an application.
|
|
49
|
+
# @!attribute [rw] display_name
|
|
50
|
+
# @return [::String]
|
|
51
|
+
# Optional. Display name of the application.
|
|
52
|
+
# @!attribute [rw] description
|
|
53
|
+
# @return [::String]
|
|
54
|
+
# Optional. Description of the application.
|
|
55
|
+
# @!attribute [rw] attributes
|
|
56
|
+
# @return [::Google::Cloud::AppHub::V1::Attributes]
|
|
57
|
+
# Optional. Attributes of the application.
|
|
58
|
+
# @!attribute [rw] scope
|
|
59
|
+
# @return [::Google::Cloud::AppHub::V1::Scope]
|
|
60
|
+
# Required. Scope of the application.
|
|
61
|
+
# @!attribute [rw] import_existing_resources
|
|
62
|
+
# @return [::Boolean]
|
|
63
|
+
# Optional. Import existing resources into the application.
|
|
64
|
+
# @!attribute [r] preview_reference
|
|
65
|
+
# @return [::String]
|
|
66
|
+
# Output only. Preview reference for the application.
|
|
67
|
+
# @!attribute [r] deployment_revision
|
|
68
|
+
# @return [::String]
|
|
69
|
+
# Output only. [Output only] Optional Infra Manager deployment Id with
|
|
70
|
+
# revision
|
|
71
|
+
# @!attribute [r] apphub_application
|
|
72
|
+
# @return [::String]
|
|
73
|
+
# Output only. The App Hub App associated with the application.
|
|
74
|
+
# @!attribute [r] serialized_application_template
|
|
75
|
+
# @return [::Google::Cloud::DesignCenter::V1::SerializedApplicationTemplate]
|
|
76
|
+
# Output only. [Output only] Serialized application template.
|
|
77
|
+
# @!attribute [r] state
|
|
78
|
+
# @return [::Google::Cloud::DesignCenter::V1::Application::State]
|
|
79
|
+
# Output only. Deployment state of the application.
|
|
80
|
+
# @!attribute [r] deployment_metadata
|
|
81
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentMetadata]
|
|
82
|
+
# Output only. Deployment metadata of the application.
|
|
83
|
+
# @!attribute [r] project_parameters
|
|
84
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ProjectParameters>]
|
|
85
|
+
# Output only. List of project parameters for the application.
|
|
86
|
+
# @!attribute [rw] deployment_region
|
|
87
|
+
# @return [::String]
|
|
88
|
+
# Optional. The region where the application is deployed.
|
|
89
|
+
# @!attribute [r] updated_template_revision
|
|
90
|
+
# @return [::Google::Cloud::DesignCenter::V1::UpdatedTemplateRevision]
|
|
91
|
+
# Output only. The updated template revision because of which the application
|
|
92
|
+
# is outdated.
|
|
93
|
+
# @!attribute [rw] deployment_project
|
|
94
|
+
# @return [::String]
|
|
95
|
+
# Optional. Deployment project of the application.
|
|
96
|
+
# @!attribute [rw] connection_configs
|
|
97
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ConnectionConfig>]
|
|
98
|
+
# Optional. Connection configuration for the application.
|
|
99
|
+
# @!attribute [r] artifact_location
|
|
100
|
+
# @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
|
|
101
|
+
# Output only. Details of the location where the IaC for this application was
|
|
102
|
+
# last successfully exported.
|
|
103
|
+
# @!attribute [rw] type
|
|
104
|
+
# @return [::Google::Cloud::DesignCenter::V1::ApplicationType]
|
|
105
|
+
# Optional. The type of the application.
|
|
106
|
+
# @!attribute [rw] deployment_target
|
|
107
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentTarget]
|
|
108
|
+
# Optional. The deployment target of the application.
|
|
109
|
+
# @!attribute [r] composition_type
|
|
110
|
+
# @return [::Google::Cloud::DesignCenter::V1::ApplicationCompositionType]
|
|
111
|
+
# Output only. The composition type of the application: STANDARD OR
|
|
112
|
+
# COMPOSITE.
|
|
113
|
+
# @!attribute [rw] composite_application_parameters
|
|
114
|
+
# @return [::Google::Cloud::DesignCenter::V1::CompositeApplicationParameters]
|
|
115
|
+
# Optional. Parameters that are required for composite applications.
|
|
116
|
+
# @!attribute [r] deployment_group_metadata
|
|
117
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentGroupMetadata]
|
|
118
|
+
# Output only. The deployment group metadata of the application. This is
|
|
119
|
+
# applicable only for composite applications.
|
|
120
|
+
# @!attribute [rw] params_update_strategy
|
|
121
|
+
# @return [::Google::Cloud::DesignCenter::V1::Application::UpdateStrategy]
|
|
122
|
+
# Optional. Specifies the strategy to use when updating the application
|
|
123
|
+
# parameters while updating the application template revision.
|
|
124
|
+
# @!attribute [rw] roles_apis_config
|
|
125
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::RolesAndApisConfig>]
|
|
126
|
+
# Optional. Project-specific configurations required for application
|
|
127
|
+
# deployment, including IAM roles and APIs. The list can contain up to 100
|
|
128
|
+
# items.
|
|
129
|
+
# @!attribute [r] template_metadata
|
|
130
|
+
# @return [::Google::Cloud::DesignCenter::V1::TFBlueprintMetadata]
|
|
131
|
+
# Output only. The input output variables parsed from the imported terraform
|
|
132
|
+
# code.
|
|
133
|
+
# @!attribute [r] iac_source
|
|
134
|
+
# @return [::Google::Cloud::DesignCenter::V1::IACSource]
|
|
135
|
+
# Output only. Indicates the IaC source format of this application.
|
|
136
|
+
class Application
|
|
137
|
+
include ::Google::Protobuf::MessageExts
|
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
139
|
+
|
|
140
|
+
# Possible values for the application deployment state.
|
|
141
|
+
module State
|
|
142
|
+
# Unspecified application deployment state.
|
|
143
|
+
STATE_UNSPECIFIED = 0
|
|
144
|
+
|
|
145
|
+
# Application is in draft.
|
|
146
|
+
DRAFT = 1
|
|
147
|
+
|
|
148
|
+
# New application deployment is in progress.
|
|
149
|
+
CREATING_DEPLOYMENT = 2
|
|
150
|
+
|
|
151
|
+
# Update application deployment is in progress.
|
|
152
|
+
UPDATING_DEPLOYMENT = 3
|
|
153
|
+
|
|
154
|
+
# Delete application deployment is in progress.
|
|
155
|
+
DELETING = 4
|
|
156
|
+
|
|
157
|
+
# Application deployment is completed.
|
|
158
|
+
DEPLOYED = 5
|
|
159
|
+
|
|
160
|
+
# Application deployment is deleted.
|
|
161
|
+
DELETED = 6
|
|
162
|
+
|
|
163
|
+
# Application deployment is failed.
|
|
164
|
+
FAILED = 7
|
|
165
|
+
|
|
166
|
+
# Application deployment is in progress.
|
|
167
|
+
DEPLOYING = 8
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
# Specifies the strategy to use when updating an application.
|
|
171
|
+
module UpdateStrategy
|
|
172
|
+
# Retains the existing value for the field.
|
|
173
|
+
UPDATE_STRATEGY_UNSPECIFIED = 0
|
|
174
|
+
|
|
175
|
+
# Replaces the existing field values with the provided ones.
|
|
176
|
+
REPLACE = 2
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
end
|