google-cloud-edge_network-v1 1.1.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: d1e5e0e7002a42307ee59d9a6d0c7e30c27780a0b40b030fd0219557cc13cc6d
4
- data.tar.gz: 8efcb13746801f453477e303bf617d0f3c3866839675bd31797fb1f5a9bbfbbe
3
+ metadata.gz: aa014a6b71fd244a14b63881064a13dd14c821b58eb8b16385df829fe201f854
4
+ data.tar.gz: 5a1ee4b1b978a9df4dc78a419428df26e99d72cbeb6655caf84bbf467df83bd5
5
5
  SHA512:
6
- metadata.gz: 36fadd4fd7641c233e6342c27b2de2cde12c2daf42a4a97e720d8ec37279d75ac4853ca2541e6021541eaef4b10bbcbb404018327d7d6c3be6154153d3c8460b
7
- data.tar.gz: f5ea9767c37afbf3936e16494e18f3d3e7ec5fb39bafbaa6422dd8487c2368730cc15d1969fb79de389e3df8641e7c120288b35cbee2260635770a5a9e151208
6
+ metadata.gz: 45160d726f5fcbe7998ec0924422bd3d32bb3b61fd16548c84abd583147d000ad2325edf5d7c675018102d6e4230b213f4e8047bd29c6cd029f7edb6c23af090
7
+ data.tar.gz: 11b8aa2059494f7fbf8e1ed166d0bdbf6c4cc9a5afe064d4c67f92bd29064ed6e595183f84a9ceb4467e582e6b46bde15c24fb2136292559567ada309271803f
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -2917,6 +2917,13 @@ module Google
2917
2917
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2918
2918
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2919
2919
  # * (`nil`) indicating no credentials
2920
+ #
2921
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2922
+ # external source for authentication to Google Cloud, you must validate it before
2923
+ # providing it to a Google API client library. Providing an unvalidated credential
2924
+ # configuration to Google APIs can compromise the security of your systems and data.
2925
+ # For more information, refer to [Validate credential configurations from external
2926
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2920
2927
  # @return [::Object]
2921
2928
  # @!attribute [rw] scope
2922
2929
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -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)
@@ -2711,6 +2723,13 @@ module Google
2711
2723
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2712
2724
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2713
2725
  # * (`nil`) indicating no credentials
2726
+ #
2727
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2728
+ # external source for authentication to Google Cloud, you must validate it before
2729
+ # providing it to a Google API client library. Providing an unvalidated credential
2730
+ # configuration to Google APIs can compromise the security of your systems and data.
2731
+ # For more information, refer to [Validate credential configurations from external
2732
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2714
2733
  # @return [::Object]
2715
2734
  # @!attribute [rw] scope
2716
2735
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module EdgeNetwork
23
23
  module V1
24
- VERSION = "1.1.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
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +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.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -111,7 +110,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
111
110
  licenses:
112
111
  - Apache-2.0
113
112
  metadata: {}
114
- post_install_message:
115
113
  rdoc_options: []
116
114
  require_paths:
117
115
  - lib
@@ -119,15 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
117
  requirements:
120
118
  - - ">="
121
119
  - !ruby/object:Gem::Version
122
- version: '2.7'
120
+ version: '3.0'
123
121
  required_rubygems_version: !ruby/object:Gem::Requirement
124
122
  requirements:
125
123
  - - ">="
126
124
  - !ruby/object:Gem::Version
127
125
  version: '0'
128
126
  requirements: []
129
- rubygems_version: 3.5.23
130
- signing_key:
127
+ rubygems_version: 3.6.3
131
128
  specification_version: 4
132
129
  summary: Network management API for Distributed Cloud Edge.
133
130
  test_files: []