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.
Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/network_connectivity/v1/data_transfer_service/client.rb +1765 -0
  3. data/lib/google/cloud/network_connectivity/v1/data_transfer_service/credentials.rb +51 -0
  4. data/lib/google/cloud/network_connectivity/v1/data_transfer_service/operations.rb +813 -0
  5. data/lib/google/cloud/network_connectivity/v1/data_transfer_service/paths.rb +109 -0
  6. data/lib/google/cloud/network_connectivity/v1/data_transfer_service.rb +50 -0
  7. data/lib/google/cloud/network_connectivity/v1/internal_range_service/client.rb +983 -0
  8. data/lib/google/cloud/network_connectivity/v1/internal_range_service/credentials.rb +51 -0
  9. data/lib/google/cloud/network_connectivity/v1/internal_range_service/operations.rb +813 -0
  10. data/lib/google/cloud/network_connectivity/v1/internal_range_service/paths.rb +69 -0
  11. data/lib/google/cloud/network_connectivity/v1/internal_range_service.rb +51 -0
  12. data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
  13. data/lib/google/cloud/network_connectivity/v1.rb +2 -0
  14. data/lib/google/cloud/networkconnectivity/v1/data_transfer_pb.rb +79 -0
  15. data/lib/google/cloud/networkconnectivity/v1/data_transfer_services_pb.rb +72 -0
  16. data/lib/google/cloud/networkconnectivity/v1/internal_range_pb.rb +66 -0
  17. data/lib/google/cloud/networkconnectivity/v1/internal_range_services_pb.rb +54 -0
  18. data/proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb +635 -0
  19. data/proto_docs/google/cloud/networkconnectivity/v1/internal_range.rb +397 -0
  20. metadata +20 -4
@@ -0,0 +1,109 @@
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
+ module DataTransferService
25
+ # Path helper methods for the DataTransferService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Destination resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param multicloud_data_transfer_config [String]
37
+ # @param destination [String]
38
+ #
39
+ # @return [::String]
40
+ def destination_path project:, location:, multicloud_data_transfer_config:, destination:
41
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
+ raise ::ArgumentError, "multicloud_data_transfer_config cannot contain /" if multicloud_data_transfer_config.to_s.include? "/"
44
+
45
+ "projects/#{project}/locations/#{location}/multicloudDataTransferConfigs/#{multicloud_data_transfer_config}/destinations/#{destination}"
46
+ end
47
+
48
+ ##
49
+ # Create a fully-qualified Location resource string.
50
+ #
51
+ # The resource will be in the following format:
52
+ #
53
+ # `projects/{project}/locations/{location}`
54
+ #
55
+ # @param project [String]
56
+ # @param location [String]
57
+ #
58
+ # @return [::String]
59
+ def location_path project:, location:
60
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
+
62
+ "projects/#{project}/locations/#{location}"
63
+ end
64
+
65
+ ##
66
+ # Create a fully-qualified MulticloudDataTransferConfig resource string.
67
+ #
68
+ # The resource will be in the following format:
69
+ #
70
+ # `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`
71
+ #
72
+ # @param project [String]
73
+ # @param location [String]
74
+ # @param multicloud_data_transfer_config [String]
75
+ #
76
+ # @return [::String]
77
+ def multicloud_data_transfer_config_path project:, location:, multicloud_data_transfer_config:
78
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
79
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
80
+
81
+ "projects/#{project}/locations/#{location}/multicloudDataTransferConfigs/#{multicloud_data_transfer_config}"
82
+ end
83
+
84
+ ##
85
+ # Create a fully-qualified MulticloudDataTransferSupportedService resource string.
86
+ #
87
+ # The resource will be in the following format:
88
+ #
89
+ # `projects/{project}/locations/{location}/multicloudDataTransferSupportedServices/{multicloud_data_transfer_supported_service}`
90
+ #
91
+ # @param project [String]
92
+ # @param location [String]
93
+ # @param multicloud_data_transfer_supported_service [String]
94
+ #
95
+ # @return [::String]
96
+ def multicloud_data_transfer_supported_service_path project:, location:, multicloud_data_transfer_supported_service:
97
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
98
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
99
+
100
+ "projects/#{project}/locations/#{location}/multicloudDataTransferSupportedServices/#{multicloud_data_transfer_supported_service}"
101
+ end
102
+
103
+ extend self
104
+ end
105
+ end
106
+ end
107
+ end
108
+ end
109
+ end
@@ -0,0 +1,50 @@
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
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/network_connectivity/v1/version"
24
+
25
+ require "google/cloud/network_connectivity/v1/data_transfer_service/credentials"
26
+ require "google/cloud/network_connectivity/v1/data_transfer_service/paths"
27
+ require "google/cloud/network_connectivity/v1/data_transfer_service/operations"
28
+ require "google/cloud/network_connectivity/v1/data_transfer_service/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module NetworkConnectivity
33
+ module V1
34
+ ##
35
+ # DataTransferService is the service for the Data Transfer API.
36
+ #
37
+ # @example Load this service and instantiate a gRPC client
38
+ #
39
+ # require "google/cloud/network_connectivity/v1/data_transfer_service"
40
+ # client = ::Google::Cloud::NetworkConnectivity::V1::DataTransferService::Client.new
41
+ #
42
+ module DataTransferService
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+
49
+ helper_path = ::File.join __dir__, "data_transfer_service", "helpers.rb"
50
+ require "google/cloud/network_connectivity/v1/data_transfer_service/helpers" if ::File.file? helper_path