google-cloud-backupdr-v1 0.5.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: 9fa01e0715e898523351ce55d543b15cb4fef4f5a6832165414dd5cf6f0e84f0
4
- data.tar.gz: e0abc5c51bf018120a2ca8e02f35dbc889be463cebe98da7d8b54e9588ad58dd
3
+ metadata.gz: 7085a79a96a4e426803fdca873b7e687b59dde6f09f3dcdc59d573a55d3f91d7
4
+ data.tar.gz: b2d0e3990ebaef765911f468d660ab6377325ca78c9ef0696d279fc0afec2df3
5
5
  SHA512:
6
- metadata.gz: bb128f38fd07b2d80f3ded24e2e16d26d6736a2c5173c54db9de0d273aeace7a0371e4b8532d9485b78bb0074ec2a6c150f5a8bcb34036ac4743267a041fab0c
7
- data.tar.gz: 16ae3195edb316ae9c416a7c25ec4c442217abded0dfae806e6a671ffefbd6726b186be0d74175a66ecf9212ce0bb57967bc4f7c754a982ff28d88a36ae854da
6
+ metadata.gz: 390bcfb79fd90362f5eb3580dd5cd2c4746d8921a534027227f8af7476482827bc0b7f97c746651ac89f0dc5e621b21ba1fe79e7ec0a7c26c069a04423c8fa08
7
+ data.tar.gz: 7c96ba0b3573f502cf89a6a092ca421ca5024992de657b1c159488c281c8a5326f5432b3012dcaa6c8edcafa0456046cdff9577fb99e2e3ed824272b15abef9c
@@ -331,10 +331,10 @@ module Google
331
331
  # @param order_by [::String]
332
332
  # Optional. Hint for how to order the results.
333
333
  # @yield [result, operation] Access the result along with the TransportOperation object
334
- # @yieldparam result [::Google::Cloud::BackupDR::V1::ListManagementServersResponse]
334
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::ManagementServer>]
335
335
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
336
336
  #
337
- # @return [::Google::Cloud::BackupDR::V1::ListManagementServersResponse]
337
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::ManagementServer>]
338
338
  #
339
339
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
340
340
  #
@@ -386,7 +386,9 @@ module Google
386
386
  retry_policy: @config.retry_policy
387
387
 
388
388
  @backup_dr_stub.list_management_servers request, options do |result, operation|
389
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_dr_stub, :list_management_servers, "management_servers", request, result, options
389
390
  yield result, operation if block_given?
391
+ throw :response, result
390
392
  end
391
393
  rescue ::Gapic::Rest::Error => e
392
394
  raise ::Google::Cloud::Error.from_error(e)
@@ -829,10 +831,10 @@ module Google
829
831
  # Optional. Reserved for future use to provide a BASIC & FULL view of Backup
830
832
  # Vault.
831
833
  # @yield [result, operation] Access the result along with the TransportOperation object
832
- # @yieldparam result [::Google::Cloud::BackupDR::V1::ListBackupVaultsResponse]
834
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupVault>]
833
835
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
834
836
  #
835
- # @return [::Google::Cloud::BackupDR::V1::ListBackupVaultsResponse]
837
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupVault>]
836
838
  #
837
839
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
838
840
  #
@@ -884,7 +886,9 @@ module Google
884
886
  retry_policy: @config.retry_policy
885
887
 
886
888
  @backup_dr_stub.list_backup_vaults request, options do |result, operation|
889
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_dr_stub, :list_backup_vaults, "backup_vaults", request, result, options
887
890
  yield result, operation if block_given?
891
+ throw :response, result
888
892
  end
889
893
  rescue ::Gapic::Rest::Error => e
890
894
  raise ::Google::Cloud::Error.from_error(e)
@@ -927,10 +931,10 @@ module Google
927
931
  # @param order_by [::String]
928
932
  # Optional. Hint for how to order the results.
929
933
  # @yield [result, operation] Access the result along with the TransportOperation object
930
- # @yieldparam result [::Google::Cloud::BackupDR::V1::FetchUsableBackupVaultsResponse]
934
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupVault>]
931
935
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
932
936
  #
933
- # @return [::Google::Cloud::BackupDR::V1::FetchUsableBackupVaultsResponse]
937
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupVault>]
934
938
  #
935
939
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
936
940
  #
@@ -982,7 +986,9 @@ module Google
982
986
  retry_policy: @config.retry_policy
983
987
 
984
988
  @backup_dr_stub.fetch_usable_backup_vaults request, options do |result, operation|
989
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_dr_stub, :fetch_usable_backup_vaults, "backup_vaults", request, result, options
985
990
  yield result, operation if block_given?
991
+ throw :response, result
986
992
  end
987
993
  rescue ::Gapic::Rest::Error => e
988
994
  raise ::Google::Cloud::Error.from_error(e)
@@ -1335,10 +1341,10 @@ module Google
1335
1341
  # @param order_by [::String]
