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,477 @@
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
+ module DesignCenter
25
+ # Path helper methods for the DesignCenter API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Application resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/spaces/{space}/applications/{application}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param space [String]
37
+ # @param application [String]
38
+ #
39
+ # @return [::String]
40
+ def application_path project:, location:, space:, application:
41
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
44
+
45
+ "projects/#{project}/locations/#{location}/spaces/#{space}/applications/#{application}"
46
+ end
47
+
48
+ ##
49
+ # Create a fully-qualified ApplicationTemplate resource string.
50
+ #
51
+ # The resource will be in the following format:
52
+ #
53
+ # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}`
54
+ #
55
+ # @param project [String]
56
+ # @param location [String]
57
+ # @param space [String]
58
+ # @param application_template [String]
59
+ #
60
+ # @return [::String]
61
+ def application_template_path project:, location:, space:, application_template:
62
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
63
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
64
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
65
+
66
+ "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}"
67
+ end
68
+
69
+ ##
70
+ # Create a fully-qualified ApplicationTemplateRevision resource string.
71
+ #
72
+ # The resource will be in the following format:
73
+ #
74
+ # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}`
75
+ #
76
+ # @param project [String]
77
+ # @param location [String]
78
+ # @param space [String]
79
+ # @param application_template [String]
80
+ # @param revision [String]
81
+ #
82
+ # @return [::String]
83
+ def application_template_revision_path project:, location:, space:, application_template:, revision:
84
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
85
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
86
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
87
+ raise ::ArgumentError, "application_template cannot contain /" if application_template.to_s.include? "/"
88
+
89
+ "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}/revisions/#{revision}"
90
+ end
91
+
92
+ ##
93
+ # Create a fully-qualified ApplicationTemplateSystemRevision resource string.
94
+ #
95
+ # The resource will be in the following format:
96
+ #
97
+ # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision}`
98
+ #
99
+ # @param project [String]
100
+ # @param location [String]
101
+ # @param space [String]
102
+ # @param application_template [String]
103
+ # @param system_revision [String]
104
+ #
105
+ # @return [::String]
106
+ def application_template_system_revision_path project:, location:, space:, application_template:, system_revision:
107
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
108
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
109
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
110
+ raise ::ArgumentError, "application_template cannot contain /" if application_template.to_s.include? "/"
111
+
112
+ "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}/systemRevisions/#{system_revision}"
113
+ end
114
+
115
+ ##
116
+ # Create a fully-qualified Catalog resource string.
117
+ #
118
+ # The resource will be in the following format:
119
+ #
120
+ # `projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}`
121
+ #
122
+ # @param project [String]
123
+ # @param location [String]
124
+ # @param space [String]
125
+ # @param catalog [String]
126
+ #
127
+ # @return [::String]
128
+ def catalog_path project:, location:, space:, catalog:
129
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
130
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
131
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
132
+
133
+ "projects/#{project}/locations/#{location}/spaces/#{space}/catalogs/#{catalog}"
134
+ end
135
+
136
+ ##
137
+ # Create a fully-qualified CatalogTemplate resource string.
138
+ #
139
+ # The resource will be in the following format:
140
+ #
141
+ # `projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}/templates/{catalog_template}`
142
+ #
143
+ # @param project [String]
144
+ # @param location [String]
145
+ # @param space [String]
146
+ # @param catalog [String]
147
+ # @param catalog_template [String]
148
+ #
149
+ # @return [::String]
150
+ def catalog_template_path project:, location:, space:, catalog:, catalog_template:
151
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
152
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
153
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
154
+ raise ::ArgumentError, "catalog cannot contain /" if catalog.to_s.include? "/"
155
+
156
+ "projects/#{project}/locations/#{location}/spaces/#{space}/catalogs/#{catalog}/templates/#{catalog_template}"
157
+ end
158
+
159
+ ##
160
+ # Create a fully-qualified CatalogTemplateRevision resource string.
161
+ #
162
+ # The resource will be in the following format:
163
+ #
164
+ # `projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}/templates/{catalog_template}/revisions/{revision}`
165
+ #
166
+ # @param project [String]
167
+ # @param location [String]
168
+ # @param space [String]
169
+ # @param catalog [String]
170
+ # @param catalog_template [String]
171
+ # @param revision [String]
172
+ #
173
+ # @return [::String]
174
+ def catalog_template_revision_path project:, location:, space:, catalog:, catalog_template:, revision:
175
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
176
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
177
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
178
+ raise ::ArgumentError, "catalog cannot contain /" if catalog.to_s.include? "/"
179
+ raise ::ArgumentError, "catalog_template cannot contain /" if catalog_template.to_s.include? "/"
180
+
181
+ "projects/#{project}/locations/#{location}/spaces/#{space}/catalogs/#{catalog}/templates/#{catalog_template}/revisions/#{revision}"
182
+ end
183
+
184
+ ##
185
+ # Create a fully-qualified CloudControl resource string.
186
+ #
187
+ # @overload cloud_control_path(organization:, location:, cloud_control:)
188
+ # The resource will be in the following format:
189
+ #
190
+ # `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
191
+ #
192
+ # @param organization [String]
193
+ # @param location [String]
194
+ # @param cloud_control [String]
195
+ #
196
+ # @overload cloud_control_path(project:, location:, cloud_control:)
197
+ # The resource will be in the following format:
198
+ #
199
+ # `projects/{project}/locations/{location}/cloudControls/{cloud_control}`
200
+ #
201
+ # @param project [String]
202
+ # @param location [String]
203
+ # @param cloud_control [String]
204
+ #
205
+ # @return [::String]
206
+ def cloud_control_path **args
207
+ resources = {
208
+ "cloud_control:location:organization" => (proc do |organization:, location:, cloud_control:|
209
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
210
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
211
+
212
+ "organizations/#{organization}/locations/#{location}/cloudControls/#{cloud_control}"
213
+ end),
214
+ "cloud_control:location:project" => (proc do |project:, location:, cloud_control:|
215
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
216
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
217
+
218
+ "projects/#{project}/locations/#{location}/cloudControls/#{cloud_control}"
219
+ end)
220
+ }
221
+
222
+ resource = resources[args.keys.sort.join(":")]
223
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
224
+ resource.call(**args)
225
+ end
226
+
227
+ ##
228
+ # Create a fully-qualified Component resource string.
229
+ #
230
+ # The resource will be in the following format:
231
+ #
232
+ # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}`
233
+ #
234
+ # @param project [String]
235
+ # @param location [String]
236
+ # @param space [String]
237
+ # @param application_template [String]
238
+ # @param component [String]
239
+ #
240
+ # @return [::String]
241
+ def component_path project:, location:, space:, application_template:, component:
242
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
243
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
244
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
245
+ raise ::ArgumentError, "application_template cannot contain /" if application_template.to_s.include? "/"
246
+
247
+ "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}/components/#{component}"
248
+ end
249
+
250
+ ##
251
+ # Create a fully-qualified Connection resource string.
252
+ #
253
+ # The resource will be in the following format:
254
+ #
255
+ # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}/connections/{connection}`
256
+ #
257
+ # @param project [String]
258
+ # @param location [String]
259
+ # @param space [String]
260
+ # @param application_template [String]
261
+ # @param component [String]
262
+ # @param connection [String]
263
+ #
264
+ # @return [::String]
265
+ def connection_path project:, location:, space:, application_template:, component:, connection:
266
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
267
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
268
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
269
+ raise ::ArgumentError, "application_template cannot contain /" if application_template.to_s.include? "/"
270
+ raise ::ArgumentError, "component cannot contain /" if component.to_s.include? "/"
271
+
272
+ "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}/components/#{component}/connections/#{connection}"
273
+ end
274
+
275
+ ##
276
+ # Create a fully-qualified GitRepositoryLink resource string.
277
+ #
278
+ # The resource will be in the following format:
279
+ #
280
+ # `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}`
281
+ #
282
+ # @param project [String]
283
+ # @param location [String]
284
+ # @param connection [String]
285
+ # @param git_repository_link [String]
286
+ #
287
+ # @return [::String]
288
+ def git_repository_link_path project:, location:, connection:, git_repository_link:
289
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
290
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
291
+ raise ::ArgumentError, "connection cannot contain /" if connection.to_s.include? "/"
292
+
293
+ "projects/#{project}/locations/#{location}/connections/#{connection}/gitRepositoryLinks/#{git_repository_link}"
294
+ end
295
+
296
+ ##
297
+ # Create a fully-qualified Location resource string.
298
+ #
299
+ # The resource will be in the following format:
300
+ #
301
+ # `projects/{project}/locations/{location}`
302
+ #
303
+ # @param project [String]
304
+ # @param location [String]
305
+ #
306
+ # @return [::String]
307
+ def location_path project:, location:
308
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
309
+
310
+ "projects/#{project}/locations/#{location}"
311
+ end
312
+
313
+ ##
314
+ # Create a fully-qualified Policy resource string.
315
+ #
316
+ # The resource will be in the following format:
317
+ #
318
+ # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}`
319
+ #
320
+ # @param project [String]
321
+ # @param location [String]
322
+ # @param space [String]
323
+ # @param application_template [String]
324
+ # @param policy [String]
325
+ #
326
+ # @return [::String]
327
+ def policy_path project:, location:, space:, application_template:, policy:
328
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
329
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
330
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
331
+ raise ::ArgumentError, "application_template cannot contain /" if application_template.to_s.include? "/"
332
+
333
+ "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}/policies/#{policy}"
334
+ end
335
+
336
+ ##
337
+ # Create a fully-qualified Role resource string.
338
+ #
339
+ # @overload role_path(organization:, role:)
340
+ # The resource will be in the following format:
341
+ #
342
+ # `organizations/{organization}/roles/{role}`
343
+ #
344
+ # @param organization [String]
345
+ # @param role [String]
346
+ #
347
+ # @overload role_path(project:, role:)
348
+ # The resource will be in the following format:
349
+ #
350
+ # `projects/{project}/roles/{role}`
351
+ #
352
+ # @param project [String]
353
+ # @param role [String]
354
+ #
355
+ # @overload role_path(role:)
356
+ # The resource will be in the following format:
357
+ #
358
+ # `roles/{role}`
359
+ #
360
+ # @param role [String]
361
+ #
362
+ # @return [::String]
363
+ def role_path **args
364
+ resources = {
365
+ "organization:role" => (proc do |organization:, role:|
366
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
367
+
368
+ "organizations/#{organization}/roles/#{role}"
369
+ end),
370
+ "project:role" => (proc do |project:, role:|
371
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
372
+
373
+ "projects/#{project}/roles/#{role}"
374
+ end),
375
+ "role" => (proc do |role:|
376
+ "roles/#{role}"
377
+ end)
378
+ }
379
+
380
+ resource = resources[args.keys.sort.join(":")]
381
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
382
+ resource.call(**args)
383
+ end
384
+
385
+ ##
386
+ # Create a fully-qualified Share resource string.
387
+ #
388
+ # The resource will be in the following format:
389
+ #
390
+ # `projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}/shares/{share}`
391
+ #
392
+ # @param project [String]
393
+ # @param location [String]
394
+ # @param space [String]
395
+ # @param catalog [String]
396
+ # @param share [String]
397
+ #
398
+ # @return [::String]
399
+ def share_path project:, location:, space:, catalog:, share:
400
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
401
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
402
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
403
+ raise ::ArgumentError, "catalog cannot contain /" if catalog.to_s.include? "/"
404
+
405
+ "projects/#{project}/locations/#{location}/spaces/#{space}/catalogs/#{catalog}/shares/#{share}"
406
+ end
407
+
408
+ ##
409
+ # Create a fully-qualified SharedTemplate resource string.
410
+ #
411
+ # The resource will be in the following format:
412
+ #
413
+ # `projects/{project}/locations/{location}/spaces/{space}/sharedTemplates/{shared_template}`
414
+ #
415
+ # @param project [String]
416
+ # @param location [String]
417
+ # @param space [String]
418
+ # @param shared_template [String]
419
+ #
420
+ # @return [::String]
421
+ def shared_template_path project:, location:, space:, shared_template:
422
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
423
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
424
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
425
+
426
+ "projects/#{project}/locations/#{location}/spaces/#{space}/sharedTemplates/#{shared_template}"
427
+ end
428
+
429
+ ##
430
+ # Create a fully-qualified SharedTemplateRevision resource string.
431
+ #
432
+ # The resource will be in the following format:
433
+ #
434
+ # `projects/{project}/locations/{location}/spaces/{space}/sharedTemplates/{shared_template}/revisions/{revision}`
435
+ #
436
+ # @param project [String]
437
+ # @param location [String]
438
+ # @param space [String]
439
+ # @param shared_template [String]
440
+ # @param revision [String]
441
+ #
442
+ # @return [::String]
443
+ def shared_template_revision_path project:, location:, space:, shared_template:, revision:
444
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
445
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
446
+ raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/"
447
+ raise ::ArgumentError, "shared_template cannot contain /" if shared_template.to_s.include? "/"
448
+
449
+ "projects/#{project}/locations/#{location}/spaces/#{space}/sharedTemplates/#{shared_template}/revisions/#{revision}"
450
+ end
451
+
452
+ ##
453
+ # Create a fully-qualified Space resource string.
454
+ #
455
+ # The resource will be in the following format:
456
+ #
457
+ # `projects/{project}/locations/{location}/spaces/{space}`
458
+ #
459
+ # @param project [String]
460
+ # @param location [String]
461
+ # @param space [String]
462
+ #
463
+ # @return [::String]
464
+ def space_path project:, location:, space:
465
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
466
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
467
+
468
+ "projects/#{project}/locations/#{location}/spaces/#{space}"
469
+ end
470
+
471
+ extend self
472
+ end
473
+ end
474
+ end
475
+ end
476
+ end
477
+ end