google-apis-backupdr_v1 0.33.0 → 0.35.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: 3e9c6e744a2a5309826ff7cc1eb7ace9b64ccb97c8c53b1f6bebc055f0957b47
|
4
|
+
data.tar.gz: 3ee5d63c8c2037eb1e5cfd7d8df66513e3ef730ffb4691dc01b53d08aa4b079c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9a5440715335109acca3e8c248205965cb55328734e7ad53b388eb1d3785524e5a7ef02c669c8a98de333980a5e86da9d2e4ebbbfa67f520ebfacd9199cdf9
|
7
|
+
data.tar.gz: eb82e1d14cf51ce1f924260de8f07ba6ccdad9e6a90df4dfd8ef89e8345edd16c6e18897ecc5c13f494da9566aacdf9a6b205b148ad8fc9927ce5f837e59588f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-backupdr_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2025-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250720
|
6
|
+
|
7
|
+
### v0.34.0 (2025-07-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250711
|
10
|
+
|
3
11
|
### v0.33.0 (2025-07-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250625
|
@@ -871,12 +871,6 @@ module Google
|
|
871
871
|
# @return [String]
|
872
872
|
attr_accessor :last_successful_backup_consistency_time
|
873
873
|
|
874
|
-
# Output only. If the last log backup were successful, this field has the
|
875
|
-
# consistency date.
|
876
|
-
# Corresponds to the JSON property `lastSuccessfulLogBackupConsistencyTime`
|
877
|
-
# @return [String]
|
878
|
-
attr_accessor :last_successful_log_backup_consistency_time
|
879
|
-
|
880
874
|
def initialize(**args)
|
881
875
|
update!(**args)
|
882
876
|
end
|
@@ -888,7 +882,6 @@ module Google
|
|
888
882
|
@last_backup_error = args[:last_backup_error] if args.key?(:last_backup_error)
|
889
883
|
@last_backup_state = args[:last_backup_state] if args.key?(:last_backup_state)
|
890
884
|
@last_successful_backup_consistency_time = args[:last_successful_backup_consistency_time] if args.key?(:last_successful_backup_consistency_time)
|
891
|
-
@last_successful_log_backup_consistency_time = args[:last_successful_log_backup_consistency_time] if args.key?(:last_successful_log_backup_consistency_time)
|
892
885
|
end
|
893
886
|
end
|
894
887
|
|
@@ -1032,8 +1025,8 @@ module Google
|
|
1032
1025
|
class BackupPlan
|
1033
1026
|
include Google::Apis::Core::Hashable
|
1034
1027
|
|
1035
|
-
#
|
1036
|
-
# BackupRule` message.
|
1028
|
+
# Optional. The backup rules for this `BackupPlan`. There must be at least one `
|
1029
|
+
# BackupRule` message if on_demand_retention_limit_days is not set.
|
1037
1030
|
# Corresponds to the JSON property `backupRules`
|
1038
1031
|
# @return [Array<Google::Apis::BackupdrV1::BackupRule>]
|
1039
1032
|
attr_accessor :backup_rules
|
@@ -1960,7 +1953,8 @@ module Google
|
|
1960
1953
|
attr_accessor :description
|
1961
1954
|
|
1962
1955
|
# Optional. Array of disks associated with this instance. Persistent disks must
|
1963
|
-
# be created before you can assign them.
|
1956
|
+
# be created before you can assign them. Source regional persistent disks will
|
1957
|
+
# be restored with default replica zones if not specified.
|
1964
1958
|
# Corresponds to the JSON property `disks`
|
1965
1959
|
# @return [Array<Google::Apis::BackupdrV1::AttachedDisk>]
|
1966
1960
|
attr_accessor :disks
|
@@ -2023,6 +2017,7 @@ module Google
|
|
2023
2017
|
# Optional. An array of network configurations for this instance. These specify
|
2024
2018
|
# how interfaces are configured to interact with other network services, such as
|
2025
2019
|
# connecting to the internet. Multiple interfaces are supported per instance.
|
2020
|
+
# Required to restore in different project or region.
|
2026
2021
|
# Corresponds to the JSON property `networkInterfaces`
|
2027
2022
|
# @return [Array<Google::Apis::BackupdrV1::NetworkInterface>]
|
2028
2023
|
attr_accessor :network_interfaces
|
@@ -2048,7 +2043,8 @@ module Google
|
|
2048
2043
|
# @return [Google::Apis::BackupdrV1::AllocationAffinity]
|
2049
2044
|
attr_accessor :reservation_affinity
|
2050
2045
|
|
2051
|
-
# Optional. Resource policies applied to this instance.
|
2046
|
+
# Optional. Resource policies applied to this instance. By default, no resource
|
2047
|
+
# policies will be applied.
|
2052
2048
|
# Corresponds to the JSON property `resourcePolicies`
|
2053
2049
|
# @return [Array<String>]
|
2054
2050
|
attr_accessor :resource_policies
|
@@ -3017,6 +3013,46 @@ module Google
|
|
3017
3013
|
end
|
3018
3014
|
end
|
3019
3015
|
|
3016
|
+
# Request message for GetMsComplianceMetadata
|
3017
|
+
class FetchMsComplianceMetadataRequest
|
3018
|
+
include Google::Apis::Core::Hashable
|
3019
|
+
|
3020
|
+
# Required. The project id of the target project
|
3021
|
+
# Corresponds to the JSON property `projectId`
|
3022
|
+
# @return [String]
|
3023
|
+
attr_accessor :project_id
|
3024
|
+
|
3025
|
+
def initialize(**args)
|
3026
|
+
update!(**args)
|
3027
|
+
end
|
3028
|
+
|
3029
|
+
# Update properties of this object
|
3030
|
+
def update!(**args)
|
3031
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
3032
|
+
end
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
# Response message for GetMsComplianceMetadata
|
3036
|
+
class FetchMsComplianceMetadataResponse
|
3037
|
+
include Google::Apis::Core::Hashable
|
3038
|
+
|
3039
|
+
# The ms compliance metadata of the target project, if the project is an assured
|
3040
|
+
# workloads project, values will be true, otherwise false.
|
3041
|
+
# Corresponds to the JSON property `isAssuredWorkload`
|
3042
|
+
# @return [Boolean]
|
3043
|
+
attr_accessor :is_assured_workload
|
3044
|
+
alias_method :is_assured_workload?, :is_assured_workload
|
3045
|
+
|
3046
|
+
def initialize(**args)
|
3047
|
+
update!(**args)
|
3048
|
+
end
|
3049
|
+
|
3050
|
+
# Update properties of this object
|
3051
|
+
def update!(**args)
|
3052
|
+
@is_assured_workload = args[:is_assured_workload] if args.key?(:is_assured_workload)
|
3053
|
+
end
|
3054
|
+
end
|
3055
|
+
|
3020
3056
|
# Response message for fetching usable BackupVaults.
|
3021
3057
|
class FetchUsableBackupVaultsResponse
|
3022
3058
|
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.35.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 = "20250720"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -364,6 +364,18 @@ module Google
|
|
364
364
|
include Google::Apis::Core::JsonObjectSupport
|
365
365
|
end
|
366
366
|
|
367
|
+
class FetchMsComplianceMetadataRequest
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class FetchMsComplianceMetadataResponse
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
367
379
|
class FetchUsableBackupVaultsResponse
|
368
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
381
|
|
@@ -900,7 +912,6 @@ module Google
|
|
900
912
|
|
901
913
|
property :last_backup_state, as: 'lastBackupState'
|
902
914
|
property :last_successful_backup_consistency_time, as: 'lastSuccessfulBackupConsistencyTime'
|
903
|
-
property :last_successful_log_backup_consistency_time, as: 'lastSuccessfulLogBackupConsistencyTime'
|
904
915
|
end
|
905
916
|
end
|
906
917
|
|
@@ -1419,6 +1430,20 @@ module Google
|
|
1419
1430
|
end
|
1420
1431
|
end
|
1421
1432
|
|
1433
|
+
class FetchMsComplianceMetadataRequest
|
1434
|
+
# @private
|
1435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1436
|
+
property :project_id, as: 'projectId'
|
1437
|
+
end
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
class FetchMsComplianceMetadataResponse
|
1441
|
+
# @private
|
1442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1443
|
+
property :is_assured_workload, as: 'isAssuredWorkload'
|
1444
|
+
end
|
1445
|
+
end
|
1446
|
+
|
1422
1447
|
class FetchUsableBackupVaultsResponse
|
1423
1448
|
# @private
|
1424
1449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1982,6 +1982,42 @@ module Google
|
|
1982
1982
|
execute_or_queue_command(command, &block)
|
1983
1983
|
end
|
1984
1984
|
|
1985
|
+
# Returns the Assured Workloads compliance metadata for a given project.
|
1986
|
+
# @param [String] parent
|
1987
|
+
# Required. The project and location to be used to check CSS metadata for target
|
1988
|
+
# project information, in the format 'projects/`project_id`/locations/`location`'
|
1989
|
+
# . In Cloud BackupDR, locations map to Google Cloud regions, for example **us-
|
1990
|
+
# central1**.
|
1991
|
+
# @param [Google::Apis::BackupdrV1::FetchMsComplianceMetadataRequest] fetch_ms_compliance_metadata_request_object
|
1992
|
+
# @param [String] fields
|
1993
|
+
# Selector specifying which fields to include in a partial response.
|
1994
|
+
# @param [String] quota_user
|
1995
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1996
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1997
|
+
# @param [Google::Apis::RequestOptions] options
|
1998
|
+
# Request-specific options
|
1999
|
+
#
|
2000
|
+
# @yield [result, err] Result & error if block supplied
|
2001
|
+
# @yieldparam result [Google::Apis::BackupdrV1::FetchMsComplianceMetadataResponse] parsed result object
|
2002
|
+
# @yieldparam err [StandardError] error object if request failed
|
2003
|
+
#
|
2004
|
+
# @return [Google::Apis::BackupdrV1::FetchMsComplianceMetadataResponse]
|
2005
|
+
#
|
2006
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2007
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2008
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2009
|
+
def ms_project_location_management_server_compliance_metadata(parent, fetch_ms_compliance_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2010
|
+
command = make_simple_command(:post, 'v1/{+parent}:msComplianceMetadata', options)
|
2011
|
+
command.request_representation = Google::Apis::BackupdrV1::FetchMsComplianceMetadataRequest::Representation
|
2012
|
+
command.request_object = fetch_ms_compliance_metadata_request_object
|
2013
|
+
command.response_representation = Google::Apis::BackupdrV1::FetchMsComplianceMetadataResponse::Representation
|
2014
|
+
command.response_class = Google::Apis::BackupdrV1::FetchMsComplianceMetadataResponse
|
2015
|
+
command.params['parent'] = parent unless parent.nil?
|
2016
|
+
command.query['fields'] = fields unless fields.nil?
|
2017
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2018
|
+
execute_or_queue_command(command, &block)
|
2019
|
+
end
|
2020
|
+
|
1985
2021
|
# Sets the access control policy on the specified resource. Replaces any
|
1986
2022
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1987
2023
|
# PERMISSION_DENIED` errors.
|
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.35.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.35.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:
|