google-cloud-network_connectivity-v1beta 0.a → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +153 -8
  5. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/client.rb +1782 -0
  6. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/credentials.rb +47 -0
  7. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/operations.rb +841 -0
  8. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/paths.rb +109 -0
  9. data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service.rb +50 -0
  10. data/lib/google/cloud/network_connectivity/v1beta/hub_service/client.rb +3581 -0
  11. data/lib/google/cloud/network_connectivity/v1beta/hub_service/credentials.rb +47 -0
  12. data/lib/google/cloud/network_connectivity/v1beta/hub_service/operations.rb +841 -0
  13. data/lib/google/cloud/network_connectivity/v1beta/hub_service/paths.rb +259 -0
  14. data/lib/google/cloud/network_connectivity/v1beta/hub_service.rb +52 -0
  15. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/client.rb +877 -0
  16. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/credentials.rb +47 -0
  17. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/operations.rb +841 -0
  18. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/paths.rb +84 -0
  19. data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service.rb +51 -0
  20. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/client.rb +1285 -0
  21. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/credentials.rb +47 -0
  22. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/operations.rb +841 -0
  23. data/lib/google/cloud/network_connectivity/v1beta/transport_manager/paths.rb +105 -0
  24. data/lib/google/cloud/network_connectivity/v1beta/transport_manager.rb +50 -0
  25. data/lib/google/cloud/network_connectivity/v1beta/version.rb +7 -2
  26. data/lib/google/cloud/network_connectivity/v1beta.rb +43 -0
  27. data/lib/google/cloud/networkconnectivity/v1beta/common_pb.rb +25 -0
  28. data/lib/google/cloud/networkconnectivity/v1beta/data_transfer_pb.rb +56 -0
  29. data/lib/google/cloud/networkconnectivity/v1beta/data_transfer_services_pb.rb +72 -0
  30. data/lib/google/cloud/networkconnectivity/v1beta/hub_pb.rb +111 -0
  31. data/lib/google/cloud/networkconnectivity/v1beta/hub_services_pb.rb +110 -0
  32. data/lib/google/cloud/networkconnectivity/v1beta/policy_based_routing_pb.rb +42 -0
  33. data/lib/google/cloud/networkconnectivity/v1beta/policy_based_routing_services_pb.rb +52 -0
  34. data/lib/google/cloud/networkconnectivity/v1beta/transport_manager_pb.rb +55 -0
  35. data/lib/google/cloud/networkconnectivity/v1beta/transport_manager_services_pb.rb +59 -0
  36. data/lib/google-cloud-network_connectivity-v1beta.rb +21 -0
  37. data/proto_docs/README.md +4 -0
  38. data/proto_docs/google/api/client.rb +593 -0
  39. data/proto_docs/google/api/field_behavior.rb +85 -0
  40. data/proto_docs/google/api/field_info.rb +88 -0
  41. data/proto_docs/google/api/launch_stage.rb +71 -0
  42. data/proto_docs/google/api/resource.rb +227 -0
  43. data/proto_docs/google/cloud/networkconnectivity/v1beta/common.rb +58 -0
  44. data/proto_docs/google/cloud/networkconnectivity/v1beta/data_transfer.rb +635 -0
  45. data/proto_docs/google/cloud/networkconnectivity/v1beta/hub.rb +2024 -0
  46. data/proto_docs/google/cloud/networkconnectivity/v1beta/policy_based_routing.rb +340 -0
  47. data/proto_docs/google/cloud/networkconnectivity/v1beta/transport_manager.rb +621 -0
  48. data/proto_docs/google/longrunning/operations.rb +191 -0
  49. data/proto_docs/google/protobuf/any.rb +145 -0
  50. data/proto_docs/google/protobuf/duration.rb +98 -0
  51. data/proto_docs/google/protobuf/empty.rb +34 -0
  52. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  53. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  54. data/proto_docs/google/rpc/status.rb +48 -0
  55. data/proto_docs/google/type/expr.rb +75 -0
  56. metadata +116 -9
@@ -0,0 +1,84 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module NetworkConnectivity
23
+ module V1beta
24
+ module PolicyBasedRoutingService
25
+ # Path helper methods for the PolicyBasedRoutingService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Location resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ #
37
+ # @return [::String]
38
+ def location_path project:, location:
39
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
40
+
41
+ "projects/#{project}/locations/#{location}"
42
+ end
43
+
44
+ ##
45
+ # Create a fully-qualified Network resource string.
46
+ #
47
+ # The resource will be in the following format:
48
+ #
49
+ # `projects/{project}/global/networks/{resource_id}`
50
+ #
51
+ # @param project [String]
52
+ # @param resource_id [String]
53
+ #
54
+ # @return [::String]
55
+ def network_path project:, resource_id:
56
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
57
+
58
+ "projects/#{project}/global/networks/#{resource_id}"
59
+ end
60
+
61
+ ##
62
+ # Create a fully-qualified PolicyBasedRoute resource string.
63
+ #
64
+ # The resource will be in the following format:
65
+ #
66
+ # `projects/{project}/locations/global/PolicyBasedRoutes/{policy_based_route}`
67
+ #
68
+ # @param project [String]
69
+ # @param policy_based_route [String]
70
+ #
71
+ # @return [::String]
72
+ def policy_based_route_path project:, policy_based_route:
73
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
74
+
75
+ "projects/#{project}/locations/global/PolicyBasedRoutes/#{policy_based_route}"
76
+ end
77
+
78
+ extend self
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/network_connectivity/v1beta/version"
24
+
25
+ require "google/cloud/network_connectivity/v1beta/policy_based_routing_service/credentials"
26
+ require "google/cloud/network_connectivity/v1beta/policy_based_routing_service/paths"
27
+ require "google/cloud/network_connectivity/v1beta/policy_based_routing_service/operations"
28
+ require "google/cloud/network_connectivity/v1beta/policy_based_routing_service/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module NetworkConnectivity
33
+ module V1beta
34
+ ##
35
+ # Policy-Based Routing allows GCP customers to specify flexibile routing
36
+ # policies for Layer 4 traffic traversing through the connected service.
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/cloud/network_connectivity/v1beta/policy_based_routing_service"
41
+ # client = ::Google::Cloud::NetworkConnectivity::V1beta::PolicyBasedRoutingService::Client.new
42
+ #
43
+ module PolicyBasedRoutingService
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+
50
+ helper_path = ::File.join __dir__, "policy_based_routing_service", "helpers.rb"
51
+ require "google/cloud/network_connectivity/v1beta/policy_based_routing_service/helpers" if ::File.file? helper_path