google-cloud-backupdr-v1 1.1.0 → 1.2.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 +4 -4
- data/lib/google/cloud/backupdr/v1/backupdr/client.rb +852 -14
- data/lib/google/cloud/backupdr/v1/backupdr/paths.rb +76 -0
- data/lib/google/cloud/backupdr/v1/backupdr/rest/client.rb +818 -29
- data/lib/google/cloud/backupdr/v1/backupdr/rest/service_stub.rb +429 -0
- data/lib/google/cloud/backupdr/v1/backupdr_pb.rb +4 -1
- data/lib/google/cloud/backupdr/v1/backupdr_services_pb.rb +14 -0
- data/lib/google/cloud/backupdr/v1/backupplan_pb.rb +9 -1
- data/lib/google/cloud/backupdr/v1/backupplanassociation_pb.rb +8 -1
- data/lib/google/cloud/backupdr/v1/backupvault_cloudsql_pb.rb +52 -0
- data/lib/google/cloud/backupdr/v1/backupvault_disk_pb.rb +54 -0
- data/lib/google/cloud/backupdr/v1/backupvault_gce_pb.rb +1 -1
- data/lib/google/cloud/backupdr/v1/backupvault_pb.rb +5 -1
- data/lib/google/cloud/backupdr/v1/datasourcereference_pb.rb +55 -0
- data/lib/google/cloud/backupdr/v1/version.rb +1 -1
- data/proto_docs/google/cloud/backupdr/v1/backupdr.rb +3 -0
- data/proto_docs/google/cloud/backupdr/v1/backupplan.rb +176 -8
- data/proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb +117 -2
- data/proto_docs/google/cloud/backupdr/v1/backupvault.rb +85 -2
- data/proto_docs/google/cloud/backupdr/v1/backupvault_cloudsql.rb +125 -0
- data/proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb +241 -0
- data/proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb +7 -5
- data/proto_docs/google/cloud/backupdr/v1/datasourcereference.rb +165 -0
- metadata +8 -2
@@ -0,0 +1,241 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module BackupDR
|
23
|
+
module V1
|
24
|
+
# DiskTargetEnvironment represents the target environment for the disk.
|
25
|
+
# @!attribute [rw] project
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Target project for the disk.
|
28
|
+
# @!attribute [rw] zone
|
29
|
+
# @return [::String]
|
30
|
+
# Required. Target zone for the disk.
|
31
|
+
class DiskTargetEnvironment
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
|
+
end
|
35
|
+
|
36
|
+
# RegionDiskTargetEnvironment represents the target environment for the disk.
|
37
|
+
# @!attribute [rw] project
|
38
|
+
# @return [::String]
|
39
|
+
# Required. Target project for the disk.
|
40
|
+
# @!attribute [rw] region
|
41
|
+
# @return [::String]
|
42
|
+
# Required. Target region for the disk.
|
43
|
+
# @!attribute [rw] replica_zones
|
44
|
+
# @return [::Array<::String>]
|
45
|
+
# Required. Target URLs of the replica zones for the disk.
|
46
|
+
class RegionDiskTargetEnvironment
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
|
51
|
+
# DiskRestoreProperties represents the properties of a Disk restore.
|
52
|
+
# @!attribute [rw] name
|
53
|
+
# @return [::String]
|
54
|
+
# Required. Name of the disk.
|
55
|
+
# @!attribute [rw] description
|
56
|
+
# @return [::String]
|
57
|
+
# Optional. An optional description of this resource. Provide this property
|
58
|
+
# when you create the resource.
|
59
|
+
# @!attribute [rw] size_gb
|
60
|
+
# @return [::Integer]
|
61
|
+
# Required. The size of the disk in GB.
|
62
|
+
# @!attribute [rw] licenses
|
63
|
+
# @return [::Array<::String>]
|
64
|
+
# Optional. A list of publicly available licenses that are applicable to this
|
65
|
+
# backup. This is applicable if the original image had licenses attached,
|
66
|
+
# e.g. Windows image
|
67
|
+
# @!attribute [rw] guest_os_feature
|
68
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>]
|
69
|
+
# Optional. A list of features to enable in the guest operating system. This
|
70
|
+
# is applicable only for bootable images.
|
71
|
+
# @!attribute [rw] disk_encryption_key
|
72
|
+
# @return [::Google::Cloud::BackupDR::V1::CustomerEncryptionKey]
|
73
|
+
# Optional. Encrypts the disk using a
|
74
|
+
# customer-supplied encryption key or a customer-managed encryption key.
|
75
|
+
# @!attribute [rw] physical_block_size_bytes
|
76
|
+
# @return [::Integer]
|
77
|
+
# Optional. Physical block size of the persistent disk, in bytes.
|
78
|
+
# If not present in a request, a default value is used.
|
79
|
+
# Currently, the supported size is 4096.
|
80
|
+
# @!attribute [rw] provisioned_iops
|
81
|
+
# @return [::Integer]
|
82
|
+
# Optional. Indicates how many IOPS to provision for the disk. This sets the
|
83
|
+
# number of I/O operations per second that the disk can handle.
|
84
|
+
# @!attribute [rw] provisioned_throughput
|
85
|
+
# @return [::Integer]
|
86
|
+
# Optional. Indicates how much throughput to provision for the disk. This
|
87
|
+
# sets the number of throughput MB per second that the disk can handle.
|
88
|
+
# @!attribute [rw] enable_confidential_compute
|
89
|
+
# @return [::Boolean]
|
90
|
+
# Optional. Indicates whether this disk is using confidential compute mode.
|
91
|
+
# Encryption with a Cloud KMS key is required to enable this option.
|
92
|
+
# @!attribute [rw] storage_pool
|
93
|
+
# @return [::String]
|
94
|
+
# Optional. The storage pool in which the new disk is created. You can
|
95
|
+
# provide this as a partial or full URL to the resource.
|
96
|
+
# @!attribute [rw] access_mode
|
97
|
+
# @return [::Google::Cloud::BackupDR::V1::DiskRestoreProperties::AccessMode]
|
98
|
+
# Optional. The access mode of the disk.
|
99
|
+
# @!attribute [rw] architecture
|
100
|
+
# @return [::Google::Cloud::BackupDR::V1::DiskRestoreProperties::Architecture]
|
101
|
+
# Optional. The architecture of the source disk. Valid values are
|
102
|
+
# ARM64 or X86_64.
|
103
|
+
# @!attribute [rw] resource_policy
|
104
|
+
# @return [::Array<::String>]
|
105
|
+
# Optional. Resource policies applied to this disk.
|
106
|
+
# @!attribute [rw] type
|
107
|
+
# @return [::String]
|
108
|
+
# Required. URL of the disk type resource describing which disk type to use
|
109
|
+
# to create the disk.
|
110
|
+
# @!attribute [rw] labels
|
111
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
112
|
+
# Optional. Labels to apply to this disk. These can be modified later using
|
113
|
+
# <code>setLabels</code> method. Label values can be empty.
|
114
|
+
# @!attribute [rw] resource_manager_tags
|
115
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
116
|
+
# Optional. Resource manager tags to be bound to the disk.
|
117
|
+
class DiskRestoreProperties
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
|
+
|
121
|
+
# @!attribute [rw] key
|
122
|
+
# @return [::String]
|
123
|
+
# @!attribute [rw] value
|
124
|
+
# @return [::String]
|
125
|
+
class LabelsEntry
|
126
|
+
include ::Google::Protobuf::MessageExts
|
127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
128
|
+
end
|
129
|
+
|
130
|
+
# @!attribute [rw] key
|
131
|
+
# @return [::String]
|
132
|
+
# @!attribute [rw] value
|
133
|
+
# @return [::String]
|
134
|
+
class ResourceManagerTagsEntry
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
|
+
end
|
138
|
+
|
139
|
+
# The supported access modes of the disk.
|
140
|
+
module AccessMode
|
141
|
+
# The default AccessMode, means the disk can be attached to single instance
|
142
|
+
# in RW mode.
|
143
|
+
READ_WRITE_SINGLE = 0
|
144
|
+
|
145
|
+
# The AccessMode means the disk can be attached to multiple instances in RW
|
146
|
+
# mode.
|
147
|
+
READ_WRITE_MANY = 1
|
148
|
+
|
149
|
+
# The AccessMode means the disk can be attached to multiple instances in RO
|
150
|
+
# mode.
|
151
|
+
READ_ONLY_MANY = 2
|
152
|
+
end
|
153
|
+
|
154
|
+
# Architecture of the source disk.
|
155
|
+
module Architecture
|
156
|
+
# Default value. This value is unused.
|
157
|
+
ARCHITECTURE_UNSPECIFIED = 0
|
158
|
+
|
159
|
+
# Disks with architecture X86_64
|
160
|
+
X86_64 = 1
|
161
|
+
|
162
|
+
# Disks with architecture ARM64
|
163
|
+
ARM64 = 2
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# DiskBackupProperties represents the properties of a Disk backup.
|
168
|
+
# @!attribute [rw] description
|
169
|
+
# @return [::String]
|
170
|
+
# A description of the source disk.
|
171
|
+
# @!attribute [rw] licenses
|
172
|
+
# @return [::Array<::String>]
|
173
|
+
# A list of publicly available licenses that are applicable to this backup.
|
174
|
+
# This is applicable if the original image had licenses attached, e.g.
|
175
|
+
# Windows image.
|
176
|
+
# @!attribute [rw] guest_os_feature
|
177
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>]
|
178
|
+
# A list of guest OS features that are applicable to this backup.
|
179
|
+
# @!attribute [rw] architecture
|
180
|
+
# @return [::Google::Cloud::BackupDR::V1::DiskBackupProperties::Architecture]
|
181
|
+
# The architecture of the source disk. Valid values are
|
182
|
+
# ARM64 or X86_64.
|
183
|
+
# @!attribute [rw] type
|
184
|
+
# @return [::String]
|
185
|
+
# The URL of the type of the disk.
|
186
|
+
# @!attribute [rw] size_gb
|
187
|
+
# @return [::Integer]
|
188
|
+
# Size(in GB) of the source disk.
|
189
|
+
# @!attribute [rw] region
|
190
|
+
# @return [::String]
|
191
|
+
# Region and zone are mutually exclusive fields.
|
192
|
+
# The URL of the region of the source disk.
|
193
|
+
# @!attribute [rw] zone
|
194
|
+
# @return [::String]
|
195
|
+
# The URL of the Zone where the source disk.
|
196
|
+
# @!attribute [rw] replica_zones
|
197
|
+
# @return [::Array<::String>]
|
198
|
+
# The URL of the Zones where the source disk should be replicated.
|
199
|
+
# @!attribute [rw] source_disk
|
200
|
+
# @return [::String]
|
201
|
+
# The source disk used to create this backup.
|
202
|
+
class DiskBackupProperties
|
203
|
+
include ::Google::Protobuf::MessageExts
|
204
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Architecture of the source disk.
|
207
|
+
module Architecture
|
208
|
+
# Default value. This value is unused.
|
209
|
+
ARCHITECTURE_UNSPECIFIED = 0
|
210
|
+
|
211
|
+
# Disks with architecture X86_64
|
212
|
+
X86_64 = 1
|
213
|
+
|
214
|
+
# Disks with architecture ARM64
|
215
|
+
ARM64 = 2
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# DiskDataSourceProperties represents the properties of a
|
220
|
+
# Disk resource that are stored in the DataSource.
|
221
|
+
# .
|
222
|
+
# @!attribute [rw] name
|
223
|
+
# @return [::String]
|
224
|
+
# Name of the disk backed up by the datasource.
|
225
|
+
# @!attribute [rw] description
|
226
|
+
# @return [::String]
|
227
|
+
# The description of the disk.
|
228
|
+
# @!attribute [rw] type
|
229
|
+
# @return [::String]
|
230
|
+
# The type of the disk.
|
231
|
+
# @!attribute [rw] size_gb
|
232
|
+
# @return [::Integer]
|
233
|
+
# The size of the disk in GB.
|
234
|
+
class DiskDataSourceProperties
|
235
|
+
include ::Google::Protobuf::MessageExts
|
236
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
237
|
+
end
|
238
|
+
end
|
239
|
+
end
|
240
|
+
end
|
241
|
+
end
|
@@ -133,7 +133,8 @@ module Google
|
|
133
133
|
# @!attribute [rw] disks
|
134
134
|
# @return [::Array<::Google::Cloud::BackupDR::V1::AttachedDisk>]
|
135
135
|
# Optional. Array of disks associated with this instance. Persistent disks
|
136
|
-
# must be created before you can assign them.
|
136
|
+
# must be created before you can assign them. Source regional persistent
|
137
|
+
# disks will be restored with default replica zones if not specified.
|
137
138
|
# @!attribute [rw] display_device
|
138
139
|
# @return [::Google::Cloud::BackupDR::V1::DisplayDevice]
|
139
140
|
# Optional. Enables display device for the instance.
|
@@ -173,7 +174,7 @@ module Google
|
|
173
174
|
# Optional. An array of network configurations for this instance. These
|
174
175
|
# specify how interfaces are configured to interact with other network
|
175
176
|
# services, such as connecting to the internet. Multiple interfaces are
|
176
|
-
# supported per instance.
|
177
|
+
# supported per instance. Required to restore in different project or region.
|
177
178
|
# @!attribute [rw] network_performance_config
|
178
179
|
# @return [::Google::Cloud::BackupDR::V1::NetworkPerformanceConfig]
|
179
180
|
# Optional. Configure network performance such as egress bandwidth tier.
|
@@ -191,6 +192,7 @@ module Google
|
|
191
192
|
# @!attribute [rw] resource_policies
|
192
193
|
# @return [::Array<::String>]
|
193
194
|
# Optional. Resource policies applied to this instance.
|
195
|
+
# By default, no resource policies will be applied.
|
194
196
|
# @!attribute [rw] scheduling
|
195
197
|
# @return [::Google::Cloud::BackupDR::V1::Scheduling]
|
196
198
|
# Optional. Sets the scheduling options for this instance.
|
@@ -522,9 +524,9 @@ module Google
|
|
522
524
|
# @!attribute [rw] type
|
523
525
|
# @return [::Google::Cloud::BackupDR::V1::AccessConfig::AccessType]
|
524
526
|
# Optional. In accessConfigs (IPv4), the
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
527
|
+
# default and only option is ONE_TO_ONE_NAT. In
|
528
|
+
# ipv6AccessConfigs, the default and only option is
|
529
|
+
# DIRECT_IPV6.
|
528
530
|
# @!attribute [rw] name
|
529
531
|
# @return [::String]
|
530
532
|
# Optional. The name of this access configuration.
|
@@ -0,0 +1,165 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module BackupDR
|
23
|
+
module V1
|
24
|
+
# DataSourceReference is a reference to a DataSource resource.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The resource name of the DataSourceReference.
|
28
|
+
# Format:
|
29
|
+
# projects/\\{project}/locations/\\{location}/dataSourceReferences/\\{data_source_reference}
|
30
|
+
# @!attribute [r] data_source
|
31
|
+
# @return [::String]
|
32
|
+
# Output only. The resource name of the DataSource.
|
33
|
+
# Format:
|
34
|
+
# projects/\\{project}/locations/\\{location}/backupVaults/\\{backupVault}/dataSources/\\{dataSource}
|
35
|
+
# @!attribute [r] create_time
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
37
|
+
# Output only. The time when the DataSourceReference was created.
|
38
|
+
# @!attribute [r] data_source_backup_config_state
|
39
|
+
# @return [::Google::Cloud::BackupDR::V1::BackupConfigState]
|
40
|
+
# Output only. The backup configuration state of the DataSource.
|
41
|
+
# @!attribute [r] data_source_backup_count
|
42
|
+
# @return [::Integer]
|
43
|
+
# Output only. Number of backups in the DataSource.
|
44
|
+
# @!attribute [r] data_source_backup_config_info
|
45
|
+
# @return [::Google::Cloud::BackupDR::V1::DataSourceBackupConfigInfo]
|
46
|
+
# Output only. Information of backup configuration on the DataSource.
|
47
|
+
# @!attribute [r] data_source_gcp_resource_info
|
48
|
+
# @return [::Google::Cloud::BackupDR::V1::DataSourceGcpResourceInfo]
|
49
|
+
# Output only. The GCP resource that the DataSource is associated with.
|
50
|
+
class DataSourceReference
|
51
|
+
include ::Google::Protobuf::MessageExts
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
53
|
+
end
|
54
|
+
|
55
|
+
# Information of backup configuration on the DataSource.
|
56
|
+
# @!attribute [r] last_backup_state
|
57
|
+
# @return [::Google::Cloud::BackupDR::V1::BackupConfigInfo::LastBackupState]
|
58
|
+
# Output only. The status of the last backup in this DataSource
|
59
|
+
# @!attribute [r] last_successful_backup_consistency_time
|
60
|
+
# @return [::Google::Protobuf::Timestamp]
|
61
|
+
# Output only. Timestamp of the last successful backup to this DataSource.
|
62
|
+
class DataSourceBackupConfigInfo
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
end
|
66
|
+
|
67
|
+
# The GCP resource that the DataSource is associated with.
|
68
|
+
# @!attribute [r] gcp_resourcename
|
69
|
+
# @return [::String]
|
70
|
+
# Output only. The resource name of the GCP resource.
|
71
|
+
# Ex: projects/\\{project}/zones/\\{zone}/instances/\\{instance}
|
72
|
+
# @!attribute [r] type
|
73
|
+
# @return [::String]
|
74
|
+
# Output only. The type of the GCP resource.
|
75
|
+
# Ex: compute.googleapis.com/Instance
|
76
|
+
# @!attribute [r] location
|
77
|
+
# @return [::String]
|
78
|
+
# Output only. The location of the GCP resource.
|
79
|
+
# Ex: <region>/<zone>/"global"/"unspecified"
|
80
|
+
# @!attribute [r] cloud_sql_instance_properties
|
81
|
+
# @return [::Google::Cloud::BackupDR::V1::CloudSqlInstanceDataSourceReferenceProperties]
|
82
|
+
# Output only. The properties of the Cloud SQL instance.
|
83
|
+
class DataSourceGcpResourceInfo
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
|
88
|
+
# Request for the GetDataSourceReference method.
|
89
|
+
# @!attribute [rw] name
|
90
|
+
# @return [::String]
|
91
|
+
# Required. The name of the DataSourceReference to retrieve.
|
92
|
+
# Format:
|
93
|
+
# projects/\\{project}/locations/\\{location}/dataSourceReferences/\\{data_source_reference}
|
94
|
+
class GetDataSourceReferenceRequest
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
|
99
|
+
# Request for the FetchDataSourceReferencesForResourceType method.
|
100
|
+
# @!attribute [rw] parent
|
101
|
+
# @return [::String]
|
102
|
+
# Required. The parent resource name.
|
103
|
+
# Format: projects/\\{project}/locations/\\{location}
|
104
|
+
# @!attribute [rw] resource_type
|
105
|
+
# @return [::String]
|
106
|
+
# Required. The type of the GCP resource.
|
107
|
+
# Ex: sql.googleapis.com/Instance
|
108
|
+
# @!attribute [rw] page_size
|
109
|
+
# @return [::Integer]
|
110
|
+
# Optional. The maximum number of DataSourceReferences to return. The service
|
111
|
+
# may return fewer than this value. If unspecified, at most 50
|
112
|
+
# DataSourceReferences will be returned. The maximum value is 100; values
|
113
|
+
# above 100 will be coerced to 100.
|
114
|
+
# @!attribute [rw] page_token
|
115
|
+
# @return [::String]
|
116
|
+
# Optional. A page token, received from a previous call of
|
117
|
+
# `FetchDataSourceReferencesForResourceType`.
|
118
|
+
# Provide this to retrieve the subsequent page.
|
119
|
+
#
|
120
|
+
# When paginating, all other parameters provided to
|
121
|
+
# `FetchDataSourceReferencesForResourceType` must match
|
122
|
+
# the call that provided the page token.
|
123
|
+
# @!attribute [rw] filter
|
124
|
+
# @return [::String]
|
125
|
+
# Optional. A filter expression that filters the results fetched in the
|
126
|
+
# response. The expression must specify the field name, a comparison
|
127
|
+
# operator, and the value that you want to use for filtering. Supported
|
128
|
+
# fields:
|
129
|
+
# * data_source
|
130
|
+
# * data_source_gcp_resource_info.gcp_resourcename
|
131
|
+
# * data_source_backup_config_state
|
132
|
+
# * data_source_backup_count
|
133
|
+
# * data_source_backup_config_info.last_backup_state
|
134
|
+
# * data_source_gcp_resource_info.gcp_resourcename
|
135
|
+
# * data_source_gcp_resource_info.type
|
136
|
+
# * data_source_gcp_resource_info.location
|
137
|
+
# * data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time
|
138
|
+
# @!attribute [rw] order_by
|
139
|
+
# @return [::String]
|
140
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
141
|
+
# order. Use "desc" after a field name for descending.
|
142
|
+
#
|
143
|
+
# Supported fields:
|
144
|
+
# * name
|
145
|
+
class FetchDataSourceReferencesForResourceTypeRequest
|
146
|
+
include ::Google::Protobuf::MessageExts
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
|
+
end
|
149
|
+
|
150
|
+
# Response for the FetchDataSourceReferencesForResourceType method.
|
151
|
+
# @!attribute [rw] data_source_references
|
152
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1::DataSourceReference>]
|
153
|
+
# The DataSourceReferences from the specified parent.
|
154
|
+
# @!attribute [rw] next_page_token
|
155
|
+
# @return [::String]
|
156
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
157
|
+
# If this field is omitted, there are no subsequent pages.
|
158
|
+
class FetchDataSourceReferencesForResourceTypeResponse
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-backupdr-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -94,9 +94,12 @@ files:
|
|
94
94
|
- lib/google/cloud/backupdr/v1/backupplan_pb.rb
|
95
95
|
- lib/google/cloud/backupdr/v1/backupplanassociation_pb.rb
|
96
96
|
- lib/google/cloud/backupdr/v1/backupvault_ba_pb.rb
|
97
|
+
- lib/google/cloud/backupdr/v1/backupvault_cloudsql_pb.rb
|
98
|
+
- lib/google/cloud/backupdr/v1/backupvault_disk_pb.rb
|
97
99
|
- lib/google/cloud/backupdr/v1/backupvault_gce_pb.rb
|
98
100
|
- lib/google/cloud/backupdr/v1/backupvault_pb.rb
|
99
101
|
- lib/google/cloud/backupdr/v1/bindings_override.rb
|
102
|
+
- lib/google/cloud/backupdr/v1/datasourcereference_pb.rb
|
100
103
|
- lib/google/cloud/backupdr/v1/rest.rb
|
101
104
|
- lib/google/cloud/backupdr/v1/version.rb
|
102
105
|
- proto_docs/README.md
|
@@ -110,7 +113,10 @@ files:
|
|
110
113
|
- proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb
|
111
114
|
- proto_docs/google/cloud/backupdr/v1/backupvault.rb
|
112
115
|
- proto_docs/google/cloud/backupdr/v1/backupvault_ba.rb
|
116
|
+
- proto_docs/google/cloud/backupdr/v1/backupvault_cloudsql.rb
|
117
|
+
- proto_docs/google/cloud/backupdr/v1/backupvault_disk.rb
|
113
118
|
- proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb
|
119
|
+
- proto_docs/google/cloud/backupdr/v1/datasourcereference.rb
|
114
120
|
- proto_docs/google/longrunning/operations.rb
|
115
121
|
- proto_docs/google/protobuf/any.rb
|
116
122
|
- proto_docs/google/protobuf/duration.rb
|
@@ -140,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
146
|
- !ruby/object:Gem::Version
|
141
147
|
version: '0'
|
142
148
|
requirements: []
|
143
|
-
rubygems_version: 3.6.
|
149
|
+
rubygems_version: 3.6.9
|
144
150
|
specification_version: 4
|
145
151
|
summary: API Client library for the Backup and DR Service V1 API
|
146
152
|
test_files: []
|