google-cloud-edge_network-v1 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa6547d265dbc3f5dc7c8c87f653d270457c6876c808b15bd4d446e90c739078
4
- data.tar.gz: 02bb72fb7db22855e66c5d55187b2365fcaa2280d014be06f69b0fe229c337b7
3
+ metadata.gz: aa014a6b71fd244a14b63881064a13dd14c821b58eb8b16385df829fe201f854
4
+ data.tar.gz: 5a1ee4b1b978a9df4dc78a419428df26e99d72cbeb6655caf84bbf467df83bd5
5
5
  SHA512:
6
- metadata.gz: 7b3f23d32eb5cb9f9edf52f05010d8f3b6b3426c913235a9deabe32ecebdeae2a19034a9be8628dba0a8c75203021bb485b74f26b373b379cb5dcb044a92ab90
7
- data.tar.gz: f2bbd4cdaf999673b82391a28323758a57df14a7f2dd5afb217ebb6aad508f207993193c16ba4303577be09c94e40252f7729228984d748cb96ed45fa61b5ca0
6
+ metadata.gz: 45160d726f5fcbe7998ec0924422bd3d32bb3b61fd16548c84abd583147d000ad2325edf5d7c675018102d6e4230b213f4e8047bd29c6cd029f7edb6c23af090
7
+ data.tar.gz: 11b8aa2059494f7fbf8e1ed166d0bdbf6c4cc9a5afe064d4c67f92bd29064ed6e595183f84a9ceb4467e582e6b46bde15c24fb2136292559567ada309271803f
@@ -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.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.0
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-02-07 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.3
128
128
  specification_version: 4
129
129
  summary: Network management API for Distributed Cloud Edge.
130
130
  test_files: []