google-cloud-gke_backup-v1 0.2.0 → 0.4.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: 4a7d6fa3eab2783452b46cc99aa1aaceb4132191561701bffe940079cc562add
4
- data.tar.gz: e464679fa23fb90995a085518e84a1c9dfc214c85ca460d6e856e84e77379b3d
3
+ metadata.gz: 8eb70b4ce5bfab0fa40fa48a3f3bac4a5f5ec0bc68480ada1afa9c6a262fc1c9
4
+ data.tar.gz: 59636d585e868eff9fee5abf8485fc656e8836ea3a28e418236ee33a5b473c9b
5
5
  SHA512:
6
- metadata.gz: 9847c921d8bb16cc729219944a0e9360ee9d602a2bbed7d3f15e2f33d0749f37b896e0b9bca3395fc5b36a409c2268ab53bd5d647736f0a9e7006fe1cfa7704f
7
- data.tar.gz: bb57a5ab17db4a18687bdcda2f9383724681655842013ad8889e62502eaa5f52a0dd5dcf6d30d187ebe1c5226f584bb787a0c3aca1f90f6732eb5702fad63673
6
+ metadata.gz: 7e402f1217ed212d11b2aad7d6c82f92b6127bd0250e8ab4f1bb4ca46803bcdc9be7cda2242c00cc9be4081013516a8363642e8c0217c31fe1e4e011b7474965
7
+ data.tar.gz: ba8b9ae140ef3426e1499cae19f06dd7120e0f1b28bdb062118030ecfa39c42bd7cd2b5c40fe9f23f940ced1ead2066f317520aafd0e2916a9886bc5787874db
data/AUTHENTICATION.md CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Backup for GKE V1 API
2
2
 
3
- API Client library for the Backup for GKE V1 API
3
+ Backup for GKE is a managed Kubernetes workload backup and restore service for GKE clusters.
4
4
 
5
5
  Backup for GKE lets you protect, manage, and restore your containerized applications and data for stateful workloads running on Google Kubernetes Engine clusters.
6
6
 
@@ -46,8 +46,8 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -208,7 +208,7 @@ module Google
208
208
  credentials = @config.credentials
209
209
  # Use self-signed JWT if the endpoint is unchanged from default,
210
210
  # but only if the default endpoint does not have a region prefix.
211
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
211
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
212
212
  !@config.endpoint.split(".").first.include?("-")
213
213
  credentials ||= Credentials.default scope: @config.scope,
214
214
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -295,14 +295,14 @@ module Google
295
295
  # # Call the create_backup_plan method.
296
296
  # result = client.create_backup_plan request
297
297
  #
298
- # # The returned object is of type Gapic::Operation. You can use this
299
- # # object to check the status of an operation, cancel it, or wait
300
- # # for results. Here is how to block until completion:
298
+ # # The returned object is of type Gapic::Operation. You can use it to
299
+ # # check the status of an operation, cancel it, or wait for results.
300
+ # # Here is how to wait for a response.
301
301
  # result.wait_until_done! timeout: 60
302
302
  # if result.response?
303
303
  # p result.response
304
304
  # else
305
- # puts "Error!"
305
+ # puts "No response received."
306
306
  # end
307
307
  #
308
308
  def create_backup_plan request, options = nil
@@ -407,13 +407,11 @@ module Google
407
407
  # # Call the list_backup_plans method.
408
408
  # result = client.list_backup_plans request
409
409
  #
410
- # # The returned object is of type Gapic::PagedEnumerable. You can
411
- # # iterate over all elements by calling #each, and the enumerable
412
- # # will lazily make API calls to fetch subsequent pages. Other
413
- # # methods are also available for managing paging directly.
414
- # result.each do |response|
410
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
411
+ # # over elements, and API calls will be issued to fetch pages as needed.
412
+ # result.each do |item|
415
413
  # # Each element is of type ::Google::Cloud::GkeBackup::V1::BackupPlan.
416
- # p response
414
+ # p item
417
415
  # end
418
416
  #
419
417
  def list_backup_plans request, options = nil
@@ -596,14 +594,14 @@ module Google
596
594
  # # Call the update_backup_plan method.
