google-cloud-gke_backup-v1 0.8.0 → 0.9.0

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: ce542ad65980ff250808172887650ac4f540b01a82608a515b763d6c7556b6ff
4
- data.tar.gz: 9306cedd50d6237e6ca4d3eb0ffea89dca9159813ce1095cbb9e20841e26820b
3
+ metadata.gz: 352f2a65aa64274012e354327e5de78c6234c8a1b4e00325d1ada7de56170bfa
4
+ data.tar.gz: c066d4e692d9533f0dc21bc6b64888ae66138ba5e1dff15d1cbbc4fd827111ff
5
5
  SHA512:
6
- metadata.gz: 9e6d86c2602475691e15888932cf0864e19cb2814485168ad32e993105f41b77113873a499c0670041a1a2a944f25630daee25497eb5ada299c54c8248adceb8
7
- data.tar.gz: 660024187df29ac946d2675f099a97f0d6c0290ab548e37b6d844cb437bb24b07e4b5555ceaeae018ec86b6ef204d79c437da861ffec1ec0ab947c4bccdad851
6
+ metadata.gz: '0931a0b19f4acf7b6802978450ac09e5d1d1083746fc451618da7578a879192f0e529a566ee8f21b54bd644808b9ef652783b6e23c8b41e80fa8de1f54deea67'
7
+ data.tar.gz: 9dce857d7c39881d4e74c2e32663210dfc84f4502842f4cef4629ff0db6fc7824164ee2308b1f890bda7a97b6035d8fc3d9d30b793a017828c2f46ab36b79917
@@ -154,6 +154,11 @@ module Google
154
154
  initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
155
155
  }
156
156
 
157
+ default_config.rpcs.get_backup_index_download_url.timeout = 60.0
158
+ default_config.rpcs.get_backup_index_download_url.retry_policy = {
159
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
160
+ }
161
+
157
162
  default_config
158
163
  end
159
164
  yield @configure if block_given?
@@ -416,23 +421,23 @@ module Google
416
421
  # Required. The location that contains the BackupPlans to list.
417
422
  # Format: `projects/*/locations/*`
418
423
  # @param page_size [::Integer]
419
- # The target number of results to return in a single response.
424
+ # Optional. The target number of results to return in a single response.
420
425
  # If not specified, a default value will be chosen by the service.
421
- # Note that the response may inclue a partial list and a caller should
426
+ # Note that the response may include a partial list and a caller should
422
427
  # only rely on the response's
423
428
  # {::Google::Cloud::GkeBackup::V1::ListBackupPlansResponse#next_page_token next_page_token}
424
429
  # to determine if there are more instances left to be queried.
425
430
  # @param page_token [::String]
426
- # The value of
431
+ # Optional. The value of
427
432
  # {::Google::Cloud::GkeBackup::V1::ListBackupPlansResponse#next_page_token next_page_token}
428
433
  # received from a previous `ListBackupPlans` call.
429
434
  # Provide this to retrieve the subsequent page in a multi-page list of
430
435
  # results. When paginating, all other parameters provided to
431
436
  # `ListBackupPlans` must match the call that provided the page token.
432
437
  # @param filter [::String]
433
- # Field match expression used to filter the results.
438
+ # Optional. Field match expression used to filter the results.
434
439
  # @param order_by [::String]
435
- # Field by which to sort the results.
440
+ # Optional. Field by which to sort the results.
436
441
  #
437
442
  # @yield [response, operation] Access the result along with the RPC operation
438
443
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeBackup::V1::BackupPlan>]
@@ -611,7 +616,7 @@ module Google
611
616
  # Required. A new version of the BackupPlan resource that contains updated
612
617
  # fields. This may be sparsely populated if an `update_mask` is provided.
613
618
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
614
- # This is used to specify the fields to be overwritten in the
619
+ # Optional. This is used to specify the fields to be overwritten in the
615
620
  # BackupPlan targeted for update. The values for each of these
616
621
  # updated fields will be taken from the `backup_plan` provided
