google-cloud-edge_network-v1 1.2.0 → 2.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa6547d265dbc3f5dc7c8c87f653d270457c6876c808b15bd4d446e90c739078
4
- data.tar.gz: 02bb72fb7db22855e66c5d55187b2365fcaa2280d014be06f69b0fe229c337b7
3
+ metadata.gz: 332b3ca15215a9cd8f84b44309a0e075129c8bae226996a6729f82487f7fd3ca
4
+ data.tar.gz: 665f2493dea362098ad17f28d4d58ac7fa82ec76f89809475e905e0bb6f27d52
5
5
  SHA512:
6
- metadata.gz: 7b3f23d32eb5cb9f9edf52f05010d8f3b6b3426c913235a9deabe32ecebdeae2a19034a9be8628dba0a8c75203021bb485b74f26b373b379cb5dcb044a92ab90
7
- data.tar.gz: f2bbd4cdaf999673b82391a28323758a57df14a7f2dd5afb217ebb6aad508f207993193c16ba4303577be09c94e40252f7729228984d748cb96ed45fa61b5ca0
6
+ metadata.gz: c7390877af65bc3fc619db4ff35434eb921581616a2294fe5b39a03116d3071866d338d5d915f39927cccc262e0653beaae601f728b1116669f8a66725cf0c1e
7
+ data.tar.gz: fdf82bf847927b1e997979d76703715ac00a28c4a39019fd7653771592fc0f9b4ff64f4f233e921ba0ecd4c8173ac3a88f73ee3b0c754ad1e03d0fd16014b025
@@ -404,10 +404,10 @@ module Google
404
404
  # @param order_by [::String]
405
405
  # Hint for how to order the results
406
406
  # @yield [result, operation] Access the result along with the TransportOperation object
407
- # @yieldparam result [::Google::Cloud::EdgeNetwork::V1::ListZonesResponse]
407
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Zone>]
408
408
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
409
409
  #
410
- # @return [::Google::Cloud::EdgeNetwork::V1::ListZonesResponse]
410
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Zone>]
411
411
  #
412
412
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
413
413
  #
@@ -459,7 +459,9 @@ module Google
459
459
  retry_policy: @config.retry_policy
460
460
 
461
461
  @edge_network_stub.list_zones request, options do |result, operation|
462
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_network_stub, :list_zones, "zones", request, result, options
462
463
  yield result, operation if block_given?
464
+ throw :response, result
463
465
  end
464
466
  rescue ::Gapic::Rest::Error => e
465
467
  raise ::Google::Cloud::Error.from_error(e)
@@ -574,10 +576,10 @@ module Google
574
576
  # @param order_by [::String]
575
577
  # Hint for how to order the results
576
578
  # @yield [result, operation] Access the result along with the TransportOperation object
577
- # @yieldparam result [::Google::Cloud::EdgeNetwork::V1::ListNetworksResponse]
579
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Network>]
578
580
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
579
581
  #
580
- # @return [::Google::Cloud::EdgeNetwork::V1::ListNetworksResponse]
582
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Network>]
581
583
  #
582
584
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
583
585
  #
@@ -629,7 +631,9 @@ module Google
629
631
  retry_policy: @config.retry_policy
630
632
 
631
633
  @edge_network_stub.list_networks request, options do |result, operation|
634
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_network_stub, :list_networks, "networks", request, result, options
632
635
  yield result, operation if block_given?
636
+ throw :response, result
633
637
  end
634
638
  rescue ::Gapic::Rest::Error => e
635
639
  raise ::Google::Cloud::Error.from_error(e)
@@ -1029,10 +1033,10 @@ module Google
1029
1033
  # @param order_by [::String]
1030
1034
  # Hint for how to order the results
1031
1035
  # @yield [result, operation] Access the result along with the TransportOperation object
1032
- # @yieldparam result [::Google::Cloud::EdgeNetwork::V1::ListSubnetsResponse]
1036
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Subnet>]
1033
1037
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1034
1038
  #
1035
- # @return [::Google::Cloud::EdgeNetwork::V1::ListSubnetsResponse]
1039
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Subnet>]
1036
1040
  #
1037
1041
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1038
1042
  #
@@ -1084,7 +1088,9 @@ module Google
1084
1088
  retry_policy: @config.retry_policy
1085
1089
 
1086
1090
  @edge_network_stub.list_subnets request, options do |result, operation|
