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.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +151 -8
  5. data/lib/google/cloud/design_center/v1/bindings_override.rb +108 -0
  6. data/lib/google/cloud/design_center/v1/design_center/client.rb +8904 -0
  7. data/lib/google/cloud/design_center/v1/design_center/credentials.rb +47 -0
  8. data/lib/google/cloud/design_center/v1/design_center/operations.rb +843 -0
  9. data/lib/google/cloud/design_center/v1/design_center/paths.rb +477 -0
  10. data/lib/google/cloud/design_center/v1/design_center/rest/client.rb +8308 -0
  11. data/lib/google/cloud/design_center/v1/design_center/rest/operations.rb +927 -0
  12. data/lib/google/cloud/design_center/v1/design_center/rest/service_stub.rb +5000 -0
  13. data/lib/google/cloud/design_center/v1/design_center/rest.rb +54 -0
  14. data/lib/google/cloud/design_center/v1/design_center.rb +56 -0
  15. data/lib/google/cloud/design_center/v1/rest.rb +38 -0
  16. data/lib/google/cloud/design_center/v1/version.rb +7 -2
  17. data/lib/google/cloud/design_center/v1.rb +45 -0
  18. data/lib/google/cloud/designcenter/v1/apphub_integration_messages_pb.rb +27 -0
  19. data/lib/google/cloud/designcenter/v1/apphub_integration_pb.rb +24 -0
  20. data/lib/google/cloud/designcenter/v1/assessment_pb.rb +48 -0
  21. data/lib/google/cloud/designcenter/v1/authoring_messages_pb.rb +73 -0
  22. data/lib/google/cloud/designcenter/v1/authoring_pb.rb +46 -0
  23. data/lib/google/cloud/designcenter/v1/best_practices_messages_pb.rb +45 -0
  24. data/lib/google/cloud/designcenter/v1/best_practices_pb.rb +29 -0
  25. data/lib/google/cloud/designcenter/v1/catalog_management_messages_pb.rb +54 -0
  26. data/lib/google/cloud/designcenter/v1/catalog_management_pb.rb +34 -0
  27. data/lib/google/cloud/designcenter/v1/deployment_messages_pb.rb +56 -0
  28. data/lib/google/cloud/designcenter/v1/deployment_pb.rb +50 -0
  29. data/lib/google/cloud/designcenter/v1/deployment_resources_pb.rb +35 -0
  30. data/lib/google/cloud/designcenter/v1/designcenter_pb.rb +50 -0
  31. data/lib/google/cloud/designcenter/v1/designcenter_services_pb.rb +229 -0
  32. data/lib/google/cloud/designcenter/v1/enums_pb.rb +31 -0
  33. data/lib/google/cloud/designcenter/v1/export_pb.rb +29 -0
  34. data/lib/google/cloud/designcenter/v1/iac_pb.rb +30 -0
  35. data/lib/google/cloud/designcenter/v1/ingestion_pb.rb +35 -0
  36. data/lib/google/cloud/designcenter/v1/metadata_pb.rb +74 -0
  37. data/lib/google/cloud/designcenter/v1/parameters_pb.rb +30 -0
  38. data/lib/google/cloud/designcenter/v1/sharing_messages_pb.rb +42 -0
  39. data/lib/google/cloud/designcenter/v1/sharing_pb.rb +33 -0
  40. data/lib/google-cloud-design_center-v1.rb +21 -0
  41. data/proto_docs/README.md +4 -0
  42. data/proto_docs/google/api/client.rb +593 -0
  43. data/proto_docs/google/api/field_behavior.rb +85 -0
  44. data/proto_docs/google/api/field_info.rb +88 -0
  45. data/proto_docs/google/api/launch_stage.rb +71 -0
  46. data/proto_docs/google/api/resource.rb +227 -0
  47. data/proto_docs/google/cloud/apphub/v1/application.rb +149 -0
  48. data/proto_docs/google/cloud/apphub/v1/attributes.rb +115 -0
  49. data/proto_docs/google/cloud/apphub/v1/properties.rb +94 -0
  50. data/proto_docs/google/cloud/config/v1/config.rb +2709 -0
  51. data/proto_docs/google/cloud/designcenter/v1/apphub_integration.rb +55 -0
  52. data/proto_docs/google/cloud/designcenter/v1/apphub_integration_messages.rb +81 -0
  53. data/proto_docs/google/cloud/designcenter/v1/assessment.rb +502 -0
  54. data/proto_docs/google/cloud/designcenter/v1/authoring.rb +492 -0
  55. data/proto_docs/google/cloud/designcenter/v1/authoring_messages.rb +779 -0
  56. data/proto_docs/google/cloud/designcenter/v1/best_practices.rb +123 -0
  57. data/proto_docs/google/cloud/designcenter/v1/best_practices_messages.rb +296 -0
  58. data/proto_docs/google/cloud/designcenter/v1/catalog_management.rb +258 -0
  59. data/proto_docs/google/cloud/designcenter/v1/catalog_management_messages.rb +438 -0
  60. data/proto_docs/google/cloud/designcenter/v1/deployment.rb +476 -0
  61. data/proto_docs/google/cloud/designcenter/v1/deployment_messages.rb +466 -0
  62. data/proto_docs/google/cloud/designcenter/v1/deployment_resources.rb +182 -0
  63. data/proto_docs/google/cloud/designcenter/v1/designcenter.rb +245 -0
  64. data/proto_docs/google/cloud/designcenter/v1/enums.rb +223 -0
  65. data/proto_docs/google/cloud/designcenter/v1/export.rb +112 -0
  66. data/proto_docs/google/cloud/designcenter/v1/iac.rb +138 -0
  67. data/proto_docs/google/cloud/designcenter/v1/ingestion.rb +276 -0
  68. data/proto_docs/google/cloud/designcenter/v1/metadata.rb +945 -0
  69. data/proto_docs/google/cloud/designcenter/v1/parameters.rb +112 -0
  70. data/proto_docs/google/cloud/designcenter/v1/sharing.rb +188 -0
  71. data/proto_docs/google/cloud/designcenter/v1/sharing_messages.rb +258 -0
  72. data/proto_docs/google/longrunning/operations.rb +191 -0
  73. data/proto_docs/google/protobuf/any.rb +145 -0
  74. data/proto_docs/google/protobuf/duration.rb +98 -0
  75. data/proto_docs/google/protobuf/empty.rb +34 -0
  76. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  77. data/proto_docs/google/protobuf/struct.rb +108 -0
  78. data/proto_docs/google/protobuf/timestamp.rb +128 -0
  79. data/proto_docs/google/rpc/status.rb +48 -0
  80. metadata +168 -9
