google-cloud-network_connectivity-v1 1.6.0 → 1.8.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/lib/google/cloud/network_connectivity/v1/data_transfer_service/client.rb +1765 -0
- data/lib/google/cloud/network_connectivity/v1/data_transfer_service/credentials.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1/data_transfer_service/operations.rb +813 -0
- data/lib/google/cloud/network_connectivity/v1/data_transfer_service/paths.rb +109 -0
- data/lib/google/cloud/network_connectivity/v1/data_transfer_service.rb +50 -0
- data/lib/google/cloud/network_connectivity/v1/internal_range_service/client.rb +983 -0
- data/lib/google/cloud/network_connectivity/v1/internal_range_service/credentials.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1/internal_range_service/operations.rb +813 -0
- data/lib/google/cloud/network_connectivity/v1/internal_range_service/paths.rb +69 -0
- data/lib/google/cloud/network_connectivity/v1/internal_range_service.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/network_connectivity/v1.rb +2 -0
- data/lib/google/cloud/networkconnectivity/v1/data_transfer_pb.rb +79 -0
- data/lib/google/cloud/networkconnectivity/v1/data_transfer_services_pb.rb +72 -0
- data/lib/google/cloud/networkconnectivity/v1/internal_range_pb.rb +66 -0
- data/lib/google/cloud/networkconnectivity/v1/internal_range_services_pb.rb +54 -0
- data/proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb +635 -0
- data/proto_docs/google/cloud/networkconnectivity/v1/internal_range.rb +397 -0
- metadata +20 -4
@@ -0,0 +1,635 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 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 NetworkConnectivity
|
23
|
+
module V1
|
24
|
+
# The `MulticloudDataTransferConfig` resource. It lists the services that you
|
25
|
+
# configure for Data Transfer Essentials billing and metering.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The name of the `MulticloudDataTransferConfig` resource.
|
29
|
+
# Format:
|
30
|
+
# `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.
|
31
|
+
# @!attribute [r] create_time
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
33
|
+
# Output only. Time when the `MulticloudDataTransferConfig` resource was
|
34
|
+
# created.
|
35
|
+
# @!attribute [r] update_time
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
37
|
+
# Output only. Time when the `MulticloudDataTransferConfig` resource was
|
38
|
+
# updated.
|
39
|
+
# @!attribute [rw] labels
|
40
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
41
|
+
# Optional. User-defined labels.
|
42
|
+
# @!attribute [rw] etag
|
43
|
+
# @return [::String]
|
44
|
+
# The etag is computed by the server, and might be sent with update and
|
45
|
+
# delete requests so that the client has an up-to-date value before
|
46
|
+
# proceeding.
|
47
|
+
# @!attribute [rw] description
|
48
|
+
# @return [::String]
|
49
|
+
# Optional. A description of this resource.
|
50
|
+
# @!attribute [r] destinations_count
|
51
|
+
# @return [::Integer]
|
52
|
+
# Output only. The number of `Destination` resources configured for the
|
53
|
+
# `MulticloudDataTransferConfig` resource.
|
54
|
+
# @!attribute [r] destinations_active_count
|
55
|
+
# @return [::Integer]
|
56
|
+
# Output only. The number of `Destination` resources in use with the
|
57
|
+
# `MulticloudDataTransferConfig` resource.
|
58
|
+
# @!attribute [rw] services
|
59
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkConnectivity::V1::StateTimeline}]
|
60
|
+
# Optional. Maps services to their current or planned states. Service names
|
61
|
+
# are keys, and the associated values describe the state of the service. If a
|
62
|
+
# state change is expected, the value is either `ADDING` or `DELETING`,
|
63
|
+
# depending on the actions taken.
|
64
|
+
#
|
65
|
+
# Sample output:
|
66
|
+
# "services": {
|
67
|
+
# "big-query": {
|
68
|
+
# "states": [
|
69
|
+
# {
|
70
|
+
# "effectiveTime": "2024-12-12T08:00:00Z"
|
71
|
+
# "state": "ADDING",
|
72
|
+
# },
|
73
|
+
# ]
|
74
|
+
# },
|
75
|
+
# "cloud-storage": {
|
76
|
+
# "states": [
|
77
|
+
# {
|
78
|
+
# "state": "ACTIVE",
|
79
|
+
# }
|
80
|
+
# ]
|
81
|
+
# }
|
82
|
+
# }
|
83
|
+
# @!attribute [r] uid
|
84
|
+
# @return [::String]
|
85
|
+
# Output only. The Google-generated unique ID for the
|
86
|
+
# `MulticloudDataTransferConfig` resource. This value is unique across all
|
87
|
+
# `MulticloudDataTransferConfig` resources. If a resource is deleted and
|
88
|
+
# another with the same name is created, the new resource is assigned a
|
89
|
+
# different and unique ID.
|
90
|
+
class MulticloudDataTransferConfig
|
91
|
+
include ::Google::Protobuf::MessageExts
|
92
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
93
|
+
|
94
|
+
# @!attribute [rw] key
|
95
|
+
# @return [::String]
|
96
|
+
# @!attribute [rw] value
|
97
|
+
# @return [::String]
|
98
|
+
class LabelsEntry
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
|
103
|
+
# @!attribute [rw] key
|
104
|
+
# @return [::String]
|
105
|
+
# @!attribute [rw] value
|
106
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::StateTimeline]
|
107
|
+
class ServicesEntry
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# Request message to list `MulticloudDataTransferConfig` resources.
|
114
|
+
# @!attribute [rw] parent
|
115
|
+
# @return [::String]
|
116
|
+
# Required. The name of the parent resource.
|
117
|
+
# @!attribute [rw] page_size
|
118
|
+
# @return [::Integer]
|
119
|
+
# Optional. The maximum number of results listed per page.
|
120
|
+
# @!attribute [rw] page_token
|
121
|
+
# @return [::String]
|
122
|
+
# Optional. The page token.
|
123
|
+
# @!attribute [rw] filter
|
124
|
+
# @return [::String]
|
125
|
+
# Optional. An expression that filters the results listed in the response.
|
126
|
+
# @!attribute [rw] order_by
|
127
|
+
# @return [::String]
|
128
|
+
# Optional. The sort order of the results.
|
129
|
+
# @!attribute [rw] return_partial_success
|
130
|
+
# @return [::Boolean]
|
131
|
+
# Optional. If `true`, allows partial responses for multi-regional aggregated
|
132
|
+
# list requests.
|
133
|
+
class ListMulticloudDataTransferConfigsRequest
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
end
|
137
|
+
|
138
|
+
# Response message to list `MulticloudDataTransferConfig` resources.
|
139
|
+
# @!attribute [rw] multicloud_data_transfer_configs
|
140
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::MulticloudDataTransferConfig>]
|
141
|
+
# The list of `MulticloudDataTransferConfig` resources to be listed.
|
142
|
+
# @!attribute [rw] next_page_token
|
143
|
+
# @return [::String]
|
144
|
+
# The next page token.
|
145
|
+
# @!attribute [rw] unreachable
|
146
|
+
# @return [::Array<::String>]
|
147
|
+
# Locations that could not be reached.
|
148
|
+
class ListMulticloudDataTransferConfigsResponse
|
149
|
+
include ::Google::Protobuf::MessageExts
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
151
|
+
end
|
152
|
+
|
153
|
+
# Request message to get the details of a `MulticloudDataTransferConfig`
|
154
|
+
# resource.
|
155
|
+
# @!attribute [rw] name
|
156
|
+
# @return [::String]
|
157
|
+
# Required. The name of the `MulticloudDataTransferConfig` resource to get.
|
158
|
+
class GetMulticloudDataTransferConfigRequest
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
|
+
end
|
162
|
+
|
163
|
+
# Request message to create a `MulticloudDataTransferConfig` resource.
|
164
|
+
# @!attribute [rw] parent
|
165
|
+
# @return [::String]
|
166
|
+
# Required. The name of the parent resource.
|
167
|
+
# @!attribute [rw] multicloud_data_transfer_config_id
|
168
|
+
# @return [::String]
|
169
|
+
# Required. The ID to use for the `MulticloudDataTransferConfig` resource,
|
170
|
+
# which becomes the final component of the `MulticloudDataTransferConfig`
|
171
|
+
# resource name.
|
172
|
+
# @!attribute [rw] multicloud_data_transfer_config
|
173
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::MulticloudDataTransferConfig]
|
174
|
+
# Required. The `MulticloudDataTransferConfig` resource to create.
|
175
|
+
# @!attribute [rw] request_id
|
176
|
+
# @return [::String]
|
177
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
178
|
+
# so that if you must retry your request, the server can ignore
|
179
|
+
# the request if it has already been completed. The server waits
|
180
|
+
# for at least 60 minutes since the first request.
|
181
|
+
#
|
182
|
+
# For example, consider a situation where you make an initial request and
|
183
|
+
# the request times out. If you make the request again with the same request
|
184
|
+
# ID, the server can check if original operation with the same request ID
|
185
|
+
# was received, and if so, can ignore the second request. This prevents
|
186
|
+
# clients from accidentally creating duplicate `MulticloudDataTransferConfig`
|
187
|
+
# resources.
|
188
|
+
#
|
189
|
+
# The request ID must be a valid UUID with the exception that zero UUID
|
190
|
+
# (00000000-0000-0000-0000-000000000000) isn't supported.
|
191
|
+
class CreateMulticloudDataTransferConfigRequest
|
192
|
+
include ::Google::Protobuf::MessageExts
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
194
|
+
end
|
195
|
+
|
196
|
+
# Request message to update a `MulticloudDataTransferConfig` resource.
|
197
|
+
# @!attribute [rw] update_mask
|
198
|
+
# @return [::Google::Protobuf::FieldMask]
|
199
|
+
# Optional. `FieldMask` is used to specify the fields in the
|
200
|
+
# `MulticloudDataTransferConfig` resource to be overwritten by the update.
|
201
|
+
# The fields specified in `update_mask` are relative to the resource, not
|
202
|
+
# the full request. A field is overwritten if it is in the mask. If you
|
203
|
+
# don't specify a mask, all fields are overwritten.
|
204
|
+
# @!attribute [rw] multicloud_data_transfer_config
|
205
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::MulticloudDataTransferConfig]
|
206
|
+
# Required. The `MulticloudDataTransferConfig` resource to update.
|
207
|
+
# @!attribute [rw] request_id
|
208
|
+
# @return [::String]
|
209
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
210
|
+
# so that if you must retry your request, the server can ignore
|
211
|
+
# the request if it has already been completed. The server waits
|
212
|
+
# for at least 60 minutes since the first request.
|
213
|
+
#
|
214
|
+
# For example, consider a situation where you make an initial request and
|
215
|
+
# the request times out. If you make the request again with the same request
|
216
|
+
# ID, the server can check if original operation with the same request ID
|
217
|
+
# was received, and if so, can ignore the second request. This prevents
|
218
|
+
# clients from accidentally creating duplicate `MulticloudDataTransferConfig`
|
219
|
+
# resources.
|
220
|
+
#
|
221
|
+
# The request ID must be a valid UUID with the exception that zero UUID
|
222
|
+
# (00000000-0000-0000-0000-000000000000) isn't supported.
|
223
|
+
class UpdateMulticloudDataTransferConfigRequest
|
224
|
+
include ::Google::Protobuf::MessageExts
|
225
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
226
|
+
end
|
227
|
+
|
228
|
+
# Request message to delete a `MulticloudDataTransferConfig` resource.
|
229
|
+
# @!attribute [rw] name
|
230
|
+
# @return [::String]
|
231
|
+
# Required. The name of the `MulticloudDataTransferConfig` resource to
|
232
|
+
# delete.
|
233
|
+
# @!attribute [rw] request_id
|
234
|
+
# @return [::String]
|
235
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
236
|
+
# so that if you must retry your request, the server can ignore
|
237
|
+
# the request if it has already been completed. The server waits
|
238
|
+
# for at least 60 minutes since the first request.
|
239
|
+
#
|
240
|
+
# For example, consider a situation where you make an initial request and
|
241
|
+
# the request times out. If you make the request again with the same request
|
242
|
+
# ID, the server can check if original operation with the same request ID
|
243
|
+
# was received, and if so, can ignore the second request. This prevents
|
244
|
+
# clients from accidentally creating duplicate `MulticloudDataTransferConfig`
|
245
|
+
# resources.
|
246
|
+
#
|
247
|
+
# The request ID must be a valid UUID with the exception that zero UUID
|
248
|
+
# (00000000-0000-0000-0000-000000000000) isn't supported.
|
249
|
+
# @!attribute [rw] etag
|
250
|
+
# @return [::String]
|
251
|
+
# Optional. The etag is computed by the server, and might be sent with update
|
252
|
+
# and delete requests so that the client has an up-to-date value before
|
253
|
+
# proceeding.
|
254
|
+
class DeleteMulticloudDataTransferConfigRequest
|
255
|
+
include ::Google::Protobuf::MessageExts
|
256
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
257
|
+
end
|
258
|
+
|
259
|
+
# The `Destination` resource. It specifies the IP prefix and the associated
|
260
|
+
# autonomous system numbers (ASN) that you want to include in a
|
261
|
+
# `MulticloudDataTransferConfig` resource.
|
262
|
+
# @!attribute [rw] name
|
263
|
+
# @return [::String]
|
264
|
+
# Identifier. The name of the `Destination` resource.
|
265
|
+
# Format:
|
266
|
+
# `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.
|
267
|
+
# @!attribute [r] create_time
|
268
|
+
# @return [::Google::Protobuf::Timestamp]
|
269
|
+
# Output only. Time when the `Destination` resource was created.
|
270
|
+
# @!attribute [r] update_time
|
271
|
+
# @return [::Google::Protobuf::Timestamp]
|
272
|
+
# Output only. Time when the `Destination` resource was updated.
|
273
|
+
# @!attribute [rw] labels
|
274
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
275
|
+
# Optional. User-defined labels.
|
276
|
+
# @!attribute [rw] etag
|
277
|
+
# @return [::String]
|
278
|
+
# The etag is computed by the server, and might be sent with update and
|
279
|
+
# delete requests so that the client has an up-to-date value before
|
280
|
+
# proceeding.
|
281
|
+
# @!attribute [rw] description
|
282
|
+
# @return [::String]
|
283
|
+
# Optional. A description of this resource.
|
284
|
+
# @!attribute [rw] ip_prefix
|
285
|
+
# @return [::String]
|
286
|
+
# Required. Immutable. The IP prefix that represents your workload on another
|
287
|
+
# CSP.
|
288
|
+
# @!attribute [rw] endpoints
|
289
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>]
|
290
|
+
# Required. Unordered list. The list of `DestinationEndpoint` resources
|
291
|
+
# configured for the IP prefix.
|
292
|
+
# @!attribute [r] state_timeline
|
293
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::StateTimeline]
|
294
|
+
# Output only. The timeline of the expected `Destination` states or the
|
295
|
+
# current rest state. If a state change is expected, the value is `ADDING`,
|
296
|
+
# `DELETING` or `SUSPENDING`, depending on the action specified.
|
297
|
+
#
|
298
|
+
# Example:
|
299
|
+
# "state_timeline": {
|
300
|
+
# "states": [
|
301
|
+
# {
|
302
|
+
# // The time when the `Destination` resource will be activated.
|
303
|
+
# "effectiveTime": "2024-12-01T08:00:00Z",
|
304
|
+
# "state": "ADDING"
|
305
|
+
# },
|
306
|
+
# {
|
307
|
+
# // The time when the `Destination` resource will be suspended.
|
308
|
+
# "effectiveTime": "2024-12-01T20:00:00Z",
|
309
|
+
# "state": "SUSPENDING"
|
310
|
+
# }
|
311
|
+
# ]
|
312
|
+
# }
|
313
|
+
# @!attribute [r] uid
|
314
|
+
# @return [::String]
|
315
|
+
# Output only. The Google-generated unique ID for the `Destination` resource.
|
316
|
+
# This value is unique across all `Destination` resources.
|
317
|
+
# If a resource is deleted and another with the same name is
|
318
|
+
# created, the new resource is assigned a different and unique ID.
|
319
|
+
class Destination
|
320
|
+
include ::Google::Protobuf::MessageExts
|
321
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# The metadata for a `DestinationEndpoint` resource.
|
324
|
+
# @!attribute [rw] asn
|
325
|
+
# @return [::Integer]
|
326
|
+
# Required. The ASN of the remote IP prefix.
|
327
|
+
# @!attribute [rw] csp
|
328
|
+
# @return [::String]
|
329
|
+
# Required. The CSP of the remote IP prefix.
|
330
|
+
# @!attribute [r] state
|
331
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
|
332
|
+
# Output only. The state of the `DestinationEndpoint` resource.
|
333
|
+
# @!attribute [r] update_time
|
334
|
+
# @return [::Google::Protobuf::Timestamp]
|
335
|
+
# Output only. Time when the `DestinationEndpoint` resource was updated.
|
336
|
+
class DestinationEndpoint
|
337
|
+
include ::Google::Protobuf::MessageExts
|
338
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
339
|
+
|
340
|
+
# The state of the `DestinationEndpoint` resource.
|
341
|
+
module State
|
342
|
+
# An invalid state, which is the default case.
|
343
|
+
STATE_UNSPECIFIED = 0
|
344
|
+
|
345
|
+
# The `DestinationEndpoint` resource is valid.
|
346
|
+
VALID = 1
|
347
|
+
|
348
|
+
# The `DestinationEndpoint` resource is invalid.
|
349
|
+
INVALID = 2
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# @!attribute [rw] key
|
354
|
+
# @return [::String]
|
355
|
+
# @!attribute [rw] value
|
356
|
+
# @return [::String]
|
357
|
+
class LabelsEntry
|
358
|
+
include ::Google::Protobuf::MessageExts
|
359
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
# Request message to list `Destination` resources.
|
364
|
+
# @!attribute [rw] parent
|
365
|
+
# @return [::String]
|
366
|
+
# Required. The name of the parent resource.
|
367
|
+
# @!attribute [rw] page_size
|
368
|
+
# @return [::Integer]
|
369
|
+
# Optional. The maximum number of results listed per page.
|
370
|
+
# @!attribute [rw] page_token
|
371
|
+
# @return [::String]
|
372
|
+
# Optional. The page token.
|
373
|
+
# @!attribute [rw] filter
|
374
|
+
# @return [::String]
|
375
|
+
# Optional. An expression that filters the results listed in the response.
|
376
|
+
# @!attribute [rw] order_by
|
377
|
+
# @return [::String]
|
378
|
+
# Optional. The sort order of the results.
|
379
|
+
# @!attribute [rw] return_partial_success
|
380
|
+
# @return [::Boolean]
|
381
|
+
# Optional. If `true`, allow partial responses for multi-regional aggregated
|
382
|
+
# list requests.
|
383
|
+
class ListDestinationsRequest
|
384
|
+
include ::Google::Protobuf::MessageExts
|
385
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
386
|
+
end
|
387
|
+
|
388
|
+
# Response message to list `Destination` resources.
|
389
|
+
# @!attribute [rw] destinations
|
390
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::Destination>]
|
391
|
+
# The list of `Destination` resources to be listed.
|
392
|
+
# @!attribute [rw] next_page_token
|
393
|
+
# @return [::String]
|
394
|
+
# The next page token.
|
395
|
+
# @!attribute [rw] unreachable
|
396
|
+
# @return [::Array<::String>]
|
397
|
+
# Locations that could not be reached.
|
398
|
+
class ListDestinationsResponse
|
399
|
+
include ::Google::Protobuf::MessageExts
|
400
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
401
|
+
end
|
402
|
+
|
403
|
+
# Request message to get the details of a `Destination` resource.
|
404
|
+
# @!attribute [rw] name
|
405
|
+
# @return [::String]
|
406
|
+
# Required. The name of the `Destination` resource to get.
|
407
|
+
class GetDestinationRequest
|
408
|
+
include ::Google::Protobuf::MessageExts
|
409
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
410
|
+
end
|
411
|
+
|
412
|
+
# Request message to create a `Destination` resource.
|
413
|
+
# @!attribute [rw] parent
|
414
|
+
# @return [::String]
|
415
|
+
# Required. The name of the parent resource.
|
416
|
+
# @!attribute [rw] destination_id
|
417
|
+
# @return [::String]
|
418
|
+
# Required. The ID to use for the `Destination` resource, which becomes the
|
419
|
+
# final component of the `Destination` resource name.
|
420
|
+
# @!attribute [rw] destination
|
421
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::Destination]
|
422
|
+
# Required. The `Destination` resource to create.
|
423
|
+
# @!attribute [rw] request_id
|
424
|
+
# @return [::String]
|
425
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
426
|
+
# so that if you must retry your request, the server can ignore
|
427
|
+
# the request if it has already been completed. The server waits
|
428
|
+
# for at least 60 minutes since the first request.
|
429
|
+
#
|
430
|
+
# For example, consider a situation where you make an initial request and
|
431
|
+
# the request times out. If you make the request again with the same request
|
432
|
+
# ID, the server can check if original operation with the same request ID
|
433
|
+
# was received, and if so, can ignore the second request. This prevents
|
434
|
+
# clients from accidentally creating duplicate `Destination`
|
435
|
+
# resources.
|
436
|
+
#
|
437
|
+
# The request ID must be a valid UUID with the exception that zero UUID
|
438
|
+
# (00000000-0000-0000-0000-000000000000) isn't supported.
|
439
|
+
class CreateDestinationRequest
|
440
|
+
include ::Google::Protobuf::MessageExts
|
441
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
442
|
+
end
|
443
|
+
|
444
|
+
# Request message to update a `Destination` resource.
|
445
|
+
# @!attribute [rw] update_mask
|
446
|
+
# @return [::Google::Protobuf::FieldMask]
|
447
|
+
# Optional. `FieldMask is used to specify the fields to be overwritten in the
|
448
|
+
# `Destination` resource by the update.
|
449
|
+
# The fields specified in `update_mask` are relative to the resource, not
|
450
|
+
# the full request. A field is overwritten if it is in the mask. If you
|
451
|
+
# don't specify a mask, all fields are overwritten.
|
452
|
+
# @!attribute [rw] destination
|
453
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::Destination]
|
454
|
+
# Required. The `Destination` resource to update.
|
455
|
+
# @!attribute [rw] request_id
|
456
|
+
# @return [::String]
|
457
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
458
|
+
# so that if you must retry your request, the server can ignore
|
459
|
+
# the request if it has already been completed. The server waits
|
460
|
+
# for at least 60 minutes since the first request.
|
461
|
+
#
|
462
|
+
# For example, consider a situation where you make an initial request and
|
463
|
+
# the request times out. If you make the request again with the same request
|
464
|
+
# ID, the server can check if original operation with the same request ID
|
465
|
+
# was received, and if so, can ignore the second request.
|
466
|
+
#
|
467
|
+
# The request ID must be a valid UUID with the exception that zero UUID
|
468
|
+
# (00000000-0000-0000-0000-000000000000) isn't supported.
|
469
|
+
class UpdateDestinationRequest
|
470
|
+
include ::Google::Protobuf::MessageExts
|
471
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
472
|
+
end
|
473
|
+
|
474
|
+
# Request message to delete a `Destination` resource.
|
475
|
+
# @!attribute [rw] name
|
476
|
+
# @return [::String]
|
477
|
+
# Required. The name of the `Destination` resource to delete.
|
478
|
+
# @!attribute [rw] request_id
|
479
|
+
# @return [::String]
|
480
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
481
|
+
# so that if you must retry your request, the server can ignore
|
482
|
+
# the request if it has already been completed. The server waits
|
483
|
+
# for at least 60 minutes since the first request.
|
484
|
+
#
|
485
|
+
# For example, consider a situation where you make an initial request and
|
486
|
+
# the request times out. If you make the request again with the same request
|
487
|
+
# ID, the server can check if original operation with the same request ID
|
488
|
+
# was received, and if so, can ignore the second request.
|
489
|
+
#
|
490
|
+
# The request ID must be a valid UUID with the exception that zero UUID
|
491
|
+
# (00000000-0000-0000-0000-000000000000) isn't supported.
|
492
|
+
# @!attribute [rw] etag
|
493
|
+
# @return [::String]
|
494
|
+
# Optional. The etag is computed by the server, and might be sent with update
|
495
|
+
# and delete requests so that the client has an up-to-date value before
|
496
|
+
# proceeding.
|
497
|
+
class DeleteDestinationRequest
|
498
|
+
include ::Google::Protobuf::MessageExts
|
499
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
500
|
+
end
|
501
|
+
|
502
|
+
# The timeline of the pending states for a resource.
|
503
|
+
# @!attribute [r] states
|
504
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata>]
|
505
|
+
# Output only. The state and activation time details of the resource state.
|
506
|
+
class StateTimeline
|
507
|
+
include ::Google::Protobuf::MessageExts
|
508
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
509
|
+
|
510
|
+
# The state and activation time details of the resource state.
|
511
|
+
# @!attribute [r] state
|
512
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::StateTimeline::StateMetadata::State]
|
513
|
+
# Output only. The state of the resource.
|
514
|
+
# @!attribute [r] effective_time
|
515
|
+
# @return [::Google::Protobuf::Timestamp]
|
516
|
+
# Output only. Accompanies only the transient states, which include
|
517
|
+
# `ADDING`, `DELETING`, and `SUSPENDING`, to denote the time until which
|
518
|
+
# the transient state of the resource will be effective. For instance, if
|
519
|
+
# the state is `ADDING`, this field shows the time when the resource state
|
520
|
+
# transitions to `ACTIVE`.
|
521
|
+
class StateMetadata
|
522
|
+
include ::Google::Protobuf::MessageExts
|
523
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
524
|
+
|
525
|
+
# The state of the resource.
|
526
|
+
module State
|
527
|
+
# An invalid state, which is the default case.
|
528
|
+
STATE_UNSPECIFIED = 0
|
529
|
+
|
530
|
+
# The resource is being added.
|
531
|
+
ADDING = 1
|
532
|
+
|
533
|
+
# The resource is in use.
|
534
|
+
ACTIVE = 2
|
535
|
+
|
536
|
+
# The resource is being deleted.
|
537
|
+
DELETING = 3
|
538
|
+
|
539
|
+
# The resource is being suspended.
|
540
|
+
SUSPENDING = 4
|
541
|
+
|
542
|
+
# The resource is suspended and not in use.
|
543
|
+
SUSPENDED = 5
|
544
|
+
end
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
# A service in your project in a region that is eligible for Data Transfer
|
549
|
+
# Essentials configuration.
|
550
|
+
# @!attribute [rw] name
|
551
|
+
# @return [::String]
|
552
|
+
# Identifier. The name of the service.
|
553
|
+
# @!attribute [r] service_configs
|
554
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConfig>]
|
555
|
+
# Output only. The network service tier or regional endpoint supported for
|
556
|
+
# the service.
|
557
|
+
class MulticloudDataTransferSupportedService
|
558
|
+
include ::Google::Protobuf::MessageExts
|
559
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
560
|
+
end
|
561
|
+
|
562
|
+
# Specifies eligibility information for the service.
|
563
|
+
# @!attribute [r] eligibility_criteria
|
564
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1::ServiceConfig::EligibilityCriteria]
|
565
|
+
# Output only. The eligibility criteria for the service.
|
566
|
+
# @!attribute [r] support_end_time
|
567
|
+
# @return [::Google::Protobuf::Timestamp]
|
568
|
+
# Output only. The end time for eligibility criteria support. If not
|
569
|
+
# specified, no planned end time is set.
|
570
|
+
class ServiceConfig
|
571
|
+
include ::Google::Protobuf::MessageExts
|
572
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
573
|
+
|
574
|
+
# The eligibility information for the service.
|
575
|
+
module EligibilityCriteria
|
576
|
+
# The service is not eligible for Data Transfer Essentials configuration.
|
577
|
+
# This is the default case.
|
578
|
+
ELIGIBILITY_CRITERIA_UNSPECIFIED = 0
|
579
|
+
|
580
|
+
# The service is eligible for Data Transfer Essentials configuration only
|
581
|
+
# for Premium Tier.
|
582
|
+
NETWORK_SERVICE_TIER_PREMIUM_ONLY = 1
|
583
|
+
|
584
|
+
# The service is eligible for Data Transfer Essentials configuration only
|
585
|
+
# for Standard Tier.
|
586
|
+
NETWORK_SERVICE_TIER_STANDARD_ONLY = 2
|
587
|
+
|
588
|
+
# The service is eligible for Data Transfer Essentials configuration only
|
589
|
+
# for the regional endpoint.
|
590
|
+
REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY = 3
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
# Request message to check if a service in your project in a region is
|
595
|
+
# eligible for Data Transfer Essentials configuration.
|
596
|
+
# @!attribute [rw] name
|
597
|
+
# @return [::String]
|
598
|
+
# Required. The name of the service.
|
599
|
+
class GetMulticloudDataTransferSupportedServiceRequest
|
600
|
+
include ::Google::Protobuf::MessageExts
|
601
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
602
|
+
end
|
603
|
+
|
604
|
+
# Request message to list the services in your project that are eligible for
|
605
|
+
# Data Transfer Essentials configuration.
|
606
|
+
# @!attribute [rw] parent
|
607
|
+
# @return [::String]
|
608
|
+
# Required. The name of the parent resource.
|
609
|
+
# @!attribute [rw] page_size
|
610
|
+
# @return [::Integer]
|
611
|
+
# Optional. The maximum number of results listed per page.
|
612
|
+
# @!attribute [rw] page_token
|
613
|
+
# @return [::String]
|
614
|
+
# Optional. The page token.
|
615
|
+
class ListMulticloudDataTransferSupportedServicesRequest
|
616
|
+
include ::Google::Protobuf::MessageExts
|
617
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
618
|
+
end
|
619
|
+
|
620
|
+
# Response message to list the services in your project in regions that are
|
621
|
+
# eligible for Data Transfer Essentials configuration.
|
622
|
+
# @!attribute [rw] multicloud_data_transfer_supported_services
|
623
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::MulticloudDataTransferSupportedService>]
|
624
|
+
# The list of supported services.
|
625
|
+
# @!attribute [rw] next_page_token
|
626
|
+
# @return [::String]
|
627
|
+
# The next page token.
|
628
|
+
class ListMulticloudDataTransferSupportedServicesResponse
|
629
|
+
include ::Google::Protobuf::MessageExts
|
630
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
631
|
+
end
|
632
|
+
end
|
633
|
+
end
|
634
|
+
end
|
635
|
+
end
|