google-cloud-telco_automation-v1 0.a → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/README.md +144 -8
- data/lib/google/cloud/telco_automation/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/telco_automation/v1/rest.rb +38 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/client.rb +3946 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/credentials.rb +47 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/operations.rb +779 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/paths.rb +172 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/client.rb +3671 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/operations.rb +870 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/service_stub.rb +2188 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest.rb +58 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation.rb +60 -0
- data/lib/google/cloud/telco_automation/v1/version.rb +7 -2
- data/lib/google/cloud/telco_automation/v1.rb +45 -0
- data/lib/google/cloud/telcoautomation/v1/telcoautomation_pb.rb +131 -0
- data/lib/google/cloud/telcoautomation/v1/telcoautomation_services_pb.rb +126 -0
- data/lib/google-cloud-telco_automation-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +394 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/telcoautomation/v1/telcoautomation.rb +1534 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -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/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +209 -13
@@ -0,0 +1,1534 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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 TelcoAutomation
|
23
|
+
module V1
|
24
|
+
# Orchestration cluster represents a GKE cluster with config controller and
|
25
|
+
# TNA specific components installed on it.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Name of the orchestration cluster. The name of orchestration cluster cannot
|
29
|
+
# be more than 24 characters.
|
30
|
+
# @!attribute [rw] management_config
|
31
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::ManagementConfig]
|
32
|
+
# Management configuration of the underlying GKE cluster.
|
33
|
+
# @!attribute [r] create_time
|
34
|
+
# @return [::Google::Protobuf::Timestamp]
|
35
|
+
# Output only. [Output only] Create time stamp.
|
36
|
+
# @!attribute [r] update_time
|
37
|
+
# @return [::Google::Protobuf::Timestamp]
|
38
|
+
# Output only. [Output only] Update time stamp.
|
39
|
+
# @!attribute [rw] labels
|
40
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
41
|
+
# Labels as key value pairs.
|
42
|
+
# @!attribute [r] tna_version
|
43
|
+
# @return [::String]
|
44
|
+
# Output only. Provides the TNA version installed on the cluster.
|
45
|
+
# @!attribute [r] state
|
46
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::OrchestrationCluster::State]
|
47
|
+
# Output only. State of the Orchestration Cluster.
|
48
|
+
class OrchestrationCluster
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
|
52
|
+
# @!attribute [rw] key
|
53
|
+
# @return [::String]
|
54
|
+
# @!attribute [rw] value
|
55
|
+
# @return [::String]
|
56
|
+
class LabelsEntry
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
end
|
60
|
+
|
61
|
+
# Possible states that the Orchestration Cluster can be in.
|
62
|
+
module State
|
63
|
+
# Unspecified state.
|
64
|
+
STATE_UNSPECIFIED = 0
|
65
|
+
|
66
|
+
# OrchestrationCluster is being created.
|
67
|
+
CREATING = 1
|
68
|
+
|
69
|
+
# OrchestrationCluster has been created and is ready for use.
|
70
|
+
ACTIVE = 2
|
71
|
+
|
72
|
+
# OrchestrationCluster is being deleted.
|
73
|
+
DELETING = 3
|
74
|
+
|
75
|
+
# OrchestrationCluster encountered an error and is in an indeterministic
|
76
|
+
# state. User can still initiate a delete operation on this state.
|
77
|
+
FAILED = 4
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# EdgeSlm represents an SLM instance which manages the lifecycle of edge
|
82
|
+
# components installed on Workload clusters managed by an Orchestration
|
83
|
+
# Cluster.
|
84
|
+
# @!attribute [rw] name
|
85
|
+
# @return [::String]
|
86
|
+
# Name of the EdgeSlm resource.
|
87
|
+
# @!attribute [rw] orchestration_cluster
|
88
|
+
# @return [::String]
|
89
|
+
# Immutable. Reference to the orchestration cluster on which templates for
|
90
|
+
# this resources will be applied. This should be of format
|
91
|
+
# projects/\\{project}/locations/\\{location}/orchestrationClusters/\\{orchestration_cluster}.
|
92
|
+
# @!attribute [r] create_time
|
93
|
+
# @return [::Google::Protobuf::Timestamp]
|
94
|
+
# Output only. [Output only] Create time stamp.
|
95
|
+
# @!attribute [r] update_time
|
96
|
+
# @return [::Google::Protobuf::Timestamp]
|
97
|
+
# Output only. [Output only] Update time stamp.
|
98
|
+
# @!attribute [rw] labels
|
99
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
100
|
+
# Optional. Labels as key value pairs. The key and value should contain
|
101
|
+
# characters which are UTF-8 compliant and less than 50 characters.
|
102
|
+
# @!attribute [r] tna_version
|
103
|
+
# @return [::String]
|
104
|
+
# Output only. Provides the active TNA version for this resource.
|
105
|
+
# @!attribute [r] state
|
106
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::EdgeSlm::State]
|
107
|
+
# Output only. State of the EdgeSlm resource.
|
108
|
+
# @!attribute [rw] workload_cluster_type
|
109
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::EdgeSlm::WorkloadClusterType]
|
110
|
+
# Optional. Type of workload cluster for which an EdgeSLM resource is
|
111
|
+
# created.
|
112
|
+
class EdgeSlm
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
|
116
|
+
# @!attribute [rw] key
|
117
|
+
# @return [::String]
|
118
|
+
# @!attribute [rw] value
|
119
|
+
# @return [::String]
|
120
|
+
class LabelsEntry
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
end
|
124
|
+
|
125
|
+
# Possible states of the resource.
|
126
|
+
module State
|
127
|
+
# Unspecified state.
|
128
|
+
STATE_UNSPECIFIED = 0
|
129
|
+
|
130
|
+
# EdgeSlm is being created.
|
131
|
+
CREATING = 1
|
132
|
+
|
133
|
+
# EdgeSlm has been created and is ready for use.
|
134
|
+
ACTIVE = 2
|
135
|
+
|
136
|
+
# EdgeSlm is being deleted.
|
137
|
+
DELETING = 3
|
138
|
+
|
139
|
+
# EdgeSlm encountered an error and is in an indeterministic
|
140
|
+
# state. User can still initiate a delete operation on this state.
|
141
|
+
FAILED = 4
|
142
|
+
end
|
143
|
+
|
144
|
+
# Workload clusters supported by TNA. New values will be added to the enum
|
145
|
+
# list as TNA adds supports for new workload clusters in future.
|
146
|
+
module WorkloadClusterType
|
147
|
+
# Unspecified workload cluster.
|
148
|
+
WORKLOAD_CLUSTER_TYPE_UNSPECIFIED = 0
|
149
|
+
|
150
|
+
# Workload cluster is a GDCE cluster.
|
151
|
+
GDCE = 1
|
152
|
+
|
153
|
+
# Workload cluster is a GKE cluster.
|
154
|
+
GKE = 2
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# A Blueprint contains a collection of kubernetes resources in the form of
|
159
|
+
# YAML files. The file contents of a blueprint are collectively known as
|
160
|
+
# package. A blueprint can be
|
161
|
+
# a) imported from TNA's public catalog
|
162
|
+
# b) modified as per a user's need
|
163
|
+
# c) proposed and approved.
|
164
|
+
# On approval, a revision of blueprint is created which can be used to
|
165
|
+
# create a deployment on Orchestration or Workload Cluster.
|
166
|
+
# @!attribute [rw] name
|
167
|
+
# @return [::String]
|
168
|
+
# The name of the blueprint. If unspecified, the name will be autogenerated
|
169
|
+
# from server side. Name of the blueprint must not contain `@` character.
|
170
|
+
# @!attribute [r] revision_id
|
171
|
+
# @return [::String]
|
172
|
+
# Output only. Immutable. The revision ID of the blueprint.
|
173
|
+
# A new revision is committed whenever a blueprint is approved.
|
174
|
+
# @!attribute [rw] source_blueprint
|
175
|
+
# @return [::String]
|
176
|
+
# Required. Immutable. The public blueprint ID from which this blueprint was
|
177
|
+
# created.
|
178
|
+
# @!attribute [r] revision_create_time
|
179
|
+
# @return [::Google::Protobuf::Timestamp]
|
180
|
+
# Output only. The timestamp that the revision was created.
|
181
|
+
# @!attribute [r] approval_state
|
182
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Blueprint::ApprovalState]
|
183
|
+
# Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
|
184
|
+
# @!attribute [rw] display_name
|
185
|
+
# @return [::String]
|
186
|
+
# Optional. Human readable name of a Blueprint.
|
187
|
+
# @!attribute [r] repository
|
188
|
+
# @return [::String]
|
189
|
+
# Output only. Name of the repository where the blueprint files are stored.
|
190
|
+
# @!attribute [rw] files
|
191
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::File>]
|
192
|
+
# Optional. Files present in a blueprint.
|
193
|
+
# When invoking UpdateBlueprint API, only the modified files should be
|
194
|
+
# included in this. Files that are not included in the update of a blueprint
|
195
|
+
# will not be changed.
|
196
|
+
# @!attribute [rw] labels
|
197
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
198
|
+
# Optional. Labels are key-value attributes that can be set on a blueprint
|
199
|
+
# resource by the user.
|
200
|
+
# @!attribute [r] create_time
|
201
|
+
# @return [::Google::Protobuf::Timestamp]
|
202
|
+
# Output only. Blueprint creation time.
|
203
|
+
# @!attribute [r] update_time
|
204
|
+
# @return [::Google::Protobuf::Timestamp]
|
205
|
+
# Output only. The timestamp when the blueprint was updated.
|
206
|
+
# @!attribute [r] source_provider
|
207
|
+
# @return [::String]
|
208
|
+
# Output only. Source provider is the author of a public blueprint, from
|
209
|
+
# which this blueprint is created.
|
210
|
+
# @!attribute [r] deployment_level
|
211
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::DeploymentLevel]
|
212
|
+
# Output only. DeploymentLevel of a blueprint signifies where the blueprint
|
213
|
+
# will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
|
214
|
+
# @!attribute [r] rollback_support
|
215
|
+
# @return [::Boolean]
|
216
|
+
# Output only. Indicates if the deployment created from this blueprint can be
|
217
|
+
# rolled back.
|
218
|
+
class Blueprint
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
|
222
|
+
# @!attribute [rw] key
|
223
|
+
# @return [::String]
|
224
|
+
# @!attribute [rw] value
|
225
|
+
# @return [::String]
|
226
|
+
class LabelsEntry
|
227
|
+
include ::Google::Protobuf::MessageExts
|
228
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
229
|
+
end
|
230
|
+
|
231
|
+
# Approval state indicates the state of a Blueprint in its approval
|
232
|
+
# lifecycle.
|
233
|
+
module ApprovalState
|
234
|
+
# Unspecified state.
|
235
|
+
APPROVAL_STATE_UNSPECIFIED = 0
|
236
|
+
|
237
|
+
# A blueprint starts in DRAFT state once it is created. All edits are made
|
238
|
+
# to the blueprint in DRAFT state.
|
239
|
+
DRAFT = 1
|
240
|
+
|
241
|
+
# When the edits are ready for review, blueprint can be proposed and moves
|
242
|
+
# to PROPOSED state. Edits cannot be made to a blueprint in PROPOSED state.
|
243
|
+
PROPOSED = 2
|
244
|
+
|
245
|
+
# When a proposed blueprint is approved, it moves to APPROVED state. A new
|
246
|
+
# revision is committed. The latest committed revision can be used to
|
247
|
+
# create a deployment on Orchestration or Workload Cluster. Edits to an
|
248
|
+
# APPROVED blueprint changes its state back to DRAFT. The last committed
|
249
|
+
# revision of a blueprint represents its latest APPROVED state.
|
250
|
+
APPROVED = 3
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
# A Blueprint contains a collection of kubernetes resources in the form of
|
255
|
+
# YAML files. The file contents of a blueprint are collectively known as
|
256
|
+
# package.
|
257
|
+
# Public blueprint is a TNA provided blueprint that in present in TNA's public
|
258
|
+
# catalog. A user can copy the public blueprint to their private catalog for
|
259
|
+
# further modifications.
|
260
|
+
# @!attribute [rw] name
|
261
|
+
# @return [::String]
|
262
|
+
# Name of the public blueprint.
|
263
|
+
# @!attribute [rw] display_name
|
264
|
+
# @return [::String]
|
265
|
+
# The display name of the public blueprint.
|
266
|
+
# @!attribute [rw] description
|
267
|
+
# @return [::String]
|
268
|
+
# The description of the public blueprint.
|
269
|
+
# @!attribute [rw] deployment_level
|
270
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::DeploymentLevel]
|
271
|
+
# DeploymentLevel of a blueprint signifies where the blueprint will be
|
272
|
+
# applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
|
273
|
+
# @!attribute [rw] source_provider
|
274
|
+
# @return [::String]
|
275
|
+
# Source provider is the author of a public blueprint. e.g. Google, vendors
|
276
|
+
# @!attribute [r] rollback_support
|
277
|
+
# @return [::Boolean]
|
278
|
+
# Output only. Indicates if the deployment created from this blueprint can be
|
279
|
+
# rolled back.
|
280
|
+
class PublicBlueprint
|
281
|
+
include ::Google::Protobuf::MessageExts
|
282
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
283
|
+
end
|
284
|
+
|
285
|
+
# Deployment contains a collection of YAML files (This collection is also known
|
286
|
+
# as package) that can to applied on an orchestration cluster (GKE cluster with
|
287
|
+
# TNA addons) or a workload cluster.
|
288
|
+
# @!attribute [rw] name
|
289
|
+
# @return [::String]
|
290
|
+
# The name of the deployment.
|
291
|
+
# @!attribute [r] revision_id
|
292
|
+
# @return [::String]
|
293
|
+
# Output only. Immutable. The revision ID of the deployment.
|
294
|
+
# A new revision is committed whenever a change in deployment is applied.
|
295
|
+
# @!attribute [rw] source_blueprint_revision
|
296
|
+
# @return [::String]
|
297
|
+
# Required. The blueprint revision from which this deployment was created.
|
298
|
+
# @!attribute [r] revision_create_time
|
299
|
+
# @return [::Google::Protobuf::Timestamp]
|
300
|
+
# Output only. The timestamp that the revision was created.
|
301
|
+
# @!attribute [r] state
|
302
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Deployment::State]
|
303
|
+
# Output only. State of the deployment (DRAFT, APPLIED, DELETING).
|
304
|
+
# @!attribute [rw] display_name
|
305
|
+
# @return [::String]
|
306
|
+
# Optional. Human readable name of a Deployment.
|
307
|
+
# @!attribute [r] repository
|
308
|
+
# @return [::String]
|
309
|
+
# Output only. Name of the repository where the deployment package files are
|
310
|
+
# stored.
|
311
|
+
# @!attribute [rw] files
|
312
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::File>]
|
313
|
+
# Optional. Files present in a deployment.
|
314
|
+
# When invoking UpdateDeployment API, only the modified files should be
|
315
|
+
# included in this. Files that are not included in the update of a deployment
|
316
|
+
# will not be changed.
|
317
|
+
# @!attribute [rw] labels
|
318
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
319
|
+
# Optional. Labels are key-value attributes that can be set on a deployment
|
320
|
+
# resource by the user.
|
321
|
+
# @!attribute [r] create_time
|
322
|
+
# @return [::Google::Protobuf::Timestamp]
|
323
|
+
# Output only. Deployment creation time.
|
324
|
+
# @!attribute [r] update_time
|
325
|
+
# @return [::Google::Protobuf::Timestamp]
|
326
|
+
# Output only. The timestamp when the deployment was updated.
|
327
|
+
# @!attribute [r] source_provider
|
328
|
+
# @return [::String]
|
329
|
+
# Output only. Source provider is the author of a public blueprint, from
|
330
|
+
# which this deployment is created.
|
331
|
+
# @!attribute [rw] workload_cluster
|
332
|
+
# @return [::String]
|
333
|
+
# Optional. Immutable. The WorkloadCluster on which to create the Deployment.
|
334
|
+
# @!attribute [r] deployment_level
|
335
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::DeploymentLevel]
|
336
|
+
# Output only. Attributes to where the deployment can inflict changes. The
|
337
|
+
# value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
|
338
|
+
# @!attribute [r] rollback_support
|
339
|
+
# @return [::Boolean]
|
340
|
+
# Output only. Indicates if the deployment can be rolled back, exported from
|
341
|
+
# public blueprint.
|
342
|
+
class Deployment
|
343
|
+
include ::Google::Protobuf::MessageExts
|
344
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
345
|
+
|
346
|
+
# @!attribute [rw] key
|
347
|
+
# @return [::String]
|
348
|
+
# @!attribute [rw] value
|
349
|
+
# @return [::String]
|
350
|
+
class LabelsEntry
|
351
|
+
include ::Google::Protobuf::MessageExts
|
352
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
353
|
+
end
|
354
|
+
|
355
|
+
# State defines which state the current deployment is in.
|
356
|
+
module State
|
357
|
+
# Unspecified state.
|
358
|
+
STATE_UNSPECIFIED = 0
|
359
|
+
|
360
|
+
# A deployment starts in DRAFT state. All edits are made in DRAFT state. A
|
361
|
+
# deployment opened for editing after applying will be in draft state,
|
362
|
+
# while its prevision revision will be its current applied version.
|
363
|
+
DRAFT = 1
|
364
|
+
|
365
|
+
# This state means that the contents (YAML files containing kubernetes
|
366
|
+
# resources) of the deployment have been applied to an Orchestration or
|
367
|
+
# Workload Cluster. A revision is created when a deployment is applied.
|
368
|
+
# This revision will represent the latest view of what is applied on the
|
369
|
+
# cluster until the deployment is modified and applied again, which will
|
370
|
+
# create a new revision.
|
371
|
+
APPLIED = 2
|
372
|
+
|
373
|
+
# A deployment in DELETING state has been marked for deletion. Its
|
374
|
+
# deletion status can be queried using `ComputeDeploymentStatus` API. No
|
375
|
+
# updates are allowed to a deployment in DELETING state.
|
376
|
+
DELETING = 3
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
# A collection of kubernetes yaml files which are deployed on a Workload
|
381
|
+
# Cluster. Hydrated Deployments are created by TNA intent based automation.
|
382
|
+
# @!attribute [r] name
|
383
|
+
# @return [::String]
|
384
|
+
# Output only. The name of the hydrated deployment.
|
385
|
+
# @!attribute [r] state
|
386
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::HydratedDeployment::State]
|
387
|
+
# Output only. State of the hydrated deployment (DRAFT, APPLIED).
|
388
|
+
# @!attribute [rw] files
|
389
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::File>]
|
390
|
+
# Optional. File contents of a hydrated deployment.
|
391
|
+
# When invoking UpdateHydratedBlueprint API, only the modified files should
|
392
|
+
# be included in this. Files that are not included in the update of a
|
393
|
+
# hydrated deployment will not be changed.
|
394
|
+
# @!attribute [r] workload_cluster
|
395
|
+
# @return [::String]
|
396
|
+
# Output only. WorkloadCluster identifies which workload cluster will the
|
397
|
+
# hydrated deployment will be deployed on.
|
398
|
+
class HydratedDeployment
|
399
|
+
include ::Google::Protobuf::MessageExts
|
400
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
401
|
+
|
402
|
+
# State defines which state the current hydrated deployment is in.
|
403
|
+
module State
|
404
|
+
# Unspecified state.
|
405
|
+
STATE_UNSPECIFIED = 0
|
406
|
+
|
407
|
+
# A hydrated deployment starts in DRAFT state. All edits are made in DRAFT
|
408
|
+
# state.
|
409
|
+
DRAFT = 1
|
410
|
+
|
411
|
+
# When the edit is applied, the hydrated deployment moves to APPLIED
|
412
|
+
# state. No changes can be made once a hydrated deployment is applied.
|
413
|
+
APPLIED = 2
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
# Message for requesting list of OrchestrationClusters.
|
418
|
+
# @!attribute [rw] parent
|
419
|
+
# @return [::String]
|
420
|
+
# Required. Parent value for ListOrchestrationClustersRequest
|
421
|
+
# @!attribute [rw] page_size
|
422
|
+
# @return [::Integer]
|
423
|
+
# Requested page size. Server may return fewer items than requested.
|
424
|
+
# If unspecified, server will pick an appropriate default.
|
425
|
+
# @!attribute [rw] page_token
|
426
|
+
# @return [::String]
|
427
|
+
# A token identifying a page of results the server should return.
|
428
|
+
# @!attribute [rw] filter
|
429
|
+
# @return [::String]
|
430
|
+
# Filtering results.
|
431
|
+
# @!attribute [rw] order_by
|
432
|
+
# @return [::String]
|
433
|
+
# Hint for how to order the results.
|
434
|
+
class ListOrchestrationClustersRequest
|
435
|
+
include ::Google::Protobuf::MessageExts
|
436
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
437
|
+
end
|
438
|
+
|
439
|
+
# Message for response to listing OrchestrationClusters.
|
440
|
+
# @!attribute [rw] orchestration_clusters
|
441
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::OrchestrationCluster>]
|
442
|
+
# The list of OrchestrationCluster
|
443
|
+
# @!attribute [rw] next_page_token
|
444
|
+
# @return [::String]
|
445
|
+
# A token identifying a page of results the server should return.
|
446
|
+
# @!attribute [rw] unreachable
|
447
|
+
# @return [::Array<::String>]
|
448
|
+
# Locations that could not be reached.
|
449
|
+
class ListOrchestrationClustersResponse
|
450
|
+
include ::Google::Protobuf::MessageExts
|
451
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
452
|
+
end
|
453
|
+
|
454
|
+
# Message for getting a OrchestrationCluster.
|
455
|
+
# @!attribute [rw] name
|
456
|
+
# @return [::String]
|
457
|
+
# Required. Name of the resource
|
458
|
+
class GetOrchestrationClusterRequest
|
459
|
+
include ::Google::Protobuf::MessageExts
|
460
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
461
|
+
end
|
462
|
+
|
463
|
+
# Message for creating a OrchestrationCluster.
|
464
|
+
# @!attribute [rw] parent
|
465
|
+
# @return [::String]
|
466
|
+
# Required. Value for parent.
|
467
|
+
# @!attribute [rw] orchestration_cluster_id
|
468
|
+
# @return [::String]
|
469
|
+
# Required. Id of the requesting object
|
470
|
+
# If auto-generating Id server-side, remove this field and
|
471
|
+
# orchestration_cluster_id from the method_signature of Create RPC
|
472
|
+
# @!attribute [rw] orchestration_cluster
|
473
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::OrchestrationCluster]
|
474
|
+
# Required. The resource being created
|
475
|
+
# @!attribute [rw] request_id
|
476
|
+
# @return [::String]
|
477
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
478
|
+
# request ID so that if you must retry your request, the server will know to
|
479
|
+
# ignore the request if it has already been completed. The server will
|
480
|
+
# guarantee that for at least 60 minutes since the first request.
|
481
|
+
#
|
482
|
+
# For example, consider a situation where you make an initial request and
|
483
|
+
# the request times out. If you make the request again with the same request
|
484
|
+
# ID, the server can check if original operation with the same request ID
|
485
|
+
# was received, and if so, will ignore the second request. This prevents
|
486
|
+
# clients from accidentally creating duplicate commitments.
|
487
|
+
#
|
488
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
489
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
490
|
+
class CreateOrchestrationClusterRequest
|
491
|
+
include ::Google::Protobuf::MessageExts
|
492
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
493
|
+
end
|
494
|
+
|
495
|
+
# Message for deleting a OrchestrationCluster.
|
496
|
+
# @!attribute [rw] name
|
497
|
+
# @return [::String]
|
498
|
+
# Required. Name of the resource
|
499
|
+
# @!attribute [rw] request_id
|
500
|
+
# @return [::String]
|
501
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
502
|
+
# request ID so that if you must retry your request, the server will know to
|
503
|
+
# ignore the request if it has already been completed. The server will
|
504
|
+
# guarantee that for at least 60 minutes after the first request.
|
505
|
+
#
|
506
|
+
# For example, consider a situation where you make an initial request and
|
507
|
+
# the request times out. If you make the request again with the same request
|
508
|
+
# ID, the server can check if original operation with the same request ID
|
509
|
+
# was received, and if so, will ignore the second request. This prevents
|
510
|
+
# clients from accidentally creating duplicate commitments.
|
511
|
+
#
|
512
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
513
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
514
|
+
class DeleteOrchestrationClusterRequest
|
515
|
+
include ::Google::Protobuf::MessageExts
|
516
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
517
|
+
end
|
518
|
+
|
519
|
+
# Message for requesting list of EdgeSlms
|
520
|
+
# @!attribute [rw] parent
|
521
|
+
# @return [::String]
|
522
|
+
# Required. Parent value for ListEdgeSlmsRequest
|
523
|
+
# @!attribute [rw] page_size
|
524
|
+
# @return [::Integer]
|
525
|
+
# Requested page size. Server may return fewer items than requested.
|
526
|
+
# If unspecified, server will pick an appropriate default.
|
527
|
+
# @!attribute [rw] page_token
|
528
|
+
# @return [::String]
|
529
|
+
# A token identifying a page of results the server should return.
|
530
|
+
# @!attribute [rw] filter
|
531
|
+
# @return [::String]
|
532
|
+
# Filtering results
|
533
|
+
# @!attribute [rw] order_by
|
534
|
+
# @return [::String]
|
535
|
+
# Hint for how to order the results
|
536
|
+
class ListEdgeSlmsRequest
|
537
|
+
include ::Google::Protobuf::MessageExts
|
538
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
539
|
+
end
|
540
|
+
|
541
|
+
# Message for response to listing EdgeSlms.
|
542
|
+
# @!attribute [rw] edge_slms
|
543
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::EdgeSlm>]
|
544
|
+
# The list of EdgeSlm
|
545
|
+
# @!attribute [rw] next_page_token
|
546
|
+
# @return [::String]
|
547
|
+
# A token identifying a page of results the server should return.
|
548
|
+
# @!attribute [rw] unreachable
|
549
|
+
# @return [::Array<::String>]
|
550
|
+
# Locations that could not be reached.
|
551
|
+
class ListEdgeSlmsResponse
|
552
|
+
include ::Google::Protobuf::MessageExts
|
553
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
554
|
+
end
|
555
|
+
|
556
|
+
# Message for getting a EdgeSlm.
|
557
|
+
# @!attribute [rw] name
|
558
|
+
# @return [::String]
|
559
|
+
# Required. Name of the resource
|
560
|
+
class GetEdgeSlmRequest
|
561
|
+
include ::Google::Protobuf::MessageExts
|
562
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
563
|
+
end
|
564
|
+
|
565
|
+
# Message for creating a EdgeSlm.
|
566
|
+
# @!attribute [rw] parent
|
567
|
+
# @return [::String]
|
568
|
+
# Required. Value for parent.
|
569
|
+
# @!attribute [rw] edge_slm_id
|
570
|
+
# @return [::String]
|
571
|
+
# Required. Id of the requesting object
|
572
|
+
# If auto-generating Id server-side, remove this field and
|
573
|
+
# edge_slm_id from the method_signature of Create RPC
|
574
|
+
# @!attribute [rw] edge_slm
|
575
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::EdgeSlm]
|
576
|
+
# Required. The resource being created
|
577
|
+
# @!attribute [rw] request_id
|
578
|
+
# @return [::String]
|
579
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
580
|
+
# request ID so that if you must retry your request, the server will know to
|
581
|
+
# ignore the request if it has already been completed. The server will
|
582
|
+
# guarantee that for at least 60 minutes since the first request.
|
583
|
+
#
|
584
|
+
# For example, consider a situation where you make an initial request and
|
585
|
+
# the request times out. If you make the request again with the same request
|
586
|
+
# ID, the server can check if original operation with the same request ID
|
587
|
+
# was received, and if so, will ignore the second request. This prevents
|
588
|
+
# clients from accidentally creating duplicate commitments.
|
589
|
+
#
|
590
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
591
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
592
|
+
class CreateEdgeSlmRequest
|
593
|
+
include ::Google::Protobuf::MessageExts
|
594
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
595
|
+
end
|
596
|
+
|
597
|
+
# Message for deleting a EdgeSlm.
|
598
|
+
# @!attribute [rw] name
|
599
|
+
# @return [::String]
|
600
|
+
# Required. Name of the resource
|
601
|
+
# @!attribute [rw] request_id
|
602
|
+
# @return [::String]
|
603
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
604
|
+
# request ID so that if you must retry your request, the server will know to
|
605
|
+
# ignore the request if it has already been completed. The server will
|
606
|
+
# guarantee that for at least 60 minutes after the first request.
|
607
|
+
#
|
608
|
+
# For example, consider a situation where you make an initial request and
|
609
|
+
# the request times out. If you make the request again with the same request
|
610
|
+
# ID, the server can check if original operation with the same request ID
|
611
|
+
# was received, and if so, will ignore the second request. This prevents
|
612
|
+
# clients from accidentally creating duplicate commitments.
|
613
|
+
#
|
614
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
615
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
616
|
+
class DeleteEdgeSlmRequest
|
617
|
+
include ::Google::Protobuf::MessageExts
|
618
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
619
|
+
end
|
620
|
+
|
621
|
+
# Request object for `CreateBlueprint`.
|
622
|
+
# @!attribute [rw] parent
|
623
|
+
# @return [::String]
|
624
|
+
# Required. The name of parent resource.
|
625
|
+
# Format should be -
|
626
|
+
# "projects/\\{project_id}/locations/\\{location_name}/orchestrationClusters/\\{orchestration_cluster}".
|
627
|
+
# @!attribute [rw] blueprint_id
|
628
|
+
# @return [::String]
|
629
|
+
# Optional. The name of the blueprint.
|
630
|
+
# @!attribute [rw] blueprint
|
631
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Blueprint]
|
632
|
+
# Required. The `Blueprint` to create.
|
633
|
+
class CreateBlueprintRequest
|
634
|
+
include ::Google::Protobuf::MessageExts
|
635
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
636
|
+
end
|
637
|
+
|
638
|
+
# Request object for `UpdateBlueprint`.
|
639
|
+
# @!attribute [rw] blueprint
|
640
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Blueprint]
|
641
|
+
# Required. The `blueprint` to update.
|
642
|
+
# @!attribute [rw] update_mask
|
643
|
+
# @return [::Google::Protobuf::FieldMask]
|
644
|
+
# Required. Update mask is used to specify the fields to be overwritten in
|
645
|
+
# the `blueprint` resource by the update.
|
646
|
+
class UpdateBlueprintRequest
|
647
|
+
include ::Google::Protobuf::MessageExts
|
648
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
649
|
+
end
|
650
|
+
|
651
|
+
# Request object for `GetBlueprint`.
|
652
|
+
# @!attribute [rw] name
|
653
|
+
# @return [::String]
|
654
|
+
# Required. The name of the blueprint.
|
655
|
+
# Case 1: If the name provided in the request is
|
656
|
+
# \\{blueprint_id}@\\{revision_id}, then the revision with revision_id will be
|
657
|
+
# returned. Case 2: If the name provided in the request is \\{blueprint}, then
|
658
|
+
# the current state of the blueprint is returned.
|
659
|
+
# @!attribute [rw] view
|
660
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::BlueprintView]
|
661
|
+
# Optional. Defines the type of view of the blueprint.
|
662
|
+
# When field is not present BLUEPRINT_VIEW_BASIC is considered as default.
|
663
|
+
class GetBlueprintRequest
|
664
|
+
include ::Google::Protobuf::MessageExts
|
665
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
666
|
+
end
|
667
|
+
|
668
|
+
# Request object for `DeleteBlueprint`.
|
669
|
+
# @!attribute [rw] name
|
670
|
+
# @return [::String]
|
671
|
+
# Required. The name of blueprint to delete.
|
672
|
+
# Blueprint name should be in the format \\{blueprint_id}, if
|
673
|
+
# \\{blueprint_id}@\\{revision_id} is passed then the API throws invalid
|
674
|
+
# argument.
|
675
|
+
class DeleteBlueprintRequest
|
676
|
+
include ::Google::Protobuf::MessageExts
|
677
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
678
|
+
end
|
679
|
+
|
680
|
+
# Request object for `ListBlueprints`.
|
681
|
+
# @!attribute [rw] parent
|
682
|
+
# @return [::String]
|
683
|
+
# Required. The name of parent orchestration cluster resource.
|
684
|
+
# Format should be -
|
685
|
+
# "projects/\\{project_id}/locations/\\{location_name}/orchestrationClusters/\\{orchestration_cluster}".
|
686
|
+
# @!attribute [rw] filter
|
687
|
+
# @return [::String]
|
688
|
+
# Optional. Filtering only supports equality on blueprint state.
|
689
|
+
# It should be in the form: "state = DRAFT". `OR` operator can be used to
|
690
|
+
# get response for multiple states. e.g. "state = DRAFT OR state = PROPOSED".
|
691
|
+
# @!attribute [rw] page_size
|
692
|
+
# @return [::Integer]
|
693
|
+
# Optional. The maximum number of blueprints to return per page.
|
694
|
+
# @!attribute [rw] page_token
|
695
|
+
# @return [::String]
|
696
|
+
# Optional. The page token, received from a previous ListBlueprints call.
|
697
|
+
# It can be provided to retrieve the subsequent page.
|
698
|
+
class ListBlueprintsRequest
|
699
|
+
include ::Google::Protobuf::MessageExts
|
700
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
701
|
+
end
|
702
|
+
|
703
|
+
# Response object for `ListBlueprints`.
|
704
|
+
# @!attribute [rw] blueprints
|
705
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::Blueprint>]
|
706
|
+
# The list of requested blueprints.
|
707
|
+
# @!attribute [rw] next_page_token
|
708
|
+
# @return [::String]
|
709
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
710
|
+
# If this field is omitted, there are no subsequent pages.
|
711
|
+
class ListBlueprintsResponse
|
712
|
+
include ::Google::Protobuf::MessageExts
|
713
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
714
|
+
end
|
715
|
+
|
716
|
+
# Request object for `ApproveBlueprint`.
|
717
|
+
# @!attribute [rw] name
|
718
|
+
# @return [::String]
|
719
|
+
# Required. The name of the blueprint to approve. The blueprint must be in
|
720
|
+
# Proposed state. A new revision is committed on approval.
|
721
|
+
class ApproveBlueprintRequest
|
722
|
+
include ::Google::Protobuf::MessageExts
|
723
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
724
|
+
end
|
725
|
+
|
726
|
+
# Request object for `ProposeBlueprint`.
|
727
|
+
# @!attribute [rw] name
|
728
|
+
# @return [::String]
|
729
|
+
# Required. The name of the blueprint being proposed.
|
730
|
+
class ProposeBlueprintRequest
|
731
|
+
include ::Google::Protobuf::MessageExts
|
732
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
733
|
+
end
|
734
|
+
|
735
|
+
# Request object for `RejectBlueprint`.
|
736
|
+
# @!attribute [rw] name
|
737
|
+
# @return [::String]
|
738
|
+
# Required. The name of the blueprint being rejected.
|
739
|
+
class RejectBlueprintRequest
|
740
|
+
include ::Google::Protobuf::MessageExts
|
741
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
742
|
+
end
|
743
|
+
|
744
|
+
# Request object for `ListBlueprintRevisions`.
|
745
|
+
# @!attribute [rw] name
|
746
|
+
# @return [::String]
|
747
|
+
# Required. The name of the blueprint to list revisions for.
|
748
|
+
# @!attribute [rw] page_size
|
749
|
+
# @return [::Integer]
|
750
|
+
# The maximum number of revisions to return per page.
|
751
|
+
# @!attribute [rw] page_token
|
752
|
+
# @return [::String]
|
753
|
+
# The page token, received from a previous ListBlueprintRevisions call
|
754
|
+
# It can be provided to retrieve the subsequent page.
|
755
|
+
class ListBlueprintRevisionsRequest
|
756
|
+
include ::Google::Protobuf::MessageExts
|
757
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
758
|
+
end
|
759
|
+
|
760
|
+
# Response object for `ListBlueprintRevisions`.
|
761
|
+
# @!attribute [rw] blueprints
|
762
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::Blueprint>]
|
763
|
+
# The revisions of the blueprint.
|
764
|
+
# @!attribute [rw] next_page_token
|
765
|
+
# @return [::String]
|
766
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
767
|
+
# If this field is omitted, there are no subsequent pages.
|
768
|
+
class ListBlueprintRevisionsResponse
|
769
|
+
include ::Google::Protobuf::MessageExts
|
770
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
771
|
+
end
|
772
|
+
|
773
|
+
# Request object for `SearchBlueprintRevisions`.
|
774
|
+
# @!attribute [rw] parent
|
775
|
+
# @return [::String]
|
776
|
+
# Required. The name of parent orchestration cluster resource.
|
777
|
+
# Format should be -
|
778
|
+
# "projects/\\{project_id}/locations/\\{location_name}/orchestrationClusters/\\{orchestration_cluster}".
|
779
|
+
# @!attribute [rw] query
|
780
|
+
# @return [::String]
|
781
|
+
# Required. Supported queries:
|
782
|
+
# 1. "" : Lists all revisions across all blueprints.
|
783
|
+
# 2. "latest=true" : Lists latest revisions across all blueprints.
|
784
|
+
# 3. "name=\\{name}" : Lists all revisions of blueprint with name
|
785
|
+
# \\{name}.
|
786
|
+
# 4. "name=\\{name} latest=true": Lists latest revision of blueprint with name
|
787
|
+
# \\{name}
|
788
|
+
# @!attribute [rw] page_size
|
789
|
+
# @return [::Integer]
|
790
|
+
# Optional. The maximum number of blueprints revisions to return per page.
|
791
|
+
# max page size = 100, default page size = 20.
|
792
|
+
# @!attribute [rw] page_token
|
793
|
+
# @return [::String]
|
794
|
+
# Optional. The page token, received from a previous search call.
|
795
|
+
# It can be provided to retrieve the subsequent page.
|
796
|
+
class SearchBlueprintRevisionsRequest
|
797
|
+
include ::Google::Protobuf::MessageExts
|
798
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
799
|
+
end
|
800
|
+
|
801
|
+
# Response object for `SearchBlueprintRevisions`.
|
802
|
+
# @!attribute [rw] blueprints
|
803
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::Blueprint>]
|
804
|
+
# The list of requested blueprint revisions.
|
805
|
+
# @!attribute [rw] next_page_token
|
806
|
+
# @return [::String]
|
807
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
808
|
+
# If this field is omitted, there are no subsequent pages.
|
809
|
+
class SearchBlueprintRevisionsResponse
|
810
|
+
include ::Google::Protobuf::MessageExts
|
811
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
812
|
+
end
|
813
|
+
|
814
|
+
# Request object for `DiscardBlueprintChanges`.
|
815
|
+
# @!attribute [rw] name
|
816
|
+
# @return [::String]
|
817
|
+
# Required. The name of the blueprint of which changes are being discarded.
|
818
|
+
class DiscardBlueprintChangesRequest
|
819
|
+
include ::Google::Protobuf::MessageExts
|
820
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
821
|
+
end
|
822
|
+
|
823
|
+
# Response object for `DiscardBlueprintChanges`.
|
824
|
+
class DiscardBlueprintChangesResponse
|
825
|
+
include ::Google::Protobuf::MessageExts
|
826
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
827
|
+
end
|
828
|
+
|
829
|
+
# Request object for `ListPublicBlueprints`.
|
830
|
+
# @!attribute [rw] parent
|
831
|
+
# @return [::String]
|
832
|
+
# Required. Parent value of public blueprint.
|
833
|
+
# Format should be -
|
834
|
+
# "projects/\\{project_id}/locations/\\{location_name}".
|
835
|
+
# @!attribute [rw] page_size
|
836
|
+
# @return [::Integer]
|
837
|
+
# Optional. Requested page size. Server may return fewer items than
|
838
|
+
# requested. If unspecified, server will pick an appropriate default.
|
839
|
+
# @!attribute [rw] page_token
|
840
|
+
# @return [::String]
|
841
|
+
# Optional. A token identifying a page of results the server should return.
|
842
|
+
class ListPublicBlueprintsRequest
|
843
|
+
include ::Google::Protobuf::MessageExts
|
844
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
845
|
+
end
|
846
|
+
|
847
|
+
# Response object for `ListPublicBlueprints`.
|
848
|
+
# @!attribute [rw] public_blueprints
|
849
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::PublicBlueprint>]
|
850
|
+
# The list of public blueprints to return.
|
851
|
+
# @!attribute [r] next_page_token
|
852
|
+
# @return [::String]
|
853
|
+
# Output only. A token identifying a page of results the server should
|
854
|
+
# return.
|
855
|
+
class ListPublicBlueprintsResponse
|
856
|
+
include ::Google::Protobuf::MessageExts
|
857
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
858
|
+
end
|
859
|
+
|
860
|
+
# Request object for `GetPublicBlueprint`.
|
861
|
+
# @!attribute [rw] name
|
862
|
+
# @return [::String]
|
863
|
+
# Required. The name of the public blueprint.
|
864
|
+
class GetPublicBlueprintRequest
|
865
|
+
include ::Google::Protobuf::MessageExts
|
866
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
867
|
+
end
|
868
|
+
|
869
|
+
# Request object for `CreateDeployment`.
|
870
|
+
# @!attribute [rw] parent
|
871
|
+
# @return [::String]
|
872
|
+
# Required. The name of parent resource.
|
873
|
+
# Format should be -
|
874
|
+
# "projects/\\{project_id}/locations/\\{location_name}/orchestrationClusters/\\{orchestration_cluster}".
|
875
|
+
# @!attribute [rw] deployment_id
|
876
|
+
# @return [::String]
|
877
|
+
# Optional. The name of the deployment.
|
878
|
+
# @!attribute [rw] deployment
|
879
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Deployment]
|
880
|
+
# Required. The `Deployment` to create.
|
881
|
+
class CreateDeploymentRequest
|
882
|
+
include ::Google::Protobuf::MessageExts
|
883
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
884
|
+
end
|
885
|
+
|
886
|
+
# Request object for `UpdateDeployment`.
|
887
|
+
# @!attribute [rw] deployment
|
888
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Deployment]
|
889
|
+
# Required. The `deployment` to update.
|
890
|
+
# @!attribute [rw] update_mask
|
891
|
+
# @return [::Google::Protobuf::FieldMask]
|
892
|
+
# Required. Update mask is used to specify the fields to be overwritten in
|
893
|
+
# the `deployment` resource by the update.
|
894
|
+
class UpdateDeploymentRequest
|
895
|
+
include ::Google::Protobuf::MessageExts
|
896
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
897
|
+
end
|
898
|
+
|
899
|
+
# Request object for `GetDeployment`.
|
900
|
+
# @!attribute [rw] name
|
901
|
+
# @return [::String]
|
902
|
+
# Required. The name of the deployment.
|
903
|
+
# Case 1: If the name provided in the request is
|
904
|
+
# \\{deployment_id}@\\{revision_id}, then the revision with revision_id will be
|
905
|
+
# returned.
|
906
|
+
# Case 2: If the name provided in the request is \\{deployment}, then
|
907
|
+
# the current state of the deployment is returned.
|
908
|
+
# @!attribute [rw] view
|
909
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::DeploymentView]
|
910
|
+
# Optional. Defines the type of view of the deployment.
|
911
|
+
# When field is not present VIEW_BASIC is considered as default.
|
912
|
+
class GetDeploymentRequest
|
913
|
+
include ::Google::Protobuf::MessageExts
|
914
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
915
|
+
end
|
916
|
+
|
917
|
+
# Request object for `RemoveDeployment`.
|
918
|
+
# @!attribute [rw] name
|
919
|
+
# @return [::String]
|
920
|
+
# Required. The name of deployment to initiate delete.
|
921
|
+
class RemoveDeploymentRequest
|
922
|
+
include ::Google::Protobuf::MessageExts
|
923
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
924
|
+
end
|
925
|
+
|
926
|
+
# Request object for `ListDeployments`.
|
927
|
+
# @!attribute [rw] parent
|
928
|
+
# @return [::String]
|
929
|
+
# Required. The name of parent orchestration cluster resource.
|
930
|
+
# Format should be -
|
931
|
+
# "projects/\\{project_id}/locations/\\{location_name}/orchestrationClusters/\\{orchestration_cluster}".
|
932
|
+
# @!attribute [rw] filter
|
933
|
+
# @return [::String]
|
934
|
+
# Optional. Filtering only supports equality on deployment state.
|
935
|
+
# It should be in the form: "state = DRAFT". `OR` operator can be used to
|
936
|
+
# get response for multiple states. e.g. "state = DRAFT OR state = APPLIED".
|
937
|
+
# @!attribute [rw] page_size
|
938
|
+
# @return [::Integer]
|
939
|
+
# Optional. The maximum number of deployments to return per page.
|
940
|
+
# @!attribute [rw] page_token
|
941
|
+
# @return [::String]
|
942
|
+
# Optional. The page token, received from a previous ListDeployments call.
|
943
|
+
# It can be provided to retrieve the subsequent page.
|
944
|
+
class ListDeploymentsRequest
|
945
|
+
include ::Google::Protobuf::MessageExts
|
946
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
947
|
+
end
|
948
|
+
|
949
|
+
# Response object for `ListDeployments`.
|
950
|
+
# @!attribute [rw] deployments
|
951
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::Deployment>]
|
952
|
+
# The list of requested deployments.
|
953
|
+
# @!attribute [rw] next_page_token
|
954
|
+
# @return [::String]
|
955
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
956
|
+
# If this field is omitted, there are no subsequent pages.
|
957
|
+
class ListDeploymentsResponse
|
958
|
+
include ::Google::Protobuf::MessageExts
|
959
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
960
|
+
end
|
961
|
+
|
962
|
+
# Request for listing all revisions of a deployment.
|
963
|
+
# @!attribute [rw] name
|
964
|
+
# @return [::String]
|
965
|
+
# Required. The name of the deployment to list revisions for.
|
966
|
+
# @!attribute [rw] page_size
|
967
|
+
# @return [::Integer]
|
968
|
+
# Optional. The maximum number of revisions to return per page.
|
969
|
+
# @!attribute [rw] page_token
|
970
|
+
# @return [::String]
|
971
|
+
# Optional. The page token, received from a previous ListDeploymentRevisions
|
972
|
+
# call Provide this to retrieve the subsequent page.
|
973
|
+
class ListDeploymentRevisionsRequest
|
974
|
+
include ::Google::Protobuf::MessageExts
|
975
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
976
|
+
end
|
977
|
+
|
978
|
+
# List of deployment revisions for a given deployment.
|
979
|
+
# @!attribute [rw] deployments
|
980
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::Deployment>]
|
981
|
+
# The revisions of the deployment.
|
982
|
+
# @!attribute [rw] next_page_token
|
983
|
+
# @return [::String]
|
984
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
985
|
+
# If this field is omitted, there are no subsequent pages.
|
986
|
+
class ListDeploymentRevisionsResponse
|
987
|
+
include ::Google::Protobuf::MessageExts
|
988
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
989
|
+
end
|
990
|
+
|
991
|
+
# Request object for `SearchDeploymentRevisions`.
|
992
|
+
# @!attribute [rw] parent
|
993
|
+
# @return [::String]
|
994
|
+
# Required. The name of parent orchestration cluster resource.
|
995
|
+
# Format should be -
|
996
|
+
# "projects/\\{project_id}/locations/\\{location_name}/orchestrationClusters/\\{orchestration_cluster}".
|
997
|
+
# @!attribute [rw] query
|
998
|
+
# @return [::String]
|
999
|
+
# Required. Supported queries:
|
1000
|
+
# 1. "" : Lists all revisions across all deployments.
|
1001
|
+
# 2. "latest=true" : Lists latest revisions across all
|
1002
|
+
# deployments.
|
1003
|
+
# 3. "name=\\{name}" : Lists all revisions of deployment with name
|
1004
|
+
# \\{name}.
|
1005
|
+
# 4. "name=\\{name} latest=true": Lists latest revision of deployment with name
|
1006
|
+
# \\{name}
|
1007
|
+
# @!attribute [rw] page_size
|
1008
|
+
# @return [::Integer]
|
1009
|
+
# Optional. The maximum number of deployment revisions to return per page.
|
1010
|
+
# max page size = 100, default page size = 20.
|
1011
|
+
# @!attribute [rw] page_token
|
1012
|
+
# @return [::String]
|
1013
|
+
# Optional. The page token, received from a previous search call.
|
1014
|
+
# It can be provided to retrieve the subsequent page.
|
1015
|
+
class SearchDeploymentRevisionsRequest
|
1016
|
+
include ::Google::Protobuf::MessageExts
|
1017
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
# Response object for `SearchDeploymentRevisions`.
|
1021
|
+
# @!attribute [rw] deployments
|
1022
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::Deployment>]
|
1023
|
+
# The list of requested deployment revisions.
|
1024
|
+
# @!attribute [rw] next_page_token
|
1025
|
+
# @return [::String]
|
1026
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
1027
|
+
# If this field is omitted, there are no subsequent pages.
|
1028
|
+
class SearchDeploymentRevisionsResponse
|
1029
|
+
include ::Google::Protobuf::MessageExts
|
1030
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# Request object for `DiscardDeploymentChanges`.
|
1034
|
+
# @!attribute [rw] name
|
1035
|
+
# @return [::String]
|
1036
|
+
# Required. The name of the deployment of which changes are being discarded.
|
1037
|
+
class DiscardDeploymentChangesRequest
|
1038
|
+
include ::Google::Protobuf::MessageExts
|
1039
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
# Response object for `DiscardDeploymentChanges`.
|
1043
|
+
class DiscardDeploymentChangesResponse
|
1044
|
+
include ::Google::Protobuf::MessageExts
|
1045
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# Request object for `ApplyDeployment`. The resources in given deployment
|
1049
|
+
# gets applied to Orchestration Cluster. A new revision is created when a
|
1050
|
+
# deployment is applied.
|
1051
|
+
# @!attribute [rw] name
|
1052
|
+
# @return [::String]
|
1053
|
+
# Required. The name of the deployment to apply to orchestration cluster.
|
1054
|
+
class ApplyDeploymentRequest
|
1055
|
+
include ::Google::Protobuf::MessageExts
|
1056
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# Request object for `ComputeDeploymentStatus`.
|
1060
|
+
# @!attribute [rw] name
|
1061
|
+
# @return [::String]
|
1062
|
+
# Required. The name of the deployment without revisionID.
|
1063
|
+
class ComputeDeploymentStatusRequest
|
1064
|
+
include ::Google::Protobuf::MessageExts
|
1065
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Response object for `ComputeDeploymentStatus`.
|
1069
|
+
# @!attribute [rw] name
|
1070
|
+
# @return [::String]
|
1071
|
+
# The name of the deployment.
|
1072
|
+
# @!attribute [r] aggregated_status
|
1073
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Status]
|
1074
|
+
# Output only. Aggregated status of a deployment.
|
1075
|
+
# @!attribute [r] resource_statuses
|
1076
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::ResourceStatus>]
|
1077
|
+
# Output only. Resource level status details in deployments.
|
1078
|
+
class ComputeDeploymentStatusResponse
|
1079
|
+
include ::Google::Protobuf::MessageExts
|
1080
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# Request object for `RollbackDeployment`.
|
1084
|
+
# @!attribute [rw] name
|
1085
|
+
# @return [::String]
|
1086
|
+
# Required. Name of the deployment.
|
1087
|
+
# @!attribute [rw] revision_id
|
1088
|
+
# @return [::String]
|
1089
|
+
# Required. The revision id of deployment to roll back to.
|
1090
|
+
class RollbackDeploymentRequest
|
1091
|
+
include ::Google::Protobuf::MessageExts
|
1092
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# Represents the metadata of the long-running operation.
|
1096
|
+
# @!attribute [r] create_time
|
1097
|
+
# @return [::Google::Protobuf::Timestamp]
|
1098
|
+
# Output only. The time the operation was created.
|
1099
|
+
# @!attribute [r] end_time
|
1100
|
+
# @return [::Google::Protobuf::Timestamp]
|
1101
|
+
# Output only. The time the operation finished running.
|
1102
|
+
# @!attribute [r] target
|
1103
|
+
# @return [::String]
|
1104
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1105
|
+
# @!attribute [r] verb
|
1106
|
+
# @return [::String]
|
1107
|
+
# Output only. Name of the verb executed by the operation.
|
1108
|
+
# @!attribute [r] status_message
|
1109
|
+
# @return [::String]
|
1110
|
+
# Output only. Human-readable status of the operation, if any.
|
1111
|
+
# @!attribute [r] requested_cancellation
|
1112
|
+
# @return [::Boolean]
|
1113
|
+
# Output only. Identifies whether the user has requested cancellation
|
1114
|
+
# of the operation. Operations that have been cancelled successfully
|
1115
|
+
# have [Operation.error][] value with a
|
1116
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
1117
|
+
# `Code.CANCELLED`.
|
1118
|
+
# @!attribute [r] api_version
|
1119
|
+
# @return [::String]
|
1120
|
+
# Output only. API version used to start the operation.
|
1121
|
+
class OperationMetadata
|
1122
|
+
include ::Google::Protobuf::MessageExts
|
1123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Request object for `GetHydratedDeployment`.
|
1127
|
+
# @!attribute [rw] name
|
1128
|
+
# @return [::String]
|
1129
|
+
# Required. Name of the hydrated deployment.
|
1130
|
+
class GetHydratedDeploymentRequest
|
1131
|
+
include ::Google::Protobuf::MessageExts
|
1132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
# Request object for `ListHydratedDeployments`.
|
1136
|
+
# @!attribute [rw] parent
|
1137
|
+
# @return [::String]
|
1138
|
+
# Required. The deployment managing the hydrated deployments.
|
1139
|
+
# @!attribute [rw] page_size
|
1140
|
+
# @return [::Integer]
|
1141
|
+
# Optional. The maximum number of hydrated deployments to return. The service
|
1142
|
+
# may return fewer than this value. If unspecified, at most 50 hydrated
|
1143
|
+
# deployments will be returned. The maximum value is 1000. Values above 1000
|
1144
|
+
# will be set to 1000.
|
1145
|
+
# @!attribute [rw] page_token
|
1146
|
+
# @return [::String]
|
1147
|
+
# Optional. The page token, received from a previous ListHydratedDeployments
|
1148
|
+
# call. Provide this to retrieve the subsequent page.
|
1149
|
+
class ListHydratedDeploymentsRequest
|
1150
|
+
include ::Google::Protobuf::MessageExts
|
1151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
# Response object for `ListHydratedDeployments`.
|
1155
|
+
# @!attribute [rw] hydrated_deployments
|
1156
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::HydratedDeployment>]
|
1157
|
+
# The list of hydrated deployments.
|
1158
|
+
# @!attribute [rw] next_page_token
|
1159
|
+
# @return [::String]
|
1160
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
1161
|
+
# If this field is omitted, there are no subsequent pages.
|
1162
|
+
class ListHydratedDeploymentsResponse
|
1163
|
+
include ::Google::Protobuf::MessageExts
|
1164
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# Request object for `UpdateHydratedDeployment`.
|
1168
|
+
# @!attribute [rw] hydrated_deployment
|
1169
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::HydratedDeployment]
|
1170
|
+
# Required. The hydrated deployment to update.
|
1171
|
+
# @!attribute [rw] update_mask
|
1172
|
+
# @return [::Google::Protobuf::FieldMask]
|
1173
|
+
# Required. The list of fields to update. Update mask supports a special
|
1174
|
+
# value `*` which fully replaces (equivalent to PUT) the resource provided.
|
1175
|
+
class UpdateHydratedDeploymentRequest
|
1176
|
+
include ::Google::Protobuf::MessageExts
|
1177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
# Request for applying a hydrated deployment.
|
1181
|
+
# @!attribute [rw] name
|
1182
|
+
# @return [::String]
|
1183
|
+
# Required. The name of the hydrated deployment to apply.
|
1184
|
+
class ApplyHydratedDeploymentRequest
|
1185
|
+
include ::Google::Protobuf::MessageExts
|
1186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# Configuration of the cluster management
|
1190
|
+
# @!attribute [rw] standard_management_config
|
1191
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::StandardManagementConfig]
|
1192
|
+
# Configuration of the standard (GKE) cluster management
|
1193
|
+
# @!attribute [rw] full_management_config
|
1194
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::FullManagementConfig]
|
1195
|
+
# Configuration of the full (Autopilot) cluster management. Full cluster
|
1196
|
+
# management is a preview feature.
|
1197
|
+
class ManagementConfig
|
1198
|
+
include ::Google::Protobuf::MessageExts
|
1199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# Configuration of the standard (GKE) cluster management.
|
1203
|
+
# @!attribute [rw] network
|
1204
|
+
# @return [::String]
|
1205
|
+
# Optional. Name of the VPC Network to put the GKE cluster and nodes in. The
|
1206
|
+
# VPC will be created if it doesn't exist.
|
1207
|
+
# @!attribute [rw] subnet
|
1208
|
+
# @return [::String]
|
1209
|
+
# Optional. Specifies the subnet that the interface will be part of. Network
|
1210
|
+
# key must be specified and the subnet must be a subnetwork of the specified
|
1211
|
+
# network.
|
1212
|
+
# @!attribute [rw] master_ipv4_cidr_block
|
1213
|
+
# @return [::String]
|
1214
|
+
# Optional. The /28 network that the masters will use. It should be free
|
1215
|
+
# within the network.
|
1216
|
+
# @!attribute [rw] cluster_cidr_block
|
1217
|
+
# @return [::String]
|
1218
|
+
# Optional. The IP address range for the cluster pod IPs. Set to blank to
|
1219
|
+
# have a range chosen with the default size. Set to /netmask (e.g. /14) to
|
1220
|
+
# have a range chosen with a specific netmask. Set to a CIDR notation
|
1221
|
+
# (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8,
|
1222
|
+
# 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
|
1223
|
+
# @!attribute [rw] services_cidr_block
|
1224
|
+
# @return [::String]
|
1225
|
+
# Optional. The IP address range for the cluster service IPs. Set to blank to
|
1226
|
+
# have a range chosen with the default size. Set to /netmask (e.g. /14) to
|
1227
|
+
# have a range chosen with a specific netmask. Set to a CIDR notation (e.g.
|
1228
|
+
# 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8,
|
1229
|
+
# 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
|
1230
|
+
# @!attribute [rw] cluster_named_range
|
1231
|
+
# @return [::String]
|
1232
|
+
# Optional. The name of the existing secondary range in the cluster's
|
1233
|
+
# subnetwork to use for pod IP addresses. Alternatively, cluster_cidr_block
|
1234
|
+
# can be used to automatically create a GKE-managed one.
|
1235
|
+
# @!attribute [rw] services_named_range
|
1236
|
+
# @return [::String]
|
1237
|
+
# Optional. The name of the existing secondary range in the cluster's
|
1238
|
+
# subnetwork to use for service ClusterIPs. Alternatively,
|
1239
|
+
# services_cidr_block can be used to automatically create a GKE-managed one.
|
1240
|
+
# @!attribute [rw] master_authorized_networks_config
|
1241
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::MasterAuthorizedNetworksConfig]
|
1242
|
+
# Optional. Master Authorized Network that supports multiple CIDR blocks.
|
1243
|
+
# Allows access to the k8s master from multiple blocks. It cannot be set at
|
1244
|
+
# the same time with the field man_block.
|
1245
|
+
class StandardManagementConfig
|
1246
|
+
include ::Google::Protobuf::MessageExts
|
1247
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
# Configuration of the full (Autopilot) cluster management
|
1251
|
+
# @!attribute [rw] network
|
1252
|
+
# @return [::String]
|
1253
|
+
# Optional. Name of the VPC Network to put the GKE cluster and nodes in. The
|
1254
|
+
# VPC will be created if it doesn't exist.
|
1255
|
+
# @!attribute [rw] subnet
|
1256
|
+
# @return [::String]
|
1257
|
+
# Optional. Specifies the subnet that the interface will be part of. Network
|
1258
|
+
# key must be specified and the subnet must be a subnetwork of the specified
|
1259
|
+
# network.
|
1260
|
+
# @!attribute [rw] master_ipv4_cidr_block
|
1261
|
+
# @return [::String]
|
1262
|
+
# Optional. The /28 network that the masters will use.
|
1263
|
+
# @!attribute [rw] cluster_cidr_block
|
1264
|
+
# @return [::String]
|
1265
|
+
# Optional. The IP address range for the cluster pod IPs. Set to blank to
|
1266
|
+
# have a range chosen with the default size. Set to /netmask (e.g. /14) to
|
1267
|
+
# have a range chosen with a specific netmask. Set to a CIDR notation
|
1268
|
+
# (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8,
|
1269
|
+
# 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
|
1270
|
+
# @!attribute [rw] services_cidr_block
|
1271
|
+
# @return [::String]
|
1272
|
+
# Optional. The IP address range for the cluster service IPs. Set to blank to
|
1273
|
+
# have a range chosen with the default size. Set to /netmask (e.g. /14) to
|
1274
|
+
# have a range chosen with a specific netmask. Set to a CIDR notation (e.g.
|
1275
|
+
# 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8,
|
1276
|
+
# 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
|
1277
|
+
# @!attribute [rw] cluster_named_range
|
1278
|
+
# @return [::String]
|
1279
|
+
# Optional. The name of the existing secondary range in the cluster's
|
1280
|
+
# subnetwork to use for pod IP addresses. Alternatively, cluster_cidr_block
|
1281
|
+
# can be used to automatically create a GKE-managed one.
|
1282
|
+
# @!attribute [rw] services_named_range
|
1283
|
+
# @return [::String]
|
1284
|
+
# Optional. The name of the existing secondary range in the cluster's
|
1285
|
+
# subnetwork to use for service ClusterIPs. Alternatively,
|
1286
|
+
# services_cidr_block can be used to automatically create a GKE-managed one.
|
1287
|
+
# @!attribute [rw] master_authorized_networks_config
|
1288
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::MasterAuthorizedNetworksConfig]
|
1289
|
+
# Optional. Master Authorized Network that supports multiple CIDR blocks.
|
1290
|
+
# Allows access to the k8s master from multiple blocks. It cannot be set at
|
1291
|
+
# the same time with the field man_block.
|
1292
|
+
class FullManagementConfig
|
1293
|
+
include ::Google::Protobuf::MessageExts
|
1294
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
# Configuration of the Master Authorized Network that support multiple CIDRs
|
1298
|
+
# @!attribute [rw] cidr_blocks
|
1299
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::MasterAuthorizedNetworksConfig::CidrBlock>]
|
1300
|
+
# Optional. cidr_blocks define up to 50 external networks that could access
|
1301
|
+
# Kubernetes master through HTTPS.
|
1302
|
+
class MasterAuthorizedNetworksConfig
|
1303
|
+
include ::Google::Protobuf::MessageExts
|
1304
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1305
|
+
|
1306
|
+
# CidrBlock contains an optional name and one CIDR block.
|
1307
|
+
# @!attribute [rw] display_name
|
1308
|
+
# @return [::String]
|
1309
|
+
# Optional. display_name is an optional field for users to identify CIDR
|
1310
|
+
# blocks.
|
1311
|
+
# @!attribute [rw] cidr_block
|
1312
|
+
# @return [::String]
|
1313
|
+
# Optional. cidr_block must be specified in CIDR notation when using
|
1314
|
+
# master_authorized_networks_config. Currently, the user could still use
|
1315
|
+
# the deprecated man_block field, so this field is currently optional, but
|
1316
|
+
# will be required in the future.
|
1317
|
+
class CidrBlock
|
1318
|
+
include ::Google::Protobuf::MessageExts
|
1319
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1320
|
+
end
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
# File represents a yaml file present in a blueprint's package.
|
1324
|
+
# @!attribute [rw] path
|
1325
|
+
# @return [::String]
|
1326
|
+
# Required. Path of the file in package.
|
1327
|
+
# e.g. `gdce/v1/cluster.yaml`
|
1328
|
+
# @!attribute [rw] content
|
1329
|
+
# @return [::String]
|
1330
|
+
# Optional. The contents of a file in string format.
|
1331
|
+
# @!attribute [rw] deleted
|
1332
|
+
# @return [::Boolean]
|
1333
|
+
# Optional. Signifies whether a file is marked for deletion.
|
1334
|
+
# @!attribute [rw] editable
|
1335
|
+
# @return [::Boolean]
|
1336
|
+
# Optional. Indicates whether changes are allowed to a file. If the field is
|
1337
|
+
# not set, the file cannot be edited.
|
1338
|
+
class File
|
1339
|
+
include ::Google::Protobuf::MessageExts
|
1340
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
# Status of a deployment resource.
|
1344
|
+
# @!attribute [rw] name
|
1345
|
+
# @return [::String]
|
1346
|
+
# Name of the resource.
|
1347
|
+
# @!attribute [rw] resource_namespace
|
1348
|
+
# @return [::String]
|
1349
|
+
# Namespace of the resource.
|
1350
|
+
# @!attribute [rw] group
|
1351
|
+
# @return [::String]
|
1352
|
+
# Group to which the resource belongs to.
|
1353
|
+
# @!attribute [rw] version
|
1354
|
+
# @return [::String]
|
1355
|
+
# Version of the resource.
|
1356
|
+
# @!attribute [rw] kind
|
1357
|
+
# @return [::String]
|
1358
|
+
# Kind of the resource.
|
1359
|
+
# @!attribute [r] resource_type
|
1360
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::ResourceType]
|
1361
|
+
# Output only. Resource type.
|
1362
|
+
# @!attribute [r] status
|
1363
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::Status]
|
1364
|
+
# Output only. Status of the resource.
|
1365
|
+
# @!attribute [r] nf_deploy_status
|
1366
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::NFDeployStatus]
|
1367
|
+
# Output only. Detailed status of NFDeploy.
|
1368
|
+
class ResourceStatus
|
1369
|
+
include ::Google::Protobuf::MessageExts
|
1370
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
# Deployment status of NFDeploy.
|
1374
|
+
# @!attribute [r] targeted_nfs
|
1375
|
+
# @return [::Integer]
|
1376
|
+
# Output only. Total number of NFs targeted by this deployment
|
1377
|
+
# @!attribute [r] ready_nfs
|
1378
|
+
# @return [::Integer]
|
1379
|
+
# Output only. Total number of NFs targeted by this deployment with a Ready
|
1380
|
+
# Condition set.
|
1381
|
+
# @!attribute [r] sites
|
1382
|
+
# @return [::Array<::Google::Cloud::TelcoAutomation::V1::NFDeploySiteStatus>]
|
1383
|
+
# Output only. Per-Site Status.
|
1384
|
+
class NFDeployStatus
|
1385
|
+
include ::Google::Protobuf::MessageExts
|
1386
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
# Per-Site Status.
|
1390
|
+
# @!attribute [r] site
|
1391
|
+
# @return [::String]
|
1392
|
+
# Output only. Site id.
|
1393
|
+
# @!attribute [r] pending_deletion
|
1394
|
+
# @return [::Boolean]
|
1395
|
+
# Output only. If true, the Site Deletion is in progress.
|
1396
|
+
# @!attribute [r] hydration
|
1397
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::HydrationStatus]
|
1398
|
+
# Output only. Hydration status.
|
1399
|
+
# @!attribute [r] workload
|
1400
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::WorkloadStatus]
|
1401
|
+
# Output only. Workload status.
|
1402
|
+
class NFDeploySiteStatus
|
1403
|
+
include ::Google::Protobuf::MessageExts
|
1404
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# Hydration status.
|
1408
|
+
# @!attribute [r] site_version
|
1409
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::SiteVersion]
|
1410
|
+
# Output only. SiteVersion Hydration is targeting.
|
1411
|
+
# @!attribute [r] status
|
1412
|
+
# @return [::String]
|
1413
|
+
# Output only. Status.
|
1414
|
+
class HydrationStatus
|
1415
|
+
include ::Google::Protobuf::MessageExts
|
1416
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
# SiteVersion Hydration is targeting.
|
1420
|
+
# @!attribute [r] nf_vendor
|
1421
|
+
# @return [::String]
|
1422
|
+
# Output only. NF vendor.
|
1423
|
+
# @!attribute [r] nf_type
|
1424
|
+
# @return [::String]
|
1425
|
+
# Output only. NF vendor type.
|
1426
|
+
# @!attribute [r] nf_version
|
1427
|
+
# @return [::String]
|
1428
|
+
# Output only. NF version.
|
1429
|
+
class SiteVersion
|
1430
|
+
include ::Google::Protobuf::MessageExts
|
1431
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
# Workload status.
|
1435
|
+
# @!attribute [r] site_version
|
1436
|
+
# @return [::Google::Cloud::TelcoAutomation::V1::SiteVersion]
|
1437
|
+
# Output only. SiteVersion running in the workload cluster.
|
1438
|
+
# @!attribute [r] status
|
1439
|
+
# @return [::String]
|
1440
|
+
# Output only. Status.
|
1441
|
+
class WorkloadStatus
|
1442
|
+
include ::Google::Protobuf::MessageExts
|
1443
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
# BlueprintView defines the type of view of the blueprint.
|
1447
|
+
module BlueprintView
|
1448
|
+
# Unspecified enum value.
|
1449
|
+
BLUEPRINT_VIEW_UNSPECIFIED = 0
|
1450
|
+
|
1451
|
+
# View which only contains metadata.
|
1452
|
+
BLUEPRINT_VIEW_BASIC = 1
|
1453
|
+
|
1454
|
+
# View which contains metadata and files it encapsulates.
|
1455
|
+
BLUEPRINT_VIEW_FULL = 2
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
# DeploymentView defines the type of view of the deployment.
|
1459
|
+
module DeploymentView
|
1460
|
+
# Unspecified enum value.
|
1461
|
+
DEPLOYMENT_VIEW_UNSPECIFIED = 0
|
1462
|
+
|
1463
|
+
# View which only contains metadata.
|
1464
|
+
DEPLOYMENT_VIEW_BASIC = 1
|
1465
|
+
|
1466
|
+
# View which contains metadata and files it encapsulates.
|
1467
|
+
DEPLOYMENT_VIEW_FULL = 2
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
# Represent type of CR.
|
1471
|
+
module ResourceType
|
1472
|
+
# Unspecified resource type.
|
1473
|
+
RESOURCE_TYPE_UNSPECIFIED = 0
|
1474
|
+
|
1475
|
+
# User specified NF Deploy CR.
|
1476
|
+
NF_DEPLOY_RESOURCE = 1
|
1477
|
+
|
1478
|
+
# CRs that are part of a blueprint.
|
1479
|
+
DEPLOYMENT_RESOURCE = 2
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
# Status of an entity (resource, deployment).
|
1483
|
+
module Status
|
1484
|
+
# Unknown state.
|
1485
|
+
STATUS_UNSPECIFIED = 0
|
1486
|
+
|
1487
|
+
# Under progress.
|
1488
|
+
STATUS_IN_PROGRESS = 1
|
1489
|
+
|
1490
|
+
# Running and ready to serve traffic.
|
1491
|
+
STATUS_ACTIVE = 2
|
1492
|
+
|
1493
|
+
# Failed or stalled.
|
1494
|
+
STATUS_FAILED = 3
|
1495
|
+
|
1496
|
+
# Delete in progress.
|
1497
|
+
STATUS_DELETING = 4
|
1498
|
+
|
1499
|
+
# Deleted deployment.
|
1500
|
+
STATUS_DELETED = 5
|
1501
|
+
|
1502
|
+
# NFDeploy specific status. Peering in progress.
|
1503
|
+
STATUS_PEERING = 10
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
# DeploymentLevel of a blueprint signifies where the blueprint will be
|
1507
|
+
# applied.
|
1508
|
+
module DeploymentLevel
|
1509
|
+
# Default unspecified deployment level.
|
1510
|
+
DEPLOYMENT_LEVEL_UNSPECIFIED = 0
|
1511
|
+
|
1512
|
+
# Blueprints at HYDRATION level cannot be used to create a Deployment
|
1513
|
+
# (A user cannot manually initate deployment of these blueprints on
|
1514
|
+
# orchestration or workload cluster).
|
1515
|
+
# These blueprints stay in a user's private catalog and are configured and
|
1516
|
+
# deployed by TNA automation.
|
1517
|
+
HYDRATION = 1
|
1518
|
+
|
1519
|
+
# Blueprints at SINGLE_DEPLOYMENT level can be
|
1520
|
+
# a) Modified in private catalog.
|
1521
|
+
# b) Used to create a deployment on orchestration cluster by the user, once
|
1522
|
+
# approved.
|
1523
|
+
SINGLE_DEPLOYMENT = 2
|
1524
|
+
|
1525
|
+
# Blueprints at MULTI_DEPLOYMENT level can be
|
1526
|
+
# a) Modified in private catalog.
|
1527
|
+
# b) Used to create a deployment on orchestration cluster which will create
|
1528
|
+
# further hydrated deployments.
|
1529
|
+
MULTI_DEPLOYMENT = 3
|
1530
|
+
end
|
1531
|
+
end
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
end
|