google-cloud-design_center-v1 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +151 -8
- data/lib/google/cloud/design_center/v1/bindings_override.rb +108 -0
- data/lib/google/cloud/design_center/v1/design_center/client.rb +8904 -0
- data/lib/google/cloud/design_center/v1/design_center/credentials.rb +47 -0
- data/lib/google/cloud/design_center/v1/design_center/operations.rb +843 -0
- data/lib/google/cloud/design_center/v1/design_center/paths.rb +477 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/client.rb +8308 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/operations.rb +927 -0
- data/lib/google/cloud/design_center/v1/design_center/rest/service_stub.rb +5000 -0
- data/lib/google/cloud/design_center/v1/design_center/rest.rb +54 -0
- data/lib/google/cloud/design_center/v1/design_center.rb +56 -0
- data/lib/google/cloud/design_center/v1/rest.rb +38 -0
- data/lib/google/cloud/design_center/v1/version.rb +7 -2
- data/lib/google/cloud/design_center/v1.rb +45 -0
- data/lib/google/cloud/designcenter/v1/apphub_integration_messages_pb.rb +27 -0
- data/lib/google/cloud/designcenter/v1/apphub_integration_pb.rb +24 -0
- data/lib/google/cloud/designcenter/v1/assessment_pb.rb +48 -0
- data/lib/google/cloud/designcenter/v1/authoring_messages_pb.rb +73 -0
- data/lib/google/cloud/designcenter/v1/authoring_pb.rb +46 -0
- data/lib/google/cloud/designcenter/v1/best_practices_messages_pb.rb +45 -0
- data/lib/google/cloud/designcenter/v1/best_practices_pb.rb +29 -0
- data/lib/google/cloud/designcenter/v1/catalog_management_messages_pb.rb +54 -0
- data/lib/google/cloud/designcenter/v1/catalog_management_pb.rb +34 -0
- data/lib/google/cloud/designcenter/v1/deployment_messages_pb.rb +56 -0
- data/lib/google/cloud/designcenter/v1/deployment_pb.rb +50 -0
- data/lib/google/cloud/designcenter/v1/deployment_resources_pb.rb +35 -0
- data/lib/google/cloud/designcenter/v1/designcenter_pb.rb +50 -0
- data/lib/google/cloud/designcenter/v1/designcenter_services_pb.rb +229 -0
- data/lib/google/cloud/designcenter/v1/enums_pb.rb +31 -0
- data/lib/google/cloud/designcenter/v1/export_pb.rb +29 -0
- data/lib/google/cloud/designcenter/v1/iac_pb.rb +30 -0
- data/lib/google/cloud/designcenter/v1/ingestion_pb.rb +35 -0
- data/lib/google/cloud/designcenter/v1/metadata_pb.rb +74 -0
- data/lib/google/cloud/designcenter/v1/parameters_pb.rb +30 -0
- data/lib/google/cloud/designcenter/v1/sharing_messages_pb.rb +42 -0
- data/lib/google/cloud/designcenter/v1/sharing_pb.rb +33 -0
- data/lib/google-cloud-design_center-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/apphub/v1/application.rb +149 -0
- data/proto_docs/google/cloud/apphub/v1/attributes.rb +115 -0
- data/proto_docs/google/cloud/apphub/v1/properties.rb +94 -0
- data/proto_docs/google/cloud/config/v1/config.rb +2709 -0
- data/proto_docs/google/cloud/designcenter/v1/apphub_integration.rb +55 -0
- data/proto_docs/google/cloud/designcenter/v1/apphub_integration_messages.rb +81 -0
- data/proto_docs/google/cloud/designcenter/v1/assessment.rb +502 -0
- data/proto_docs/google/cloud/designcenter/v1/authoring.rb +492 -0
- data/proto_docs/google/cloud/designcenter/v1/authoring_messages.rb +779 -0
- data/proto_docs/google/cloud/designcenter/v1/best_practices.rb +123 -0
- data/proto_docs/google/cloud/designcenter/v1/best_practices_messages.rb +296 -0
- data/proto_docs/google/cloud/designcenter/v1/catalog_management.rb +258 -0
- data/proto_docs/google/cloud/designcenter/v1/catalog_management_messages.rb +438 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment.rb +476 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment_messages.rb +466 -0
- data/proto_docs/google/cloud/designcenter/v1/deployment_resources.rb +182 -0
- data/proto_docs/google/cloud/designcenter/v1/designcenter.rb +245 -0
- data/proto_docs/google/cloud/designcenter/v1/enums.rb +223 -0
- data/proto_docs/google/cloud/designcenter/v1/export.rb +112 -0
- data/proto_docs/google/cloud/designcenter/v1/iac.rb +138 -0
- data/proto_docs/google/cloud/designcenter/v1/ingestion.rb +276 -0
- data/proto_docs/google/cloud/designcenter/v1/metadata.rb +945 -0
- data/proto_docs/google/cloud/designcenter/v1/parameters.rb +112 -0
- data/proto_docs/google/cloud/designcenter/v1/sharing.rb +188 -0
- data/proto_docs/google/cloud/designcenter/v1/sharing_messages.rb +258 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +128 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +168 -9
|
@@ -0,0 +1,476 @@
|
|
|
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
|
+
# Source template information for the deployment.
|
|
25
|
+
# @!attribute [rw] application_template_revision
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Application template revision URI.
|
|
28
|
+
#
|
|
29
|
+
# Note: The following fields are mutually exclusive: `application_template_revision`, `shared_template_revision_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
30
|
+
# @!attribute [rw] shared_template_revision_uri
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Shared template revision URI.
|
|
33
|
+
#
|
|
34
|
+
# Note: The following fields are mutually exclusive: `shared_template_revision_uri`, `application_template_revision`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
35
|
+
class DeploymentSource
|
|
36
|
+
include ::Google::Protobuf::MessageExts
|
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# The error associated with the deployment.
|
|
41
|
+
# @!attribute [r] type
|
|
42
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentError::ErrorType]
|
|
43
|
+
# Output only. The error type based on the deployment error code.
|
|
44
|
+
# @!attribute [r] code
|
|
45
|
+
# @return [::Google::Cloud::ConfigService::V1::Deployment::ErrorCode]
|
|
46
|
+
# Output only. The deployment error code. Based on Infrastructure Manager
|
|
47
|
+
# error codes.
|
|
48
|
+
# @!attribute [r] tf_errors
|
|
49
|
+
# @return [::Array<::Google::Cloud::ConfigService::V1::TerraformError>]
|
|
50
|
+
# Output only. The error message associated with the deployment.
|
|
51
|
+
# @!attribute [r] detail
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Output only. Human readable string that summarizes the deployment error
|
|
54
|
+
# issue.
|
|
55
|
+
# @!attribute [r] deployment_failure_resolution_info
|
|
56
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::DeploymentFailureResolutionInfo>]
|
|
57
|
+
# Output only. The call to actions associated with the deployment issue.
|
|
58
|
+
# @!attribute [r] error_message
|
|
59
|
+
# @return [::String]
|
|
60
|
+
# Output only. Stores errors generated by Infra Manager, as well as all
|
|
61
|
+
# non-internal errors (such as INVALID_ARGUMENT) that occur before
|
|
62
|
+
# initiating the deployment.
|
|
63
|
+
class DeploymentError
|
|
64
|
+
include ::Google::Protobuf::MessageExts
|
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
66
|
+
|
|
67
|
+
# Possible values for the deployment error types.
|
|
68
|
+
# This categorization is based on the error code returned by Infrastructure
|
|
69
|
+
# Manager.
|
|
70
|
+
module ErrorType
|
|
71
|
+
# Unspecified error type.
|
|
72
|
+
ERROR_TYPE_UNSPECIFIED = 0
|
|
73
|
+
|
|
74
|
+
# Permission related error.
|
|
75
|
+
PERMISSION = 1
|
|
76
|
+
|
|
77
|
+
# Quota related error.
|
|
78
|
+
QUOTA = 2
|
|
79
|
+
|
|
80
|
+
# Resource already exists.
|
|
81
|
+
ALREADY_EXISTS = 3
|
|
82
|
+
|
|
83
|
+
# Resource is unavailable.
|
|
84
|
+
RESOURCE_UNAVAILABLE = 4
|
|
85
|
+
|
|
86
|
+
# Billing related error.
|
|
87
|
+
BILLING = 5
|
|
88
|
+
|
|
89
|
+
# Generic error if error does not fall under any of the above.
|
|
90
|
+
GENERIC = 6
|
|
91
|
+
|
|
92
|
+
# Terraform related error.
|
|
93
|
+
TERRAFORM = 7
|
|
94
|
+
|
|
95
|
+
# Bad input error.
|
|
96
|
+
BAD_INPUT = 8
|
|
97
|
+
|
|
98
|
+
# Platform related error.
|
|
99
|
+
PLATFORM = 9
|
|
100
|
+
|
|
101
|
+
# API enablement error.
|
|
102
|
+
API_ENABLEMENT = 10
|
|
103
|
+
|
|
104
|
+
# Bad request error.
|
|
105
|
+
BAD_REQUEST = 11
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# The call to action associated with the deployment issue.
|
|
110
|
+
# @!attribute [r] resolution_link
|
|
111
|
+
# @return [::String]
|
|
112
|
+
# Output only. Link for the call to action.
|
|
113
|
+
# @!attribute [r] resolution_message
|
|
114
|
+
# @return [::String]
|
|
115
|
+
# Output only. Elaborative error resolution message.
|
|
116
|
+
# @!attribute [r] resolution_link_text
|
|
117
|
+
# @return [::String]
|
|
118
|
+
# Output only. Call to action link text.
|
|
119
|
+
class DeploymentFailureResolutionInfo
|
|
120
|
+
include ::Google::Protobuf::MessageExts
|
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# The application output parameters of the deployment.
|
|
125
|
+
# @!attribute [r] helm_application_output_parameters
|
|
126
|
+
# @return [::Google::Cloud::DesignCenter::V1::HelmApplicationOutputParameters]
|
|
127
|
+
# Output only. Helm application output parameters.
|
|
128
|
+
class ApplicationOutputParameters
|
|
129
|
+
include ::Google::Protobuf::MessageExts
|
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# The helm application output parameters of the deployment.
|
|
134
|
+
# @!attribute [r] parameters
|
|
135
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
136
|
+
# Output only. The output parameters of the helm application.
|
|
137
|
+
class HelmApplicationOutputParameters
|
|
138
|
+
include ::Google::Protobuf::MessageExts
|
|
139
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# The updated template revision, which results in an outdated application.
|
|
143
|
+
# @!attribute [r] template_revision
|
|
144
|
+
# @return [::String]
|
|
145
|
+
# Output only. The details of the updated template revision.
|
|
146
|
+
# @!attribute [r] create_time
|
|
147
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
148
|
+
# Output only. The time when the template was created.
|
|
149
|
+
# @!attribute [r] template_display_name
|
|
150
|
+
# @return [::String]
|
|
151
|
+
# Output only. The display name of the template. If the display name is not
|
|
152
|
+
# available, the template resource name is used.
|
|
153
|
+
class UpdatedTemplateRevision
|
|
154
|
+
include ::Google::Protobuf::MessageExts
|
|
155
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Connection configuration for the application.
|
|
159
|
+
# @!attribute [rw] connection_uri
|
|
160
|
+
# @return [::String]
|
|
161
|
+
# Required. The connection URI.
|
|
162
|
+
# @!attribute [rw] source_component_parameters
|
|
163
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
164
|
+
# Optional. The parameters of the connection associated with the source
|
|
165
|
+
# component.
|
|
166
|
+
# @!attribute [rw] destination_component_parameters
|
|
167
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
168
|
+
# Optional. The parameters of the connection associated with the destination
|
|
169
|
+
# component.
|
|
170
|
+
class ConnectionConfig
|
|
171
|
+
include ::Google::Protobuf::MessageExts
|
|
172
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# The deployment target of the application.
|
|
176
|
+
# @!attribute [rw] gke_deployment_target
|
|
177
|
+
# @return [::Google::Cloud::DesignCenter::V1::GKEDeploymentTarget]
|
|
178
|
+
# Optional. The GKE deployment target.
|
|
179
|
+
class DeploymentTarget
|
|
180
|
+
include ::Google::Protobuf::MessageExts
|
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# The GKE deployment target.
|
|
185
|
+
# @!attribute [rw] cluster_self_link
|
|
186
|
+
# @return [::String]
|
|
187
|
+
# Required. The self link of the cluster where GKE based application is
|
|
188
|
+
# deployed.
|
|
189
|
+
# @!attribute [rw] namespace
|
|
190
|
+
# @return [::String]
|
|
191
|
+
# Required. The namespace where the application is deployed.
|
|
192
|
+
# @!attribute [rw] kubernetes_service_account
|
|
193
|
+
# @return [::String]
|
|
194
|
+
# Required. The kubernetes service account that is created within the
|
|
195
|
+
# namespace provided above. Example: default or node-sa
|
|
196
|
+
# @!attribute [rw] kubernetes_service_account_creation
|
|
197
|
+
# @return [::Boolean]
|
|
198
|
+
# Optional. Whether to create the provided KSA.
|
|
199
|
+
# If true, the KSA will be created in the namespace provided above.
|
|
200
|
+
# If false, the KSA is expected to already exist in the namespace provided
|
|
201
|
+
# above.
|
|
202
|
+
class GKEDeploymentTarget
|
|
203
|
+
include ::Google::Protobuf::MessageExts
|
|
204
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Holds parameters that are specific to composite applications.
|
|
208
|
+
# @!attribute [rw] service_account_map
|
|
209
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
210
|
+
# Optional. A map from a component's URI to the deployment service account
|
|
211
|
+
# for composite application. key format:
|
|
212
|
+
# projects/\\{project}/locations/\\{location}/spaces/\\{space}/applicationTemplates/\\{application_template}/components/\\{component}
|
|
213
|
+
# value format:
|
|
214
|
+
# projects/\\{project}/serviceAccounts/\\{email_address}
|
|
215
|
+
# @!attribute [r] project_parameters_map
|
|
216
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::ProjectParametersList}]
|
|
217
|
+
# Output only. A map from a component's URI to its project parameters.
|
|
218
|
+
# The key format is:
|
|
219
|
+
# projects/\\{project}/locations/\\{location}/spaces/\\{space}/applicationTemplates/\\{application_template}/components/\\{component}
|
|
220
|
+
class CompositeApplicationParameters
|
|
221
|
+
include ::Google::Protobuf::MessageExts
|
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
223
|
+
|
|
224
|
+
# @!attribute [rw] key
|
|
225
|
+
# @return [::String]
|
|
226
|
+
# @!attribute [rw] value
|
|
227
|
+
# @return [::String]
|
|
228
|
+
class ServiceAccountMapEntry
|
|
229
|
+
include ::Google::Protobuf::MessageExts
|
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# @!attribute [rw] key
|
|
234
|
+
# @return [::String]
|
|
235
|
+
# @!attribute [rw] value
|
|
236
|
+
# @return [::Google::Cloud::DesignCenter::V1::ProjectParametersList]
|
|
237
|
+
class ProjectParametersMapEntry
|
|
238
|
+
include ::Google::Protobuf::MessageExts
|
|
239
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# Provides the list of project parameters needed to deploy an application.
|
|
244
|
+
# @!attribute [r] project_parameters
|
|
245
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ProjectParameters>]
|
|
246
|
+
# Output only. List of project parameters for the application.
|
|
247
|
+
class ProjectParametersList
|
|
248
|
+
include ::Google::Protobuf::MessageExts
|
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Metadata for the infra manager deployment group. A deployment group in
|
|
253
|
+
# Infrastructure Manager is a logical grouping of one or more deployments.
|
|
254
|
+
# @!attribute [r] deployment_group
|
|
255
|
+
# @return [::String]
|
|
256
|
+
# Output only. The deployment group name.
|
|
257
|
+
# Format:
|
|
258
|
+
# projects/\\{project}/locations/\\{location}/deploymentGroup/\\{deployment_group}
|
|
259
|
+
# @!attribute [r] deployment_metadata_map
|
|
260
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DeploymentMetadata}]
|
|
261
|
+
# Output only. Map of component name to deployment metadata for the
|
|
262
|
+
# component. Key format:
|
|
263
|
+
# projects/\\{project}/locations/\\{location}/spaces/\\{space}/applicationTemplates/\\{application_template}/components/\\{component}
|
|
264
|
+
class DeploymentGroupMetadata
|
|
265
|
+
include ::Google::Protobuf::MessageExts
|
|
266
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
267
|
+
|
|
268
|
+
# @!attribute [rw] key
|
|
269
|
+
# @return [::String]
|
|
270
|
+
# @!attribute [rw] value
|
|
271
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentMetadata]
|
|
272
|
+
class DeploymentMetadataMapEntry
|
|
273
|
+
include ::Google::Protobuf::MessageExts
|
|
274
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Deployment information for the application.
|
|
279
|
+
# @!attribute [r] revision
|
|
280
|
+
# @return [::String]
|
|
281
|
+
# Output only. The revision of the deployment associated with the
|
|
282
|
+
# Application.
|
|
283
|
+
# @!attribute [r] component_output_parameters
|
|
284
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ComponentOutputParameters>]
|
|
285
|
+
# Output only. The component output parameters of the deployment.
|
|
286
|
+
# @!attribute [r] error
|
|
287
|
+
# @return [::Google::Cloud::DesignCenter::V1::DeploymentError]
|
|
288
|
+
# Output only. The error associated with the deployment.
|
|
289
|
+
# @!attribute [r] build
|
|
290
|
+
# @return [::String]
|
|
291
|
+
# Output only. Cloud Build instance UUID associated with this deployment.
|
|
292
|
+
# @!attribute [r] worker_pool
|
|
293
|
+
# @return [::String]
|
|
294
|
+
# Output only. The user-specified Cloud Build worker pool resource used,
|
|
295
|
+
# which the system uses to deploy the application. Format:
|
|
296
|
+
# `projects/{project}/locations/{location}/workerPools/{workerPoolId}`.
|
|
297
|
+
# @!attribute [r] retry_attempts
|
|
298
|
+
# @return [::Integer]
|
|
299
|
+
# Output only. The attempted number of deployment retries.
|
|
300
|
+
# @!attribute [r] application_output_parameters
|
|
301
|
+
# @return [::Google::Cloud::DesignCenter::V1::ApplicationOutputParameters]
|
|
302
|
+
# Output only. The application output parameters of the deployment.
|
|
303
|
+
class DeploymentMetadata
|
|
304
|
+
include ::Google::Protobuf::MessageExts
|
|
305
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# The component output parameters of the deployment.
|
|
309
|
+
# @!attribute [r] component
|
|
310
|
+
# @return [::String]
|
|
311
|
+
# Output only. The component name of the output parameters.
|
|
312
|
+
# @!attribute [r] parameters
|
|
313
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
314
|
+
# Output only. The output parameters of the component.
|
|
315
|
+
class ComponentOutputParameters
|
|
316
|
+
include ::Google::Protobuf::MessageExts
|
|
317
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
# The ProjectParameters provides the parameters needed to deploy the
|
|
321
|
+
# application in the given project.
|
|
322
|
+
# @!attribute [r] project_id
|
|
323
|
+
# @return [::String]
|
|
324
|
+
# Output only. The project ID of the project.
|
|
325
|
+
# @!attribute [r] roles
|
|
326
|
+
# @return [::Array<::String>]
|
|
327
|
+
# Output only. IAM roles required by the service account to deploy the
|
|
328
|
+
# application in given project.
|
|
329
|
+
# @!attribute [r] apis
|
|
330
|
+
# @return [::Array<::String>]
|
|
331
|
+
# Output only. APIs required to be enabled to deploy the application, in the
|
|
332
|
+
# form of "*.googleapis.com".
|
|
333
|
+
class ProjectParameters
|
|
334
|
+
include ::Google::Protobuf::MessageExts
|
|
335
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# Information about the component level parameters for an application.
|
|
339
|
+
# @!attribute [rw] component
|
|
340
|
+
# @return [::String]
|
|
341
|
+
# Required. The name of the component parameter.
|
|
342
|
+
# @!attribute [rw] parameters
|
|
343
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::Parameter>]
|
|
344
|
+
# Optional. A list of parameters associated with the component.
|
|
345
|
+
# @!attribute [r] connections_parameters
|
|
346
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ConnectionParameters>]
|
|
347
|
+
# Output only. A list of connections associated with the component.
|
|
348
|
+
# @!attribute [r] state
|
|
349
|
+
# @return [::Google::Cloud::DesignCenter::V1::ComponentParameters::State]
|
|
350
|
+
# Output only. Deployment state of the component.
|
|
351
|
+
# @!attribute [r] component_parameter_schema
|
|
352
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ComponentParameterSchema>]
|
|
353
|
+
# Output only. The component parameter schema, which includes possible
|
|
354
|
+
# parameter values.
|
|
355
|
+
# @!attribute [rw] application_info
|
|
356
|
+
# @return [::Google::Cloud::DesignCenter::V1::ComponentApplicationInfo]
|
|
357
|
+
# Optional. The application associated with the component.
|
|
358
|
+
# @!attribute [r] effective_application_info
|
|
359
|
+
# @return [::Google::Cloud::DesignCenter::V1::ComponentApplicationInfo]
|
|
360
|
+
# Output only. The effective application associated with the component. This
|
|
361
|
+
# is the server set application field.
|
|
362
|
+
class ComponentParameters
|
|
363
|
+
include ::Google::Protobuf::MessageExts
|
|
364
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
365
|
+
|
|
366
|
+
# Possible values of deployment state of the component.
|
|
367
|
+
module State
|
|
368
|
+
# Unspecified component deployment state.
|
|
369
|
+
STATE_UNSPECIFIED = 0
|
|
370
|
+
|
|
371
|
+
# Component is in draft.
|
|
372
|
+
DRAFT = 1
|
|
373
|
+
|
|
374
|
+
# New deployment is in progress.
|
|
375
|
+
CREATING_DEPLOYMENT = 2
|
|
376
|
+
|
|
377
|
+
# Update is in progress.
|
|
378
|
+
UPDATING_DEPLOYMENT = 3
|
|
379
|
+
|
|
380
|
+
# Deletion is in progress.
|
|
381
|
+
DELETING = 4
|
|
382
|
+
|
|
383
|
+
# Component deployment is completed.
|
|
384
|
+
DEPLOYED = 5
|
|
385
|
+
|
|
386
|
+
# Component deployment is deleted.
|
|
387
|
+
DELETED = 6
|
|
388
|
+
|
|
389
|
+
# Component deployment is failed.
|
|
390
|
+
FAILED = 7
|
|
391
|
+
end
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
# This captures the apphub application details associated with the component.
|
|
395
|
+
# @!attribute [rw] apphub_application_id
|
|
396
|
+
# @return [::String]
|
|
397
|
+
# Required. The application ID of the apphub application. The ID must be 1-63
|
|
398
|
+
# characters long and should match the regular expression
|
|
399
|
+
# `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
|
400
|
+
# @!attribute [rw] display_name
|
|
401
|
+
# @return [::String]
|
|
402
|
+
# Optional. Display name for the application. The number of characters should
|
|
403
|
+
# be less than 64 characters.
|
|
404
|
+
# @!attribute [rw] scope
|
|
405
|
+
# @return [::Google::Cloud::AppHub::V1::Scope]
|
|
406
|
+
# Optional. Scope of apphub application.
|
|
407
|
+
# @!attribute [rw] attributes
|
|
408
|
+
# @return [::Google::Cloud::AppHub::V1::Attributes]
|
|
409
|
+
# Optional. Attributes of apphub application.
|
|
410
|
+
# @!attribute [rw] deployment_region
|
|
411
|
+
# @return [::String]
|
|
412
|
+
# Optional. Deployment region for the component. If the scope is set to
|
|
413
|
+
# REGIONAL, then the apphub application is created in this region, e.g.
|
|
414
|
+
# `us-central1`.
|
|
415
|
+
class ComponentApplicationInfo
|
|
416
|
+
include ::Google::Protobuf::MessageExts
|
|
417
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
# RoleInfo represents an IAM role along with its origin.
|
|
421
|
+
# @!attribute [rw] role
|
|
422
|
+
# @return [::String]
|
|
423
|
+
# Required. IAM role name, such as `roles/editor`.
|
|
424
|
+
# @!attribute [r] system_provided
|
|
425
|
+
# @return [::Boolean]
|
|
426
|
+
# Output only. When `true`, indicates that this role is automatically added
|
|
427
|
+
# by Application Design Center. When you provide a role, this field is set to
|
|
428
|
+
# `false`.
|
|
429
|
+
# @!attribute [r] permissions
|
|
430
|
+
# @return [::Array<::String>]
|
|
431
|
+
# Output only. The list of permissions that this role is recommended for.
|
|
432
|
+
# This includes only the permissions of this role that are part of the
|
|
433
|
+
# recommendation.
|
|
434
|
+
class RoleInfo
|
|
435
|
+
include ::Google::Protobuf::MessageExts
|
|
436
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
# ApiInfo represents an API along with its origin.
|
|
440
|
+
# @!attribute [rw] api
|
|
441
|
+
# @return [::String]
|
|
442
|
+
# Required. API name, such as `compute.googleapis.com`.
|
|
443
|
+
# @!attribute [r] system_provided
|
|
444
|
+
# @return [::Boolean]
|
|
445
|
+
# Output only. When `true`, indicates that this API is automatically added by
|
|
446
|
+
# Application Design Center. When you provide an API, this field is set to
|
|
447
|
+
# `false`.
|
|
448
|
+
class ApiInfo
|
|
449
|
+
include ::Google::Protobuf::MessageExts
|
|
450
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Represents configurations required within a specific project to deploy the
|
|
454
|
+
# application.
|
|
455
|
+
# @!attribute [rw] project_id
|
|
456
|
+
# @return [::String]
|
|
457
|
+
# Required. The project ID to which these configurations apply.
|
|
458
|
+
# @!attribute [rw] roles
|
|
459
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::RoleInfo>]
|
|
460
|
+
# Optional. IAM roles that the deployment service account needs to deploy
|
|
461
|
+
# the application within this project.
|
|
462
|
+
# Each role must be a valid IAM role name, such as `roles/editor`.
|
|
463
|
+
# The maximum number of roles allowed is 500.
|
|
464
|
+
# @!attribute [rw] apis
|
|
465
|
+
# @return [::Array<::Google::Cloud::DesignCenter::V1::ApiInfo>]
|
|
466
|
+
# Optional. APIs that you must enable in this project before you deploy the
|
|
467
|
+
# application, in the form of "*.googleapis.com". The maximum number of APIs
|
|
468
|
+
# allowed is 500.
|
|
469
|
+
class RolesAndApisConfig
|
|
470
|
+
include ::Google::Protobuf::MessageExts
|
|
471
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
472
|
+
end
|
|
473
|
+
end
|
|
474
|
+
end
|
|
475
|
+
end
|
|
476
|
+
end
|