google-apis-backupdr_v1 0.33.0 → 0.34.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: 5c9c6c3ac1d91c69940abbd59396ccfc85440b768d3fb269e3f7ddc70a31f289
4
- data.tar.gz: 758a2a0027e923140de501d0c8a3b0a4ec4b4ed764188fd9c77aa9301779971d
3
+ metadata.gz: f56ece336011530245726aa00e302aa66101e36fb720f9ceebbec89c40396585
4
+ data.tar.gz: ba63d94d69eba4ad859adfdab45ceeb5593e79921a37f4b6bf1700fb8207c76f
5
5
  SHA512:
6
- metadata.gz: 9a56e52f6673c849a45f6e2eb1692ef85c468f299ededb15baa31cbda5f7d88daa953ad9cf180f8039de054f9f9f9e1a3b3b2a2031aa1f94e845f397f550efc6
7
- data.tar.gz: f10d02a250764897578720cd3eb6fdbf639ca1d13362c69a0d03029ae0dd372cf96c117df417e4f89eaa1b98e3c58d5baad7c0b7731c5c3be82aa19674c6c4dd
6
+ metadata.gz: 72fd25a17b7d094afe33537bd0bba680d6b2d8d241bbc4546ee24f7ad1c8bbcff6e02aa3688b0a2d03cf9e6bf116e994c32e25641bab3ba488228b47291182c5
7
+ data.tar.gz: 07f06b03fc95a26586265cb3a92c345c1c0bc7b345f520433631e6d89261308c856b4ef4369f751c7319d6111b1ffd406f43eab12b1562daad48c2b2e83e6358
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.34.0 (2025-07-20)
4
+
5
+ * Regenerated from discovery document revision 20250711
6
+
3
7
  ### v0.33.0 (2025-07-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20250625
@@ -1960,7 +1960,8 @@ module Google
1960
1960
  attr_accessor :description
1961
1961
 
1962
1962
  # Optional. Array of disks associated with this instance. Persistent disks must
1963
- # be created before you can assign them.
1963
+ # be created before you can assign them. Source regional persistent disks will
1964
+ # be restored with default replica zones if not specified.
1964
1965
  # Corresponds to the JSON property `disks`
1965
1966
  # @return [Array<Google::Apis::BackupdrV1::AttachedDisk>]
1966
1967
  attr_accessor :disks
@@ -2023,6 +2024,7 @@ module Google
2023
2024
  # Optional. An array of network configurations for this instance. These specify
2024
2025
  # how interfaces are configured to interact with other network services, such as
2025
2026
  # connecting to the internet. Multiple interfaces are supported per instance.
2027
+ # Required to restore in different project or region.
2026
2028
  # Corresponds to the JSON property `networkInterfaces`
2027
2029
  # @return [Array<Google::Apis::BackupdrV1::NetworkInterface>]
2028
2030
  attr_accessor :network_interfaces
@@ -2048,7 +2050,8 @@ module Google
2048
2050
  # @return [Google::Apis::BackupdrV1::AllocationAffinity]
2049
2051
  attr_accessor :reservation_affinity
2050
2052
 
2051
- # Optional. Resource policies applied to this instance.
2053
+ # Optional. Resource policies applied to this instance. By default, no resource
2054
+ # policies will be applied.
2052
2055
  # Corresponds to the JSON property `resourcePolicies`
2053
2056
  # @return [Array<String>]
2054
2057
  attr_accessor :resource_policies
@@ -3017,6 +3020,46 @@ module Google
3017
3020
  end
3018
3021
  end
3019
3022
 
3023
+ # Request message for GetMsComplianceMetadata
3024
+ class FetchMsComplianceMetadataRequest
3025
+ include Google::Apis::Core::Hashable
3026
+
3027
+ # Required. The project id of the target project
3028
+ # Corresponds to the JSON property `projectId`
3029
+ # @return [String]
3030
+ attr_accessor :project_id
3031
+
3032
+ def initialize(**args)
3033
+ update!(**args)
3034
+ end
3035
+
3036
+ # Update properties of this object
3037
+ def update!(**args)
3038
+ @project_id = args[:project_id] if args.key?(:project_id)
3039
+ end
3040
+ end
3041
+
3042
+ # Response message for GetMsComplianceMetadata
3043
+ class FetchMsComplianceMetadataResponse
3044
+ include Google::Apis::Core::Hashable
3045
+
3046
+ # The ms compliance metadata of the target project, if the project is an assured
3047
+ # workloads project, values will be true, otherwise false.
3048
+ # Corresponds to the JSON property `isAssuredWorkload`
3049
+ # @return [Boolean]
3050
+ attr_accessor :is_assured_workload
3051
+ alias_method :is_assured_workload?, :is_assured_workload
3052
+
3053
+ def initialize(**args)
3054
+ update!(**args)
3055
+ end
3056
+
3057
+ # Update properties of this object
3058
+ def update!(**args)
3059
+ @is_assured_workload = args[:is_assured_workload] if args.key?(:is_assured_workload)
3060
+ end
3061
+ end
3062
+
3020
3063
  # Response message for fetching usable BackupVaults.
3021
3064
  class FetchUsableBackupVaultsResponse
3022
3065
  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.33.0"
19
+ GEM_VERSION = "0.34.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 = "20250625"
25
+ REVISION = "20250711"
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
 
@@ -1419,6 +1431,20 @@ module Google
1419
1431
  end
1420
1432
  end
1421
1433
 
1434
+ class FetchMsComplianceMetadataRequest
1435
+ # @private
1436
+ class Representation < Google::Apis::Core::JsonRepresentation
1437
+ property :project_id, as: 'projectId'
1438
+ end
1439
+ end
1440
+
1441
+ class FetchMsComplianceMetadataResponse
1442
+ # @private
1443
+ class Representation < Google::Apis::Core::JsonRepresentation
1444
+ property :is_assured_workload, as: 'isAssuredWorkload'
1445
+ end
1446
+ end
1447
+
1422
1448
  class FetchUsableBackupVaultsResponse
1423
1449
  # @private
1424
1450
  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.33.0
4
+ version: 0.34.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.33.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.34.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: