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,945 @@
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
+ # Terraform input and output metadata.
25
+ # @!attribute [r] terraform_input
26
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TerraformInput>]
27
+ # Output only. Terraform inputs.
28
+ # @!attribute [r] terraform_output
29
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TerraformOutput>]
30
+ # Output only. Terraform outputs.
31
+ # @!attribute [r] apis
32
+ # @return [::Array<::String>]
33
+ # Output only. APIs that must be enabled to deploy the template, in the form
34
+ # of "compute.googleapis.com".
35
+ # @!attribute [r] roles
36
+ # @return [::Array<::String>]
37
+ # Output only. IAM roles required by the service account deploying the
38
+ # template, in the form of "roles/compute.admin".
39
+ # @!attribute [rw] deployment_duration
40
+ # @return [::Google::Protobuf::Duration]
41
+ # Optional. The time estimate for deploying the blueprint.
42
+ # @!attribute [r] icon_uri
43
+ # @return [::String]
44
+ # Output only. The icon URI for the blueprint.
45
+ # @!attribute [r] connections
46
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TerraformInputConnections>]
47
+ # Output only. Union of all the Terraform input connections.
48
+ # @!attribute [r] ui_metadata
49
+ # @return [::Google::Cloud::DesignCenter::V1::TerraformBlueprintUiMetadata]
50
+ # Output only. UI metadata for the blueprint.
51
+ # @!attribute [r] provider_versions
52
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ProviderVersion>]
53
+ # Output only. Provider versions required to deploy the blueprint.
54
+ class TFBlueprintMetadata
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
+ end
58
+
59
+ # ProviderVersion defines the required version for a provider.
60
+ # @!attribute [r] source
61
+ # @return [::String]
62
+ # Output only. The provider source in the format:
63
+ # [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the
64
+ # Terraform registry.
65
+ # @!attribute [r] version
66
+ # @return [::String]
67
+ # Output only. Version constraint string.
68
+ class ProviderVersion
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+
73
+ # Terraform inputs.
74
+ # @!attribute [r] terraform_input_variable
75
+ # @return [::String]
76
+ # Output only. Input variable name present in Terraform.
77
+ # @!attribute [r] description
78
+ # @return [::String]
79
+ # Output only. Terraform variable description.
80
+ # @!attribute [r] type
81
+ # @return [::String]
82
+ # Output only. The Terraform input data type.
83
+ # @!attribute [r] default_value
84
+ # @return [::Google::Protobuf::Value]
85
+ # Output only. The default value of the Terraform input variable.
86
+ # @!attribute [r] connections
87
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TerraformInputConnections>]
88
+ # Output only. Terraform input connections.
89
+ # @!attribute [r] is_required
90
+ # @return [::Boolean]
91
+ # Output only. Indicates if input is required.
92
+ # @!attribute [rw] sensitive
93
+ # @return [::Boolean]
94
+ # Optional. Indicates if the Terraform variable is sensitive.
95
+ # @!attribute [rw] validation_rules
96
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TerraformVariableValidation>]
97
+ # Optional. Optional validation rules defined on the variable.
98
+ class TerraformInput
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
+ end
102
+
103
+ # Represents a custom validation rule defined on a Terraform input variable.
104
+ # @!attribute [rw] condition
105
+ # @return [::String]
106
+ # Optional. The HCL expression for the validation condition (e.g.,
107
+ # "length(var.image_id) > 4").
108
+ # @!attribute [rw] error_message
109
+ # @return [::String]
110
+ # Optional. The error message displayed when the condition is false.
111
+ class TerraformVariableValidation
112
+ include ::Google::Protobuf::MessageExts
113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
114
+ end
115
+
116
+ # TerraformInputConnections
117
+ # @!attribute [r] cft_template_uri
118
+ # @return [::String]
119
+ # Output only. List of other templates that can be connected to.
120
+ # @!attribute [r] cft_template_version
121
+ # @return [::String]
122
+ # Output only. Version of the other template that can be connected to.
123
+ # @!attribute [r] output_var
124
+ # @return [::String]
125
+ # Output only. Output variable name present in Terraform.
126
+ # @!attribute [r] input_path
127
+ # @return [::String]
128
+ # Output only. Input path of the other template that can be connected to.
129
+ class TerraformInputConnections
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
+ end
133
+
134
+ # Terraform outputs.
135
+ # @!attribute [r] type
136
+ # @return [::Google::Protobuf::Value]
137
+ # Output only. Type of Terraform output.
138
+ # @!attribute [r] terraform_output_variable
139
+ # @return [::String]
140
+ # Output only. Output variable name present in Terraform.
141
+ # @!attribute [r] description
142
+ # @return [::String]
143
+ # Output only. Description of the Terraform varaiable.
144
+ class TerraformOutput
145
+ include ::Google::Protobuf::MessageExts
146
+ extend ::Google::Protobuf::MessageExts::ClassMethods
147
+ end
148
+
149
+ # Terraform blueprint UI metadata.
150
+ # @!attribute [r] terraform_ui_input
151
+ # @return [::Google::Cloud::DesignCenter::V1::TerraformUiInput]
152
+ # Output only. Terraform UI inputs.
153
+ # @!attribute [r] terraform_ui_output
154
+ # @return [::Google::Cloud::DesignCenter::V1::TerraformUiOutput]
155
+ # Output only. Terraform UI outputs.
156
+ class TerraformBlueprintUiMetadata
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
+ end
160
+
161
+ # Alternate default for a UI input.
162
+ # @!attribute [r] type
163
+ # @return [::Google::Cloud::DesignCenter::V1::DisplayVariableAlternateType]
164
+ # Output only. Type of alternate default.
165
+ # @!attribute [r] value
166
+ # @return [::Google::Protobuf::Value]
167
+ # Output only. Value of the alternate default.
168
+ class AlternateDefault
169
+ include ::Google::Protobuf::MessageExts
170
+ extend ::Google::Protobuf::MessageExts::ClassMethods
171
+ end
172
+
173
+ # Value label for a UI input.
174
+ # @!attribute [r] value
175
+ # @return [::String]
176
+ # Output only. Value of the enum.
177
+ # @!attribute [r] label
178
+ # @return [::String]
179
+ # Output only. Label of the enum.
180
+ class ValueLabel
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
+ end
184
+
185
+ # Display variable toggle.
186
+ # @!attribute [r] variable
187
+ # @return [::String]
188
+ # Output only. The name of the variable used to toggle the display of another
189
+ # variable.
190
+ # @!attribute [r] variable_values
191
+ # @return [::Array<::String>]
192
+ # Output only. The value of the variable used to toggle the display of
193
+ # another variable.
194
+ # @!attribute [r] variable_type
195
+ # @return [::Google::Cloud::DesignCenter::V1::DisplayVariableToggle::ToggleVariableType]
196
+ # Output only. The type of the variable used to toggle the display of another
197
+ # variable.
198
+ class DisplayVariableToggle
199
+ include ::Google::Protobuf::MessageExts
200
+ extend ::Google::Protobuf::MessageExts::ClassMethods
201
+
202
+ # Toogle variable type enum.
203
+ module ToggleVariableType
204
+ # Default
205
+ TOGGLE_VARIABLE_TYPE_UNSPECIFIED = 0
206
+
207
+ # Boolean
208
+ TOGGLE_VARIABLE_TYPE_BOOLEAN = 1
209
+
210
+ # String
211
+ TOGGLE_VARIABLE_TYPE_STRING = 2
212
+
213
+ # Integer
214
+ TOGGLE_VARIABLE_TYPE_INTEGER = 3
215
+ end
216
+ end
217
+
218
+ # Terraform blueprint UI input.
219
+ # @!attribute [r] terraform_ui_inputs
220
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::TerraformUiInputDisplayVariable}]
221
+ # Output only. Terraform UI inputs.
222
+ class TerraformUiInput
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
+
226
+ # @!attribute [rw] key
227
+ # @return [::String]
228
+ # @!attribute [rw] value
229
+ # @return [::Google::Cloud::DesignCenter::V1::TerraformUiInputDisplayVariable]
230
+ class TerraformUiInputsEntry
231
+ include ::Google::Protobuf::MessageExts
232
+ extend ::Google::Protobuf::MessageExts::ClassMethods
233
+ end
234
+ end
235
+
236
+ # Terraform blueprint UI input display variable.
237
+ # @!attribute [r] display_name
238
+ # @return [::String]
239
+ # Output only. Display name of the input.
240
+ # @!attribute [r] title
241
+ # @return [::String]
242
+ # Output only. Title of the input.
243
+ # @!attribute [r] alternate_defaults
244
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::AlternateDefault>]
245
+ # Output only. Alternate defaults for the input.
246
+ # @!attribute [r] regex_validation
247
+ # @return [::String]
248
+ # Output only. Regex based validation rules for the variable.
249
+ # @!attribute [r] min
250
+ # @return [::Float]
251
+ # Output only. Minimum value for numeric types.
252
+ # @!attribute [r] max
253
+ # @return [::Float]
254
+ # Output only. Maximum value for numeric types.
255
+ # @!attribute [r] validation
256
+ # @return [::String]
257
+ # Output only. Text describing the validation rules for the property.
258
+ # Typically shown after an invalid input. Optional. UTF-8 text. No markup. At
259
+ # most 128 characters.
260
+ # @!attribute [r] enum_value_labels
261
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ValueLabel>]
262
+ # Output only. Labels for enum values.
263
+ # Values must be UTF-8 text with no markup, and at most 64 characters.
264
+ # @!attribute [r] level
265
+ # @return [::Integer]
266
+ # Output only. Indicates the "advanced" level of the input property. Level 0
267
+ # (default) will always be shown. Level 1 corresponds to one expansion (user
268
+ # clicks "show advanced options" or "more options"). Higher levels correspond
269
+ # to further expansions, or they may be collapsed to level 1 by the UI
270
+ # implementation.
271
+ # Optional.
272
+ # @!attribute [r] subtext
273
+ # @return [::String]
274
+ # Output only. Property subtext, displayed below the title.
275
+ # @!attribute [r] toggle_using_variables
276
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::DisplayVariableToggle>]
277
+ # Output only. Variables used to toggle the display of another variable.
278
+ # @!attribute [r] properties
279
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::TerraformUiInputDisplayVariable}]
280
+ # Output only. A map that defines all fields of the input variable.
281
+ class TerraformUiInputDisplayVariable
282
+ include ::Google::Protobuf::MessageExts
283
+ extend ::Google::Protobuf::MessageExts::ClassMethods
284
+
285
+ # @!attribute [rw] key
286
+ # @return [::String]
287
+ # @!attribute [rw] value
288
+ # @return [::Google::Cloud::DesignCenter::V1::TerraformUiInputDisplayVariable]
289
+ class PropertiesEntry
290
+ include ::Google::Protobuf::MessageExts
291
+ extend ::Google::Protobuf::MessageExts::ClassMethods
292
+ end
293
+ end
294
+
295
+ # Terraform blueprint UI output.
296
+ # @!attribute [r] output_message
297
+ # @return [::String]
298
+ # Output only. Message to be displayed in the UI.
299
+ # @!attribute [r] terraform_ui_outputs
300
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::TerraformUiOutputDisplay}]
301
+ # Output only. Visibility of the output.
302
+ class TerraformUiOutput
303
+ include ::Google::Protobuf::MessageExts
304
+ extend ::Google::Protobuf::MessageExts::ClassMethods
305
+
306
+ # @!attribute [rw] key
307
+ # @return [::String]
308
+ # @!attribute [rw] value
309
+ # @return [::Google::Cloud::DesignCenter::V1::TerraformUiOutputDisplay]
310
+ class TerraformUiOutputsEntry
311
+ include ::Google::Protobuf::MessageExts
312
+ extend ::Google::Protobuf::MessageExts::ClassMethods
313
+ end
314
+ end
315
+
316
+ # Terraform blueprint UI output display.
317
+ # @!attribute [r] visibility
318
+ # @return [::Google::Cloud::DesignCenter::V1::DisplayVariableVisibility]
319
+ # Output only. Visibility of the output.
320
+ class TerraformUiOutputDisplay
321
+ include ::Google::Protobuf::MessageExts
322
+ extend ::Google::Protobuf::MessageExts::ClassMethods
323
+ end
324
+
325
+ # Helm Chart metadata.
326
+ # @!attribute [r] helm_input
327
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::HelmChartInput>]
328
+ # Output only. Helm Chart inputs.
329
+ # @!attribute [r] helm_output
330
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::HelmChartOutput>]
331
+ # Output only. Helm Chart outputs.
332
+ class HelmChartMetadata
333
+ include ::Google::Protobuf::MessageExts
334
+ extend ::Google::Protobuf::MessageExts::ClassMethods
335
+ end
336
+
337
+ # Helm Chart inputs.
338
+ # Documentation: https://helm.sh/docs/
339
+ # @!attribute [r] helm_input_variable
340
+ # @return [::String]
341
+ # Output only. Input variable name present in Helm Chart values.yaml
342
+ # @!attribute [r] description
343
+ # @return [::String]
344
+ # Output only. Input variable description.
345
+ # @!attribute [r] type
346
+ # @return [::String]
347
+ # Output only. Input data type.
348
+ # @!attribute [r] default_value
349
+ # @return [::Google::Protobuf::Value]
350
+ # Output only. The default value of the input variable.
351
+ # @!attribute [r] is_required
352
+ # @return [::Boolean]
353
+ # Output only. Indicates if input is required.
354
+ # @!attribute [r] nested_inputs
355
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::HelmChartInput}]
356
+ # Output only. Contains details of nested inputs.
357
+ class HelmChartInput
358
+ include ::Google::Protobuf::MessageExts
359
+ extend ::Google::Protobuf::MessageExts::ClassMethods
360
+
361
+ # @!attribute [rw] key
362
+ # @return [::String]
363
+ # @!attribute [rw] value
364
+ # @return [::Google::Cloud::DesignCenter::V1::HelmChartInput]
365
+ class NestedInputsEntry
366
+ include ::Google::Protobuf::MessageExts
367
+ extend ::Google::Protobuf::MessageExts::ClassMethods
368
+ end
369
+ end
370
+
371
+ # Helm Chart outputs.
372
+ # @!attribute [r] value
373
+ # @return [::Google::Protobuf::Value]
374
+ # Output only. Type of output.
375
+ # @!attribute [r] helm_output_variable
376
+ # @return [::String]
377
+ # Output only. Output variable name present.
378
+ # @!attribute [r] description
379
+ # @return [::String]
380
+ # Output only. Description of the variable.
381
+ class HelmChartOutput
382
+ include ::Google::Protobuf::MessageExts
383
+ extend ::Google::Protobuf::MessageExts::ClassMethods
384
+ end
385
+
386
+ # Metadata for the input
387
+ # @!attribute [rw] spec
388
+ # @return [::Google::Cloud::DesignCenter::V1::MetadataInputSpec]
389
+ # Required. spec containing the metadata
390
+ class MetadataInput
391
+ include ::Google::Protobuf::MessageExts
392
+ extend ::Google::Protobuf::MessageExts::ClassMethods
393
+ end
394
+
395
+ # Specifications for the input
396
+ # @!attribute [rw] info
397
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateInfo]
398
+ # Optional. TemplateInfo provides the actuation tool information.
399
+ # @!attribute [rw] interfaces
400
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateSchema]
401
+ # Optional. TemplateSchemas provides the input variables lists and connection
402
+ # information.
403
+ # @!attribute [rw] requirements
404
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateRequirements]
405
+ # Required. TemplateRequirements defines the roles required and the provider
406
+ # versions.
407
+ # @!attribute [rw] ui
408
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateUi]
409
+ # Optional. TemplateUi defines the UI related information for the Template.
410
+ class MetadataInputSpec
411
+ include ::Google::Protobuf::MessageExts
412
+ extend ::Google::Protobuf::MessageExts::ClassMethods
413
+ end
414
+
415
+ # TemplateInfo provides the actuation tool information.
416
+ # @!attribute [rw] actuation_tool
417
+ # @return [::Google::Cloud::DesignCenter::V1::IacFormatInfo]
418
+ # Required. IaCFormatInfo defines the actuation tool used to provision the
419
+ # Template.
420
+ class TemplateInfo
421
+ include ::Google::Protobuf::MessageExts
422
+ extend ::Google::Protobuf::MessageExts::ClassMethods
423
+ end
424
+
425
+ # IacFormatInfo defines the actuation tool used to provision the
426
+ # Template.
427
+ # @!attribute [rw] flavor
428
+ # @return [::String]
429
+ # Required. Flavor is the type of the actuation tool.
430
+ # @!attribute [rw] version
431
+ # @return [::String]
432
+ # Required. Required version for the actuation tool.
433
+ # required_version = ">= 0.13"
434
+ class IacFormatInfo
435
+ include ::Google::Protobuf::MessageExts
436
+ extend ::Google::Protobuf::MessageExts::ClassMethods
437
+ end
438
+
439
+ # TemplateSchema provides the input variables lists and connection
440
+ # information.
441
+ # @!attribute [rw] variables
442
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TemplateVariable>]
443
+ # Required. All defined variables for the Template
444
+ class TemplateSchema
445
+ include ::Google::Protobuf::MessageExts
446
+ extend ::Google::Protobuf::MessageExts::ClassMethods
447
+ end
448
+
449
+ # TemplateTerraform inputs.
450
+ # @!attribute [rw] name
451
+ # @return [::String]
452
+ # Required. Input variable name present in Terraform.
453
+ # @!attribute [rw] connections
454
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TemplateConnections>]
455
+ # Required. Terraform input connections.
456
+ class TemplateVariable
457
+ include ::Google::Protobuf::MessageExts
458
+ extend ::Google::Protobuf::MessageExts::ClassMethods
459
+ end
460
+
461
+ # TemplateConnections
462
+ # @!attribute [rw] source
463
+ # @return [::Google::Cloud::DesignCenter::V1::ConnectionSource]
464
+ # Required. Source of the connection.
465
+ # @!attribute [rw] spec
466
+ # @return [::Google::Cloud::DesignCenter::V1::ConnectionSpec]
467
+ # Required. Connection specifications.
468
+ class TemplateConnections
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # Defines the source of a connection.
474
+ # @!attribute [rw] source
475
+ # @return [::String]
476
+ # Required. Source of the connection. Defined using the same format as module
477
+ # source of form [hostname]/namespace/name/provider for registry references
478
+ # and unprefixed github.com URLs for github references.
479
+ # @!attribute [rw] version
480
+ # @return [::String]
481
+ # Required. Version constraint syntax using the same format as module version
482
+ # constraints.
483
+ class ConnectionSource
484
+ include ::Google::Protobuf::MessageExts
485
+ extend ::Google::Protobuf::MessageExts::ClassMethods
486
+ end
487
+
488
+ # Defines the specifications of a connection.
489
+ # @!attribute [rw] output_expr
490
+ # @return [::String]
491
+ # Required. Output expression identifying output being connected to variable.
492
+ # @!attribute [rw] input_path
493
+ # @return [::String]
494
+ # Optional. Optional dot separated attribuite notation to connect to a
495
+ # specific object field of the input variable.
496
+ class ConnectionSpec
497
+ include ::Google::Protobuf::MessageExts
498
+ extend ::Google::Protobuf::MessageExts::ClassMethods
499
+ end
500
+
501
+ # TemplateRequirements defines the roles required and the associated services
502
+ # that need to be enabled to provision Template resources.
503
+ # @!attribute [rw] roles
504
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TemplateRoles>]
505
+ # Required. All roles required for the component
506
+ # @!attribute [rw] provider_versions
507
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ProviderVersion>]
508
+ # Required. Required provider versions.
509
+ class TemplateRequirements
510
+ include ::Google::Protobuf::MessageExts
511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
512
+ end
513
+
514
+ # Template Roles provide the level and roles
515
+ # @!attribute [rw] level
516
+ # @return [::String]
517
+ # Required. Level of the role.
518
+ # @!attribute [rw] roles
519
+ # @return [::Array<::String>]
520
+ # Required. List of roles.
521
+ class TemplateRoles
522
+ include ::Google::Protobuf::MessageExts
523
+ extend ::Google::Protobuf::MessageExts::ClassMethods
524
+ end
525
+
526
+ # TemplateUi defines the UI related information for the Template.
527
+ # @!attribute [rw] input
528
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateUiInput]
529
+ # Required. The top-level input section that defines the list of variables
530
+ # and their sections on the deployment page.
531
+ # @!attribute [rw] runtime
532
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateUiOutput]
533
+ # Optional. The top-level output section that defines the list of outputs and
534
+ # their visibility on the deployment page.
535
+ class TemplateUi
536
+ include ::Google::Protobuf::MessageExts
537
+ extend ::Google::Protobuf::MessageExts::ClassMethods
538
+ end
539
+
540
+ # TemplateUiInput defines the list of variables and their sections on the
541
+ # deployment page.
542
+ # @!attribute [rw] variables
543
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DisplayVariable}]
544
+ # Required. variables is a map defining all inputs on the UI.
545
+ class TemplateUiInput
546
+ include ::Google::Protobuf::MessageExts
547
+ extend ::Google::Protobuf::MessageExts::ClassMethods
548
+
549
+ # @!attribute [rw] key
550
+ # @return [::String]
551
+ # @!attribute [rw] value
552
+ # @return [::Google::Cloud::DesignCenter::V1::DisplayVariable]
553
+ class VariablesEntry
554
+ include ::Google::Protobuf::MessageExts
555
+ extend ::Google::Protobuf::MessageExts::ClassMethods
556
+ end
557
+ end
558
+
559
+ # TemplateUiOutput defines the list of outputs and their visibility on the
560
+ # deployment page.
561
+ # @!attribute [rw] output_message
562
+ # @return [::String]
563
+ # Optional. Message to be displayed in the UI.
564
+ # @!attribute [rw] outputs
565
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::TemplateUiOutputDisplayVariable}]
566
+ # Required. outputs is a map defining all outputs on the UI.
567
+ class TemplateUiOutput
568
+ include ::Google::Protobuf::MessageExts
569
+ extend ::Google::Protobuf::MessageExts::ClassMethods
570
+
571
+ # @!attribute [rw] key
572
+ # @return [::String]
573
+ # @!attribute [rw] value
574
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateUiOutputDisplayVariable]
575
+ class OutputsEntry
576
+ include ::Google::Protobuf::MessageExts
577
+ extend ::Google::Protobuf::MessageExts::ClassMethods
578
+ end
579
+ end
580
+
581
+ # Additional display specific Template pertaining to a particular output
582
+ # variable.
583
+ # @!attribute [rw] visibility
584
+ # @return [::Google::Cloud::DesignCenter::V1::DisplayVariableVisibility]
585
+ # Required. Visibility of the output.
586
+ class TemplateUiOutputDisplayVariable
587
+ include ::Google::Protobuf::MessageExts
588
+ extend ::Google::Protobuf::MessageExts::ClassMethods
589
+ end
590
+
591
+ # Additional display specific Template pertaining to a particular input
592
+ # variable.
593
+ # @!attribute [rw] name
594
+ # @return [::String]
595
+ # Required. The variable name from the corresponding standard Template file.
596
+ # @!attribute [rw] title
597
+ # @return [::String]
598
+ # Required. Visible title for the variable on the UI.
599
+ # @!attribute [rw] alternate_defaults
600
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::AlternateDefaultInput>]
601
+ # Optional. Alternate defaults for the input.
602
+ # @!attribute [rw] regex_validation
603
+ # @return [::String]
604
+ # Optional. Regex based validation rules for the variable.
605
+ # @!attribute [rw] min
606
+ # @return [::Float]
607
+ # Optional. Minimum value for numeric types.
608
+ # @!attribute [rw] max
609
+ # @return [::Float]
610
+ # Optional. Maximum value for numeric types.
611
+ # @!attribute [rw] validation
612
+ # @return [::String]
613
+ # Optional. Text describing the validation rules for the property. Typically
614
+ # shown after an invalid input. Optional. UTF-8 text. No markup. At most 128
615
+ # characters.
616
+ # @!attribute [rw] enum_value_labels
617
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ValueLabelInput>]
618
+ # Optional. Labels for enum values.
619
+ # Values must be UTF-8 text with no markup, and at most 64 characters.
620
+ # @!attribute [rw] level
621
+ # @return [::Integer]
622
+ # Optional. Indicates the "advanced" level of the input property. Level 0
623
+ # (default) will always be shown. Level 1 corresponds to one expansion (user
624
+ # clicks "show advanced options" or "more options"). Higher levels correspond
625
+ # to further expansions, or they may be collapsed to level 1 by the UI
626
+ # implementation.
627
+ # Optional.
628
+ # @!attribute [rw] subtext
629
+ # @return [::String]
630
+ # Optional. Property subtext, displayed below the title.
631
+ # @!attribute [rw] properties
632
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DisplayVariable}]
633
+ # Optional. properties is a map defining all the fields of the input
634
+ # variable.
635
+ class DisplayVariable
636
+ include ::Google::Protobuf::MessageExts
637
+ extend ::Google::Protobuf::MessageExts::ClassMethods
638
+
639
+ # @!attribute [rw] key
640
+ # @return [::String]
641
+ # @!attribute [rw] value
642
+ # @return [::Google::Cloud::DesignCenter::V1::DisplayVariable]
643
+ class PropertiesEntry
644
+ include ::Google::Protobuf::MessageExts
645
+ extend ::Google::Protobuf::MessageExts::ClassMethods
646
+ end
647
+ end
648
+
649
+ # Value label input for a UI.
650
+ # @!attribute [rw] value
651
+ # @return [::String]
652
+ # Optional. Value of the enum.
653
+ # @!attribute [rw] label
654
+ # @return [::String]
655
+ # Optional. Label of the enum.
656
+ class ValueLabelInput
657
+ include ::Google::Protobuf::MessageExts
658
+ extend ::Google::Protobuf::MessageExts::ClassMethods
659
+ end
660
+
661
+ # Alternate default input for a UI.
662
+ # @!attribute [rw] type
663
+ # @return [::Google::Cloud::DesignCenter::V1::DisplayVariableAlternateType]
664
+ # Optional. Type of alternate default.
665
+ # @!attribute [rw] value
666
+ # @return [::Google::Protobuf::Value]
667
+ # Optional. Value of the alternate default.
668
+ class AlternateDefaultInput
669
+ include ::Google::Protobuf::MessageExts
670
+ extend ::Google::Protobuf::MessageExts::ClassMethods
671
+ end
672
+
673
+ # Represents a Product Main logical product.
674
+ # @!attribute [r] name
675
+ # @return [::String]
676
+ # Output only. The resource name of the logical product.
677
+ # Format: logicalProducts/\\{logical_product}
678
+ # @!attribute [r] title
679
+ # @return [::String]
680
+ # Output only. The display name of the logical product.
681
+ # @!attribute [r] short_description
682
+ # @return [::String]
683
+ # Output only. A short description of the logical product.
684
+ class LogicalProduct
685
+ include ::Google::Protobuf::MessageExts
686
+ extend ::Google::Protobuf::MessageExts::ClassMethods
687
+ end
688
+
689
+ # Inferred metadata.
690
+ # @!attribute [r] description
691
+ # @return [::String]
692
+ # Output only. Inferred description.
693
+ # @!attribute [r] template_metadata
694
+ # @return [::Google::Cloud::DesignCenter::V1::TFBlueprintMetadata]
695
+ # Output only. Inferred template metadata related to Terraform input and
696
+ # output.
697
+ # @!attribute [r] create_time
698
+ # @return [::Google::Protobuf::Timestamp]
699
+ # Output only. Inferred metadata creation timestamp.
700
+ # @!attribute [r] update_time
701
+ # @return [::Google::Protobuf::Timestamp]
702
+ # Output only. Inferred metadata update timestamp.
703
+ class InferredMetadata
704
+ include ::Google::Protobuf::MessageExts
705
+ extend ::Google::Protobuf::MessageExts::ClassMethods
706
+ end
707
+
708
+ # Represents the type of a resource within a component template.
709
+ # @!attribute [r] tf_resource
710
+ # @return [::String]
711
+ # Output only. The Terraform resource type. For example:
712
+ # "google_compute_instance".
713
+ # @!attribute [r] cais_resource
714
+ # @return [::String]
715
+ # Output only. The CAIS resource type.
716
+ class ResourceType
717
+ include ::Google::Protobuf::MessageExts
718
+ extend ::Google::Protobuf::MessageExts::ClassMethods
719
+ end
720
+
721
+ # Top-level message representing a Terraform module and its metadata.
722
+ # @!attribute [rw] uri
723
+ # @return [::String]
724
+ # Optional. The URI of the Terraform module.
725
+ # @!attribute [rw] id
726
+ # @return [::String]
727
+ # Optional. Unique identifier for the module version, e.g.,
728
+ # "GoogleCloudPlatform/secret-manager/google/0.9.0"
729
+ # @!attribute [rw] owner
730
+ # @return [::String]
731
+ # Optional. Owner of the module.
732
+ # @!attribute [rw] module_namespace
733
+ # @return [::String]
734
+ # Optional. Namespace for the module, often the organization.
735
+ # @!attribute [rw] name
736
+ # @return [::String]
737
+ # Optional. Name of the module.
738
+ # @!attribute [rw] version
739
+ # @return [::String]
740
+ # Optional. Semantic version of the module.
741
+ # @!attribute [rw] provider
742
+ # @return [::String]
743
+ # Optional. Primary provider used by the module, e.g., "google".
744
+ # @!attribute [rw] description
745
+ # @return [::String]
746
+ # Optional. Description of the module's purpose.
747
+ # @!attribute [rw] source
748
+ # @return [::String]
749
+ # Optional. URL to the source repository.
750
+ # @!attribute [rw] tag
751
+ # @return [::String]
752
+ # Optional. Git tag or ref for this version.
753
+ # @!attribute [rw] root
754
+ # @return [::Google::Cloud::DesignCenter::V1::ModuleDetails]
755
+ # Optional. Details of the root module.
756
+ # @!attribute [rw] submodules
757
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ModuleDetails>]
758
+ # Optional. List of submodules within this module.
759
+ # @!attribute [rw] examples
760
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ModuleDetails>]
761
+ # Optional. List of examples for this module.
762
+ # @!attribute [rw] providers
763
+ # @return [::Array<::String>]
764
+ # Optional. List of provider names used.
765
+ # @!attribute [rw] versions
766
+ # @return [::Array<::String>]
767
+ # Optional. List of available versions for this module.
768
+ # @!attribute [rw] revisions
769
+ # @return [::Array<::String>]
770
+ # Optional. List of available revisions for this module.
771
+ # @!attribute [rw] connections
772
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::TerraformInputConnections>]
773
+ # Optional. Terraform input connections.
774
+ class TerraformModuleMetadata
775
+ include ::Google::Protobuf::MessageExts
776
+ extend ::Google::Protobuf::MessageExts::ClassMethods
777
+ end
778
+
779
+ # Details about a specific module, submodule, or example.
780
+ # @!attribute [rw] path
781
+ # @return [::String]
782
+ # Optional. Relative path to the module/example.
783
+ # @!attribute [rw] name
784
+ # @return [::String]
785
+ # Optional. Name of the module/example.
786
+ # @!attribute [rw] readme
787
+ # @return [::String]
788
+ # Optional. Content of the README file.
789
+ # @!attribute [rw] empty
790
+ # @return [::Boolean]
791
+ # Optional. Indicates if the module/example directory is empty of .tf files.
792
+ # @!attribute [rw] inputs
793
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ModuleInput>]
794
+ # Optional. List of input variables.
795
+ # @!attribute [rw] outputs
796
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ModuleOutput>]
797
+ # Optional. List of outputs.
798
+ # @!attribute [rw] module_dependencies
799
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ModuleDependency>]
800
+ # Optional. List of module dependencies.
801
+ # @!attribute [rw] provider_dependencies
802
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ProviderDependency>]
803
+ # Optional. List of provider dependencies.
804
+ # @!attribute [rw] resources
805
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::ModuleResource>]
806
+ # Optional. List of resources defined.
807
+ class ModuleDetails
808
+ include ::Google::Protobuf::MessageExts
809
+ extend ::Google::Protobuf::MessageExts::ClassMethods
810
+ end
811
+
812
+ # Represents an input variable for a module.
813
+ # @!attribute [rw] name
814
+ # @return [::String]
815
+ # Optional. Name of the input variable.
816
+ # @!attribute [rw] type
817
+ # @return [::String]
818
+ # Optional. Terraform type of the variable.
819
+ # @!attribute [rw] description
820
+ # @return [::String]
821
+ # Optional. Description of the variable.
822
+ # @!attribute [rw] default_value
823
+ # @return [::Google::Protobuf::Value]
824
+ # Optional. Default value of the variable as a string representation.
825
+ # Using google.protobuf.Value to allow for different types, though a string
826
+ # is common.
827
+ # @!attribute [rw] required
828
+ # @return [::Boolean]
829
+ # Optional. Whether the input variable is required.
830
+ class ModuleInput
831
+ include ::Google::Protobuf::MessageExts
832
+ extend ::Google::Protobuf::MessageExts::ClassMethods
833
+ end
834
+
835
+ # Represents an output value from a module.
836
+ # @!attribute [rw] name
837
+ # @return [::String]
838
+ # Optional. Name of the output.
839
+ # @!attribute [rw] description
840
+ # @return [::String]
841
+ # Optional. Description of the output.
842
+ class ModuleOutput
843
+ include ::Google::Protobuf::MessageExts
844
+ extend ::Google::Protobuf::MessageExts::ClassMethods
845
+ end
846
+
847
+ # Represents a dependency on another Terraform module.
848
+ # @!attribute [rw] name
849
+ # @return [::String]
850
+ # Optional. Local name of the module instance.
851
+ # @!attribute [rw] source
852
+ # @return [::String]
853
+ # Optional. Source of the module.
854
+ # @!attribute [rw] version
855
+ # @return [::String]
856
+ # Optional. Version constraint for the module.
857
+ class ModuleDependency
858
+ include ::Google::Protobuf::MessageExts
859
+ extend ::Google::Protobuf::MessageExts::ClassMethods
860
+ end
861
+
862
+ # Represents a dependency on a Terraform provider.
863
+ # @!attribute [rw] name
864
+ # @return [::String]
865
+ # Optional. Name of the provider.
866
+ # @!attribute [rw] provider_namespace
867
+ # @return [::String]
868
+ # Optional. Namespace of the provider (e.g., "hashicorp").
869
+ # @!attribute [rw] source
870
+ # @return [::String]
871
+ # Optional. Source path of the provider.
872
+ # @!attribute [rw] version
873
+ # @return [::String]
874
+ # Optional. Version constraints for the provider.
875
+ class ProviderDependency
876
+ include ::Google::Protobuf::MessageExts
877
+ extend ::Google::Protobuf::MessageExts::ClassMethods
878
+ end
879
+
880
+ # Represents a resource declared within a module.
881
+ # @!attribute [rw] name
882
+ # @return [::String]
883
+ # Optional. Local name of the resource instance.
884
+ # @!attribute [rw] type
885
+ # @return [::String]
886
+ # Optional. Type of the resource (e.g., "google_secret_manager_secret").
887
+ class ModuleResource
888
+ include ::Google::Protobuf::MessageExts
889
+ extend ::Google::Protobuf::MessageExts::ClassMethods
890
+ end
891
+
892
+ # Response message for ListCatalogTemplateRevisionMetadata.
893
+ # @!attribute [rw] catalog_template_revision_metadata
894
+ # @return [::Array<::Google::Cloud::DesignCenter::V1::CatalogTemplateRevisionMetadata>]
895
+ # List of catalog template revisions.
896
+ # @!attribute [rw] next_page_token
897
+ # @return [::String]
898
+ # If there might be more results than those appearing in this response, then
899
+ # nextPageToken is included. To get the next set of results, call this method
900
+ # again using the value of nextPageToken as pageToken.
901
+ # @!attribute [rw] unreachable
902
+ # @return [::Array<::String>]
903
+ # Locations that could not be reached.
904
+ class ListCatalogTemplateRevisionMetadataResponse
905
+ include ::Google::Protobuf::MessageExts
906
+ extend ::Google::Protobuf::MessageExts::ClassMethods
907
+ end
908
+
909
+ # Represents metadata of a catalog template revision in the management context.
910
+ # @!attribute [r] name
911
+ # @return [::String]
912
+ # Output only. The catalog template name in following format:
913
+ # `projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template`
914
+ # @!attribute [r] create_time
915
+ # @return [::Google::Protobuf::Timestamp]
916
+ # Output only. The catalog template creation timestamp.
917
+ # @!attribute [r] update_time
918
+ # @return [::Google::Protobuf::Timestamp]
919
+ # Output only. The catalog template update timestamp.
920
+ # @!attribute [r] uuid
921
+ # @return [::String]
922
+ # Output only. The template revisions UUID.
923
+ # @!attribute [r] latest_revision_id
924
+ # @return [::String]
925
+ # Output only. Latest revision of the template.
926
+ # @!attribute [rw] display_name
927
+ # @return [::String]
928
+ # Optional. The display name of the catalog template.
929
+ # @!attribute [rw] template_category
930
+ # @return [::Google::Cloud::DesignCenter::V1::TemplateCategory]
931
+ # Required. The category of the catalog template.
932
+ # @!attribute [rw] git_source_uri
933
+ # @return [::String]
934
+ # Optional. The Git source URI where the template repository is hosted.
935
+ # @!attribute [rw] description
936
+ # @return [::String]
937
+ # Optional. The catalog template description.
938
+ class CatalogTemplateRevisionMetadata
939
+ include ::Google::Protobuf::MessageExts
940
+ extend ::Google::Protobuf::MessageExts::ClassMethods
941
+ end
942
+ end
943
+ end
944
+ end
945
+ end