617
622
  # with this request. Field names are relative to the root of the resource
@@ -715,7 +720,7 @@ module Google
715
720
  # Required. Fully qualified BackupPlan name.
716
721
  # Format: `projects/*/locations/*/backupPlans/*`
717
722
  # @param etag [::String]
718
- # If provided, this value must match the current value of the
723
+ # Optional. If provided, this value must match the current value of the
719
724
  # target BackupPlan's {::Google::Cloud::GkeBackup::V1::BackupPlan#etag etag} field
720
725
  # or the request is rejected.
721
726
  #
@@ -813,9 +818,9 @@ module Google
813
818
  # Required. The BackupPlan within which to create the Backup.
814
819
  # Format: `projects/*/locations/*/backupPlans/*`
815
820
  # @param backup [::Google::Cloud::GkeBackup::V1::Backup, ::Hash]
816
- # The Backup resource to create.
821
+ # Optional. The Backup resource to create.
817
822
  # @param backup_id [::String]
818
- # The client-provided short name for the Backup resource.
823
+ # Optional. The client-provided short name for the Backup resource.
819
824
  # This name must:
820
825
  #
821
826
  # - be between 1 and 63 characters long (inclusive)
@@ -918,23 +923,23 @@ module Google
918
923
  # Required. The BackupPlan that contains the Backups to list.
919
924
  # Format: `projects/*/locations/*/backupPlans/*`
920
925
  # @param page_size [::Integer]
921
- # The target number of results to return in a single response.
926
+ # Optional. The target number of results to return in a single response.
922
927
  # If not specified, a default value will be chosen by the service.
923
- # Note that the response may inclue a partial list and a caller should
928
+ # Note that the response may include a partial list and a caller should
924
929
  # only rely on the response's
925
930
  # {::Google::Cloud::GkeBackup::V1::ListBackupsResponse#next_page_token next_page_token}
926
931
  # to determine if there are more instances left to be queried.
927
932
  # @param page_token [::String]
928
- # The value of
933
+ # Optional. The value of
929
934
  # {::Google::Cloud::GkeBackup::V1::ListBackupsResponse#next_page_token next_page_token}
930
935
  # received from a previous `ListBackups` call.
931
936
  # Provide this to retrieve the subsequent page in a multi-page list of
932
937
  # results. When paginating, all other parameters provided to
933
938
  # `ListBackups` must match the call that provided the page token.
934
939
  # @param filter [::String]
935
- # Field match expression used to filter the results.
940
+ # Optional. Field match expression used to filter the results.
936
941
  # @param order_by [::String]
937
- # Field by which to sort the results.
942
+ # Optional. Field by which to sort the results.
938
943
  #
939
944
  # @yield [response, operation] Access the result along with the RPC operation
940
945
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeBackup::V1::Backup>]
@@ -1113,7 +1118,7 @@ module Google
1113
1118
  # Required. A new version of the Backup resource that contains updated
1114
1119
  # fields. This may be sparsely populated if an `update_mask` is provided.
1115
1120
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1116
- # This is used to specify the fields to be overwritten in the
1121
+ # Optional. This is used to specify the fields to be overwritten in the
1117
1122
  # Backup targeted for update. The values for each of these
1118
1123
  # updated fields will be taken from the `backup_plan` provided
1119
1124
  # with this request. Field names are relative to the root of the resource.
@@ -1216,12 +1221,12 @@ module Google
1216
1221
  # Required. Name of the Backup resource.
1217
1222
  # Format: `projects/*/locations/*/backupPlans/*/backups/*`
1218
1223
  # @param etag [::String]
1219
- # If provided, this value must match the current value of the
1224
+ # Optional. If provided, this value must match the current value of the
1220
1225
  # target Backup's {::Google::Cloud::GkeBackup::V1::Backup#etag etag} field or the
1221
1226
  # request is rejected.
1222
1227
  # @param force [::Boolean]
