google-cloud-backupdr-v1 0.1.0 → 0.2.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/backupdr/v1/backupdr/client.rb +11 -4
- data/lib/google/cloud/backupdr/v1/backupdr/operations.rb +13 -5
- data/lib/google/cloud/backupdr/v1/backupdr/rest/client.rb +11 -4
- data/lib/google/cloud/backupdr/v1/backupdr/rest/operations.rb +11 -4
- data/lib/google/cloud/backupdr/v1/backupdr_pb.rb +3 -1
- data/lib/google/cloud/backupdr/v1/bindings_override.rb +0 -8
- data/lib/google/cloud/backupdr/v1/version.rb +1 -1
- data/proto_docs/google/cloud/backupdr/v1/backupdr.rb +6 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b715518301177339827269f412a6b313a603eeb9245c10cd62b0a2be6ccd1bfa
|
|
4
|
+
data.tar.gz: 744ffc0003d452a0a58e23bd909422fe83cd1a444d5ae307251ed7730294fca3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e4d510e94d2c48c8dc335312ade219304777756b8f11a390840022266528610f6de9678010603786242f03badf495c3c0e02dca13fcd04b2997757711e369e1
|
|
7
|
+
data.tar.gz: 24ddeebd651a1b4e95ff587d4e240aa58966a3be376f63aad5dfad1b0a3d1d8ffcf4ec77f64d258e2001b9668703e35b3cefa87caf39affe38ee1e1fd769be3c
|
data/README.md
CHANGED
|
@@ -40,7 +40,7 @@ response = client.list_management_servers request
|
|
|
40
40
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest)
|
|
41
41
|
for class and method documentation.
|
|
42
42
|
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/backup-disaster-recovery/docs/
|
|
43
|
+
See also the [Product Documentation](https://cloud.google.com/backup-disaster-recovery/docs/reference/rpc)
|
|
44
44
|
for general usage information.
|
|
45
45
|
|
|
46
46
|
## Enabling Logging
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# The BackupDR Service
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "backupdr.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -290,10 +293,11 @@ module Google
|
|
|
290
293
|
# Customize the options with defaults
|
|
291
294
|
metadata = @config.rpcs.list_management_servers.metadata.to_h
|
|
292
295
|
|
|
293
|
-
# Set x-goog-api-client
|
|
296
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
294
297
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
295
298
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
296
299
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
300
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
297
301
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
298
302
|
|
|
299
303
|
header_params = {}
|
|
@@ -377,10 +381,11 @@ module Google
|
|
|
377
381
|
# Customize the options with defaults
|
|
378
382
|
metadata = @config.rpcs.get_management_server.metadata.to_h
|
|
379
383
|
|
|
380
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
381
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
382
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
383
387
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
384
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
385
390
|
|
|
386
391
|
header_params = {}
|
|
@@ -491,10 +496,11 @@ module Google
|
|
|
491
496
|
# Customize the options with defaults
|
|
492
497
|
metadata = @config.rpcs.create_management_server.metadata.to_h
|
|
493
498
|
|
|
494
|
-
# Set x-goog-api-client
|
|
499
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
495
500
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
496
501
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
497
502
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
503
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
498
504
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
499
505
|
|
|
500
506
|
header_params = {}
|
|
@@ -598,10 +604,11 @@ module Google
|
|
|
598
604
|
# Customize the options with defaults
|
|
599
605
|
metadata = @config.rpcs.delete_management_server.metadata.to_h
|
|
600
606
|
|
|
601
|
-
# Set x-goog-api-client
|
|
607
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
602
608
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
603
609
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
604
610
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
611
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
605
612
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
606
613
|
|
|
607
614
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module BackupDR
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "backupdr.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -191,10 +194,11 @@ module Google
|
|
|
191
194
|
# Customize the options with defaults
|
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
196
|
|
|
194
|
-
# Set x-goog-api-client
|
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
200
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -34,6 +34,9 @@ module Google
|
|
|
34
34
|
# The BackupDR Service
|
|
35
35
|
#
|
|
36
36
|
class Client
|
|
37
|
+
# @private
|
|
38
|
+
API_VERSION = ""
|
|
39
|
+
|
|
37
40
|
# @private
|
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "backupdr.$UNIVERSE_DOMAIN$"
|
|
39
42
|
|
|
@@ -284,12 +287,13 @@ module Google
|
|
|
284
287
|
# Customize the options with defaults
|
|
285
288
|
call_metadata = @config.rpcs.list_management_servers.metadata.to_h
|
|
286
289
|
|
|
287
|
-
# Set x-goog-api-client
|
|
290
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
288
291
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
289
292
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
290
293
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
291
294
|
transports_version_send: [:rest]
|
|
292
295
|
|
|
296
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
293
297
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
294
298
|
|
|
295
299
|
options.apply_defaults timeout: @config.rpcs.list_management_servers.timeout,
|
|
@@ -363,12 +367,13 @@ module Google
|
|
|
363
367
|
# Customize the options with defaults
|
|
364
368
|
call_metadata = @config.rpcs.get_management_server.metadata.to_h
|
|
365
369
|
|
|
366
|
-
# Set x-goog-api-client
|
|
370
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
367
371
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
368
372
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
369
373
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
370
374
|
transports_version_send: [:rest]
|
|
371
375
|
|
|
376
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
372
377
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
373
378
|
|
|
374
379
|
options.apply_defaults timeout: @config.rpcs.get_management_server.timeout,
|
|
@@ -470,12 +475,13 @@ module Google
|
|
|
470
475
|
# Customize the options with defaults
|
|
471
476
|
call_metadata = @config.rpcs.create_management_server.metadata.to_h
|
|
472
477
|
|
|
473
|
-
# Set x-goog-api-client
|
|
478
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
479
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
480
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
481
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
477
482
|
transports_version_send: [:rest]
|
|
478
483
|
|
|
484
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
479
485
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
480
486
|
|
|
481
487
|
options.apply_defaults timeout: @config.rpcs.create_management_server.timeout,
|
|
@@ -570,12 +576,13 @@ module Google
|
|
|
570
576
|
# Customize the options with defaults
|
|
571
577
|
call_metadata = @config.rpcs.delete_management_server.metadata.to_h
|
|
572
578
|
|
|
573
|
-
# Set x-goog-api-client
|
|
579
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
574
580
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
575
581
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
576
582
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
577
583
|
transports_version_send: [:rest]
|
|
578
584
|
|
|
585
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
579
586
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
580
587
|
|
|
581
588
|
options.apply_defaults timeout: @config.rpcs.delete_management_server.timeout,
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module Rest
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "backupdr.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -181,12 +184,13 @@ module Google
|
|
|
181
184
|
# Customize the options with defaults
|
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
183
186
|
|
|
184
|
-
# Set x-goog-api-client
|
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
187
190
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
188
191
|
transports_version_send: [:rest]
|
|
189
192
|
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
191
195
|
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -269,12 +273,13 @@ module Google
|
|
|
269
273
|
# Customize the options with defaults
|
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
271
275
|
|
|
272
|
-
# Set x-goog-api-client
|
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
275
279
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
276
280
|
transports_version_send: [:rest]
|
|
277
281
|
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
279
284
|
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -351,12 +356,13 @@ module Google
|
|
|
351
356
|
# Customize the options with defaults
|
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
353
358
|
|
|
354
|
-
# Set x-goog-api-client
|
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
357
362
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
358
363
|
transports_version_send: [:rest]
|
|
359
364
|
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
361
367
|
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -438,12 +444,13 @@ module Google
|
|
|
438
444
|
# Customize the options with defaults
|
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
440
446
|
|
|
441
|
-
# Set x-goog-api-client
|
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
444
450
|
gapic_version: ::Google::Cloud::BackupDR::V1::VERSION,
|
|
445
451
|
transports_version_send: [:rest]
|
|
446
452
|
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
448
455
|
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
|
@@ -11,9 +11,10 @@ require 'google/api/resource_pb'
|
|
|
11
11
|
require 'google/longrunning/operations_pb'
|
|
12
12
|
require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
|
14
|
+
require 'google/protobuf/wrappers_pb'
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
descriptor_data = "\n\'google/cloud/backupdr/v1/backupdr.proto\x12\x18google.cloud.backupdr.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbe\x01\n\rNetworkConfig\x12\x14\n\x07network\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12N\n\x0cpeering_mode\x18\x02 \x01(\x0e\x32\x33.google.cloud.backupdr.v1.NetworkConfig.PeeringModeB\x03\xe0\x41\x01\"G\n\x0bPeeringMode\x12\x1c\n\x18PEERING_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x01\"6\n\rManagementURI\x12\x13\n\x06web_ui\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03\x61pi\x18\x02 \x01(\tB\x03\xe0\x41\x03\"w\n#WorkforceIdentityBasedManagementURI\x12\'\n\x1a\x66irst_party_management_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1athird_party_management_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\"|\n$WorkforceIdentityBasedOAuth2ClientID\x12)\n\x1c\x66irst_party_oauth2_client_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12)\n\x1cthird_party_oauth2_client_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\
|
|
17
|
+
descriptor_data = "\n\'google/cloud/backupdr/v1/backupdr.proto\x12\x18google.cloud.backupdr.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xbe\x01\n\rNetworkConfig\x12\x14\n\x07network\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12N\n\x0cpeering_mode\x18\x02 \x01(\x0e\x32\x33.google.cloud.backupdr.v1.NetworkConfig.PeeringModeB\x03\xe0\x41\x01\"G\n\x0bPeeringMode\x12\x1c\n\x18PEERING_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x01\"6\n\rManagementURI\x12\x13\n\x06web_ui\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03\x61pi\x18\x02 \x01(\tB\x03\xe0\x41\x03\"w\n#WorkforceIdentityBasedManagementURI\x12\'\n\x1a\x66irst_party_management_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1athird_party_management_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\"|\n$WorkforceIdentityBasedOAuth2ClientID\x12)\n\x1c\x66irst_party_oauth2_client_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12)\n\x1cthird_party_oauth2_client_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xd1\n\n\x10ManagementServer\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x08\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12K\n\x06labels\x18\x04 \x03(\x0b\x32\x36.google.cloud.backupdr.v1.ManagementServer.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x04type\x18\x0e \x01(\x0e\x32\x37.google.cloud.backupdr.v1.ManagementServer.InstanceTypeB\x03\xe0\x41\x01\x12\x44\n\x0emanagement_uri\x18\x0b \x01(\x0b\x32\'.google.cloud.backupdr.v1.ManagementURIB\x03\xe0\x41\x03\x12s\n\'workforce_identity_based_management_uri\x18\x10 \x01(\x0b\x32=.google.cloud.backupdr.v1.WorkforceIdentityBasedManagementURIB\x03\xe0\x41\x03\x12L\n\x05state\x18\x07 \x01(\x0e\x32\x38.google.cloud.backupdr.v1.ManagementServer.InstanceStateB\x03\xe0\x41\x03\x12>\n\x08networks\x18\x08 \x03(\x0b\x32\'.google.cloud.backupdr.v1.NetworkConfigB\x03\xe0\x41\x02\x12\x11\n\x04\x65tag\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10oauth2_client_id\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12v\n)workforce_identity_based_oauth2_client_id\x18\x11 \x01(\x0b\x32>.google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientIDB\x03\xe0\x41\x03\x12\x19\n\x0c\x62\x61_proxy_uri\x18\x12 \x03(\tB\x03\xe0\x41\x03\x12\x36\n\rsatisfies_pzs\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x14 \x01(\x08\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\x0cInstanceType\x12\x1d\n\x19INSTANCE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x42\x41\x43KUP_RESTORE\x10\x01\"\x8f\x01\n\rInstanceState\x12\x1e\n\x1aINSTANCE_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x0f\n\x0bMAINTENANCE\x10\x06\x12\t\n\x05\x45RROR\x10\x07:\xa1\x01\xea\x41\x9d\x01\n(backupdr.googleapis.com/ManagementServer\x12Lprojects/{project}/locations/{location}/managementServers/{managementserver}*\x11managementServers2\x10managementServer\"\xdf\x01\n\x1cListManagementServersRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(backupdr.googleapis.com/ManagementServer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1a\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\t\n\x07_filterB\x0b\n\t_order_by\"\x95\x01\n\x1dListManagementServersResponse\x12\x46\n\x12management_servers\x18\x01 \x03(\x0b\x32*.google.cloud.backupdr.v1.ManagementServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\\\n\x1aGetManagementServerRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(backupdr.googleapis.com/ManagementServer\"\xe9\x01\n\x1d\x43reateManagementServerRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(backupdr.googleapis.com/ManagementServer\x12!\n\x14management_server_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x11management_server\x18\x03 \x01(\x0b\x32*.google.cloud.backupdr.v1.ManagementServerB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"x\n\x1d\x44\x65leteManagementServerRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(backupdr.googleapis.com/ManagementServer\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x96\x03\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12]\n\x0f\x61\x64\x64itional_info\x18\x08 \x03(\x0b\x32?.google.cloud.backupdr.v1.OperationMetadata.AdditionalInfoEntryB\x03\xe0\x41\x03\x1a\x35\n\x13\x41\x64\x64itionalInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32\xee\x07\n\x08\x42\x61\x63kupDR\x12\xd0\x01\n\x15ListManagementServers\x12\x36.google.cloud.backupdr.v1.ListManagementServersRequest\x1a\x37.google.cloud.backupdr.v1.ListManagementServersResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/managementServers\x12\xbd\x01\n\x13GetManagementServer\x12\x34.google.cloud.backupdr.v1.GetManagementServerRequest\x1a*.google.cloud.backupdr.v1.ManagementServer\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/managementServers/*}\x12\x9b\x02\n\x16\x43reateManagementServer\x12\x37.google.cloud.backupdr.v1.CreateManagementServerRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x01\xca\x41%\n\x10ManagementServer\x12\x11OperationMetadata\xda\x41-parent,management_server,management_server_id\x82\xd3\xe4\x93\x02J\"5/v1/{parent=projects/*/locations/*}/managementServers:\x11management_server\x12\xe3\x01\n\x16\x44\x65leteManagementServer\x12\x37.google.cloud.backupdr.v1.DeleteManagementServerRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/managementServers/*}\x1aK\xca\x41\x17\x62\x61\x63kupdr.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x01\n\x1c\x63om.google.cloud.backupdr.v1B\rBackupDRProtoP\x01Z8cloud.google.com/go/backupdr/apiv1/backupdrpb;backupdrpb\xaa\x02\x18Google.Cloud.BackupDR.V1\xca\x02\x18Google\\Cloud\\BackupDR\\V1\xea\x02\x1bGoogle::Cloud::BackupDR::V1b\x06proto3"
|
|
17
18
|
|
|
18
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
20
|
|
|
@@ -29,6 +30,7 @@ rescue TypeError
|
|
|
29
30
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
30
31
|
imports = [
|
|
31
32
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
33
|
+
["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
|
|
32
34
|
]
|
|
33
35
|
imports.each do |type_name, expected_filename|
|
|
34
36
|
import_file = pool.lookup(type_name).file_descriptor
|
|
@@ -95,14 +95,6 @@ module Google
|
|
|
95
95
|
["resource", %r{^projects/[^/]+/locations/[^/]+/managementServers/[^/]+/?$}, false]
|
|
96
96
|
],
|
|
97
97
|
body: "*"
|
|
98
|
-
),
|
|
99
|
-
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
100
|
-
uri_method: :post,
|
|
101
|
-
uri_template: "/v1/{resource}:testIamPermissions",
|
|
102
|
-
matches: [
|
|
103
|
-
["resource", %r{^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/?$}, false]
|
|
104
|
-
],
|
|
105
|
-
body: "*"
|
|
106
98
|
)
|
|
107
99
|
]
|
|
108
100
|
default_config
|
|
@@ -138,6 +138,12 @@ module Google
|
|
|
138
138
|
# @return [::Array<::String>]
|
|
139
139
|
# Output only. The hostname or ip address of the exposed AGM endpoints, used
|
|
140
140
|
# by BAs to connect to BA proxy.
|
|
141
|
+
# @!attribute [r] satisfies_pzs
|
|
142
|
+
# @return [::Google::Protobuf::BoolValue]
|
|
143
|
+
# Output only. Reserved for future use.
|
|
144
|
+
# @!attribute [r] satisfies_pzi
|
|
145
|
+
# @return [::Boolean]
|
|
146
|
+
# Output only. Reserved for future use.
|
|
141
147
|
class ManagementServer
|
|
142
148
|
include ::Google::Protobuf::MessageExts
|
|
143
149
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Protobuf
|
|
22
|
+
# Wrapper message for `double`.
|
|
23
|
+
#
|
|
24
|
+
# The JSON representation for `DoubleValue` is JSON number.
|
|
25
|
+
# @!attribute [rw] value
|
|
26
|
+
# @return [::Float]
|
|
27
|
+
# The double value.
|
|
28
|
+
class DoubleValue
|
|
29
|
+
include ::Google::Protobuf::MessageExts
|
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Wrapper message for `float`.
|
|
34
|
+
#
|
|
35
|
+
# The JSON representation for `FloatValue` is JSON number.
|
|
36
|
+
# @!attribute [rw] value
|
|
37
|
+
# @return [::Float]
|
|
38
|
+
# The float value.
|
|
39
|
+
class FloatValue
|
|
40
|
+
include ::Google::Protobuf::MessageExts
|
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Wrapper message for `int64`.
|
|
45
|
+
#
|
|
46
|
+
# The JSON representation for `Int64Value` is JSON string.
|
|
47
|
+
# @!attribute [rw] value
|
|
48
|
+
# @return [::Integer]
|
|
49
|
+
# The int64 value.
|
|
50
|
+
class Int64Value
|
|
51
|
+
include ::Google::Protobuf::MessageExts
|
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Wrapper message for `uint64`.
|
|
56
|
+
#
|
|
57
|
+
# The JSON representation for `UInt64Value` is JSON string.
|
|
58
|
+
# @!attribute [rw] value
|
|
59
|
+
# @return [::Integer]
|
|
60
|
+
# The uint64 value.
|
|
61
|
+
class UInt64Value
|
|
62
|
+
include ::Google::Protobuf::MessageExts
|
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Wrapper message for `int32`.
|
|
67
|
+
#
|
|
68
|
+
# The JSON representation for `Int32Value` is JSON number.
|
|
69
|
+
# @!attribute [rw] value
|
|
70
|
+
# @return [::Integer]
|
|
71
|
+
# The int32 value.
|
|
72
|
+
class Int32Value
|
|
73
|
+
include ::Google::Protobuf::MessageExts
|
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Wrapper message for `uint32`.
|
|
78
|
+
#
|
|
79
|
+
# The JSON representation for `UInt32Value` is JSON number.
|
|
80
|
+
# @!attribute [rw] value
|
|
81
|
+
# @return [::Integer]
|
|
82
|
+
# The uint32 value.
|
|
83
|
+
class UInt32Value
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Wrapper message for `bool`.
|
|
89
|
+
#
|
|
90
|
+
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
|
91
|
+
# @!attribute [rw] value
|
|
92
|
+
# @return [::Boolean]
|
|
93
|
+
# The bool value.
|
|
94
|
+
class BoolValue
|
|
95
|
+
include ::Google::Protobuf::MessageExts
|
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Wrapper message for `string`.
|
|
100
|
+
#
|
|
101
|
+
# The JSON representation for `StringValue` is JSON string.
|
|
102
|
+
# @!attribute [rw] value
|
|
103
|
+
# @return [::String]
|
|
104
|
+
# The string value.
|
|
105
|
+
class StringValue
|
|
106
|
+
include ::Google::Protobuf::MessageExts
|
|
107
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Wrapper message for `bytes`.
|
|
111
|
+
#
|
|
112
|
+
# The JSON representation for `BytesValue` is JSON string.
|
|
113
|
+
# @!attribute [rw] value
|
|
114
|
+
# @return [::String]
|
|
115
|
+
# The bytes value.
|
|
116
|
+
class BytesValue
|
|
117
|
+
include ::Google::Protobuf::MessageExts
|
|
118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-backupdr-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -125,6 +125,7 @@ files:
|
|
|
125
125
|
- proto_docs/google/protobuf/empty.rb
|
|
126
126
|
- proto_docs/google/protobuf/field_mask.rb
|
|
127
127
|
- proto_docs/google/protobuf/timestamp.rb
|
|
128
|
+
- proto_docs/google/protobuf/wrappers.rb
|
|
128
129
|
- proto_docs/google/rpc/status.rb
|
|
129
130
|
- proto_docs/google/type/expr.rb
|
|
130
131
|
homepage: https://github.com/googleapis/google-cloud-ruby
|