597
595
  # result = client.update_backup_plan request
598
596
  #
599
- # # The returned object is of type Gapic::Operation. You can use this
600
- # # object to check the status of an operation, cancel it, or wait
601
- # # for results. Here is how to block until completion:
597
+ # # The returned object is of type Gapic::Operation. You can use it to
598
+ # # check the status of an operation, cancel it, or wait for results.
599
+ # # Here is how to wait for a response.
602
600
  # result.wait_until_done! timeout: 60
603
601
  # if result.response?
604
602
  # p result.response
605
603
  # else
606
- # puts "Error!"
604
+ # puts "No response received."
607
605
  # end
608
606
  #
609
607
  def update_backup_plan request, options = nil
@@ -694,14 +692,14 @@ module Google
694
692
  # # Call the delete_backup_plan method.
695
693
  # result = client.delete_backup_plan request
696
694
  #
697
- # # The returned object is of type Gapic::Operation. You can use this
698
- # # object to check the status of an operation, cancel it, or wait
699
- # # for results. Here is how to block until completion:
695
+ # # The returned object is of type Gapic::Operation. You can use it to
696
+ # # check the status of an operation, cancel it, or wait for results.
697
+ # # Here is how to wait for a response.
700
698
  # result.wait_until_done! timeout: 60
701
699
  # if result.response?
702
700
  # p result.response
703
701
  # else
704
- # puts "Error!"
702
+ # puts "No response received."
705
703
  # end
706
704
  #
707
705
  def delete_backup_plan request, options = nil
@@ -799,14 +797,14 @@ module Google
799
797
  # # Call the create_backup method.
800
798
  # result = client.create_backup request
801
799
  #
802
- # # The returned object is of type Gapic::Operation. You can use this
803
- # # object to check the status of an operation, cancel it, or wait
804
- # # for results. Here is how to block until completion:
800
+ # # The returned object is of type Gapic::Operation. You can use it to
801
+ # # check the status of an operation, cancel it, or wait for results.
802
+ # # Here is how to wait for a response.
805
803
  # result.wait_until_done! timeout: 60
806
804
  # if result.response?
807
805
  # p result.response
808
806
  # else
809
- # puts "Error!"
807
+ # puts "No response received."
810
808
  # end
811
809
  #
812
810
  def create_backup request, options = nil
@@ -911,13 +909,11 @@ module Google
911
909
  # # Call the list_backups method.
912
910
  # result = client.list_backups request
913
911
  #
914
- # # The returned object is of type Gapic::PagedEnumerable. You can
915
- # # iterate over all elements by calling #each, and the enumerable
916
- # # will lazily make API calls to fetch subsequent pages. Other
917
- # # methods are also available for managing paging directly.
918
- # result.each do |response|
912
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
913
+ # # over elements, and API calls will be issued to fetch pages as needed.
914
+ # result.each do |item|
919
915
  # # Each element is of type ::Google::Cloud::GkeBackup::V1::Backup.
920
- # p response
916
+ # p item
921
917
  # end
922
918
  #
923
919
  def list_backups request, options = nil
@@ -1099,14 +1095,14 @@ module Google
1099
1095
  # # Call the update_backup method.
1100
1096
  # result = client.update_backup request
1101
1097
  #
1102
- # # The returned object is of type Gapic::Operation. You can use this
1103
- # # object to check the status of an operation, cancel it, or wait
1104
- # # for results. Here is how to block until completion:
1098
+ # # The returned object is of type Gapic::Operation. You can use it to
1099
+ # # check the status of an operation, cancel it, or wait for results.
1100
+ # # Here is how to wait for a response.
1105
1101
  # result.wait_until_done! timeout: 60
1106
1102
  # if result.response?
1107
1103
  # p result.response
1108
1104
  # else
1109
- # puts "Error!"
1105
+ # puts "No response received."
1110
1106
  # end
1111
1107
  #
1112
1108
  def update_backup request, options = nil
@@ -1201,14 +1197,14 @@ module Google
1201
1197
  # # Call the delete_backup method.
1202
1198
  # result = client.delete_backup request
1203
1199
  #