1336
1342
  # Optional. Hint for how to order the results.
1337
1343
  # @yield [result, operation] Access the result along with the TransportOperation object
1338
- # @yieldparam result [::Google::Cloud::BackupDR::V1::ListDataSourcesResponse]
1344
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::DataSource>]
1339
1345
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1340
1346
  #
1341
- # @return [::Google::Cloud::BackupDR::V1::ListDataSourcesResponse]
1347
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::DataSource>]
1342
1348
  #
1343
1349
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1344
1350
  #
@@ -1390,7 +1396,9 @@ module Google
1390
1396
  retry_policy: @config.retry_policy
1391
1397
 
1392
1398
  @backup_dr_stub.list_data_sources request, options do |result, operation|
1399
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_dr_stub, :list_data_sources, "data_sources", request, result, options
1393
1400
  yield result, operation if block_given?
1401
+ throw :response, result
1394
1402
  end
1395
1403
  rescue ::Gapic::Rest::Error => e
1396
1404
  raise ::Google::Cloud::Error.from_error(e)
@@ -1622,10 +1630,10 @@ module Google
1622
1630
  # Optional. Reserved for future use to provide a BASIC & FULL view of Backup
1623
1631
  # resource.
1624
1632
  # @yield [result, operation] Access the result along with the TransportOperation object
1625
- # @yieldparam result [::Google::Cloud::BackupDR::V1::ListBackupsResponse]
1633
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::Backup>]
1626
1634
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1627
1635
  #
1628
- # @return [::Google::Cloud::BackupDR::V1::ListBackupsResponse]
1636
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::Backup>]
1629
1637
  #
1630
1638
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1631
1639
  #
@@ -1677,7 +1685,9 @@ module Google
1677
1685
  retry_policy: @config.retry_policy
1678
1686
 
1679
1687
  @backup_dr_stub.list_backups request, options do |result, operation|
1688
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_dr_stub, :list_backups, "backups", request, result, options
1680
1689
  yield result, operation if block_given?
1690
+ throw :response, result
1681
1691
  end
1682
1692
  rescue ::Gapic::Rest::Error => e
1683
1693
  raise ::Google::Cloud::Error.from_error(e)
@@ -2312,10 +2322,10 @@ module Google
2312
2322
  # @param order_by [::String]
2313
2323
  # Optional. Field by which to sort the results.
2314
2324
  # @yield [result, operation] Access the result along with the TransportOperation object
2315
- # @yieldparam result [::Google::Cloud::BackupDR::V1::ListBackupPlansResponse]
2325
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupPlan>]
2316
2326
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2317
2327
  #
2318
- # @return [::Google::Cloud::BackupDR::V1::ListBackupPlansResponse]
2328
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupPlan>]
2319
2329
  #
2320
2330
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2321
2331
  #
@@ -2367,7 +2377,9 @@ module Google
2367
2377
  retry_policy: @config.retry_policy
2368
2378
 
2369
2379
  @backup_dr_stub.list_backup_plans request, options do |result, operation|
2380
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_dr_stub, :list_backup_plans, "backup_plans", request, result, options
2370
2381
  yield result, operation if block_given?
2382
+ throw :response, result
2371
2383
  end
2372
2384
  rescue ::Gapic::Rest::Error => e
2373
2385
  raise ::Google::Cloud::Error.from_error(e)
@@ -2696,10 +2708,10 @@ module Google
2696
2708
  # @param filter [::String]
2697
2709
  # Optional. Filtering results
2698
2710
  # @yield [result, operation] Access the result along with the TransportOperation object
2699
- # @yieldparam result [::Google::Cloud::BackupDR::V1::ListBackupPlanAssociationsResponse]
2711
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupPlanAssociation>]
2700
2712
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2701
2713
  #
2702
- # @return [::Google::Cloud::BackupDR::V1::ListBackupPlanAssociationsResponse]
2714
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BackupDR::V1::BackupPlanAssociation>]
2703
2715
  #
2704
2716
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2705
2717
  #
@@ -2751,7 +2763,9 @@ module Google
2751
2763
  retry_policy: @config.retry_policy
2752
2764
 
2753
2765
  @backup_dr_stub.list_backup_plan_associations request, options do |result, operation|
2766
+ result = ::Gapic::Rest::PagedEnumerable.new @backup_dr_stub, :list_backup_plan_associations, "backup_plan_associations", request, result, options
2754
2767
  yield result, operation if block_given?
2768
+ throw :response, result
2755
2769
  end
2756
2770
  rescue ::Gapic::Rest::Error => e
2757
2771
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BackupDR
23
23
  module V1
24
- VERSION = "0.5.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-backupdr-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.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
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubygems_version: 3.6.2
161
+ rubygems_version: 3.6.3
162
162
  specification_version: 4
163
163
  summary: API Client library for the Backup and DR Service V1 API
164
164
  test_files: []