google-cloud-edge_container-v1 0.4.0 → 1.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: 30a96e687134ef64ae7bdae20aa0c8fdce39a311f6096ab1749f8e81198f455d
4
- data.tar.gz: b745f5e8402a818943ee383518a4bbb30d51ac6f1c5cf1dd44b846468e906145
3
+ metadata.gz: 67e80304b2200384d7374cbc3d751cd8f47d96af43202f7efd1527e8fa4c8ba4
4
+ data.tar.gz: 83e836cf17dd5e0b125916f1f42cdc2a3256d650a7c33d5c7d69cf04f9120847
5
5
  SHA512:
6
- metadata.gz: 96ca65a7942ffd9dc55d68d4f6c250613bcde2d5d91ef069e199d14ea9cdbf9bf96bb0b16511c65d6c24eb67a2b900cd96631b919712225ce6c90b6bd701e1fb
7
- data.tar.gz: '0969121a78b94053b7400dbf0d6b597ce46611dc46cdf66fe6bda0841a0bcfb1af6d2253111313df84ba4436e25af928d578e5efb6e564e04d1a17177b883e76'
6
+ metadata.gz: cdc9a8ef810fdbd2019d956203455ecbe112658184aa87115d5844bb1deafd5f72636b0617e8c7ab28e26eb47d91375ca91c432d03fb3bd5d936e696335ce90f
7
+ data.tar.gz: 497d9374de9945b5ae03e83c6d55415128f45164f5dceba603b79a1f072638abc93c7f3bf1b098fddf9aba96c48084748e27041b3c20d77454cfed81176a4eb9
@@ -2296,8 +2296,8 @@ module Google
2296
2296
 
2297
2297
  config_attr :endpoint, nil, ::String, nil
2298
2298
  config_attr :credentials, nil do |value|
2299
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2300
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2299
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2300
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2301
2301
  allowed.any? { |klass| klass === value }
2302
2302
  end
2303
2303
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -311,10 +311,10 @@ module Google
311
311
  # @param order_by [::String]
312
312
  # Specifies the order in which resources will be listed.
313
313
  # @yield [result, operation] Access the result along with the TransportOperation object
314
- # @yieldparam result [::Google::Cloud::EdgeContainer::V1::ListClustersResponse]
314
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Cluster>]
315
315
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
316
316
  #
317
- # @return [::Google::Cloud::EdgeContainer::V1::ListClustersResponse]
317
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Cluster>]
318
318
  #
319
319
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
320
320
  #
@@ -366,7 +366,9 @@ module Google
366
366
  retry_policy: @config.retry_policy
367
367
 
368
368
  @edge_container_stub.list_clusters request, options do |result, operation|
369
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_clusters, "clusters", request, result, options
369
370
  yield result, operation if block_given?
371
+ throw :response, result
370
372
  end
371
373
  rescue ::Gapic::Rest::Error => e
372
374
  raise ::Google::Cloud::Error.from_error(e)
@@ -1013,10 +1015,10 @@ module Google
1013
1015
  # @param order_by [::String]
1014
1016
  # Specifies the order in which resources will be listed.
1015
1017
  # @yield [result, operation] Access the result along with the TransportOperation object
1016
- # @yieldparam result [::Google::Cloud::EdgeContainer::V1::ListNodePoolsResponse]
1018
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::NodePool>]
1017
1019
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1018
1020
  #
1019
- # @return [::Google::Cloud::EdgeContainer::V1::ListNodePoolsResponse]
1021
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::NodePool>]
1020
1022
  #
1021
1023
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1022
1024
  #
@@ -1068,7 +1070,9 @@ module Google
1068
1070
  retry_policy: @config.retry_policy
1069
1071
 
1070
1072
  @edge_container_stub.list_node_pools request, options do |result, operation|
1073
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_node_pools, "node_pools", request, result, options
1071
1074
  yield result, operation if block_given?
1075
+ throw :response, result
1072
1076
  end
1073
1077
  rescue ::Gapic::Rest::Error => e
1074
1078
  raise ::Google::Cloud::Error.from_error(e)
@@ -1464,10 +1468,10 @@ module Google
1464
1468
  # @param order_by [::String]
1465
1469
  # Specifies the order in which resources will be listed.
1466
1470
  # @yield [result, operation] Access the result along with the TransportOperation object
1467
- # @yieldparam result [::Google::Cloud::EdgeContainer::V1::ListMachinesResponse]
1471
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Machine>]
1468
1472
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1469
1473
  #
1470
- # @return [::Google::Cloud::EdgeContainer::V1::ListMachinesResponse]
1474
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::Machine>]
1471
1475
  #
1472
1476
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1473
1477
  #
@@ -1519,7 +1523,9 @@ module Google
1519
1523
  retry_policy: @config.retry_policy
1520
1524
 
1521
1525
  @edge_container_stub.list_machines request, options do |result, operation|
1526
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_machines, "machines", request, result, options
1522
1527
  yield result, operation if block_given?
1528
+ throw :response, result
1523
1529
  end
1524
1530
  rescue ::Gapic::Rest::Error => e
1525
1531
  raise ::Google::Cloud::Error.from_error(e)
@@ -1633,10 +1639,10 @@ module Google
1633
1639
  # @param order_by [::String]
1634
1640
  # Specifies the order in which resources will be listed.
1635
1641
  # @yield [result, operation] Access the result along with the TransportOperation object
1636
- # @yieldparam result [::Google::Cloud::EdgeContainer::V1::ListVpnConnectionsResponse]
1642
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::VpnConnection>]
1637
1643
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1638
1644
  #
1639
- # @return [::Google::Cloud::EdgeContainer::V1::ListVpnConnectionsResponse]
1645
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::EdgeContainer::V1::VpnConnection>]
1640
1646
  #
1641
1647
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1642
1648
  #
@@ -1688,7 +1694,9 @@ module Google
1688
1694
  retry_policy: @config.retry_policy
1689
1695
 
1690
1696
  @edge_container_stub.list_vpn_connections request, options do |result, operation|
1697
+ result = ::Gapic::Rest::PagedEnumerable.new @edge_container_stub, :list_vpn_connections, "vpn_connections", request, result, options
1691
1698
  yield result, operation if block_given?
1699
+ throw :response, result
1692
1700
  end
1693
1701
  rescue ::Gapic::Rest::Error => e
1694
1702
  raise ::Google::Cloud::Error.from_error(e)
@@ -2133,7 +2141,7 @@ module Google
2133
2141
 
2134
2142
  config_attr :endpoint, nil, ::String, nil
2135
2143
  config_attr :credentials, nil do |value|
2136
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2144
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2137
2145
  allowed.any? { |klass| klass === value }
2138
2146
  end
2139
2147
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module EdgeContainer
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "1.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
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-edge_container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 1.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: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.6.2
129
+ rubygems_version: 3.6.8
130
130
  specification_version: 4
131
131
  summary: API Client library for the Distributed Cloud Edge Container V1 API
132
132
  test_files: []