google-apis-backupdr_v1 0.42.0 → 0.44.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: 7a43f13bf95486ba39fd02c0af3de0f44a860971b2a0cc99b0cf63d8e199a511
4
- data.tar.gz: ef23456c4977ae588d2ef658e95ef15b81d8313c9853423309ec3081f70cd91d
3
+ metadata.gz: e78f1eed723e1a6c6feaced1169c10ac74be985fdc5c5c87309914849d7f462d
4
+ data.tar.gz: 2e3f2d1d3d62aecafa775c3c02f81d09c6382ce32d8845c5866e61d6b7cc33a1
5
5
  SHA512:
6
- metadata.gz: f7a4614c093876212fc19b6596eb92319d470eb3b6f07d3b92e8b07f574c108e364727e1fad58afb35589fd82c92a872a2db0b6d421635673abf51342e1074f7
7
- data.tar.gz: 684735ed8ddc023a4c7615ae82bf0b038aa22b9fb397a8a1c36a27d894e35de35fc6ec429564096e0b9232eb8fcc7d2d76fc9e2aa07b459815e3f23154a8217d
6
+ metadata.gz: 3583849c278bea27bd67dbf2332d81d2a377131374e25b34ff147d9e2f90e738fd99c0ef0be77483b9bfd409216cb7dde11731fb5a40f6fa46f855b808d21061
7
+ data.tar.gz: 323e959c81ff497a2ba5fec5a5a407714b2d85645a7f07beddaadee421f2b41003741f507512c5a2c4370f92dfe5704dc38a3d9449d4e7fe282231e93b821e33
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.44.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251022
6
+
7
+ ### v0.43.0 (2025-10-26)
8
+
9
+ * Regenerated from discovery document revision 20251015
10
+
3
11
  ### v0.42.0 (2025-10-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20251001
@@ -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
@@ -1144,6 +1182,13 @@ module Google
1144
1182
  # @return [Fixnum]
1145
1183
  attr_accessor :log_retention_days
1146
1184
 
1185
+ # Optional. Optional field to configure the maximum number of days for which a
1186
+ # backup can be retained. This field is only applicable for on-demand backups
1187
+ # taken with custom retention value.
1188
+ # Corresponds to the JSON property `maxCustomOnDemandRetentionDays`
1189
+ # @return [Fixnum]
1190
+ attr_accessor :max_custom_on_demand_retention_days
1191
+
1147
1192
  # Output only. Identifier. The resource name of the `BackupPlan`. Format: `
1148
1193
  # projects/`project`/locations/`location`/backupPlans/`backup_plan``
1149
1194
  # Corresponds to the JSON property `name`
@@ -1199,6 +1244,7 @@ module Google
1199
1244
  @etag = args[:etag] if args.key?(:etag)
1200
1245
  @labels = args[:labels] if args.key?(:labels)
1201
1246
  @log_retention_days = args[:log_retention_days] if args.key?(:log_retention_days)
1247
+ @max_custom_on_demand_retention_days = args[:max_custom_on_demand_retention_days] if args.key?(:max_custom_on_demand_retention_days)
1202
1248
  @name = args[:name] if args.key?(:name)
1203
1249
  @resource_type = args[:resource_type] if args.key?(:resource_type)
1204
1250
  @revision_id = args[:revision_id] if args.key?(:revision_id)
@@ -1703,6 +1749,16 @@ module Google
1703
1749
  attr_accessor :final_backup
1704
1750
  alias_method :final_backup?, :final_backup
1705
1751
 
1752
+ # Output only. The instance creation timestamp.
1753
+ # Corresponds to the JSON property `instanceCreateTime`
1754
+ # @return [String]
1755
+ attr_accessor :instance_create_time
1756
+
1757
+ # Output only. The instance delete timestamp.
1758
+ # Corresponds to the JSON property `instanceDeleteTime`
1759
+ # @return [String]
1760
+ attr_accessor :instance_delete_time
1761
+
1706
1762
  # Output only. The tier (or machine type) for this instance. Example: `db-custom-
1707
1763
  # 1-3840`
1708
1764
  # Corresponds to the JSON property `instanceTier`
@@ -1723,6 +1779,8 @@ module Google
1723
1779
  def update!(**args)
1724
1780
  @database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version)
1725
1781
  @final_backup = args[:final_backup] if args.key?(:final_backup)
1782
+ @instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
1783
+ @instance_delete_time = args[:instance_delete_time] if args.key?(:instance_delete_time)
1726
1784
  @instance_tier = args[:instance_tier] if args.key?(:instance_tier)