1223
- # If set to true, any VolumeBackups below this Backup will also be deleted.
1224
- # Otherwise, the request will only succeed if the Backup has no
1228
+ # Optional. If set to true, any VolumeBackups below this Backup will also be
1229
+ # deleted. Otherwise, the request will only succeed if the Backup has no
1225
1230
  # VolumeBackups.
1226
1231
  #
1227
1232
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1318,23 +1323,23 @@ module Google
1318
1323
  # Required. The Backup that contains the VolumeBackups to list.
1319
1324
  # Format: `projects/*/locations/*/backupPlans/*/backups/*`
1320
1325
  # @param page_size [::Integer]
1321
- # The target number of results to return in a single response.
1326
+ # Optional. The target number of results to return in a single response.
1322
1327
  # If not specified, a default value will be chosen by the service.
1323
- # Note that the response may inclue a partial list and a caller should
1328
+ # Note that the response may include a partial list and a caller should
1324
1329
  # only rely on the response's
1325
1330
  # {::Google::Cloud::GkeBackup::V1::ListVolumeBackupsResponse#next_page_token next_page_token}
1326
1331
  # to determine if there are more instances left to be queried.
1327
1332
  # @param page_token [::String]
1328
- # The value of
1333
+ # Optional. The value of
1329
1334
  # {::Google::Cloud::GkeBackup::V1::ListVolumeBackupsResponse#next_page_token next_page_token}
1330
1335
  # received from a previous `ListVolumeBackups` call.
1331
1336
  # Provide this to retrieve the subsequent page in a multi-page list of
1332
1337
  # results. When paginating, all other parameters provided to
1333
1338
  # `ListVolumeBackups` must match the call that provided the page token.
1334
1339
  # @param filter [::String]
1335
- # Field match expression used to filter the results.
1340
+ # Optional. Field match expression used to filter the results.
1336
1341
  # @param order_by [::String]
1337
- # Field by which to sort the results.
1342
+ # Optional. Field by which to sort the results.
1338
1343
  #
1339
1344
  # @yield [response, operation] Access the result along with the RPC operation
1340
1345
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeBackup::V1::VolumeBackup>]
@@ -1618,23 +1623,23 @@ module Google
1618
1623
  # Required. The location that contains the RestorePlans to list.
1619
1624
  # Format: `projects/*/locations/*`
1620
1625
  # @param page_size [::Integer]
1621
- # The target number of results to return in a single response.
1626
+ # Optional. The target number of results to return in a single response.
1622
1627
  # If not specified, a default value will be chosen by the service.
1623
- # Note that the response may inclue a partial list and a caller should
1628
+ # Note that the response may include a partial list and a caller should
1624
1629
  # only rely on the response's
1625
1630
  # {::Google::Cloud::GkeBackup::V1::ListRestorePlansResponse#next_page_token next_page_token}
1626
1631
  # to determine if there are more instances left to be queried.
1627
1632
  # @param page_token [::String]
1628
- # The value of
1633
+ # Optional. The value of
1629
1634
  # {::Google::Cloud::GkeBackup::V1::ListRestorePlansResponse#next_page_token next_page_token}
1630
1635
  # received from a previous `ListRestorePlans` call.
1631
1636
  # Provide this to retrieve the subsequent page in a multi-page list of
1632
1637
  # results. When paginating, all other parameters provided to
1633
1638
  # `ListRestorePlans` must match the call that provided the page token.
1634
1639
  # @param filter [::String]
1635
- # Field match expression used to filter the results.
1640
+ # Optional. Field match expression used to filter the results.
1636
1641
  # @param order_by [::String]
1637
- # Field by which to sort the results.
1642
+ # Optional. Field by which to sort the results.
1638
1643
  #
1639
1644
  # @yield [response, operation] Access the result along with the RPC operation
1640
1645
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeBackup::V1::RestorePlan>]
@@ -1813,7 +1818,7 @@ module Google
1813
1818
  # Required. A new version of the RestorePlan resource that contains updated
1814
1819
  # fields. This may be sparsely populated if an `update_mask` is provided.