1091
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_network_stub, :list_subnets, "subnets", request, result, options
1087
1092
  yield result, operation if block_given?
1093
+ throw :response, result
1088
1094
  end
1089
1095
  rescue ::Gapic::Rest::Error => e
1090
1096
  raise ::Google::Cloud::Error.from_error(e)
@@ -1513,10 +1519,10 @@ module Google
1513
1519
  # @param order_by [::String]
1514
1520
  # Hint for how to order the results
1515
1521
  # @yield [result, operation] Access the result along with the TransportOperation object
1516
- # @yieldparam result [::Google::Cloud::EdgeNetwork::V1::ListInterconnectsResponse]
1522
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Interconnect>]
1517
1523
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1518
1524
  #
1519
- # @return [::Google::Cloud::EdgeNetwork::V1::ListInterconnectsResponse]
1525
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Interconnect>]
1520
1526
  #
1521
1527
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1522
1528
  #
@@ -1568,7 +1574,9 @@ module Google
1568
1574
  retry_policy: @config.retry_policy
1569
1575
 
1570
1576
  @edge_network_stub.list_interconnects request, options do |result, operation|
1577
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_network_stub, :list_interconnects, "interconnects", request, result, options
1571
1578
  yield result, operation if block_given?
1579
+ throw :response, result
1572
1580
  end
1573
1581
  rescue ::Gapic::Rest::Error => e
1574
1582
  raise ::Google::Cloud::Error.from_error(e)
@@ -1760,10 +1768,10 @@ module Google
1760
1768
  # @param order_by [::String]
1761
1769
  # Hint for how to order the results
1762
1770
  # @yield [result, operation] Access the result along with the TransportOperation object
1763
- # @yieldparam result [::Google::Cloud::EdgeNetwork::V1::ListInterconnectAttachmentsResponse]
1771
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::InterconnectAttachment>]
1764
1772
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1765
1773
  #
1766
- # @return [::Google::Cloud::EdgeNetwork::V1::ListInterconnectAttachmentsResponse]
1774
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::InterconnectAttachment>]
1767
1775
  #
1768
1776
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1769
1777
  #
@@ -1815,7 +1823,9 @@ module Google
1815
1823
  retry_policy: @config.retry_policy
1816
1824
 
1817
1825
  @edge_network_stub.list_interconnect_attachments request, options do |result, operation|
1826
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_network_stub, :list_interconnect_attachments, "interconnect_attachments", request, result, options
1818
1827
  yield result, operation if block_given?
1828
+ throw :response, result
1819
1829
  end
1820
1830
  rescue ::Gapic::Rest::Error => e
1821
1831
  raise ::Google::Cloud::Error.from_error(e)
@@ -2137,10 +2147,10 @@ module Google
2137
2147
  # @param order_by [::String]
2138
2148
  # Hint for how to order the results
2139
2149
  # @yield [result, operation] Access the result along with the TransportOperation object
2140
- # @yieldparam result [::Google::Cloud::EdgeNetwork::V1::ListRoutersResponse]
2150
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Router>]
2141
2151
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2142
2152
  #
2143
- # @return [::Google::Cloud::EdgeNetwork::V1::ListRoutersResponse]
2153
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeNetwork::V1::Router>]
2144
2154
  #
2145
2155
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2146
2156
  #
@@ -2192,7 +2202,9 @@ module Google
2192
2202
  retry_policy: @config.retry_policy
2193
2203
 
2194
2204
  @edge_network_stub.list_routers request, options do |result, operation|
2205
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_network_stub, :list_routers, "routers", request, result, options
2195
2206
  yield result, operation if block_given?
2207
+ throw :response, result
2196
2208
  end
2197
2209
  rescue ::Gapic::Rest::Error => e
2198
2210
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module EdgeNetwork
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -689,7 +689,7 @@ module Google
689
689
  extend ::Google::Protobuf::MessageExts::ClassMethods
690
690
  end
691
691
 
692
- # Message for requesting diagnositcs of a router within a specific zone.
692
+ # Message for requesting diagnostics of a router within a specific zone.
693
693
  # @!attribute [rw] name
694
694
  # @return [::String]
695
695
  # Required. The name of the router resource.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-edge_network-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-04-18 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.6.2
127
+ rubygems_version: 3.6.5
128
128
  specification_version: 4
129
129
  summary: Network management API for Distributed Cloud Edge.
130
130
  test_files: []