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,245 @@
|
|
|
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 metadata of the long-running operation.
|
|
25
|
+
# @!attribute [r] deployment_metadata
|
|
26
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentOperationMetadata]
|
|
27
|
+
# Output only. The application deployment metadata this operation is
|
|
28
|
+
# associated with.
|
|
29
|
+
#
|
|
30
|
+
# Note: The following fields are mutually exclusive: `deployment_metadata`, `preview_metadata`, `application_metadata`, `deployment_group_metadata`, `generate_assessment_report_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
31
|
+
# @!attribute [r] preview_metadata
|
|
32
|
+
# @return [::Google::Cloud::DesignCenter::V1::PreviewOperationMetadata]
|
|
33
|
+
# Output only. The application preview metadata this operation is
|
|
34
|
+
# associated with.
|
|
35
|
+
#
|
|
36
|
+
# Note: The following fields are mutually exclusive: `preview_metadata`, `deployment_metadata`, `application_metadata`, `deployment_group_metadata`, `generate_assessment_report_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
37
|
+
# @!attribute [r] application_metadata
|
|
38
|
+
# @return [::Google::Cloud::DesignCenter::V1::ApplicationOperationMetadata]
|
|
39
|
+
# Output only. The application delete metadata this operation is associated
|
|
40
|
+
# with.
|
|
41
|
+
#
|
|
42
|
+
# Note: The following fields are mutually exclusive: `application_metadata`, `deployment_metadata`, `preview_metadata`, `deployment_group_metadata`, `generate_assessment_report_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
43
|
+
# @!attribute [r] deployment_group_metadata
|
|
44
|
+
# @return [::Google::Cloud::DesignCenter::V1::ProvisionDeploymentGroupOperationMetadata]
|
|
45
|
+
# Output only. The Provision Deployment Group Metadata this operation is
|
|
46
|
+
# associated with.
|
|
47
|
+
#
|
|
48
|
+
# Note: The following fields are mutually exclusive: `deployment_group_metadata`, `deployment_metadata`, `preview_metadata`, `application_metadata`, `generate_assessment_report_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
49
|
+
# @!attribute [r] generate_assessment_report_metadata
|
|
50
|
+
# @return [::Google::Cloud::DesignCenter::V1::GenerateAssessmentReportOperationMetadata]
|
|
51
|
+
# Output only. The Generate Assessment Report Metadata this operation is
|
|
52
|
+
# associated with.
|
|
53
|
+
#
|
|
54
|
+
# Note: The following fields are mutually exclusive: `generate_assessment_report_metadata`, `deployment_metadata`, `preview_metadata`, `application_metadata`, `deployment_group_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
55
|
+
# @!attribute [r] create_time
|
|
56
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
57
|
+
# Output only. The time the operation was created.
|
|
58
|
+
# @!attribute [r] end_time
|
|
59
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
60
|
+
# Output only. The time the operation finished running.
|
|
61
|
+
# @!attribute [r] target
|
|
62
|
+
# @return [::String]
|
|
63
|
+
# Output only. The server defined resource path for the target of the
|
|
64
|
+
# operation.
|
|
65
|
+
# @!attribute [r] verb
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# Output only. Name of the verb executed by the operation.
|
|
68
|
+
# @!attribute [r] status_message
|
|
69
|
+
# @return [::String]
|
|
70
|
+
# Output only. Human readable status of the operation, if any.
|
|
71
|
+
# @!attribute [r] requested_cancellation
|
|
72
|
+
# @return [::Boolean]
|
|
73
|
+
# Output only. Identifies whether the user has requested cancellation
|
|
74
|
+
# of the operation. Operations that have been cancelled successfully
|
|
75
|
+
# have [Operation.error][] value with a
|
|
76
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
|
77
|
+
# `Code.CANCELLED`.
|
|
78
|
+
# @!attribute [r] api_version
|
|
79
|
+
# @return [::String]
|
|
80
|
+
# Output only. API version used to start the operation.
|
|
81
|
+
class OperationMetadata
|
|
82
|
+
include ::Google::Protobuf::MessageExts
|
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Ephemeral metadata depicting the state of the preview operation.
|
|
87
|
+
# @!attribute [r] preview_step
|
|
88
|
+
# @return [::String]
|
|
89
|
+
# Output only. The current step of the preview.
|
|
90
|
+
# The possible steps a preview may be running as returned by the
|
|
91
|
+
# Infrastructure. Manager.
|
|
92
|
+
# @!attribute [r] preview_build
|
|
93
|
+
# @return [::String]
|
|
94
|
+
# Output only. Cloud Build instance UUID associated with the preview
|
|
95
|
+
# operation.
|
|
96
|
+
# @!attribute [r] preview_logs
|
|
97
|
+
# @return [::String]
|
|
98
|
+
# Output only. Location of the preview operation logs in
|
|
99
|
+
# `gs://{bucket}/{object}` format.
|
|
100
|
+
# @!attribute [rw] resources
|
|
101
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Resource>]
|
|
102
|
+
# Details of the [Resources][]s in the deployment.
|
|
103
|
+
class PreviewOperationMetadata
|
|
104
|
+
include ::Google::Protobuf::MessageExts
|
|
105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Ephemeral metadata depicting the state of assessment report generation.
|
|
109
|
+
# @!attribute [r] step
|
|
110
|
+
# @return [::Google::Cloud::DesignCenter::V1::GenerateAssessmentReportOperationMetadata::AssessmentStep]
|
|
111
|
+
# Output only. The current step of the generate assessment report operation.
|
|
112
|
+
class GenerateAssessmentReportOperationMetadata
|
|
113
|
+
include ::Google::Protobuf::MessageExts
|
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
115
|
+
|
|
116
|
+
# Steps in generating an assessment report.
|
|
117
|
+
module AssessmentStep
|
|
118
|
+
# Unspecified step.
|
|
119
|
+
ASSESSMENT_STEP_UNSPECIFIED = 0
|
|
120
|
+
|
|
121
|
+
# Generating Terraform fast plan.
|
|
122
|
+
FAST_PLAN = 1
|
|
123
|
+
|
|
124
|
+
# Generating BPBD assessment report.
|
|
125
|
+
ASSESSMENT_REPORT = 2
|
|
126
|
+
|
|
127
|
+
# Succeeded.
|
|
128
|
+
SUCCEEDED = 3
|
|
129
|
+
|
|
130
|
+
# Failed.
|
|
131
|
+
FAILED = 4
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Ephemeral metadata depicting the state of the delete operation.
|
|
136
|
+
# @!attribute [r] step
|
|
137
|
+
# @return [::String]
|
|
138
|
+
# Output only. The current step of the delete operation. Associated with
|
|
139
|
+
# Infrastructure Manager and App Hub.
|
|
140
|
+
# @!attribute [r] build
|
|
141
|
+
# @return [::String]
|
|
142
|
+
# Output only. Cloud Build instance UUID associated with the delete
|
|
143
|
+
# operation.
|
|
144
|
+
class ApplicationOperationMetadata
|
|
145
|
+
include ::Google::Protobuf::MessageExts
|
|
146
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Represents the Provision Deployment Group operation metadata.
|
|
150
|
+
# @!attribute [r] deployment_step
|
|
151
|
+
# @return [::Google::Cloud::DesignCenter::V1::ProvisionDeploymentGroupOperationMetadata::DeploymentStep]
|
|
152
|
+
# Output only. Current step of deploying composite application
|
|
153
|
+
# @!attribute [r] deployment_unit_progress
|
|
154
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::DeploymentUnitProgress>]
|
|
155
|
+
# Output only. List of deployment unit deployment progress
|
|
156
|
+
class ProvisionDeploymentGroupOperationMetadata
|
|
157
|
+
include ::Google::Protobuf::MessageExts
|
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
159
|
+
|
|
160
|
+
# Current Deployment Operation Step
|
|
161
|
+
module DeploymentStep
|
|
162
|
+
# Unspecified deployment step.
|
|
163
|
+
DEPLOYMENT_STEP_UNSPECIFIED = 0
|
|
164
|
+
|
|
165
|
+
# Generating Terraform content for the application.
|
|
166
|
+
GENERATING_TERRAFORM_CONTENT = 1
|
|
167
|
+
|
|
168
|
+
# Deploying the application.
|
|
169
|
+
DEPLOYING = 2
|
|
170
|
+
|
|
171
|
+
# Operation was successful.
|
|
172
|
+
SUCCEEDED = 3
|
|
173
|
+
|
|
174
|
+
# Operation failed.
|
|
175
|
+
FAILED = 4
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Single deployment unit progress info
|
|
180
|
+
# @!attribute [r] unit_id
|
|
181
|
+
# @return [::String]
|
|
182
|
+
# Output only. Deployment unit ID
|
|
183
|
+
# @!attribute [r] deployment
|
|
184
|
+
# @return [::String]
|
|
185
|
+
# Output only. Deployment resource of deploying unit ID
|
|
186
|
+
# @!attribute [r] deployment_unit_step
|
|
187
|
+
# @return [::String]
|
|
188
|
+
# Output only. Current deployment unit step
|
|
189
|
+
# @!attribute [r] deployment_build
|
|
190
|
+
# @return [::String]
|
|
191
|
+
# Output only. Deployment build uuid
|
|
192
|
+
# @!attribute [r] deployment_step
|
|
193
|
+
# @return [::String]
|
|
194
|
+
# Output only. Current deployment step
|
|
195
|
+
class DeploymentUnitProgress
|
|
196
|
+
include ::Google::Protobuf::MessageExts
|
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Ephemeral metadata depicting the state of the deployment operation.
|
|
201
|
+
# @!attribute [r] deployment
|
|
202
|
+
# @return [::String]
|
|
203
|
+
# Output only. The name of the deployment associated with the application.
|
|
204
|
+
# @!attribute [r] deployment_step
|
|
205
|
+
# @return [::String]
|
|
206
|
+
# Output only. The current step of the deployment.
|
|
207
|
+
# This will mimic the DeploymentStep enum in the deployment proto.
|
|
208
|
+
# @!attribute [r] deployment_build
|
|
209
|
+
# @return [::String]
|
|
210
|
+
# Output only. Cloud Build instance UUID associated with this deployment.
|
|
211
|
+
# @!attribute [r] deployment_logs
|
|
212
|
+
# @return [::String]
|
|
213
|
+
# Output only. Location of the deployment operation logs in
|
|
214
|
+
# `gs://{bucket}/{object}` format.
|
|
215
|
+
# @!attribute [rw] resources
|
|
216
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Resource>]
|
|
217
|
+
# Details of the [Resources][]s in the deployment.
|
|
218
|
+
# @!attribute [rw] previous_attempt
|
|
219
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentAttemptMetadata]
|
|
220
|
+
# Previous deployment attempt metadata.
|
|
221
|
+
class DeploymentOperationMetadata
|
|
222
|
+
include ::Google::Protobuf::MessageExts
|
|
223
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# DeploymentAttemptMetadata represents a previous deployment attempt for an
|
|
227
|
+
# operation that failed due to a retryable error.
|
|
228
|
+
# @!attribute [rw] attempt
|
|
229
|
+
# @return [::Integer]
|
|
230
|
+
# The sequential number of the attempt (starting from 1).
|
|
231
|
+
# @!attribute [rw] error_detail
|
|
232
|
+
# @return [::String]
|
|
233
|
+
# Human readable string that summarizes the deployment error issue.
|
|
234
|
+
# @!attribute [rw] build
|
|
235
|
+
# @return [::String]
|
|
236
|
+
# The build or execution ID associated with this specific attempt.
|
|
237
|
+
# This can be used to link back to logs or trace information.
|
|
238
|
+
class DeploymentAttemptMetadata
|
|
239
|
+
include ::Google::Protobuf::MessageExts
|
|
240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
end
|
|
@@ -0,0 +1,223 @@
|
|
|
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 type of operation to perform on an application.
|
|
25
|
+
module ApplicationOperation
|
|
26
|
+
# The default value. This value is unused.
|
|
27
|
+
APPLICATION_OPERATION_UNSPECIFIED = 0
|
|
28
|
+
|
|
29
|
+
# Creates a new application.
|
|
30
|
+
APPLICATION_OPERATION_CREATE = 1
|
|
31
|
+
|
|
32
|
+
# Updates an existing application.
|
|
33
|
+
APPLICATION_OPERATION_UPDATE = 2
|
|
34
|
+
|
|
35
|
+
# Previews a deployment of an application.
|
|
36
|
+
APPLICATION_OPERATION_PREVIEW = 3
|
|
37
|
+
|
|
38
|
+
# Deploys an application.
|
|
39
|
+
APPLICATION_OPERATION_DEPLOY = 4
|
|
40
|
+
|
|
41
|
+
# Gets an application.
|
|
42
|
+
APPLICATION_OPERATION_GET = 5
|
|
43
|
+
|
|
44
|
+
# Generates IaC for an application.
|
|
45
|
+
APPLICATION_OPERATION_GENERATE_IAC = 6
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Represents the type of operation to perform on an application template.
|
|
49
|
+
module ApplicationTemplateOperation
|
|
50
|
+
# The default value. This value is unused.
|
|
51
|
+
APPLICATION_TEMPLATE_OPERATION_UNSPECIFIED = 0
|
|
52
|
+
|
|
53
|
+
# Creates a new application template.
|
|
54
|
+
APPLICATION_TEMPLATE_OPERATION_CREATE = 1
|
|
55
|
+
|
|
56
|
+
# Updates an existing application template.
|
|
57
|
+
APPLICATION_TEMPLATE_OPERATION_UPDATE = 2
|
|
58
|
+
|
|
59
|
+
# Commits an application template to create a new revision.
|
|
60
|
+
APPLICATION_TEMPLATE_OPERATION_COMMIT = 3
|
|
61
|
+
|
|
62
|
+
# Generates IaC for an application template.
|
|
63
|
+
APPLICATION_TEMPLATE_OPERATION_GENERATE_IAC = 4
|
|
64
|
+
|
|
65
|
+
# Gets an application template.
|
|
66
|
+
APPLICATION_TEMPLATE_OPERATION_GET = 5
|
|
67
|
+
|
|
68
|
+
# Imports an application template from IaC.
|
|
69
|
+
APPLICATION_TEMPLATE_OPERATION_IMPORT_IAC = 6
|
|
70
|
+
|
|
71
|
+
# Updates component parameters from IaC.
|
|
72
|
+
APPLICATION_TEMPLATE_OPERATION_UPDATE_COMPONENT_PARAMETERS = 7
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Supported categories in Application Design Center.
|
|
76
|
+
module TemplateCategory
|
|
77
|
+
# Unspecified category.
|
|
78
|
+
TEMPLATE_CATEGORY_UNSPECIFIED = 0
|
|
79
|
+
|
|
80
|
+
# Component template.
|
|
81
|
+
COMPONENT_TEMPLATE = 1
|
|
82
|
+
|
|
83
|
+
# Application template.
|
|
84
|
+
APPLICATION_TEMPLATE = 2
|
|
85
|
+
|
|
86
|
+
# Imported as a single, complex unit without disassembling into components.
|
|
87
|
+
COMPOSITE_SOLUTION_TEMPLATE = 3
|
|
88
|
+
|
|
89
|
+
# Instance template.
|
|
90
|
+
INSTANCE_TEMPLATE = 4
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# The composition type of the applicationTemplate or application: STANDARD OR
|
|
94
|
+
# COMPOSITE.
|
|
95
|
+
module ApplicationCompositionType
|
|
96
|
+
# ApplicationCompositionType is UNSPECIFIED.
|
|
97
|
+
APPLICATION_COMPOSITION_TYPE_UNSPECIFIED = 0
|
|
98
|
+
|
|
99
|
+
# ApplicationCompositionType is STANDARD. The applicationTemplate or
|
|
100
|
+
# application is composed of components only of type service/workload/asset
|
|
101
|
+
# and has a single root module in terraform code.
|
|
102
|
+
STANDARD = 1
|
|
103
|
+
|
|
104
|
+
# ApplicationCompositionType is COMPOSITE. The template is composed of
|
|
105
|
+
# STANDARD applicationTemplate(s) and might be having multiple root modules
|
|
106
|
+
# in terraform code.
|
|
107
|
+
COMPOSITE = 2
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Assembly template types.
|
|
111
|
+
module TemplateType
|
|
112
|
+
# Default.
|
|
113
|
+
TEMPLATE_TYPE_UNSPECIFIED = 0
|
|
114
|
+
|
|
115
|
+
# A service template is an App Hub service.
|
|
116
|
+
SERVICE = 1
|
|
117
|
+
|
|
118
|
+
# A workload template is an App Hub workload.
|
|
119
|
+
WORKLOAD = 2
|
|
120
|
+
|
|
121
|
+
# An asset template can be used to provision resources that are not services
|
|
122
|
+
# or workloads.
|
|
123
|
+
ASSET = 3
|
|
124
|
+
|
|
125
|
+
# An application template is a composition of workload/service/asset
|
|
126
|
+
# templates.
|
|
127
|
+
APPLICATION = 4
|
|
128
|
+
|
|
129
|
+
# A Jumpstart Solution template.
|
|
130
|
+
JSS_SOLUTION = 5
|
|
131
|
+
|
|
132
|
+
# A service data source template.
|
|
133
|
+
SERVICE_DATA_SOURCE = 6
|
|
134
|
+
|
|
135
|
+
# A helm chart based template.
|
|
136
|
+
HELM_APPLICATION = 7
|
|
137
|
+
|
|
138
|
+
# A standard application template.
|
|
139
|
+
STANDARD_APPLICATION_TEMPLATE = 8
|
|
140
|
+
|
|
141
|
+
# A composite application template.
|
|
142
|
+
COMPOSITE_APPLICATION_TEMPLATE = 9
|
|
143
|
+
|
|
144
|
+
# A helm chart based template.
|
|
145
|
+
HELM_CHART = 10
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Alternate default value type.
|
|
149
|
+
# Allows you to define an alternative value for predefined use cases, such as
|
|
150
|
+
# security. If specified, this value can be used instead of the default value
|
|
151
|
+
# in BlueprintVariable.
|
|
152
|
+
module DisplayVariableAlternateType
|
|
153
|
+
# Default
|
|
154
|
+
DISPLAY_VARIABLE_ALTERNATE_TYPE_UNSPECIFIED = 0
|
|
155
|
+
|
|
156
|
+
# A more secure default.
|
|
157
|
+
DISPLAY_VARIABLE_ALTERNATE_TYPE_SECURITY = 1
|
|
158
|
+
|
|
159
|
+
# A default specifically needed for Application Design center.
|
|
160
|
+
DISPLAY_VARIABLE_ALTERNATE_TYPE_DC = 2
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Visibility defines how the output is exposed.
|
|
164
|
+
module DisplayVariableVisibility
|
|
165
|
+
# Default
|
|
166
|
+
DISPLAY_VARIABLE_VISIBILITY_UNSPECIFIED = 0
|
|
167
|
+
|
|
168
|
+
# Expose output as root module output.
|
|
169
|
+
DISPLAY_VARIABLE_VISIBILITY_ROOT = 1
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# The IaC format to generate.
|
|
173
|
+
module IACFormat
|
|
174
|
+
# IaC format is unspecified.
|
|
175
|
+
IAC_FORMAT_UNSPECIFIED = 0
|
|
176
|
+
|
|
177
|
+
# IaC format is Terraform.
|
|
178
|
+
TERRAFORM = 1
|
|
179
|
+
|
|
180
|
+
# IaC format is HELM.
|
|
181
|
+
HELM = 2
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# The type of the application.
|
|
185
|
+
module ApplicationType
|
|
186
|
+
# Application type is unspecified.
|
|
187
|
+
APPLICATION_TYPE_UNSPECIFIED = 0
|
|
188
|
+
|
|
189
|
+
# Application type is terraform application.
|
|
190
|
+
TERRAFORM_APP = 1
|
|
191
|
+
|
|
192
|
+
# Application type is helm application.
|
|
193
|
+
HELM_APP = 2
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Enum to specify the source format of the IaC.
|
|
197
|
+
module IACSource
|
|
198
|
+
# The source is not specified.
|
|
199
|
+
IAC_SOURCE_UNSPECIFIED = 0
|
|
200
|
+
|
|
201
|
+
# The IaC source is SAT. This is used to generate equivalent Terraform.
|
|
202
|
+
IAC_SOURCE_SAT = 1
|
|
203
|
+
|
|
204
|
+
# The IaC source is Terraform.
|
|
205
|
+
IAC_SOURCE_TERRAFORM = 2
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# Indicates the dependency type of the connection.
|
|
209
|
+
module ConnectionDependencyType
|
|
210
|
+
# The dependency type is unspecified.
|
|
211
|
+
CONNECTION_DEPENDENCY_TYPE_UNSPECIFIED = 0
|
|
212
|
+
|
|
213
|
+
# Data dependency: output parameter of one module is input to another.
|
|
214
|
+
CONNECTION_DEPENDENCY_TYPE_DATA = 1
|
|
215
|
+
|
|
216
|
+
# Logical dependency: explicitly declared execution order dependency
|
|
217
|
+
# (depends_on).
|
|
218
|
+
CONNECTION_DEPENDENCY_TYPE_LOGICAL = 2
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
end
|
|
@@ -0,0 +1,112 @@
|
|
|
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
|
+
# Defines the location for storing an artifact, such as generated IaC.
|
|
25
|
+
# @!attribute [rw] developer_connect_export_config
|
|
26
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeveloperConnectExportConfig]
|
|
27
|
+
# Optional. Source Code Management(SCM) config for storing the content,
|
|
28
|
+
# such as generated IaC. Supports sources integrated with Developer Connect
|
|
29
|
+
# like GitHub, GitHub Enterprise, GitLab, and Bitbucket.
|
|
30
|
+
#
|
|
31
|
+
# Note: The following fields are mutually exclusive: `developer_connect_export_config`, `gcs_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
32
|
+
# @!attribute [rw] gcs_uri
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Optional. The Cloud Storage URI for storing the generated IaC.
|
|
35
|
+
#
|
|
36
|
+
# Note: The following fields are mutually exclusive: `gcs_uri`, `developer_connect_export_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
37
|
+
class ArtifactLocation
|
|
38
|
+
include ::Google::Protobuf::MessageExts
|
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Through Developer Connect, defines a location where content such as
|
|
43
|
+
# Infrastructure as Code (IaC) is stored.
|
|
44
|
+
# @!attribute [rw] developer_connect_repo_uri
|
|
45
|
+
# @return [::String]
|
|
46
|
+
# Required. The Developer Connect Git repository link, formatted as
|
|
47
|
+
# `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
|
|
48
|
+
# @!attribute [rw] branch
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# Optional. The branch in repo to which the content such as Infrastructure as
|
|
51
|
+
# Code (IaC) should be written to. If empty, Application Design Center will
|
|
52
|
+
# create a branch and push the changes.
|
|
53
|
+
# @!attribute [rw] dir
|
|
54
|
+
# @return [::String]
|
|
55
|
+
# Required. Directory, relative to the source repo, where content such as
|
|
56
|
+
# Infrastructure as Code (IaC) will be stored.
|
|
57
|
+
# This must be a relative path.To specify the root directory, use '/'.
|
|
58
|
+
# If the path or any subdirectories do not exist, they will be created.
|
|
59
|
+
# @!attribute [r] commit_sha
|
|
60
|
+
# @return [::String]
|
|
61
|
+
# Output only. The SHA of the Git commit that contains the exported content
|
|
62
|
+
# such as Infrastructure as Code (IaC).
|
|
63
|
+
class DeveloperConnectExportConfig
|
|
64
|
+
include ::Google::Protobuf::MessageExts
|
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Configuration for exporting a resource as IAC.
|
|
69
|
+
# @!attribute [rw] tf_config
|
|
70
|
+
# @return [::Google::Cloud::DesignCenter::V1::TerraformConfig]
|
|
71
|
+
# Optional. Configuration on how to handle terraform IaC export.
|
|
72
|
+
# @!attribute [rw] iac_format
|
|
73
|
+
# @return [::Google::Cloud::DesignCenter::V1::IACFormat]
|
|
74
|
+
# Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].
|
|
75
|
+
class ExportIaCConfig
|
|
76
|
+
include ::Google::Protobuf::MessageExts
|
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Configuration for exporting a resource as Terraform IAC.
|
|
81
|
+
# @!attribute [rw] tf_module_config
|
|
82
|
+
# @return [::Google::Cloud::DesignCenter::V1::TerraformModuleConfig]
|
|
83
|
+
# Optional. Configuration on how terraform module should be handled during
|
|
84
|
+
# export.
|
|
85
|
+
class TerraformConfig
|
|
86
|
+
include ::Google::Protobuf::MessageExts
|
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Configuration on how terraform module should be handled during
|
|
91
|
+
# export.
|
|
92
|
+
# @!attribute [rw] git_proxy_enabled
|
|
93
|
+
# @return [::Boolean]
|
|
94
|
+
# Optional. This is typically only valid for 3P components if ingested via
|
|
95
|
+
# devconnect URI. Typically, for 1P components, since they are sourced from
|
|
96
|
+
# public git repos, this field is not applicable.
|
|
97
|
+
#
|
|
98
|
+
# Note: The following fields are mutually exclusive: `git_proxy_enabled`, `local_references_enabled`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
99
|
+
# @!attribute [rw] local_references_enabled
|
|
100
|
+
# @return [::Boolean]
|
|
101
|
+
# Optional. If set, all the dependent modules will be downloaded from the
|
|
102
|
+
# target repository and referenced locally.
|
|
103
|
+
#
|
|
104
|
+
# Note: The following fields are mutually exclusive: `local_references_enabled`, `git_proxy_enabled`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
105
|
+
class TerraformModuleConfig
|
|
106
|
+
include ::Google::Protobuf::MessageExts
|
|
107
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|