google-cloud-edge_network-v1 0.a → 0.2.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/edge_network/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/edge_network/v1/edge_network/client.rb +3178 -0
  7. data/lib/google/cloud/edge_network/v1/edge_network/credentials.rb +47 -0
  8. data/lib/google/cloud/edge_network/v1/edge_network/operations.rb +801 -0
  9. data/lib/google/cloud/edge_network/v1/edge_network/paths.rb +174 -0
  10. data/lib/google/cloud/edge_network/v1/edge_network/rest/client.rb +2972 -0
  11. data/lib/google/cloud/edge_network/v1/edge_network/rest/operations.rb +895 -0
  12. data/lib/google/cloud/edge_network/v1/edge_network/rest/service_stub.rb +1601 -0
  13. data/lib/google/cloud/edge_network/v1/edge_network/rest.rb +57 -0
  14. data/lib/google/cloud/edge_network/v1/edge_network.rb +59 -0
  15. data/lib/google/cloud/edge_network/v1/rest.rb +38 -0
  16. data/lib/google/cloud/edge_network/v1/version.rb +7 -2
  17. data/lib/google/cloud/edge_network/v1.rb +45 -0
  18. data/lib/google/cloud/edgenetwork/v1/resources_pb.rb +69 -0
  19. data/lib/google/cloud/edgenetwork/v1/service_pb.rb +92 -0
  20. data/lib/google/cloud/edgenetwork/v1/service_services_pb.rb +98 -0
  21. data/lib/google-cloud-edge_network-v1.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/client.rb +395 -0
  24. data/proto_docs/google/api/field_behavior.rb +85 -0
  25. data/proto_docs/google/api/launch_stage.rb +71 -0
  26. data/proto_docs/google/api/resource.rb +222 -0
  27. data/proto_docs/google/cloud/edgenetwork/v1/resources.rb +637 -0
  28. data/proto_docs/google/cloud/edgenetwork/v1/service.rb +709 -0
  29. data/proto_docs/google/longrunning/operations.rb +164 -0
  30. data/proto_docs/google/protobuf/any.rb +144 -0
  31. data/proto_docs/google/protobuf/duration.rb +98 -0
  32. data/proto_docs/google/protobuf/empty.rb +34 -0
  33. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  34. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  35. data/proto_docs/google/rpc/status.rb +48 -0
  36. metadata +209 -13
@@ -0,0 +1,174 @@
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 EdgeNetwork
23
+ module V1
24
+ module EdgeNetwork
25
+ # Path helper methods for the EdgeNetwork API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Interconnect resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param zone [String]
37
+ # @param interconnect [String]
38
+ #
39
+ # @return [::String]
40
+ def interconnect_path project:, location:, zone:, interconnect:
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, "zone cannot contain /" if zone.to_s.include? "/"
44
+
45
+ "projects/#{project}/locations/#{location}/zones/#{zone}/interconnects/#{interconnect}"
46
+ end
47
+
48
+ ##
49
+ # Create a fully-qualified InterconnectAttachment resource string.
50
+ #
51
+ # The resource will be in the following format:
52
+ #
53
+ # `projects/{project}/locations/{location}/zones/{zone}/interconnectAttachments/{interconnect_attachment}`
54
+ #
55
+ # @param project [String]
56
+ # @param location [String]
57
+ # @param zone [String]
58
+ # @param interconnect_attachment [String]
59
+ #
60
+ # @return [::String]
61
+ def interconnect_attachment_path project:, location:, zone:, interconnect_attachment:
62
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
63
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
64
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
65
+
66
+ "projects/#{project}/locations/#{location}/zones/#{zone}/interconnectAttachments/#{interconnect_attachment}"
67
+ end
68
+
69
+ ##
70
+ # Create a fully-qualified Location resource string.
71
+ #
72
+ # The resource will be in the following format:
73
+ #
74
+ # `projects/{project}/locations/{location}`
75
+ #
76
+ # @param project [String]
77
+ # @param location [String]
78
+ #
79
+ # @return [::String]
80
+ def location_path project:, location:
81
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
82
+
83
+ "projects/#{project}/locations/#{location}"
84
+ end
85
+
86
+ ##
87
+ # Create a fully-qualified Network resource string.
88
+ #
89
+ # The resource will be in the following format:
90
+ #
91
+ # `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`
92
+ #
93
+ # @param project [String]
94
+ # @param location [String]
95
+ # @param zone [String]
96
+ # @param network [String]
97
+ #
98
+ # @return [::String]
99
+ def network_path project:, location:, zone:, network:
100
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
101
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
102
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
103
+
104
+ "projects/#{project}/locations/#{location}/zones/#{zone}/networks/#{network}"
105
+ end
106
+
107
+ ##
108
+ # Create a fully-qualified Router resource string.
109
+ #
110
+ # The resource will be in the following format:
111
+ #
112
+ # `projects/{project}/locations/{location}/zones/{zone}/routers/{router}`
113
+ #
114
+ # @param project [String]
115
+ # @param location [String]
116
+ # @param zone [String]
117
+ # @param router [String]
118
+ #
119
+ # @return [::String]
120
+ def router_path project:, location:, zone:, router:
121
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
122
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
123
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
124
+
125
+ "projects/#{project}/locations/#{location}/zones/#{zone}/routers/#{router}"
126
+ end
127
+
128
+ ##
129
+ # Create a fully-qualified Subnet resource string.
130
+ #
131
+ # The resource will be in the following format:
132
+ #
133
+ # `projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}`
134
+ #
135
+ # @param project [String]
136
+ # @param location [String]
137
+ # @param zone [String]
138
+ # @param subnet [String]
139
+ #
140
+ # @return [::String]
141
+ def subnet_path project:, location:, zone:, subnet:
142
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
143
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
144
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
145
+
146
+ "projects/#{project}/locations/#{location}/zones/#{zone}/subnets/#{subnet}"
147
+ end
148
+
149
+ ##
150
+ # Create a fully-qualified Zone resource string.
151
+ #
152
+ # The resource will be in the following format:
153
+ #
154
+ # `projects/{project}/locations/{location}/zones/{zone}`
155
+ #
156
+ # @param project [String]
157
+ # @param location [String]
158
+ # @param zone [String]
159
+ #
160
+ # @return [::String]
161
+ def zone_path project:, location:, zone:
162
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
163
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
164
+
165
+ "projects/#{project}/locations/#{location}/zones/#{zone}"
166
+ end
167
+
168
+ extend self
169
+ end
170
+ end
171
+ end
172
+ end
173
+ end
174
+ end