Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49358,6 +49358,7 @@
"/backupdr:v1/BackupPlan/labels": labels
"/backupdr:v1/BackupPlan/labels/label": label
"/backupdr:v1/BackupPlan/logRetentionDays": log_retention_days
"/backupdr:v1/BackupPlan/maxCustomOnDemandRetentionDays": max_custom_on_demand_retention_days
"/backupdr:v1/BackupPlan/name": name
"/backupdr:v1/BackupPlan/resourceType": resource_type
"/backupdr:v1/BackupPlan/revisionId": revision_id
Expand Down Expand Up @@ -49996,6 +49997,7 @@
"/backupdr:v1/Trial/startTime": start_time
"/backupdr:v1/Trial/state": state
"/backupdr:v1/TriggerBackupRequest": trigger_backup_request
"/backupdr:v1/TriggerBackupRequest/customRetentionDays": custom_retention_days
"/backupdr:v1/TriggerBackupRequest/requestId": request_id
"/backupdr:v1/TriggerBackupRequest/ruleId": rule_id
"/backupdr:v1/WeekDayOfMonth": week_day_of_month
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-backupdr_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-backupdr_v1

### v0.44.0 (2025-11-02)

* Regenerated from discovery document revision 20251022

### v0.43.0 (2025-10-26)

* Regenerated from discovery document revision 20251015
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,13 @@ class BackupPlan
# @return [Fixnum]
attr_accessor :log_retention_days

# Optional. Optional field to configure the maximum number of days for which a
# backup can be retained. This field is only applicable for on-demand backups
# taken with custom retention value.
# Corresponds to the JSON property `maxCustomOnDemandRetentionDays`
# @return [Fixnum]
attr_accessor :max_custom_on_demand_retention_days

# Output only. Identifier. The resource name of the `BackupPlan`. Format: `
# projects/`project`/locations/`location`/backupPlans/`backup_plan``
# Corresponds to the JSON property `name`
Expand Down Expand Up @@ -1237,6 +1244,7 @@ def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@labels = args[:labels] if args.key?(:labels)
@log_retention_days = args[:log_retention_days] if args.key?(:log_retention_days)
@max_custom_on_demand_retention_days = args[:max_custom_on_demand_retention_days] if args.key?(:max_custom_on_demand_retention_days)
@name = args[:name] if args.key?(:name)
@resource_type = args[:resource_type] if args.key?(:resource_type)
@revision_id = args[:revision_id] if args.key?(:revision_id)
Expand Down Expand Up @@ -5464,6 +5472,13 @@ def update!(**args)
class TriggerBackupRequest
include Google::Apis::Core::Hashable

# Optional. The duration for which backup data will be kept, while taking an on-
# demand backup with custom retention. It is defined in "days". It is mutually
# exclusive with rule_id. This field is required if rule_id is not provided.
# Corresponds to the JSON property `customRetentionDays`
# @return [Fixnum]
attr_accessor :custom_retention_days

# Optional. An optional request ID to identify requests. Specify a unique
# request ID so that if you must retry your request, the server will know to
# ignore the request if it has already been completed. The server will guarantee
Expand All @@ -5490,6 +5505,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@custom_retention_days = args[:custom_retention_days] if args.key?(:custom_retention_days)
@request_id = args[:request_id] if args.key?(:request_id)
@rule_id = args[:rule_id] if args.key?(:rule_id)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module BackupdrV1
# Version of the google-apis-backupdr_v1 gem
GEM_VERSION = "0.43.0"
GEM_VERSION = "0.44.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20251015"
REVISION = "20251022"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
hash :labels, as: 'labels'
property :log_retention_days, :numeric_string => true, as: 'logRetentionDays'
property :max_custom_on_demand_retention_days, as: 'maxCustomOnDemandRetentionDays'
property :name, as: 'name'
property :resource_type, as: 'resourceType'
property :revision_id, as: 'revisionId'
Expand Down Expand Up @@ -2110,6 +2111,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class TriggerBackupRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_retention_days, as: 'customRetentionDays'
property :request_id, as: 'requestId'
property :rule_id, as: 'ruleId'
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def get_project_location_trial(name, fields: nil, quota_user: nil, options: nil,
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [Array<String>, String] extra_location_types
# Optional. Unless explicitly documented otherwise, don't use this unsupported
# field which is primarily intended for internal usage.
# Optional. Do not use this field. It is unsupported and is ignored unless
# explicitly documented otherwise. This is primarily for internal usage.
# @param [String] filter
# A filter to narrow down results to a preferred subset. The filtering language
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
Expand Down