1204
- # # The returned object is of type Gapic::Operation. You can use this
1205
- # # object to check the status of an operation, cancel it, or wait
1206
- # # for results. Here is how to block until completion:
1200
+ # # The returned object is of type Gapic::Operation. You can use it to
1201
+ # # check the status of an operation, cancel it, or wait for results.
1202
+ # # Here is how to wait for a response.
1207
1203
  # result.wait_until_done! timeout: 60
1208
1204
  # if result.response?
1209
1205
  # p result.response
1210
1206
  # else
1211
- # puts "Error!"
1207
+ # puts "No response received."
1212
1208
  # end
1213
1209
  #
1214
1210
  def delete_backup request, options = nil
@@ -1313,13 +1309,11 @@ module Google
1313
1309
  # # Call the list_volume_backups method.
1314
1310
  # result = client.list_volume_backups request
1315
1311
  #
1316
- # # The returned object is of type Gapic::PagedEnumerable. You can
1317
- # # iterate over all elements by calling #each, and the enumerable
1318
- # # will lazily make API calls to fetch subsequent pages. Other
1319
- # # methods are also available for managing paging directly.
1320
- # result.each do |response|
1312
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1313
+ # # over elements, and API calls will be issued to fetch pages as needed.
1314
+ # result.each do |item|
1321
1315
  # # Each element is of type ::Google::Cloud::GkeBackup::V1::VolumeBackup.
1322
- # p response
1316
+ # p item
1323
1317
  # end
1324
1318
  #
1325
1319
  def list_volume_backups request, options = nil
@@ -1503,14 +1497,14 @@ module Google
1503
1497
  # # Call the create_restore_plan method.
1504
1498
  # result = client.create_restore_plan request
1505
1499
  #
1506
- # # The returned object is of type Gapic::Operation. You can use this
1507
- # # object to check the status of an operation, cancel it, or wait
1508
- # # for results. Here is how to block until completion:
1500
+ # # The returned object is of type Gapic::Operation. You can use it to
1501
+ # # check the status of an operation, cancel it, or wait for results.
1502
+ # # Here is how to wait for a response.
1509
1503
  # result.wait_until_done! timeout: 60
1510
1504
  # if result.response?
1511
1505
  # p result.response
1512
1506
  # else
1513
- # puts "Error!"
1507
+ # puts "No response received."
1514
1508
  # end
1515
1509
  #
1516
1510
  def create_restore_plan request, options = nil
@@ -1615,13 +1609,11 @@ module Google
1615
1609
  # # Call the list_restore_plans method.
1616
1610
  # result = client.list_restore_plans request
1617
1611
  #
1618
- # # The returned object is of type Gapic::PagedEnumerable. You can
1619
- # # iterate over all elements by calling #each, and the enumerable
1620
- # # will lazily make API calls to fetch subsequent pages. Other
1621
- # # methods are also available for managing paging directly.
1622
- # result.each do |response|
1612
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1613
+ # # over elements, and API calls will be issued to fetch pages as needed.
1614
+ # result.each do |item|
1623
1615
  # # Each element is of type ::Google::Cloud::GkeBackup::V1::RestorePlan.
1624
- # p response
1616
+ # p item
1625
1617
  # end
1626
1618
  #
1627
1619
  def list_restore_plans request, options = nil
@@ -1803,14 +1795,14 @@ module Google
1803
1795
  # # Call the update_restore_plan method.
1804
1796
  # result = client.update_restore_plan request
1805
1797
  #
1806
- # # The returned object is of type Gapic::Operation. You can use this
1807
- # # object to check the status of an operation, cancel it, or wait
1808
- # # for results. Here is how to block until completion:
1798
+ # # The returned object is of type Gapic::Operation. You can use it to
1799
+ # # check the status of an operation, cancel it, or wait for results.
1800
+ # # Here is how to wait for a response.
1809
1801
  # result.wait_until_done! timeout: 60
1810
1802
  # if result.response?
1811
1803
  # p result.response
1812
1804
  # else
1813
- # puts "Error!"
1805
+ # puts "No response received."
1814
1806
  # end
1815
1807
  #
1816
1808
  def update_restore_plan request, options = nil
@@ -1905,14 +1897,14 @@ module Google
1905
1897
  # # Call the delete_restore_plan method.