@@ -0,0 +1,779 @@
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 requesting a list of application templates.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The parent resource from which to list application templates.
28
+ # @!attribute [rw] page_size
29
+ # @return [::Integer]
30
+ # Optional. The maximum number of results to return from this request.
31
+ # Non-positive
32
+ # values are ignored. The presence of nextPageToken in the response
33
+ # indicates that more results might be available.
34
+ # @!attribute [rw] page_token
35
+ # @return [::String]
36
+ # Optional. If present, then retrieve the next batch of results from the
37
+ # preceding call to this method. pageToken must be the value of nextPageToken
38
+ # from the previous response. The values of other method parameters should be
39
+ # identical to those in the previous call.
40
+ # @!attribute [rw] filter
41
+ # @return [::String]
42
+ # Optional. A filter that chooses which shared template revisions to return.
43
+ # @!attribute [rw] order_by
44
+ # @return [::String]
45
+ # Optional. How the results should be sorted.
46
+ class ListApplicationTemplatesRequest
47
+ include ::Google::Protobuf::MessageExts
48
+ extend ::Google::Protobuf::MessageExts::ClassMethods
49
+ end
50
+
51
+ # Message for response to listing application templates.
52
+ # @!attribute [rw] application_templates
53
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ApplicationTemplate>]
54
+ # The list of application templates.
55
+ # @!attribute [rw] next_page_token
56
+ # @return [::String]
57
+ # If there might be more results than those appearing in this response, then
58
+ # nextPageToken is included. To get the next set of results, call this method
59
+ # again using the value of nextPageToken as pageToken.
60
+ # @!attribute [rw] unreachable
61
+ # @return [::Array<::String>]
62
+ # Locations that could not be reached.
63
+ class ListApplicationTemplatesResponse
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+ end
67
+
68
+ # Message for getting an application template.
69
+ # @!attribute [rw] name
70
+ # @return [::String]
71
+ # Required. The application template name.
72
+ class GetApplicationTemplateRequest
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Message for creating an application template.
78
+ # @!attribute [rw] parent
79
+ # @return [::String]
80
+ # Required. The parent resource in which to create the application template.
81
+ # @!attribute [rw] application_template_id
82
+ # @return [::String]
83
+ # Required. The ID of the application template to create.
84
+ # @!attribute [rw] application_template
85
+ # @return [::Google::Cloud::DesignCenter::V1::ApplicationTemplate]
86
+ # Required. The application template to create.
87
+ class CreateApplicationTemplateRequest
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+ end
91
+
92
+ # Message for updating an application template.
93
+ # @!attribute [rw] update_mask
94
+ # @return [::Google::Protobuf::FieldMask]
95
+ # Optional. The fields to overwrite in the application template update. The
96
+ # fields specified in the update_mask are relative to the resource, not the
97
+ # full request. A field will be overwritten if it is in the mask. If you
98
+ # don't provide a mask, all fields are overwritten.
99
+ # @!attribute [rw] application_template
100
+ # @return [::Google::Cloud::DesignCenter::V1::ApplicationTemplate]
101
+ # Required. The application template to update.
102
+ class UpdateApplicationTemplateRequest
103
+ include ::Google::Protobuf::MessageExts
104
+ extend ::Google::Protobuf::MessageExts::ClassMethods
105
+ end
106
+
107
+ # Message for deleting an application template.
108
+ # @!attribute [rw] name
109
+ # @return [::String]
110
+ # Required. The application template name.
111
+ # @!attribute [rw] force
112
+ # @return [::Boolean]
113
+ # Optional. If set to true, the application template's children are also
114
+ # deleted. If false, the application template is only deleted if it has no
115
+ # children.
116
+ class DeleteApplicationTemplateRequest
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+
121
+ # Request message for CommitApplicationTemplate method.
122
+ # @!attribute [rw] name
123
+ # @return [::String]
124
+ # Required. The name of the application template.
125
+ class CommitApplicationTemplateRequest
126
+ include ::Google::Protobuf::MessageExts
127
+ extend ::Google::Protobuf::MessageExts::ClassMethods
128
+ end
129
+
130
+ # Message for snapshotting an application template asynchronously.
131
+ # @!attribute [rw] name
132
+ # @return [::String]
133
+ # Required. The name of the application template.
134
+ class SnapshotApplicationTemplateRequest
135
+ include ::Google::Protobuf::MessageExts
136
+ extend ::Google::Protobuf::MessageExts::ClassMethods
137
+ end
138
+
139
+ # Response message for snapshotting an application template asynchronously.
140
+ # @!attribute [rw] application_template_revision
141
+ # @return [::Google::Cloud::DesignCenter::V1::ApplicationTemplateRevision]
142
+ # The created application template revision.
143
+ class SnapshotApplicationTemplateResponse
144
+ include ::Google::Protobuf::MessageExts
145
+ extend ::Google::Protobuf::MessageExts::ClassMethods
146
+ end
147
+
148
+ # Request message for ImportApplicationTemplate method.
149
+ # @!attribute [rw] application_template_revision_uri
150
+ # @return [::String]
151
+ # Optional. The source URI for application template revision.
152
+ #
153
+ # Note: The following fields are mutually exclusive: `application_template_revision_uri`, `shared_template_revision_uri`, `serialized_application_template`, `application_template_system_revision`. If a field in that set is populated, all other fields in the set will automatically be cleared.
154
+ # @!attribute [rw] shared_template_revision_uri
155
+ # @return [::String]
156
+ # Optional. The source URI for catalog template.
157
+ #
158
+ # Note: The following fields are mutually exclusive: `shared_template_revision_uri`, `application_template_revision_uri`, `serialized_application_template`, `application_template_system_revision`. If a field in that set is populated, all other fields in the set will automatically be cleared.
159
+ # @!attribute [rw] serialized_application_template
160
+ # @return [::Google::Cloud::DesignCenter::V1::SerializedApplicationTemplate]
161
+ # Optional. The serialized application template to be imported.
162
+ #
163
+ # Note: The following fields are mutually exclusive: `serialized_application_template`, `application_template_revision_uri`, `shared_template_revision_uri`, `application_template_system_revision`. If a field in that set is populated, all other fields in the set will automatically be cleared.
164
+ # @!attribute [rw] application_template_system_revision
165
+ # @return [::String]
166
+ # Optional. The system revision to be imported. Used when user tries to
167
+ # Restore (rev X) or perform Undo/Redo operations.
168
+ #
169
+ # Note: The following fields are mutually exclusive: `application_template_system_revision`, `application_template_revision_uri`, `shared_template_revision_uri`, `serialized_application_template`. If a field in that set is populated, all other fields in the set will automatically be cleared.
170
+ # @!attribute [rw] name
171
+ # @return [::String]
172
+ # Required. The name of the application template.
173
+ # @!attribute [rw] annotations
174
+ # @return [::Google::Protobuf::Map{::String => ::String}]
175
+ # Optional. Annotations to be stored with the new system revision created as
176
+ # a result of this import. Sample annotations from agentic workflows might
177
+ # look like
178
+ # {
179
+ # "designcenter.googleapis.com/agent_id": "gemini-3-flash-v1",
180
+ # "designcenter.googleapis.com/llm_agent_summary": "Restored to revision
181
+ # Rev-100", "designcenter.googleapis.com/external_ref_id":
182
+ # "trace-uuid-88921-xyz",
183
+ # }
184
+ class ImportApplicationTemplateRequest
185
+ include ::Google::Protobuf::MessageExts
186
+ extend ::Google::Protobuf::MessageExts::ClassMethods
187
+
188
+ # @!attribute [rw] key
189
+ # @return [::String]
190
+ # @!attribute [rw] value
191
+ # @return [::String]
192
+ class AnnotationsEntry
193
+ include ::Google::Protobuf::MessageExts
194
+ extend ::Google::Protobuf::MessageExts::ClassMethods
195
+ end
196
+ end
197
+
198
+ # Request message for GenerateApplicationTemplateRevisionIaC method.
199
+ # @!attribute [rw] name
200
+ # @return [::String]
201
+ # Required. The name of the application template revision.
202
+ # @!attribute [rw] iac_format
203
+ # @return [::Google::Cloud::DesignCenter::V1::GenerateApplicationTemplateRevisionIaCRequest::IACFormat]
204
+ # Optional. The IaC format to generate.
205
+ # @!attribute [rw] artifact_location
206
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
207
+ # Optional. Specifies the destination for the generated IaC, which can be
208
+ # Cloud Storage or a Developer Connect repository.
209
+ class GenerateApplicationTemplateRevisionIaCRequest
210
+ include ::Google::Protobuf::MessageExts
211
+ extend ::Google::Protobuf::MessageExts::ClassMethods
212
+
213
+ # The IaC format to generate.
214
+ module IACFormat
215
+ # IaC format is unspecified.
216
+ IAC_FORMAT_UNSPECIFIED = 0
217
+
218
+ # IaC format is Terraform.
219
+ TERRAFORM = 1
220
+
221
+ # IaC format is HELM.
222
+ HELM = 2
223
+ end
224
+ end
225
+
226
+ # Response message for GenerateApplicationTemplateRevisionIaC method.
227
+ # @!attribute [rw] artifact_location
228
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
229
+ # The destination where the generated IaC was written.
230
+ # @!attribute [rw] root_modules_metadata
231
+ # @return [::Google::Cloud::DesignCenter::V1::RootModulesMetadata]
232
+ # Root modules metadata of the application template revision.
233
+ class GenerateApplicationTemplateRevisionIaCResponse
234
+ include ::Google::Protobuf::MessageExts
235
+ extend ::Google::Protobuf::MessageExts::ClassMethods
236
+ end
237
+
238
+ # Request message for GenerateApplicationTemplateIaC method.
239
+ # @!attribute [rw] name
240
+ # @return [::String]
241
+ # Required. The name of the application template.
242
+ # @!attribute [rw] iac_format
243
+ # @return [::Google::Cloud::DesignCenter::V1::GenerateApplicationTemplateIaCRequest::IACFormat]
244
+ # Optional. The IaC format to generate.
245
+ # @!attribute [rw] gcs_uri
246
+ # @deprecated This field is deprecated and may be removed in the next major version update.
247
+ # @return [::String]
248
+ # Optional. DEPRECATED: Use the 'artifact_location' field instead.
249
+ # The Cloud Storage URI to write the generated IaC to.
250
+ # @!attribute [rw] artifact_location
251
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
252
+ # Optional. Specifies the destination for the generated IaC, which can be
253
+ # Cloud Storage or a Developer Connect repository.
254
+ class GenerateApplicationTemplateIaCRequest
255
+ include ::Google::Protobuf::MessageExts
256
+ extend ::Google::Protobuf::MessageExts::ClassMethods
257
+
258
+ # The IaC format to generate.
259
+ module IACFormat
260
+ # IaC format is unspecified.
261
+ IAC_FORMAT_UNSPECIFIED = 0
262
+
263
+ # IaC format is Terraform.
264
+ TERRAFORM = 1
265
+
266
+ # IaC format is HELM.
267
+ HELM = 2
268
+ end
269
+ end
270
+
271
+ # Response message for GenerateApplicationTemplateIaC method.
272
+ # @!attribute [rw] gcs_uri
273
+ # @deprecated This field is deprecated and may be removed in the next major version update.
274
+ # @return [::String]
275
+ # DEPRECATED: Use the 'artifact_location' field instead.
276
+ # The Cloud Storage URI of the generated IaC.
277
+ # @!attribute [rw] artifact_location
278
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
279
+ # The destination where the generated IaC was written.
280
+ # @!attribute [rw] root_modules_metadata
281
+ # @return [::Google::Cloud::DesignCenter::V1::RootModulesMetadata]
282
+ # Root modules metadata of the application template.
283
+ class GenerateApplicationTemplateIaCResponse
284
+ include ::Google::Protobuf::MessageExts
285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
286
+ end
287
+
288
+ # Request message for ExportApplicationTemplateIaC method.
289
+ # @!attribute [rw] name
290
+ # @return [::String]
291
+ # Required. The name of the application template.
292
+ # @!attribute [rw] artifact_location
293
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
294
+ # Optional. Specifies the destination for the generated IaC, which can be
295
+ # Cloud Storage or a Developer Connect repository.
296
+ # Default is Google Cloud Storage.
297
+ # @!attribute [rw] export_iac_config
298
+ # @return [::Google::Cloud::DesignCenter::V1::ExportIaCConfig]
299
+ # Optional. Configuration for exporting IaC.
300
+ class ExportApplicationTemplateIaCRequest
301
+ include ::Google::Protobuf::MessageExts
302
+ extend ::Google::Protobuf::MessageExts::ClassMethods
303
+ end
304
+
305
+ # Response message for ExportApplicationTemplateIaC method.
306
+ # @!attribute [rw] artifact_location
307
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
308
+ # The destination where the generated IaC was written.
309
+ # @!attribute [rw] root_modules_metadata
310
+ # @return [::Google::Cloud::DesignCenter::V1::RootModulesMetadata]
311
+ # Root modules metadata of the application template.
312
+ class ExportApplicationTemplateIaCResponse
313
+ include ::Google::Protobuf::MessageExts
314
+ extend ::Google::Protobuf::MessageExts::ClassMethods
315
+ end
316
+
317
+ # Request message for ExportApplicationTemplateRevisionIaC method.
318
+ # @!attribute [rw] name
319
+ # @return [::String]
320
+ # Required. The name of the application template revision.
321
+ # @!attribute [rw] artifact_location
322
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
323
+ # Optional. Specifies the destination for the generated IaC, which can be
324
+ # Cloud Storage or a Developer Connect repository.
325
+ # Default is Google Cloud Storage.
326
+ # @!attribute [rw] export_iac_config
327
+ # @return [::Google::Cloud::DesignCenter::V1::ExportIaCConfig]
328
+ # Optional. Configuration for exporting IaC.
329
+ class ExportApplicationTemplateRevisionIaCRequest
330
+ include ::Google::Protobuf::MessageExts
331
+ extend ::Google::Protobuf::MessageExts::ClassMethods
332
+ end
333
+
334
+ # Response message for ExportApplicationTemplateRevisionIaC method.
335
+ # @!attribute [rw] artifact_location
336
+ # @return [::Google::Cloud::DesignCenter::V1::ArtifactLocation]
337
+ # The destination where the generated IaC was written.
338
+ # @!attribute [rw] root_modules_metadata
339
+ # @return [::Google::Cloud::DesignCenter::V1::RootModulesMetadata]
340
+ # Root modules metadata of the application template revision.
341
+ class ExportApplicationTemplateRevisionIaCResponse
342
+ include ::Google::Protobuf::MessageExts
343
+ extend ::Google::Protobuf::MessageExts::ClassMethods
344
+ end
345
+
346
+ # Request message for ImportApplicationTemplateIaC method.
347
+ # @!attribute [rw] gcs_uri
348
+ # @return [::String]
349
+ # Optional. The Cloud Storage URI of the terraform code.
350
+ #
351
+ # Note: The following fields are mutually exclusive: `gcs_uri`, `iac_module`, `developer_connect_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
352
+ # @!attribute [rw] iac_module
353
+ # @return [::Google::Cloud::DesignCenter::V1::IaCModule]
354
+ # Optional. The IaC module to import.
355
+ #
356
+ # Note: The following fields are mutually exclusive: `iac_module`, `gcs_uri`, `developer_connect_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
357
+ # @!attribute [rw] developer_connect_source_config
358
+ # @return [::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig]
359
+ # Optional. Configuration for fetching content from source code repository
360
+ # such as GitHub or Bitbucket through Developer Connect.
361
+ #
362
+ # Note: The following fields are mutually exclusive: `developer_connect_source_config`, `gcs_uri`, `iac_module`. If a field in that set is populated, all other fields in the set will automatically be cleared.
363
+ # @!attribute [rw] name
364
+ # @return [::String]
365
+ # Required. The name of the application template.
366
+ # @!attribute [rw] allow_partial_import
367
+ # @return [::Boolean]
368
+ # Optional. If set to true, partially imports the valid edits in the IaC and
369
+ # ignores the invalid changes. Defaults to false, which means any edits which
370
+ # can't be imported must result in an error.
371
+ # @!attribute [rw] validate_iac
372
+ # @return [::Boolean]
373
+ # Optional. If set to true, the IaC is validated against the golden terraform
374
+ # without importing. Defaults to false.
375
+ class ImportApplicationTemplateIaCRequest
376
+ include ::Google::Protobuf::MessageExts
377
+ extend ::Google::Protobuf::MessageExts::ClassMethods
378
+ end
379
+
380
+ # Response message for ImportApplicationTemplateIaC method.
381
+ # @!attribute [rw] application_template
382
+ # @return [::Google::Cloud::DesignCenter::V1::ApplicationTemplate]
383
+ # Application template corresponding to the imported IaC.
384
+ # @!attribute [rw] errors
385
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ImportIaCError>]
386
+ # Errors encountered during import.
387
+ # @!attribute [rw] state
388
+ # @return [::Google::Cloud::DesignCenter::V1::ImportApplicationTemplateIaCResponse::State]
389
+ # The state of the import.
390
+ class ImportApplicationTemplateIaCResponse
391
+ include ::Google::Protobuf::MessageExts
392
+ extend ::Google::Protobuf::MessageExts::ClassMethods
393
+
394
+ # State of Import.
395
+ module State
396
+ # Default.
397
+ STATE_UNSPECIFIED = 0
398
+
399
+ # The import was successful.
400
+ SUCCEEDED = 1
401
+
402
+ # The import failed.
403
+ FAILED = 2
404
+ end
405
+ end
406
+
407
+ # Request message for IngestApplicationTemplateIaC method.
408
+ # @!attribute [rw] gcs_uri
409
+ # @return [::String]
410
+ # Optional. The Cloud Storage URI of the terraform code.
411
+ #
412
+ # Note: The following fields are mutually exclusive: `gcs_uri`, `iac_module`, `devconnect_source_config`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
413
+ # @!attribute [rw] iac_module
414
+ # @return [::Google::Cloud::DesignCenter::V1::IaCModule]
415
+ # Optional. The IaC configuration to import.
416
+ #
417
+ # Note: The following fields are mutually exclusive: `iac_module`, `gcs_uri`, `devconnect_source_config`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
418
+ # @!attribute [rw] devconnect_source_config
419
+ # @return [::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig]
420
+ # Optional. Configuration for fetching content from source code repository
421
+ # such as GitHub or Bitbucket through Developer Connect.
422
+ #
423
+ # Note: The following fields are mutually exclusive: `devconnect_source_config`, `gcs_uri`, `iac_module`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
424
+ # @!attribute [rw] git_source
425
+ # @return [::Google::Cloud::DesignCenter::V1::GitSource]
426
+ # Optional. The git source.
427
+ #
428
+ # Note: The following fields are mutually exclusive: `git_source`, `gcs_uri`, `iac_module`, `devconnect_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
429
+ # @!attribute [rw] name
430
+ # @return [::String]
431
+ # Required. The name of the application template.
432
+ # @!attribute [rw] validate_catalog_compatibility
433
+ # @return [::Boolean]
434
+ # Optional. If set to true, validates if the imported IaC is compatible with
435
+ # the catalog.
436
+ # @!attribute [rw] raw_terraform_import_enabled
437
+ # @return [::Boolean]
438
+ # Optional. If set to true, imports the IaC as raw terraform and does not
439
+ # attempt SAT conversion.
440
+ class IngestApplicationTemplateIaCRequest
441
+ include ::Google::Protobuf::MessageExts
442
+ extend ::Google::Protobuf::MessageExts::ClassMethods
443
+ end
444
+
445
+ # Response message for IngestApplicationTemplateIaC method.
446
+ # @!attribute [rw] application_template
447
+ # @return [::Google::Cloud::DesignCenter::V1::ApplicationTemplate]
448
+ # Application template corresponding to the imported IaC.
449
+ # @!attribute [rw] errors
450
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ImportIaCError>]
451
+ # Errors encountered during import.
452
+ # @!attribute [rw] state
453
+ # @return [::Google::Cloud::DesignCenter::V1::ImportApplicationTemplateIaCResponse::State]
454
+ # The state of the import.
455
+ class IngestApplicationTemplateIaCResponse
456
+ include ::Google::Protobuf::MessageExts
457
+ extend ::Google::Protobuf::MessageExts::ClassMethods
458
+ end
459
+
460
+ # Message for requesting a list of components.
461
+ # @!attribute [rw] parent
462
+ # @return [::String]
463
+ # Required. The parent resource from which the list of components is
464
+ # requested.
465
+ # @!attribute [rw] page_size
466
+ # @return [::Integer]
467
+ # Optional. The maximum number of results to return from this request.
468
+ # Non-positive
469
+ # values are ignored. The presence of nextPageToken in the response
470
+ # indicates that more results might be available.
471
+ # @!attribute [rw] page_token
472
+ # @return [::String]
473
+ # Optional. If present, then retrieve the next batch of results from the
474
+ # preceding call to this method. pageToken must be the value of nextPageToken
475
+ # from the previous response. The values of other method parameters should be
476
+ # identical to those in the previous call.
477
+ # @!attribute [rw] filter
478
+ # @return [::String]
479
+ # Optional. A filter that chooses which components to return.
480
+ # @!attribute [rw] order_by
481
+ # @return [::String]
482
+ # Optional. How the results should be sorted.
483
+ class ListComponentsRequest
484
+ include ::Google::Protobuf::MessageExts
485
+ extend ::Google::Protobuf::MessageExts::ClassMethods
486
+ end
487
+
488
+ # Message for response to listing components.
489
+ # @!attribute [rw] components
490
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::Component>]
491
+ # The list of components.
492
+ # @!attribute [rw] next_page_token
493
+ # @return [::String]
494
+ # If there might be more results than those appearing in this response, then
495
+ # nextPageToken is included. To get the next set of results, call this method
496
+ # again using the value of nextPageToken as pageToken.
497
+ # @!attribute [rw] unreachable
498
+ # @return [::Array<::String>]
499
+ # Locations that could not be reached.
500
+ class ListComponentsResponse
501
+ include ::Google::Protobuf::MessageExts
502
+ extend ::Google::Protobuf::MessageExts::ClassMethods
503
+ end
504
+
505
+ # Message for getting a component.
506
+ # @!attribute [rw] name
507
+ # @return [::String]
508
+ # Required. The component name.
509
+ class GetComponentRequest
510
+ include ::Google::Protobuf::MessageExts
511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
512
+ end
513
+
514
+ # Message for creating a component.
515
+ # @!attribute [rw] parent
516
+ # @return [::String]
517
+ # Required. The parent resource in which to create the component.
518
+ # @!attribute [rw] component_id
519
+ # @return [::String]
520
+ # Required. The ID of the component to create.
521
+ # @!attribute [rw] component
522
+ # @return [::Google::Cloud::DesignCenter::V1::Component]
523
+ # Required. The component to create.
524
+ class CreateComponentRequest
525
+ include ::Google::Protobuf::MessageExts
526
+ extend ::Google::Protobuf::MessageExts::ClassMethods
527
+ end
528
+
529
+ # Message for updating a component.
530
+ # @!attribute [rw] update_mask
531
+ # @return [::Google::Protobuf::FieldMask]
532
+ # Optional. The fields to overwrite in the component update. If you don't
533
+ # provide a mask, all fields are overwritten.
534
+ # @!attribute [rw] component
535
+ # @return [::Google::Cloud::DesignCenter::V1::Component]
536
+ # Required. The component to update.
537
+ class UpdateComponentRequest
538
+ include ::Google::Protobuf::MessageExts
539
+ extend ::Google::Protobuf::MessageExts::ClassMethods
540
+ end
541
+
542
+ # Message for deleting a component.
543
+ # @!attribute [rw] name
544
+ # @return [::String]
545
+ # Required. The component name.
546
+ # @!attribute [rw] force
547
+ # @return [::Boolean]
548
+ # Optional. If set to true, the component's children are also deleted. If
549
+ # false, the component is only deleted if it has no children.
550
+ class DeleteComponentRequest
551
+ include ::Google::Protobuf::MessageExts
552
+ extend ::Google::Protobuf::MessageExts::ClassMethods
553
+ end
554
+
555
+ # Message for requesting a list of connections.
556
+ # @!attribute [rw] parent
557
+ # @return [::String]
558
+ # Required. The parent resource from which to request a list of connections.
559
+ # @!attribute [rw] page_size
560
+ # @return [::Integer]
561
+ # Optional. The maximum number of results to return from this request.
562
+ # Non-positive values are ignored. The presence of nextPageToken in the
563
+ # response indicates that more results might be available.
564
+ # @!attribute [rw] page_token
565
+ # @return [::String]
566
+ # Optional. If present, then retrieve the next batch of results from the
567
+ # preceding call to this method. pageToken must be the value of nextPageToken
568
+ # from the previous response. The values of other method parameters should be
569
+ # identical to those in the previous call.
570
+ # @!attribute [rw] filter
571
+ # @return [::String]
572
+ # Optional. A filter that chooses which connections to return.
573
+ # @!attribute [rw] order_by
574
+ # @return [::String]
575
+ # Optional. How the results should be sorted.
576
+ class ListConnectionsRequest
577
+ include ::Google::Protobuf::MessageExts
578
+ extend ::Google::Protobuf::MessageExts::ClassMethods
579
+ end
580
+
581
+ # Message for response to listing connections.
582
+ # @!attribute [rw] connections
583
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::Connection>]
584
+ # The list of connections.
585
+ # @!attribute [rw] next_page_token
586
+ # @return [::String]
587
+ # If there might be more results than those appearing in this response, then
588
+ # nextPageToken is included. To get the next set of results, call this method
589
+ # again using the value of nextPageToken as pageToken.
590
+ # @!attribute [rw] unreachable
591
+ # @return [::Array<::String>]
592
+ # Locations that could not be reached.
593
+ class ListConnectionsResponse
594
+ include ::Google::Protobuf::MessageExts
595
+ extend ::Google::Protobuf::MessageExts::ClassMethods
596
+ end
597
+
598
+ # Message for getting a connection.
599
+ # @!attribute [rw] name
600
+ # @return [::String]
601
+ # Required. Name of the resource
602
+ class GetConnectionRequest
603
+ include ::Google::Protobuf::MessageExts
604
+ extend ::Google::Protobuf::MessageExts::ClassMethods
605
+ end
606
+
607
+ # Message for creating a connection.
608
+ # @!attribute [rw] parent
609
+ # @return [::String]
610
+ # Required. The parent resource in which to create a connection.
611
+ # @!attribute [rw] connection_id
612
+ # @return [::String]
613
+ # Required. The ID of the connection to create.
614
+ # @!attribute [rw] connection
615
+ # @return [::Google::Cloud::DesignCenter::V1::Connection]
616
+ # Required. The connection to create.
617
+ class CreateConnectionRequest
618
+ include ::Google::Protobuf::MessageExts
619
+ extend ::Google::Protobuf::MessageExts::ClassMethods
620
+ end
621
+
622
+ # Message for updating a connection.
623
+ # @!attribute [rw] update_mask
624
+ # @return [::Google::Protobuf::FieldMask]
625
+ # Optional. Fields to overwrite in the connection update.
626
+ # The fields specified in the update_mask are relative to the resource, not
627
+ # the full request. A field will be overwritten if it is in the mask. If you
628
+ # don't provide a mask, all fields are overwritten.
629
+ # @!attribute [rw] connection
630
+ # @return [::Google::Cloud::DesignCenter::V1::Connection]
631
+ # Required. The connection to update.
632
+ class UpdateConnectionRequest
633
+ include ::Google::Protobuf::MessageExts
634
+ extend ::Google::Protobuf::MessageExts::ClassMethods
635
+ end
636
+
637
+ # Message for deleting a connection.
638
+ # @!attribute [rw] name
639
+ # @return [::String]
640
+ # Required. The connection name.
641
+ class DeleteConnectionRequest
642
+ include ::Google::Protobuf::MessageExts
643
+ extend ::Google::Protobuf::MessageExts::ClassMethods
644
+ end
645
+
646
+ # Request message for ImportSerializedApplicationTemplate.
647
+ # @!attribute [rw] name
648
+ # @return [::String]
649
+ # Required. The name of the application template.
650
+ # @!attribute [rw] serialized_application_template
651
+ # @return [::Google::Cloud::DesignCenter::V1::SerializedApplicationTemplate]
652
+ # Required. The serialized application template to be imported.
653
+ class ImportSerializedApplicationTemplateRequest
654
+ include ::Google::Protobuf::MessageExts
655
+ extend ::Google::Protobuf::MessageExts::ClassMethods
656
+ end
657
+
658
+ # Message for requesting a list of application template revisions.
659
+ # @!attribute [rw] parent
660
+ # @return [::String]
661
+ # Required. The parent from which to list application template revisions.
662
+ # @!attribute [rw] page_size
663
+ # @return [::Integer]
664
+ # Optional. The maximum number of results to return from this request.
665
+ # Non-positive
666
+ # values are ignored. The presence of nextPageToken in the response
667
+ # indicates that more results might be available.
668
+ # @!attribute [rw] page_token
669
+ # @return [::String]
670
+ # Optional. If present, then retrieve the next batch of results from the
671
+ # preceding call to this method. pageToken must be the value of nextPageToken
672
+ # from the previous response. The values of other method parameters should be
673
+ # identical to those in the previous call.
674
+ # @!attribute [rw] filter
675
+ # @return [::String]
676
+ # Optional. A filter that chooses which application template revisions to
677
+ # return.
678
+ # @!attribute [rw] order_by
679
+ # @return [::String]
680
+ # Optional. How the results should be sorted.
681
+ class ListApplicationTemplateRevisionsRequest
682
+ include ::Google::Protobuf::MessageExts
683
+ extend ::Google::Protobuf::MessageExts::ClassMethods
684
+ end
685
+
686
+ # Message for response to listing application template revisions.
687
+ # @!attribute [rw] application_template_revisions
688
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ApplicationTemplateRevision>]
689
+ # The list of application template revisions.
690
+ # @!attribute [rw] next_page_token
691
+ # @return [::String]
692
+ # If there might be more results than those appearing in this response, then
693
+ # nextPageToken is included. To get the next set of results, call this method
694
+ # again using the value of nextPageToken as pageToken.
695
+ # @!attribute [rw] unreachable
696
+ # @return [::Array<::String>]
697
+ # Locations that could not be reached.
698
+ class ListApplicationTemplateRevisionsResponse
699
+ include ::Google::Protobuf::MessageExts
700
+ extend ::Google::Protobuf::MessageExts::ClassMethods
701
+ end
702
+
703
+ # Message for getting an application template revision.
704
+ # @!attribute [rw] name
705
+ # @return [::String]
706
+ # Required. The application template revision name.
707
+ class GetApplicationTemplateRevisionRequest
708
+ include ::Google::Protobuf::MessageExts
709
+ extend ::Google::Protobuf::MessageExts::ClassMethods
710
+ end
711
+
712
+ # Message for deleting an application template revision.
713
+ # @!attribute [rw] name
714
+ # @return [::String]
715
+ # Required. The application template revision name.
716
+ class DeleteApplicationTemplateRevisionRequest
717
+ include ::Google::Protobuf::MessageExts
718
+ extend ::Google::Protobuf::MessageExts::ClassMethods
719
+ end
720
+
721
+ # Message for requesting a list of application template system revisions.
722
+ # @!attribute [rw] parent
723
+ # @return [::String]
724
+ # Required. The parent Application Template from which to list the system
725
+ # revisions. Format:
726
+ # projects/\\{project}/locations/\\{location}/spaces/\\{space}/applicationTemplates/\\{application_template}
727
+ # @!attribute [rw] page_size
728
+ # @return [::Integer]
729
+ # Optional. The maximum number of system revisions to return. The service may
730
+ # return fewer than this value. If unspecified, at most 50 system revisions
731
+ # will be returned. The maximum value is 1000; values above 1000 will be
732
+ # coerced to 1000.
733
+ # @!attribute [rw] page_token
734
+ # @return [::String]
735
+ # Optional. If present, then retrieve the next batch of results from the
736
+ # preceding call to this method. pageToken must be the value of nextPageToken
737
+ # from the previous response. The values of other method parameters should be
738
+ # identical to those in the previous call.
739
+ # @!attribute [rw] filter
740
+ # @return [::String]
741
+ # Optional. A filter expression that filters system revisions listed in the
742
+ # response. See https://google.aip.dev/160 for more information on the
743
+ # grammar.
744
+ class ListApplicationTemplateSystemRevisionsRequest
745
+ include ::Google::Protobuf::MessageExts
746
+ extend ::Google::Protobuf::MessageExts::ClassMethods
747
+ end
748
+
749
+ # Message for response to listing application template system revisions.
750
+ # @!attribute [rw] application_template_system_revisions
751
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ApplicationTemplateSystemRevision>]
752
+ # The list of application template system revisions.
753
+ # @!attribute [rw] next_page_token
754
+ # @return [::String]
755
+ # If there might be more results than those appearing in this response, then
756
+ # nextPageToken is included. To get the next set of results, call this method
757
+ # again using the value of nextPageToken as pageToken.
758
+ # @!attribute [rw] unreachable
759
+ # @return [::Array<::String>]
760
+ # Unordered list. Locations that could not be reached.
761
+ class ListApplicationTemplateSystemRevisionsResponse
762
+ include ::Google::Protobuf::MessageExts
763
+ extend ::Google::Protobuf::MessageExts::ClassMethods
764
+ end
765
+
766
+ # Message for getting an ApplicationTemplateSystemRevision.
767
+ # @!attribute [rw] name
768
+ # @return [::String]
769
+ # Required. The name of the ApplicationTemplateSystemRevision to retrieve.
770
+ # Format:
771
+ # projects/\\{project}/locations/\\{location}/spaces/\\{space}/applicationTemplates/\\{application_template}/systemRevisions/\\{system_revision}
772
+ class GetApplicationTemplateSystemRevisionRequest
773
+ include ::Google::Protobuf::MessageExts
774
+ extend ::Google::Protobuf::MessageExts::ClassMethods
775
+ end
776
+ end
777
+ end
778
+ end
779
+ end