1815
1820
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1816
- # This is used to specify the fields to be overwritten in the
1821
+ # Optional. This is used to specify the fields to be overwritten in the
1817
1822
  # RestorePlan targeted for update. The values for each of these
1818
1823
  # updated fields will be taken from the `restore_plan` provided
1819
1824
  # with this request. Field names are relative to the root of the resource.
@@ -1916,12 +1921,12 @@ module Google
1916
1921
  # Required. Fully qualified RestorePlan name.
1917
1922
  # Format: `projects/*/locations/*/restorePlans/*`
1918
1923
  # @param etag [::String]
1919
- # If provided, this value must match the current value of the
1924
+ # Optional. If provided, this value must match the current value of the
1920
1925
  # target RestorePlan's {::Google::Cloud::GkeBackup::V1::RestorePlan#etag etag}
1921
1926
  # field or the request is rejected.
1922
1927
  # @param force [::Boolean]
1923
- # If set to true, any Restores below this RestorePlan will also be deleted.
1924
- # Otherwise, the request will only succeed if the RestorePlan has no
1928
+ # Optional. If set to true, any Restores below this RestorePlan will also be
1929
+ # deleted. Otherwise, the request will only succeed if the RestorePlan has no
1925
1930
  # Restores.
1926
1931
  #
1927
1932
  # @yield [response, operation] Access the result along with the RPC operation
@@ -2123,23 +2128,23 @@ module Google
2123
2128
  # Required. The RestorePlan that contains the Restores to list.
2124
2129
  # Format: `projects/*/locations/*/restorePlans/*`
2125
2130
  # @param page_size [::Integer]
2126
- # The target number of results to return in a single response.
2131
+ # Optional. The target number of results to return in a single response.
2127
2132
  # If not specified, a default value will be chosen by the service.
2128
- # Note that the response may inclue a partial list and a caller should
2133
+ # Note that the response may include a partial list and a caller should
2129
2134
  # only rely on the response's
2130
2135
  # {::Google::Cloud::GkeBackup::V1::ListRestoresResponse#next_page_token next_page_token}
2131
2136
  # to determine if there are more instances left to be queried.
2132
2137
  # @param page_token [::String]
2133
- # The value of
2138
+ # Optional. The value of
2134
2139
  # {::Google::Cloud::GkeBackup::V1::ListRestoresResponse#next_page_token next_page_token}
2135
2140
  # received from a previous `ListRestores` call.
2136
2141
  # Provide this to retrieve the subsequent page in a multi-page list of
2137
2142
  # results. When paginating, all other parameters provided to `ListRestores`
2138
2143
  # must match the call that provided the page token.
2139
2144
  # @param filter [::String]
2140
- # Field match expression used to filter the results.
2145
+ # Optional. Field match expression used to filter the results.
2141
2146
  # @param order_by [::String]
2142
- # Field by which to sort the results.
2147
+ # Optional. Field by which to sort the results.
2143
2148
  #
2144
2149
  # @yield [response, operation] Access the result along with the RPC operation
2145
2150
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeBackup::V1::Restore>]
@@ -2318,7 +2323,7 @@ module Google
2318
2323
  # Required. A new version of the Restore resource that contains updated
2319
2324
  # fields. This may be sparsely populated if an `update_mask` is provided.
2320
2325
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2321
- # This is used to specify the fields to be overwritten in the
2326
+ # Optional. This is used to specify the fields to be overwritten in the
2322
2327
  # Restore targeted for update. The values for each of these
2323
2328
  # updated fields will be taken from the `restore` provided
2324
2329
  # with this request. Field names are relative to the root of the resource.
@@ -2421,12 +2426,12 @@ module Google
2421
2426
  # Required. Full name of the Restore
2422
2427
  # Format: `projects/*/locations/*/restorePlans/*/restores/*`
2423
2428
  # @param etag [::String]
2424
- # If provided, this value must match the current value of the
2429
+ # Optional. If provided, this value must match the current value of the
2425
2430
  # target Restore's {::Google::Cloud::GkeBackup::V1::Restore#etag etag} field or