1727
1785
  @source_instance = args[:source_instance] if args.key?(:source_instance)
1728
1786
  end
@@ -2584,6 +2642,12 @@ module Google
2584
2642
  # @return [String]
2585
2643
  attr_accessor :name
2586
2644
 
2645
+ # Output only. Total size of the storage used by all backup resources for the
2646
+ # referenced datasource.
2647
+ # Corresponds to the JSON property `totalStoredBytes`
2648
+ # @return [Fixnum]
2649
+ attr_accessor :total_stored_bytes
2650
+
2587
2651
  def initialize(**args)
2588
2652
  update!(**args)
2589
2653
  end
@@ -2597,6 +2661,7 @@ module Google
2597
2661
  @data_source_backup_count = args[:data_source_backup_count] if args.key?(:data_source_backup_count)
2598
2662
  @data_source_gcp_resource_info = args[:data_source_gcp_resource_info] if args.key?(:data_source_gcp_resource_info)
2599
2663
  @name = args[:name] if args.key?(:name)
2664
+ @total_stored_bytes = args[:total_stored_bytes] if args.key?(:total_stored_bytes)
2600
2665
  end
2601
2666
  end
2602
2667
 
@@ -3109,6 +3174,32 @@ module Google
3109
3174
  end
3110
3175
  end
3111
3176
 
3177
+ # Response for the FetchBackupsForResourceType method.
3178
+ class FetchBackupsForResourceTypeResponse
3179
+ include Google::Apis::Core::Hashable
3180
+
3181
+ # The Backups from the specified parent.
3182
+ # Corresponds to the JSON property `backups`
3183
+ # @return [Array<Google::Apis::BackupdrV1::Backup>]
3184
+ attr_accessor :backups
3185
+
3186
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3187
+ # field is omitted, there are no subsequent pages.
3188
+ # Corresponds to the JSON property `nextPageToken`
3189
+ # @return [String]
3190
+ attr_accessor :next_page_token
3191
+
3192
+ def initialize(**args)
3193
+ update!(**args)
3194
+ end
3195
+
3196
+ # Update properties of this object
3197
+ def update!(**args)
3198
+ @backups = args[:backups] if args.key?(:backups)
3199
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3200
+ end
3201
+ end
3202
+
3112
3203
  # Response for the FetchDataSourceReferencesForResourceType method.
3113
3204
  class FetchDataSourceReferencesForResourceTypeResponse
3114
3205
  include Google::Apis::Core::Hashable
@@ -3760,6 +3851,32 @@ module Google
3760
3851
  end
3761
3852
  end
3762
3853
 
3854
+ # Response for the ListDataSourceReferences method.
3855
+ class ListDataSourceReferencesResponse
3856
+ include Google::Apis::Core::Hashable
3857
+
3858
+ # The DataSourceReferences from the specified parent.
3859
+ # Corresponds to the JSON property `dataSourceReferences`
3860
+ # @return [Array<Google::Apis::BackupdrV1::DataSourceReference>]
3861
+ attr_accessor :data_source_references
3862
+
3863
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3864
+ # field is omitted, there are no subsequent pages.
3865
+ # Corresponds to the JSON property `nextPageToken`
3866
+ # @return [String]
3867
+ attr_accessor :next_page_token
3868
+
3869
+ def initialize(**args)
3870
+ update!(**args)
3871
+ end
3872
+
3873
+ # Update properties of this object
3874
+ def update!(**args)
3875
+ @data_source_references = args[:data_source_references] if args.key?(:data_source_references)
3876
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3877
+ end
3878
+ end
3879
+
3763
3880
  # Response message for listing DataSources.
3764
3881
  class ListDataSourcesResponse
3765
3882
  include Google::Apis::Core::Hashable
@@ -5355,6 +5472,13 @@ module Google
5355
5472
  class TriggerBackupRequest
5356
5473
  include Google::Apis::Core::Hashable
5357
5474
 
5475
+ # Optional. The duration for which backup data will be kept, while taking an on-
5476
+ # demand backup with custom retention. It is defined in "days". It is mutually
5477
+ # exclusive with rule_id. This field is required if rule_id is not provided.
5478
+ # Corresponds to the JSON property `customRetentionDays`
5479
+ # @return [Fixnum]
5480
+ attr_accessor :custom_retention_days
5481
+
5358
5482
  # Optional. An optional request ID to identify requests. Specify a unique
5359
5483
  # request ID so that if you must retry your request, the server will know to
5360
5484
  # ignore the request if it has already been completed. The server will guarantee
@@ -5381,6 +5505,7 @@ module Google
5381
5505
 