1906
1898
  # result = client.delete_restore_plan request
1907
1899
  #
1908
- # # The returned object is of type Gapic::Operation. You can use this
1909
- # # object to check the status of an operation, cancel it, or wait
1910
- # # for results. Here is how to block until completion:
1900
+ # # The returned object is of type Gapic::Operation. You can use it to
1901
+ # # check the status of an operation, cancel it, or wait for results.
1902
+ # # Here is how to wait for a response.
1911
1903
  # result.wait_until_done! timeout: 60
1912
1904
  # if result.response?
1913
1905
  # p result.response
1914
1906
  # else
1915
- # puts "Error!"
1907
+ # puts "No response received."
1916
1908
  # end
1917
1909
  #
1918
1910
  def delete_restore_plan request, options = nil
@@ -2010,14 +2002,14 @@ module Google
2010
2002
  # # Call the create_restore method.
2011
2003
  # result = client.create_restore request
2012
2004
  #
2013
- # # The returned object is of type Gapic::Operation. You can use this
2014
- # # object to check the status of an operation, cancel it, or wait
2015
- # # for results. Here is how to block until completion:
2005
+ # # The returned object is of type Gapic::Operation. You can use it to
2006
+ # # check the status of an operation, cancel it, or wait for results.
2007
+ # # Here is how to wait for a response.
2016
2008
  # result.wait_until_done! timeout: 60
2017
2009
  # if result.response?
2018
2010
  # p result.response
2019
2011
  # else
2020
- # puts "Error!"
2012
+ # puts "No response received."
2021
2013
  # end
2022
2014
  #
2023
2015
  def create_restore request, options = nil
@@ -2122,13 +2114,11 @@ module Google
2122
2114
  # # Call the list_restores method.
2123
2115
  # result = client.list_restores request
2124
2116
  #
2125
- # # The returned object is of type Gapic::PagedEnumerable. You can
2126
- # # iterate over all elements by calling #each, and the enumerable
2127
- # # will lazily make API calls to fetch subsequent pages. Other
2128
- # # methods are also available for managing paging directly.
2129
- # result.each do |response|
2117
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2118
+ # # over elements, and API calls will be issued to fetch pages as needed.
2119
+ # result.each do |item|
2130
2120
  # # Each element is of type ::Google::Cloud::GkeBackup::V1::Restore.
2131
- # p response
2121
+ # p item
2132
2122
  # end
2133
2123
  #
2134
2124
  def list_restores request, options = nil
@@ -2310,14 +2300,14 @@ module Google
2310
2300
  # # Call the update_restore method.
2311
2301
  # result = client.update_restore request
2312
2302
  #
2313
- # # The returned object is of type Gapic::Operation. You can use this
2314
- # # object to check the status of an operation, cancel it, or wait
2315
- # # for results. Here is how to block until completion:
2303
+ # # The returned object is of type Gapic::Operation. You can use it to
2304
+ # # check the status of an operation, cancel it, or wait for results.
2305
+ # # Here is how to wait for a response.
2316
2306
  # result.wait_until_done! timeout: 60
2317
2307
  # if result.response?
2318
2308
  # p result.response
2319
2309
  # else
2320
- # puts "Error!"
2310
+ # puts "No response received."
2321
2311
  # end
2322
2312
  #
2323
2313
  def update_restore request, options = nil
@@ -2412,14 +2402,14 @@ module Google
2412
2402
  # # Call the delete_restore method.
2413
2403
  # result = client.delete_restore request
2414
2404
  #
2415
- # # The returned object is of type Gapic::Operation. You can use this
2416
- # # object to check the status of an operation, cancel it, or wait
2417
- # # for results. Here is how to block until completion:
2405
+ # # The returned object is of type Gapic::Operation. You can use it to
2406
+ # # check the status of an operation, cancel it, or wait for results.
2407
+ # # Here is how to wait for a response.
2418
2408
  # result.wait_until_done! timeout: 60
2419
2409
  # if result.response?
2420
2410
  # p result.response
2421
2411
  # else
2422
- # puts "Error!"
2412
+ # puts "No response received."
2423
2413
  # end