2426
2431
  # the request is rejected.
2427
2432
  # @param force [::Boolean]
2428
- # If set to true, any VolumeRestores below this restore will also be deleted.
2429
- # Otherwise, the request will only succeed if the restore has no
2433
+ # Optional. If set to true, any VolumeRestores below this restore will also
2434
+ # be deleted. Otherwise, the request will only succeed if the restore has no
2430
2435
  # VolumeRestores.
2431
2436
  #
2432
2437
  # @yield [response, operation] Access the result along with the RPC operation
@@ -2523,23 +2528,23 @@ module Google
2523
2528
  # Required. The Restore that contains the VolumeRestores to list.
2524
2529
  # Format: `projects/*/locations/*/restorePlans/*/restores/*`
2525
2530
  # @param page_size [::Integer]
2526
- # The target number of results to return in a single response.
2531
+ # Optional. The target number of results to return in a single response.
2527
2532
  # If not specified, a default value will be chosen by the service.
2528
- # Note that the response may inclue a partial list and a caller should
2533
+ # Note that the response may include a partial list and a caller should
2529
2534
  # only rely on the response's
2530
2535
  # {::Google::Cloud::GkeBackup::V1::ListVolumeRestoresResponse#next_page_token next_page_token}
2531
2536
  # to determine if there are more instances left to be queried.
2532
2537
  # @param page_token [::String]
2533
- # The value of
2538
+ # Optional. The value of
2534
2539
  # {::Google::Cloud::GkeBackup::V1::ListVolumeRestoresResponse#next_page_token next_page_token}
2535
2540
  # received from a previous `ListVolumeRestores` call.
2536
2541
  # Provide this to retrieve the subsequent page in a multi-page list of
2537
2542
  # results. When paginating, all other parameters provided to
2538
2543
  # `ListVolumeRestores` must match the call that provided the page token.
2539
2544
  # @param filter [::String]
2540
- # Field match expression used to filter the results.
2545
+ # Optional. Field match expression used to filter the results.
2541
2546
  # @param order_by [::String]
2542
- # Field by which to sort the results.
2547
+ # Optional. Field by which to sort the results.
2543
2548
  #
2544
2549
  # @yield [response, operation] Access the result along with the RPC operation
2545
2550
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::GkeBackup::V1::VolumeRestore>]
@@ -2696,6 +2701,93 @@ module Google
2696
2701
  raise ::Google::Cloud::Error.from_error(e)
2697
2702
  end
2698
2703
 