5382
5506
  # Update properties of this object
5383
5507
  def update!(**args)
5508
+ @custom_retention_days = args[:custom_retention_days] if args.key?(:custom_retention_days)
5384
5509
  @request_id = args[:request_id] if args.key?(:request_id)
5385
5510
  @rule_id = args[:rule_id] if args.key?(:rule_id)
5386
5511
  end
@@ -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.42.0"
19
+ GEM_VERSION = "0.44.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 = "20251001"
25
+ REVISION = "20251022"
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
@@ -1019,6 +1048,7 @@ module Google
1019
1048
  property :etag, as: 'etag'
1020
1049
  hash :labels, as: 'labels'
1021
1050
  property :log_retention_days, :numeric_string => true, as: 'logRetentionDays'
1051
+ property :max_custom_on_demand_retention_days, as: 'maxCustomOnDemandRetentionDays'
1022
1052
  property :name, as: 'name'
1023
1053
  property :resource_type, as: 'resourceType'
1024
1054
  property :revision_id, as: 'revisionId'
@@ -1129,6 +1159,8 @@ module Google
1129
1159
  class Representation < Google::Apis::Core::JsonRepresentation
1130
1160
  property :database_installed_version, as: 'databaseInstalledVersion'
1131
1161
  property :final_backup, as: 'finalBackup'
1162
+ property :instance_create_time, as: 'instanceCreateTime'
1163
+ property :instance_delete_time, as: 'instanceDeleteTime'
1132
1164
  property :instance_tier, as: 'instanceTier'
1133
1165
  property :source_instance, as: 'sourceInstance'
1134
1166
  end
@@ -1352,6 +1384,7 @@ module Google
1352
1384
  property :data_source_gcp_resource_info, as: 'dataSourceGcpResourceInfo', class: Google::Apis::BackupdrV1::DataSourceGcpResourceInfo, decorator: Google::Apis::BackupdrV1::DataSourceGcpResourceInfo::Representation
1353
1385
 
1354
1386
  property :name, as: 'name'
1387
+ property :total_stored_bytes, :numeric_string => true, as: 'totalStoredBytes'
1355
1388
  end
1356
1389
  end
1357
1390
 
@@ -1479,6 +1512,15 @@ module Google
1479
1512
  end
1480
1513
  end
1481
1514
 
1515
+ class FetchBackupsForResourceTypeResponse
1516
+ # @private
1517
+ class Representation < Google::Apis::Core::JsonRepresentation
1518
+ collection :backups, as: 'backups', class: Google::Apis::BackupdrV1::Backup, decorator: Google::Apis::BackupdrV1::Backup::Representation
1519
+
1520
+ property :next_page_token, as: 'nextPageToken'
1521
+ end
1522
+ end
1523
+
1482
1524
  class FetchDataSourceReferencesForResourceTypeResponse
1483
1525
  # @private
1484
1526
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1655,6 +1697,15 @@ module Google
1655
1697
  end
1656
1698
  end
1657
1699
 
1700
+ class ListDataSourceReferencesResponse
1701
+ # @private
1702
+ class Representation < Google::Apis::Core::JsonRepresentation
1703
+ collection :data_source_references, as: 'dataSourceReferences', class: Google::Apis::BackupdrV1::DataSourceReference, decorator: Google::Apis::BackupdrV1::DataSourceReference::Representation
1704
+
1705
+ property :next_page_token, as: 'nextPageToken'
1706
+ end
1707
+ end
1708
+
1658
1709
  class ListDataSourcesResponse
1659
1710
  # @private
1660
1711
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2060,6 +2111,7 @@ module Google
2060
2111
  class TriggerBackupRequest
2061
2112
  # @private
2062
2113
  class Representation < Google::Apis::Core::JsonRepresentation
2114
+ property :custom_retention_days, as: 'customRetentionDays'
2063
2115
  property :request_id, as: 'requestId'
2064
2116
  property :rule_id, as: 'ruleId'
2065
2117
  end
@@ -117,8 +117,8 @@ module Google
117
117
  # @param [String] name
118
118
  # The resource that owns the locations collection, if applicable.
119
119
  # @param [Array<String>, String] extra_location_types
120
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
121
- # field which is primarily intended for internal usage.
120
+ # Optional. Do not use this field. It is unsupported and is ignored unless
121
+ # explicitly documented otherwise. This is primarily for internal usage.
122
122
  # @param [String] filter
123
123
  # A filter to narrow down results to a preferred subset. The filtering language
124
124
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -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.42.0
4
+ version: 0.44.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.42.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.44.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: