google-cloud-gke_backup-v1 0.12.0 → 1.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: 63f08aa7568ec86bf05afebbd3bc638f2160792051448c73f99d7a68c969cd08
4
- data.tar.gz: 318f07ffd99699ea27c19c228e1e7496750efe55dc562ad57481991bbf5a1334
3
+ metadata.gz: 5caa29fa90f4ccf6fc7d89a417448609ae03c7520b6eb266b8f71f0881428de4
4
+ data.tar.gz: 1574931d7f53752250b04f25df3532249b9933cadffd3c2df9a0b8378db11333
5
5
  SHA512:
6
- metadata.gz: 661b2e9103f9ecd56ee5f13e322b6e7cd46b6425ddfa884b87229732772f9397d58ab31e1f6e87ec8ea379d68a42384b4b2c44beda817584d4d858a3f8f1b3bf
7
- data.tar.gz: 85f5cefd3ac43ff31ae99b635d420c082f41479c8ad7f4e80a6375e0253a109e6814f57abeb80e0ef1fe65fd757f5951c4c3ddf8b73f0335f61f450fe69f761a
6
+ metadata.gz: 0ce4cfb0fb640386736d59dea09178d4d68c4d218cb22290f97f3bd7627bba26bf440f800fa93077adc2939fd93e453ebd4ae33f53c34a340786d0e9758d52de
7
+ data.tar.gz: 30aec83e915c998175097b088e3513d1788ee711f3cdbc6077e19920b70a68c5278da36649629785ca6956e996021583ec613afa7586ea8c4a4e99a995613b3b
@@ -453,10 +453,10 @@ module Google
453
453
  # @param order_by [::String]
454
454
  # Optional. Field by which to sort the results.
455
455
  # @yield [result, operation] Access the result along with the TransportOperation object
456
- # @yieldparam result [::Google::Cloud::GkeBackup::V1::ListBackupPlansResponse]
456
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeBackup::V1::BackupPlan>]
457
457
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
458
458
  #
459
- # @return [::Google::Cloud::GkeBackup::V1::ListBackupPlansResponse]
459
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeBackup::V1::BackupPlan>]
460
460
  #
461
461
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
462
462
  #
@@ -508,7 +508,9 @@ module Google
508
508
  retry_policy: @config.retry_policy
509
509
 
510
510
  @backup_for_gke_stub.list_backup_plans request, options do |result, operation|
511
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_for_gke_stub, :list_backup_plans, "backup_plans", request, result, options
511
512
  yield result, operation if block_given?
513
+ throw :response, result
512
514
  end
513
515
  rescue ::Gapic::Rest::Error => e
514
516
  raise ::Google::Cloud::Error.from_error(e)
@@ -1578,10 +1580,10 @@ module Google
1578
1580
  # @param order_by [::String]
1579
1581
  # Optional. Field by which to sort the results.
1580
1582
  # @yield [result, operation] Access the result along with the TransportOperation object
1581
- # @yieldparam result [::Google::Cloud::GkeBackup::V1::ListRestorePlansResponse]
1583
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeBackup::V1::RestorePlan>]
1582
1584
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1583
1585
  #
1584
- # @return [::Google::Cloud::GkeBackup::V1::ListRestorePlansResponse]
1586
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeBackup::V1::RestorePlan>]
1585
1587
  #
1586
1588
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1587
1589
  #
@@ -1633,7 +1635,9 @@ module Google
1633
1635
  retry_policy: @config.retry_policy
1634
1636
 
1635
1637
  @backup_for_gke_stub.list_restore_plans request, options do |result, operation|
1638
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_for_gke_stub, :list_restore_plans, "restore_plans", request, result, options
1636
1639
  yield result, operation if block_given?
1640
+ throw :response, result
1637
1641
  end
1638
1642
  rescue ::Gapic::Rest::Error => e
1639
1643
  raise ::Google::Cloud::Error.from_error(e)
@@ -2050,10 +2054,10 @@ module Google
2050
2054
  # @param order_by [::String]
2051
2055
  # Optional. Field by which to sort the results.
2052
2056
  # @yield [result, operation] Access the result along with the TransportOperation object
2053
- # @yieldparam result [::Google::Cloud::GkeBackup::V1::ListRestoresResponse]
2057
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeBackup::V1::Restore>]
2054
2058
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2055
2059
  #
2056
- # @return [::Google::Cloud::GkeBackup::V1::ListRestoresResponse]
2060
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeBackup::V1::Restore>]
2057
2061
  #
2058
2062
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2059
2063
  #
@@ -2105,7 +2109,9 @@ module Google
2105
2109
  retry_policy: @config.retry_policy
2106
2110
 
2107
2111
  @backup_for_gke_stub.list_restores request, options do |result, operation|
2112
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_for_gke_stub, :list_restores, "restores", request, result, options
2108
2113
  yield result, operation if block_given?
2114
+ throw :response, result
2109
2115
  end
2110
2116
  rescue ::Gapic::Rest::Error => e
2111
2117
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeBackup
23
23
  module V1
24
- VERSION = "0.12.0"
24
+ VERSION = "1.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-gke_backup-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 1.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
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.6.2
163
+ rubygems_version: 3.6.3
164
164
  specification_version: 4
165
165
  summary: Backup for GKE is a managed Kubernetes workload backup and restore service
166
166
  for GKE clusters.