2704
+ ##
2705
+ # Retrieve the link to the backupIndex.
2706
+ #
2707
+ # @overload get_backup_index_download_url(request, options = nil)
2708
+ # Pass arguments to `get_backup_index_download_url` via a request object, either of type
2709
+ # {::Google::Cloud::GkeBackup::V1::GetBackupIndexDownloadUrlRequest} or an equivalent Hash.
2710
+ #
2711
+ # @param request [::Google::Cloud::GkeBackup::V1::GetBackupIndexDownloadUrlRequest, ::Hash]
2712
+ # A request object representing the call parameters. Required. To specify no
2713
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2714
+ # @param options [::Gapic::CallOptions, ::Hash]
2715
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2716
+ #
2717
+ # @overload get_backup_index_download_url(backup: nil)
2718
+ # Pass arguments to `get_backup_index_download_url` via keyword arguments. Note that at
2719
+ # least one keyword argument is required. To specify no parameters, or to keep all
2720
+ # the default parameter values, pass an empty Hash as a request object (see above).
2721
+ #
2722
+ # @param backup [::String]
2723
+ # Required. Full name of Backup resource.
2724
+ # Format:
2725
+ # projects/\\{project}/locations/\\{location}/backupPlans/\\{backup_plan}/backups/\\{backup}
2726
+ #
2727
+ # @yield [response, operation] Access the result along with the RPC operation
2728
+ # @yieldparam response [::Google::Cloud::GkeBackup::V1::GetBackupIndexDownloadUrlResponse]
2729
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2730
+ #
2731
+ # @return [::Google::Cloud::GkeBackup::V1::GetBackupIndexDownloadUrlResponse]
2732
+ #
2733
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2734
+ #
2735
+ # @example Basic example
2736
+ # require "google/cloud/gke_backup/v1"
2737
+ #
2738
+ # # Create a client object. The client can be reused for multiple calls.
2739
+ # client = Google::Cloud::GkeBackup::V1::BackupForGKE::Client.new
2740
+ #
2741
+ # # Create a request. To set request fields, pass in keyword arguments.
2742
+ # request = Google::Cloud::GkeBackup::V1::GetBackupIndexDownloadUrlRequest.new
2743
+ #
2744
+ # # Call the get_backup_index_download_url method.
2745
+ # result = client.get_backup_index_download_url request
2746
+ #
2747
+ # # The returned object is of type Google::Cloud::GkeBackup::V1::GetBackupIndexDownloadUrlResponse.
2748
+ # p result
2749
+ #
2750
+ def get_backup_index_download_url request, options = nil
2751
+ raise ::ArgumentError, "request must be provided" if request.nil?
2752
+
2753
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::GkeBackup::V1::GetBackupIndexDownloadUrlRequest
2754
+
2755
+ # Converts hash and nil to an options object
2756
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2757
+
2758
+ # Customize the options with defaults
2759
+ metadata = @config.rpcs.get_backup_index_download_url.metadata.to_h
2760
+
2761
+ # Set x-goog-api-client and x-goog-user-project headers
2762
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2763
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2764
+ gapic_version: ::Google::Cloud::GkeBackup::V1::VERSION
2765
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2766
+
2767
+ header_params = {}
2768
+ if request.backup
2769
+ header_params["backup"] = request.backup
2770
+ end
2771
+
2772
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2773
+ metadata[:"x-goog-request-params"] ||= request_params_header
2774
+
2775
+ options.apply_defaults timeout: @config.rpcs.get_backup_index_download_url.timeout,
2776
+ metadata: metadata,
2777
+ retry_policy: @config.rpcs.get_backup_index_download_url.retry_policy
2778
+
2779
+ options.apply_defaults timeout: @config.timeout,
2780
+ metadata: @config.metadata,
2781
+ retry_policy: @config.retry_policy
2782
+
2783
+ @backup_for_gke_stub.call_rpc :get_backup_index_download_url, request, options: options do |response, operation|
2784
+ yield response, operation if block_given?
2785
+ return response
2786
+ end
2787
+ rescue ::GRPC::BadStatus => e
2788
+ raise ::Google::Cloud::Error.from_error(e)
2789
+ end
2790
+
2699
2791
  ##
2700
2792
  # Configuration class for the BackupForGKE API.
2701
2793
  #
@@ -2969,6 +3061,11 @@ module Google
2969
3061
  # @return [::Gapic::Config::Method]
2970
3062
  #
2971
3063
  attr_reader :get_volume_restore
3064
+ ##
3065
+ # RPC-specific configuration for `get_backup_index_download_url`
3066
+ # @return [::Gapic::Config::Method]
3067
+ #
3068
+ attr_reader :get_backup_index_download_url
2972
3069
 
2973
3070
  # @private
2974
3071
  def initialize parent_rpcs = nil
@@ -3020,6 +3117,8 @@ module Google
3020
3117
  @list_volume_restores = ::Gapic::Config::Method.new list_volume_restores_config
3021
3118
  get_volume_restore_config = parent_rpcs.get_volume_restore if parent_rpcs.respond_to? :get_volume_restore
3022
3119
  @get_volume_restore = ::Gapic::Config::Method.new get_volume_restore_config
3120
+ get_backup_index_download_url_config = parent_rpcs.get_backup_index_download_url if parent_rpcs.respond_to? :get_backup_index_download_url
3121
+ @get_backup_index_download_url = ::Gapic::Config::Method.new get_backup_index_download_url_config
3023
3122
 
3024
3123
  yield self if block_given?
3025
3124
  end