Skip to content

Commit 61eb9fa

Browse files
feat: [google-cloud-network-connectivity] introduce DataTransfer APIs (#14364)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 803093347 Source-Link: googleapis/googleapis@a195f5b Source-Link: googleapis/googleapis-gen@a4ce123 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldHdvcmstY29ubmVjdGl2aXR5Ly5Pd2xCb3QueWFtbCIsImgiOiJhNGNlMTIzNTZiYjFkZjIxZTRkMWJhNzgzNmJmZGYwNGE2ZThjYzA3In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent cb89cdd commit 61eb9fa

File tree

43 files changed

+22156
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+22156
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
DataTransferService
2+
-------------------------------------
3+
4+
.. automodule:: google.cloud.networkconnectivity_v1.services.data_transfer_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.networkconnectivity_v1.services.data_transfer_service.pagers
9+
:members:
10+
:inherited-members:

packages/google-cloud-network-connectivity/docs/networkconnectivity_v1/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Services for Google Cloud Networkconnectivity v1 API
44
:maxdepth: 2
55

66
cross_network_automation_service
7+
data_transfer_service
78
hub_service
89
internal_range_service
910
policy_based_routing_service

packages/google-cloud-network-connectivity/google/cloud/networkconnectivity/__init__.py

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
from google.cloud.networkconnectivity_v1.services.cross_network_automation_service.client import (
2525
CrossNetworkAutomationServiceClient,
2626
)
27+
from google.cloud.networkconnectivity_v1.services.data_transfer_service.async_client import (
28+
DataTransferServiceAsyncClient,
29+
)
30+
from google.cloud.networkconnectivity_v1.services.data_transfer_service.client import (
31+
DataTransferServiceClient,
32+
)
2733
from google.cloud.networkconnectivity_v1.services.hub_service.async_client import (
2834
HubServiceAsyncClient,
2935
)
@@ -74,6 +80,28 @@
7480
UpdateServiceConnectionMapRequest,
7581
UpdateServiceConnectionPolicyRequest,
7682
)
83+
from google.cloud.networkconnectivity_v1.types.data_transfer import (
84+
CreateDestinationRequest,
85+
CreateMulticloudDataTransferConfigRequest,
86+
DeleteDestinationRequest,
87+
DeleteMulticloudDataTransferConfigRequest,
88+
Destination,
89+
GetDestinationRequest,
90+
GetMulticloudDataTransferConfigRequest,
91+
GetMulticloudDataTransferSupportedServiceRequest,
92+
ListDestinationsRequest,
93+
ListDestinationsResponse,
94+
ListMulticloudDataTransferConfigsRequest,
95+
ListMulticloudDataTransferConfigsResponse,
96+
ListMulticloudDataTransferSupportedServicesRequest,
97+
ListMulticloudDataTransferSupportedServicesResponse,
98+
MulticloudDataTransferConfig,
99+
MulticloudDataTransferSupportedService,
100+
ServiceConfig,
101+
StateTimeline,
102+
UpdateDestinationRequest,
103+
UpdateMulticloudDataTransferConfigRequest,
104+
)
77105
from google.cloud.networkconnectivity_v1.types.hub import (
78106
AcceptHubSpokeRequest,
79107
AcceptHubSpokeResponse,
@@ -158,6 +186,8 @@
158186
__all__ = (
159187
"CrossNetworkAutomationServiceClient",
160188
"CrossNetworkAutomationServiceAsyncClient",
189+
"DataTransferServiceClient",
190+
"DataTransferServiceAsyncClient",
161191
"HubServiceClient",
162192
"HubServiceAsyncClient",
163193
"InternalRangeServiceClient",
@@ -194,6 +224,26 @@
194224
"ConnectionErrorType",
195225
"Infrastructure",
196226
"IPVersion",
227+
"CreateDestinationRequest",
228+
"CreateMulticloudDataTransferConfigRequest",
229+
"DeleteDestinationRequest",
230+
"DeleteMulticloudDataTransferConfigRequest",
231+
"Destination",
232+
"GetDestinationRequest",
233+
"GetMulticloudDataTransferConfigRequest",
234+
"GetMulticloudDataTransferSupportedServiceRequest",
235+
"ListDestinationsRequest",
236+
"ListDestinationsResponse",
237+
"ListMulticloudDataTransferConfigsRequest",
238+
"ListMulticloudDataTransferConfigsResponse",
239+
"ListMulticloudDataTransferSupportedServicesRequest",
240+
"ListMulticloudDataTransferSupportedServicesResponse",
241+
"MulticloudDataTransferConfig",
242+
"MulticloudDataTransferSupportedService",
243+
"ServiceConfig",
244+
"StateTimeline",
245+
"UpdateDestinationRequest",
246+
"UpdateMulticloudDataTransferConfigRequest",
197247
"AcceptHubSpokeRequest",
198248
"AcceptHubSpokeResponse",
199249
"AcceptSpokeUpdateRequest",

packages/google-cloud-network-connectivity/google/cloud/networkconnectivity_v1/__init__.py

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
CrossNetworkAutomationServiceAsyncClient,
2323
CrossNetworkAutomationServiceClient,
2424
)
25+
from .services.data_transfer_service import (
26+
DataTransferServiceAsyncClient,
27+
DataTransferServiceClient,
28+
)
2529
from .services.hub_service import HubServiceAsyncClient, HubServiceClient
2630
from .services.internal_range_service import (
2731
InternalRangeServiceAsyncClient,
@@ -63,6 +67,28 @@
6367
UpdateServiceConnectionMapRequest,
6468
UpdateServiceConnectionPolicyRequest,
6569
)
70+
from .types.data_transfer import (
71+
CreateDestinationRequest,
72+
CreateMulticloudDataTransferConfigRequest,
73+
DeleteDestinationRequest,
74+
DeleteMulticloudDataTransferConfigRequest,
75+
Destination,
76+
GetDestinationRequest,
77+
GetMulticloudDataTransferConfigRequest,
78+
GetMulticloudDataTransferSupportedServiceRequest,
79+
ListDestinationsRequest,
80+
ListDestinationsResponse,
81+
ListMulticloudDataTransferConfigsRequest,
82+
ListMulticloudDataTransferConfigsResponse,
83+
ListMulticloudDataTransferSupportedServicesRequest,
84+
ListMulticloudDataTransferSupportedServicesResponse,
85+
MulticloudDataTransferConfig,
86+
MulticloudDataTransferSupportedService,
87+
ServiceConfig,
88+
StateTimeline,
89+
UpdateDestinationRequest,
90+
UpdateMulticloudDataTransferConfigRequest,
91+
)
6692
from .types.hub import (
6793
AcceptHubSpokeRequest,
6894
AcceptHubSpokeResponse,
@@ -146,6 +172,7 @@
146172

147173
__all__ = (
148174
"CrossNetworkAutomationServiceAsyncClient",
175+
"DataTransferServiceAsyncClient",
149176
"HubServiceAsyncClient",
150177
"InternalRangeServiceAsyncClient",
151178
"PolicyBasedRoutingServiceAsyncClient",
@@ -155,25 +182,34 @@
155182
"AcceptSpokeUpdateResponse",
156183
"AutoAccept",
157184
"ConnectionErrorType",
185+
"CreateDestinationRequest",
158186
"CreateHubRequest",
159187
"CreateInternalRangeRequest",
188+
"CreateMulticloudDataTransferConfigRequest",
160189
"CreatePolicyBasedRouteRequest",
161190
"CreateServiceConnectionMapRequest",
162191
"CreateServiceConnectionPolicyRequest",
163192
"CreateServiceConnectionTokenRequest",
164193
"CreateSpokeRequest",
165194
"CrossNetworkAutomationServiceClient",
195+
"DataTransferServiceClient",
196+
"DeleteDestinationRequest",
166197
"DeleteHubRequest",
167198
"DeleteInternalRangeRequest",
199+
"DeleteMulticloudDataTransferConfigRequest",
168200
"DeletePolicyBasedRouteRequest",
169201
"DeleteServiceClassRequest",
170202
"DeleteServiceConnectionMapRequest",
171203
"DeleteServiceConnectionPolicyRequest",
172204
"DeleteServiceConnectionTokenRequest",
173205
"DeleteSpokeRequest",
206+
"Destination",
207+
"GetDestinationRequest",
174208
"GetGroupRequest",
175209
"GetHubRequest",
176210
"GetInternalRangeRequest",
211+
"GetMulticloudDataTransferConfigRequest",
212+
"GetMulticloudDataTransferSupportedServiceRequest",
177213
"GetPolicyBasedRouteRequest",
178214
"GetRouteRequest",
179215
"GetRouteTableRequest",
@@ -195,6 +231,8 @@
195231
"LinkedRouterApplianceInstances",
196232
"LinkedVpcNetwork",
197233
"LinkedVpnTunnels",
234+
"ListDestinationsRequest",
235+
"ListDestinationsResponse",
198236
"ListGroupsRequest",
199237
"ListGroupsResponse",
200238
"ListHubSpokesRequest",
@@ -203,6 +241,10 @@
203241
"ListHubsResponse",
204242
"ListInternalRangesRequest",
205243
"ListInternalRangesResponse",
244+
"ListMulticloudDataTransferConfigsRequest",
245+
"ListMulticloudDataTransferConfigsResponse",
246+
"ListMulticloudDataTransferSupportedServicesRequest",
247+
"ListMulticloudDataTransferSupportedServicesResponse",
206248
"ListPolicyBasedRoutesRequest",
207249
"ListPolicyBasedRoutesResponse",
208250
"ListRouteTablesRequest",
@@ -221,6 +263,8 @@
221263
"ListSpokesResponse",
222264
"LocationFeature",
223265
"LocationMetadata",
266+
"MulticloudDataTransferConfig",
267+
"MulticloudDataTransferSupportedService",
224268
"NextHopInterconnectAttachment",
225269
"NextHopRouterApplianceInstance",
226270
"NextHopVPNTunnel",
@@ -243,16 +287,20 @@
243287
"RouterApplianceInstance",
244288
"RoutingVPC",
245289
"ServiceClass",
290+
"ServiceConfig",
246291
"ServiceConnectionMap",
247292
"ServiceConnectionPolicy",
248293
"ServiceConnectionToken",
249294
"Spoke",
250295
"SpokeSummary",
251296
"SpokeType",
252297
"State",
298+
"StateTimeline",
299+
"UpdateDestinationRequest",
253300
"UpdateGroupRequest",
254301
"UpdateHubRequest",
255302
"UpdateInternalRangeRequest",
303+
"UpdateMulticloudDataTransferConfigRequest",
256304
"UpdateServiceClassRequest",
257305
"UpdateServiceConnectionMapRequest",
258306
"UpdateServiceConnectionPolicyRequest",

packages/google-cloud-network-connectivity/google/cloud/networkconnectivity_v1/gapic_metadata.json

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,140 @@
199199
}
200200
}
201201
},
202+
"DataTransferService": {
203+
"clients": {
204+
"grpc": {
205+
"libraryClient": "DataTransferServiceClient",
206+
"rpcs": {
207+
"CreateDestination": {
208+
"methods": [
209+
"create_destination"
210+
]
211+
},
212+
"CreateMulticloudDataTransferConfig": {
213+
"methods": [
214+
"create_multicloud_data_transfer_config"
215+
]
216+
},
217+
"DeleteDestination": {
218+
"methods": [
219+
"delete_destination"
220+
]
221+
},
222+
"DeleteMulticloudDataTransferConfig": {
223+
"methods": [
224+
"delete_multicloud_data_transfer_config"
225+
]
226+
},
227+
"GetDestination": {
228+
"methods": [
229+
"get_destination"
230+
]
231+
},
232+
"GetMulticloudDataTransferConfig": {
233+
"methods": [
234+
"get_multicloud_data_transfer_config"
235+
]
236+
},
237+
"GetMulticloudDataTransferSupportedService": {
238+
"methods": [
239+
"get_multicloud_data_transfer_supported_service"
240+
]
241+
},
242+
"ListDestinations": {
243+
"methods": [
244+
"list_destinations"
245+
]
246+
},
247+
"ListMulticloudDataTransferConfigs": {
248+
"methods": [
249+
"list_multicloud_data_transfer_configs"
250+
]
251+
},
252+
"ListMulticloudDataTransferSupportedServices": {
253+
"methods": [
254+
"list_multicloud_data_transfer_supported_services"
255+
]
256+
},
257+
"UpdateDestination": {
258+
"methods": [
259+
"update_destination"
260+
]
261+
},
262+
"UpdateMulticloudDataTransferConfig": {
263+
"methods": [
264+
"update_multicloud_data_transfer_config"
265+
]
266+
}
267+
}
268+
},
269+
"grpc-async": {
270+
"libraryClient": "DataTransferServiceAsyncClient",
271+
"rpcs": {
272+
"CreateDestination": {
273+
"methods": [
274+
"create_destination"
275+
]
276+
},
277+
"CreateMulticloudDataTransferConfig": {
278+
"methods": [
279+
"create_multicloud_data_transfer_config"
280+
]
281+
},
282+
"DeleteDestination": {
283+
"methods": [
284+
"delete_destination"
285+
]
286+
},
287+
"DeleteMulticloudDataTransferConfig": {
288+
"methods": [
289+
"delete_multicloud_data_transfer_config"
290+
]
291+
},
292+
"GetDestination": {
293+
"methods": [
294+
"get_destination"
295+
]
296+
},
297+
"GetMulticloudDataTransferConfig": {
298+
"methods": [
299+
"get_multicloud_data_transfer_config"
300+
]
301+
},
302+
"GetMulticloudDataTransferSupportedService": {
303+
"methods": [
304+
"get_multicloud_data_transfer_supported_service"
305+
]
306+
},
307+
"ListDestinations": {
308+
"methods": [
309+
"list_destinations"
310+
]
311+
},
312+
"ListMulticloudDataTransferConfigs": {
313+
"methods": [
314+
"list_multicloud_data_transfer_configs"
315+
]
316+
},
317+
"ListMulticloudDataTransferSupportedServices": {
318+
"methods": [
319+
"list_multicloud_data_transfer_supported_services"
320+
]
321+
},
322+
"UpdateDestination": {
323+
"methods": [
324+
"update_destination"
325+
]
326+
},
327+
"UpdateMulticloudDataTransferConfig": {
328+
"methods": [
329+
"update_multicloud_data_transfer_config"
330+
]
331+
}
332+
}
333+
}
334+
}
335+
},
202336
"HubService": {
203337
"clients": {
204338
"grpc": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from .async_client import DataTransferServiceAsyncClient
17+
from .client import DataTransferServiceClient
18+
19+
__all__ = (
20+
"DataTransferServiceClient",
21+
"DataTransferServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)