2424
2414
  #
2425
2415
  def delete_restore request, options = nil
@@ -2524,13 +2514,11 @@ module Google
2524
2514
  # # Call the list_volume_restores method.
2525
2515
  # result = client.list_volume_restores request
2526
2516
  #
2527
- # # The returned object is of type Gapic::PagedEnumerable. You can
2528
- # # iterate over all elements by calling #each, and the enumerable
2529
- # # will lazily make API calls to fetch subsequent pages. Other
2530
- # # methods are also available for managing paging directly.
2531
- # result.each do |response|
2517
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2518
+ # # over elements, and API calls will be issued to fetch pages as needed.
2519
+ # result.each do |item|
2532
2520
  # # Each element is of type ::Google::Cloud::GkeBackup::V1::VolumeRestore.
2533
- # p response
2521
+ # p item
2534
2522
  # end
2535
2523
  #
2536
2524
  def list_volume_restores request, options = nil
@@ -2699,9 +2687,9 @@ module Google
2699
2687
  # * (`String`) The path to a service account key file in JSON format
2700
2688
  # * (`Hash`) A service account key as a Hash
2701
2689
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2702
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
2690
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2703
2691
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2704
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
2692
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2705
2693
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2706
2694
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2707
2695
  # * (`nil`) indicating no credentials
@@ -2743,7 +2731,9 @@ module Google
2743
2731
  class Configuration
2744
2732
  extend ::Gapic::Config
2745
2733
 
2746
- config_attr :endpoint, "gkebackup.googleapis.com", ::String
2734
+ DEFAULT_ENDPOINT = "gkebackup.googleapis.com"
2735
+
2736
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
2747
2737
  config_attr :credentials, nil do |value|
2748
2738
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2749
2739
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -158,13 +158,11 @@ module Google
158
158
  # # Call the list_operations method.
159
159
  # result = client.list_operations request
160
160
  #
161
- # # The returned object is of type Gapic::PagedEnumerable. You can
162
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
164
- # # methods are also available for managing paging directly.
165
- # result.each do |response|
161
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
162
+ # # over elements, and API calls will be issued to fetch pages as needed.
163
+ # result.each do |item|
166
164
  # # Each element is of type ::Google::Longrunning::Operation.
167
- # p response
165
+ # p item
168
166
  # end
169
167
  #
170
168
  def list_operations request, options = nil
@@ -253,14 +251,14 @@ module Google
253
251
  # # Call the get_operation method.
254
252
  # result = client.get_operation request
255
253
  #
256
- # # The returned object is of type Gapic::Operation. You can use this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
254
+ # # The returned object is of type Gapic::Operation. You can use it to
255
+ # # check the status of an operation, cancel it, or wait for results.
256
+ # # Here is how to wait for a response.
259
257
  # result.wait_until_done! timeout: 60
260
258
  # if result.response?
261
259
  # p result.response
262
260
  # else
263
- # puts "Error!"
261
+ # puts "No response received."
264
262
  # end
265
263
  #
266
264
  def get_operation request, options = nil
@@ -540,14 +538,14 @@ module Google
540
538
  # # Call the wait_operation method.
541
539
  # result = client.wait_operation request
542
540
  #
543
- # # The returned object is of type Gapic::Operation. You can use this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
541
+ # # The returned object is of type Gapic::Operation. You can use it to
542
+ # # check the status of an operation, cancel it, or wait for results.
543
+ # # Here is how to wait for a response.
546
544
  # result.wait_until_done! timeout: 60
547
545
  # if result.response?
548
546
  # p result.response
549
547
  # else
550
- # puts "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil
@@ -622,9 +620,9 @@ module Google
622
620
  # * (`String`) The path to a service account key file in JSON format
623
621
  # * (`Hash`) A service account key as a Hash
624
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
625
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
626
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
627
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
628
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
629
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
630
628
  # * (`nil`) indicating no credentials
@@ -666,7 +664,9 @@ module Google
666
664
  class Configuration
667
665
  extend ::Gapic::Config
668
666
 
669
- config_attr :endpoint, "gkebackup.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "gkebackup.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
670
670
  config_attr :credentials, nil do |value|
671
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
672
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC