google-apis-backupdr_v1 0.42.0 → 0.43.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8426bf0b48cd79eef345f8e8228ffaa9f2311e500b0d1c165439f02a4cec435
|
|
4
|
+
data.tar.gz: f1bc604c4301f2adc5a02e6b1e6f6adc5c599598538ebd3a4406507163596d79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7ec690062c909df1fa3cf800a382f57e0000e7695362b58b66b16212e19af93007298428ce7784581d731c023409ad0988cb9ef6b720a5754005817494adf3d
|
|
7
|
+
data.tar.gz: 4aed91418522c5137f38a509fef59a0c11a6a8050a7d03ee7c717b3aef06bf5b299399c562844e2fd5ee546dcab87e3360c477213f18e6cdaae5c74b73868ff8
|
data/CHANGELOG.md
CHANGED
|
@@ -580,6 +580,11 @@ module Google
|
|
|
580
580
|
# @return [Google::Apis::BackupdrV1::GcpBackupPlanInfo]
|
|
581
581
|
attr_accessor :gcp_backup_plan_info
|
|
582
582
|
|
|
583
|
+
# Minimum details to identify a Google Cloud resource for a backup.
|
|
584
|
+
# Corresponds to the JSON property `gcpResource`
|
|
585
|
+
# @return [Google::Apis::BackupdrV1::BackupGcpResource]
|
|
586
|
+
attr_accessor :gcp_resource
|
|
587
|
+
|
|
583
588
|
# Optional. Resource labels to represent user provided metadata. No labels
|
|
584
589
|
# currently defined.
|
|
585
590
|
# Corresponds to the JSON property `labels`
|
|
@@ -647,6 +652,7 @@ module Google
|
|
|
647
652
|
@etag = args[:etag] if args.key?(:etag)
|
|
648
653
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
649
654
|
@gcp_backup_plan_info = args[:gcp_backup_plan_info] if args.key?(:gcp_backup_plan_info)
|
|
655
|
+
@gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource)
|
|
650
656
|
@labels = args[:labels] if args.key?(:labels)
|
|
651
657
|
@name = args[:name] if args.key?(:name)
|
|
652
658
|
@resource_size_bytes = args[:resource_size_bytes] if args.key?(:resource_size_bytes)
|
|
@@ -1025,6 +1031,38 @@ module Google
|
|
|
1025
1031
|
end
|
|
1026
1032
|
end
|
|
1027
1033
|
|
|
1034
|
+
# Minimum details to identify a Google Cloud resource for a backup.
|
|
1035
|
+
class BackupGcpResource
|
|
1036
|
+
include Google::Apis::Core::Hashable
|
|
1037
|
+
|
|
1038
|
+
# Name of the Google Cloud resource.
|
|
1039
|
+
# Corresponds to the JSON property `gcpResourcename`
|
|
1040
|
+
# @return [String]
|
|
1041
|
+
attr_accessor :gcp_resourcename
|
|
1042
|
+
|
|
1043
|
+
# Location of the resource: //"global"/"unspecified".
|
|
1044
|
+
# Corresponds to the JSON property `location`
|
|
1045
|
+
# @return [String]
|
|
1046
|
+
attr_accessor :location
|
|
1047
|
+
|
|
1048
|
+
# Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.
|
|
1049
|
+
# com/Instance.
|
|
1050
|
+
# Corresponds to the JSON property `type`
|
|
1051
|
+
# @return [String]
|
|
1052
|
+
attr_accessor :type
|
|
1053
|
+
|
|
1054
|
+
def initialize(**args)
|
|
1055
|
+
update!(**args)
|
|
1056
|
+
end
|
|
1057
|
+
|
|
1058
|
+
# Update properties of this object
|
|
1059
|
+
def update!(**args)
|
|
1060
|
+
@gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
|
|
1061
|
+
@location = args[:location] if args.key?(:location)
|
|
1062
|
+
@type = args[:type] if args.key?(:type)
|
|
1063
|
+
end
|
|
1064
|
+
end
|
|
1065
|
+
|
|
1028
1066
|
# BackupLocation represents a cloud location where a backup can be stored.
|
|
1029
1067
|
class BackupLocation
|
|
1030
1068
|
include Google::Apis::Core::Hashable
|
|
@@ -1703,6 +1741,16 @@ module Google
|
|
|
1703
1741
|
attr_accessor :final_backup
|
|
1704
1742
|
alias_method :final_backup?, :final_backup
|
|
1705
1743
|
|
|
1744
|
+
# Output only. The instance creation timestamp.
|
|
1745
|
+
# Corresponds to the JSON property `instanceCreateTime`
|
|
1746
|
+
# @return [String]
|
|
1747
|
+
attr_accessor :instance_create_time
|
|
1748
|
+
|
|
1749
|
+
# Output only. The instance delete timestamp.
|
|
1750
|
+
# Corresponds to the JSON property `instanceDeleteTime`
|
|
1751
|
+
# @return [String]
|
|
1752
|
+
attr_accessor :instance_delete_time
|
|
1753
|
+
|
|
1706
1754
|
# Output only. The tier (or machine type) for this instance. Example: `db-custom-
|
|
1707
1755
|
# 1-3840`
|
|
1708
1756
|
# Corresponds to the JSON property `instanceTier`
|
|
@@ -1723,6 +1771,8 @@ module Google
|
|
|
1723
1771
|
def update!(**args)
|
|
1724
1772
|
@database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version)
|
|
1725
1773
|
@final_backup = args[:final_backup] if args.key?(:final_backup)
|
|
1774
|
+
@instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
|
|
1775
|
+
@instance_delete_time = args[:instance_delete_time] if args.key?(:instance_delete_time)
|
|
1726
1776
|
@instance_tier = args[:instance_tier] if args.key?(:instance_tier)
|
|
1727
1777
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
|
1728
1778
|
end
|
|
@@ -2584,6 +2634,12 @@ module Google
|
|
|
2584
2634
|
# @return [String]
|
|
2585
2635
|
attr_accessor :name
|
|
2586
2636
|
|
|
2637
|
+
# Output only. Total size of the storage used by all backup resources for the
|
|
2638
|
+
# referenced datasource.
|
|
2639
|
+
# Corresponds to the JSON property `totalStoredBytes`
|
|
2640
|
+
# @return [Fixnum]
|
|
2641
|
+
attr_accessor :total_stored_bytes
|
|
2642
|
+
|
|
2587
2643
|
def initialize(**args)
|
|
2588
2644
|
update!(**args)
|
|
2589
2645
|
end
|
|
@@ -2597,6 +2653,7 @@ module Google
|
|
|
2597
2653
|
@data_source_backup_count = args[:data_source_backup_count] if args.key?(:data_source_backup_count)
|
|
2598
2654
|
@data_source_gcp_resource_info = args[:data_source_gcp_resource_info] if args.key?(:data_source_gcp_resource_info)
|
|
2599
2655
|
@name = args[:name] if args.key?(:name)
|
|
2656
|
+
@total_stored_bytes = args[:total_stored_bytes] if args.key?(:total_stored_bytes)
|
|
2600
2657
|
end
|
|
2601
2658
|
end
|
|
2602
2659
|
|
|
@@ -3109,6 +3166,32 @@ module Google
|
|
|
3109
3166
|
end
|
|
3110
3167
|
end
|
|
3111
3168
|
|
|
3169
|
+
# Response for the FetchBackupsForResourceType method.
|
|
3170
|
+
class FetchBackupsForResourceTypeResponse
|
|
3171
|
+
include Google::Apis::Core::Hashable
|
|
3172
|
+
|
|
3173
|
+
# The Backups from the specified parent.
|
|
3174
|
+
# Corresponds to the JSON property `backups`
|
|
3175
|
+
# @return [Array<Google::Apis::BackupdrV1::Backup>]
|
|
3176
|
+
attr_accessor :backups
|
|
3177
|
+
|
|
3178
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3179
|
+
# field is omitted, there are no subsequent pages.
|
|
3180
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3181
|
+
# @return [String]
|
|
3182
|
+
attr_accessor :next_page_token
|
|
3183
|
+
|
|
3184
|
+
def initialize(**args)
|
|
3185
|
+
update!(**args)
|
|
3186
|
+
end
|
|
3187
|
+
|
|
3188
|
+
# Update properties of this object
|
|
3189
|
+
def update!(**args)
|
|
3190
|
+
@backups = args[:backups] if args.key?(:backups)
|
|
3191
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3192
|
+
end
|
|
3193
|
+
end
|
|
3194
|
+
|
|
3112
3195
|
# Response for the FetchDataSourceReferencesForResourceType method.
|
|
3113
3196
|
class FetchDataSourceReferencesForResourceTypeResponse
|
|
3114
3197
|
include Google::Apis::Core::Hashable
|
|
@@ -3760,6 +3843,32 @@ module Google
|
|
|
3760
3843
|
end
|
|
3761
3844
|
end
|
|
3762
3845
|
|
|
3846
|
+
# Response for the ListDataSourceReferences method.
|
|
3847
|
+
class ListDataSourceReferencesResponse
|
|
3848
|
+
include Google::Apis::Core::Hashable
|
|
3849
|
+
|
|
3850
|
+
# The DataSourceReferences from the specified parent.
|
|
3851
|
+
# Corresponds to the JSON property `dataSourceReferences`
|
|
3852
|
+
# @return [Array<Google::Apis::BackupdrV1::DataSourceReference>]
|
|
3853
|
+
attr_accessor :data_source_references
|
|
3854
|
+
|
|
3855
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3856
|
+
# field is omitted, there are no subsequent pages.
|
|
3857
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3858
|
+
# @return [String]
|
|
3859
|
+
attr_accessor :next_page_token
|
|
3860
|
+
|
|
3861
|
+
def initialize(**args)
|
|
3862
|
+
update!(**args)
|
|
3863
|
+
end
|
|
3864
|
+
|
|
3865
|
+
# Update properties of this object
|
|
3866
|
+
def update!(**args)
|
|
3867
|
+
@data_source_references = args[:data_source_references] if args.key?(:data_source_references)
|
|
3868
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3869
|
+
end
|
|
3870
|
+
end
|
|
3871
|
+
|
|
3763
3872
|
# Response message for listing DataSources.
|
|
3764
3873
|
class ListDataSourcesResponse
|
|
3765
3874
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module BackupdrV1
|
|
18
18
|
# Version of the google-apis-backupdr_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.43.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251015"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -142,6 +142,12 @@ module Google
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
+
class BackupGcpResource
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
145
151
|
class BackupLocation
|
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
153
|
|
|
@@ -370,6 +376,12 @@ module Google
|
|
|
370
376
|
include Google::Apis::Core::JsonObjectSupport
|
|
371
377
|
end
|
|
372
378
|
|
|
379
|
+
class FetchBackupsForResourceTypeResponse
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
373
385
|
class FetchDataSourceReferencesForResourceTypeResponse
|
|
374
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
387
|
|
|
@@ -484,6 +496,12 @@ module Google
|
|
|
484
496
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
497
|
end
|
|
486
498
|
|
|
499
|
+
class ListDataSourceReferencesResponse
|
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
|
+
|
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
503
|
+
end
|
|
504
|
+
|
|
487
505
|
class ListDataSourcesResponse
|
|
488
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
507
|
|
|
@@ -882,6 +900,8 @@ module Google
|
|
|
882
900
|
property :expire_time, as: 'expireTime'
|
|
883
901
|
property :gcp_backup_plan_info, as: 'gcpBackupPlanInfo', class: Google::Apis::BackupdrV1::GcpBackupPlanInfo, decorator: Google::Apis::BackupdrV1::GcpBackupPlanInfo::Representation
|
|
884
902
|
|
|
903
|
+
property :gcp_resource, as: 'gcpResource', class: Google::Apis::BackupdrV1::BackupGcpResource, decorator: Google::Apis::BackupdrV1::BackupGcpResource::Representation
|
|
904
|
+
|
|
885
905
|
hash :labels, as: 'labels'
|
|
886
906
|
property :name, as: 'name'
|
|
887
907
|
property :resource_size_bytes, :numeric_string => true, as: 'resourceSizeBytes'
|
|
@@ -988,6 +1008,15 @@ module Google
|
|
|
988
1008
|
end
|
|
989
1009
|
end
|
|
990
1010
|
|
|
1011
|
+
class BackupGcpResource
|
|
1012
|
+
# @private
|
|
1013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1014
|
+
property :gcp_resourcename, as: 'gcpResourcename'
|
|
1015
|
+
property :location, as: 'location'
|
|
1016
|
+
property :type, as: 'type'
|
|
1017
|
+
end
|
|
1018
|
+
end
|
|
1019
|
+
|
|
991
1020
|
class BackupLocation
|
|
992
1021
|
# @private
|
|
993
1022
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1129,6 +1158,8 @@ module Google
|
|
|
1129
1158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1130
1159
|
property :database_installed_version, as: 'databaseInstalledVersion'
|
|
1131
1160
|
property :final_backup, as: 'finalBackup'
|
|
1161
|
+
property :instance_create_time, as: 'instanceCreateTime'
|
|
1162
|
+
property :instance_delete_time, as: 'instanceDeleteTime'
|
|
1132
1163
|
property :instance_tier, as: 'instanceTier'
|
|
1133
1164
|
property :source_instance, as: 'sourceInstance'
|
|
1134
1165
|
end
|
|
@@ -1352,6 +1383,7 @@ module Google
|
|
|
1352
1383
|
property :data_source_gcp_resource_info, as: 'dataSourceGcpResourceInfo', class: Google::Apis::BackupdrV1::DataSourceGcpResourceInfo, decorator: Google::Apis::BackupdrV1::DataSourceGcpResourceInfo::Representation
|
|
1353
1384
|
|
|
1354
1385
|
property :name, as: 'name'
|
|
1386
|
+
property :total_stored_bytes, :numeric_string => true, as: 'totalStoredBytes'
|
|
1355
1387
|
end
|
|
1356
1388
|
end
|
|
1357
1389
|
|
|
@@ -1479,6 +1511,15 @@ module Google
|
|
|
1479
1511
|
end
|
|
1480
1512
|
end
|
|
1481
1513
|
|
|
1514
|
+
class FetchBackupsForResourceTypeResponse
|
|
1515
|
+
# @private
|
|
1516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1517
|
+
collection :backups, as: 'backups', class: Google::Apis::BackupdrV1::Backup, decorator: Google::Apis::BackupdrV1::Backup::Representation
|
|
1518
|
+
|
|
1519
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1520
|
+
end
|
|
1521
|
+
end
|
|
1522
|
+
|
|
1482
1523
|
class FetchDataSourceReferencesForResourceTypeResponse
|
|
1483
1524
|
# @private
|
|
1484
1525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1655,6 +1696,15 @@ module Google
|
|
|
1655
1696
|
end
|
|
1656
1697
|
end
|
|
1657
1698
|
|
|
1699
|
+
class ListDataSourceReferencesResponse
|
|
1700
|
+
# @private
|
|
1701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1702
|
+
collection :data_source_references, as: 'dataSourceReferences', class: Google::Apis::BackupdrV1::DataSourceReference, decorator: Google::Apis::BackupdrV1::DataSourceReference::Representation
|
|
1703
|
+
|
|
1704
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1705
|
+
end
|
|
1706
|
+
end
|
|
1707
|
+
|
|
1658
1708
|
class ListDataSourcesResponse
|
|
1659
1709
|
# @private
|
|
1660
1710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1530,6 +1530,65 @@ module Google
|
|
|
1530
1530
|
execute_or_queue_command(command, &block)
|
|
1531
1531
|
end
|
|
1532
1532
|
|
|
1533
|
+
# Fetch Backups for a given resource type.
|
|
1534
|
+
# @param [String] parent
|
|
1535
|
+
# Required. Datasources are the parent resource for the backups. Format:
|
|
1536
|
+
# projects/`project`/locations/`location`/backupVaults/`backupVaultId`/
|
|
1537
|
+
# dataSources/`datasourceId`
|
|
1538
|
+
# @param [String] filter
|
|
1539
|
+
# Optional. A filter expression that filters the results fetched in the response.
|
|
1540
|
+
# The expression must specify the field name, a comparison operator, and the
|
|
1541
|
+
# value that you want to use for filtering. Supported fields:
|
|
1542
|
+
# @param [String] order_by
|
|
1543
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
1544
|
+
# order. Use "desc" after a field name for descending.
|
|
1545
|
+
# @param [Fixnum] page_size
|
|
1546
|
+
# Optional. The maximum number of Backups to return. The service may return
|
|
1547
|
+
# fewer than this value. If unspecified, at most 50 Backups will be returned.
|
|
1548
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
|
1549
|
+
# @param [String] page_token
|
|
1550
|
+
# Optional. A page token, received from a previous call of `
|
|
1551
|
+
# FetchBackupsForResourceType`. Provide this to retrieve the subsequent page.
|
|
1552
|
+
# When paginating, all other parameters provided to `FetchBackupsForResourceType`
|
|
1553
|
+
# must match the call that provided the page token.
|
|
1554
|
+
# @param [String] resource_type
|
|
1555
|
+
# Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance
|
|
1556
|
+
# @param [String] view
|
|
1557
|
+
# Optional. This parameter is used to specify the view of the backup. If not
|
|
1558
|
+
# specified, the default view is BASIC.
|
|
1559
|
+
# @param [String] fields
|
|
1560
|
+
# Selector specifying which fields to include in a partial response.
|
|
1561
|
+
# @param [String] quota_user
|
|
1562
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1563
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1564
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1565
|
+
# Request-specific options
|
|
1566
|
+
#
|
|
1567
|
+
# @yield [result, err] Result & error if block supplied
|
|
1568
|
+
# @yieldparam result [Google::Apis::BackupdrV1::FetchBackupsForResourceTypeResponse] parsed result object
|
|
1569
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1570
|
+
#
|
|
1571
|
+
# @return [Google::Apis::BackupdrV1::FetchBackupsForResourceTypeResponse]
|
|
1572
|
+
#
|
|
1573
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1574
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1575
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1576
|
+
def fetch_project_location_backup_vault_data_source_backup_for_resource_type(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, resource_type: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1577
|
+
command = make_simple_command(:get, 'v1/{+parent}/backups:fetchForResourceType', options)
|
|
1578
|
+
command.response_representation = Google::Apis::BackupdrV1::FetchBackupsForResourceTypeResponse::Representation
|
|
1579
|
+
command.response_class = Google::Apis::BackupdrV1::FetchBackupsForResourceTypeResponse
|
|
1580
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1581
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1582
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1583
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1584
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1585
|
+
command.query['resourceType'] = resource_type unless resource_type.nil?
|
|
1586
|
+
command.query['view'] = view unless view.nil?
|
|
1587
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1588
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1589
|
+
execute_or_queue_command(command, &block)
|
|
1590
|
+
end
|
|
1591
|
+
|
|
1533
1592
|
# Gets details of a Backup.
|
|
1534
1593
|
# @param [String] name
|
|
1535
1594
|
# Required. Name of the data source resource name, in the format 'projects/`
|
|
@@ -1798,6 +1857,61 @@ module Google
|
|
|
1798
1857
|
execute_or_queue_command(command, &block)
|
|
1799
1858
|
end
|
|
1800
1859
|
|
|
1860
|
+
# Lists DataSourceReferences for a given project and location.
|
|
1861
|
+
# @param [String] parent
|
|
1862
|
+
# Required. The parent resource name. Format: projects/`project`/locations/`
|
|
1863
|
+
# location`
|
|
1864
|
+
# @param [String] filter
|
|
1865
|
+
# Optional. A filter expression that filters the results listed in the response.
|
|
1866
|
+
# The expression must specify the field name, a comparison operator, and the
|
|
1867
|
+
# value that you want to use for filtering. The following field and operator
|
|
1868
|
+
# combinations are supported: * data_source_gcp_resource_info.gcp_resourcename
|
|
1869
|
+
# with `=`, `!=` * data_source_gcp_resource_info.type with `=`, `!=`
|
|
1870
|
+
# @param [String] order_by
|
|
1871
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
1872
|
+
# order. Use "desc" after a field name for descending. Supported fields: *
|
|
1873
|
+
# data_source * data_source_gcp_resource_info.gcp_resourcename
|
|
1874
|
+
# @param [Fixnum] page_size
|
|
1875
|
+
# Optional. The maximum number of DataSourceReferences to return. The service
|
|
1876
|
+
# may return fewer than this value. If unspecified, at most 50
|
|
1877
|
+
# DataSourceReferences will be returned. The maximum value is 100; values above
|
|
1878
|
+
# 100 will be coerced to 100.
|
|
1879
|
+
# @param [String] page_token
|
|
1880
|
+
# Optional. A page token, received from a previous `ListDataSourceReferences`
|
|
1881
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
|
1882
|
+
# parameters provided to `ListDataSourceReferences` must match the call that
|
|
1883
|
+
# provided the page token.
|
|
1884
|
+
# @param [String] fields
|
|
1885
|
+
# Selector specifying which fields to include in a partial response.
|
|
1886
|
+
# @param [String] quota_user
|
|
1887
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1888
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1889
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1890
|
+
# Request-specific options
|
|
1891
|
+
#
|
|
1892
|
+
# @yield [result, err] Result & error if block supplied
|
|
1893
|
+
# @yieldparam result [Google::Apis::BackupdrV1::ListDataSourceReferencesResponse] parsed result object
|
|
1894
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1895
|
+
#
|
|
1896
|
+
# @return [Google::Apis::BackupdrV1::ListDataSourceReferencesResponse]
|
|
1897
|
+
#
|
|
1898
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1899
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1900
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1901
|
+
def list_project_location_data_source_references(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1902
|
+
command = make_simple_command(:get, 'v1/{+parent}/dataSourceReferences', options)
|
|
1903
|
+
command.response_representation = Google::Apis::BackupdrV1::ListDataSourceReferencesResponse::Representation
|
|
1904
|
+
command.response_class = Google::Apis::BackupdrV1::ListDataSourceReferencesResponse
|
|
1905
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1906
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1907
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1908
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1909
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1910
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1911
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1912
|
+
execute_or_queue_command(command, &block)
|
|
1913
|
+
end
|
|
1914
|
+
|
|
1801
1915
|
# Creates a new ManagementServer in a given project and location.
|
|
1802
1916
|
# @param [String] parent
|
|
1803
1917
|
# Required. The management server project and location in the format 'projects/`
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-backupdr_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.43.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.43.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|