google-cloud-backupdr-v1beta 0.a → 0.1.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/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/backupdr/v1beta/appliedautoprotectionpolicy_pb.rb +30 -0
- data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicy_pb.rb +39 -0
- data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicybinding_pb.rb +32 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/client.rb +532 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/credentials.rb +48 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/paths.rb +50 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest/client.rb +491 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest/service_stub.rb +142 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest.rb +53 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary.rb +55 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/client.rb +6101 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/credentials.rb +48 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/operations.rb +843 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/paths.rb +372 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest/client.rb +5724 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest/operations.rb +927 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest/service_stub.rb +3086 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest.rb +54 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr.rb +56 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr_pb.rb +55 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr_services_pb.rb +145 -0
- data/lib/google/cloud/backupdr/v1beta/backupplan_pb.rb +49 -0
- data/lib/google/cloud/backupdr/v1beta/backupplanassociation_pb.rb +42 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_alloydb_pb.rb +30 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_ba_pb.rb +24 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_cloudsql_pb.rb +30 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_disk_pb.rb +33 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_gce_pb.rb +66 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_pb.rb +80 -0
- data/lib/google/cloud/backupdr/v1beta/bindingmatchingresource_pb.rb +31 -0
- data/lib/google/cloud/backupdr/v1beta/bindings_override.rb +108 -0
- data/lib/google/cloud/backupdr/v1beta/datasourcereference_pb.rb +35 -0
- data/lib/google/cloud/backupdr/v1beta/protection_summary_pb.rb +40 -0
- data/lib/google/cloud/backupdr/v1beta/protection_summary_services_pb.rb +45 -0
- data/lib/google/cloud/backupdr/v1beta/rest.rb +39 -0
- data/lib/google/cloud/backupdr/v1beta/version.rb +8 -3
- data/lib/google/cloud/backupdr/v1beta.rb +46 -0
- data/lib/google-cloud-backupdr-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/backupdr/v1beta/appliedautoprotectionpolicy.rb +121 -0
- data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicy.rb +277 -0
- data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicybinding.rb +180 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupdr.rb +428 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupplan.rb +637 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupplanassociation.rb +423 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault.rb +1391 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_alloydb.rb +105 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_ba.rb +47 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_cloudsql.rb +131 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_disk.rb +301 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_gce.rb +1010 -0
- data/proto_docs/google/cloud/backupdr/v1beta/bindingmatchingresource.rb +160 -0
- data/proto_docs/google/cloud/backupdr/v1beta/datasourcereference.rb +236 -0
- data/proto_docs/google/cloud/backupdr/v1beta/protection_summary.rb +309 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +128 -0
- data/proto_docs/google/protobuf/wrappers.rb +148 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/month.rb +64 -0
- metadata +134 -9
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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 V1beta
|
|
24
|
+
# Request message for getting a BindingMatchingResource.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The name of the matching resource to retrieve.
|
|
28
|
+
# Format:
|
|
29
|
+
# projects/\\{project}/locations/\\{location}/autoProtectionPolicies/\\{auto_protection_policy}/bindings/\\{binding}/matchingResources/\\{matching_resource}
|
|
30
|
+
class GetBindingMatchingResourceRequest
|
|
31
|
+
include ::Google::Protobuf::MessageExts
|
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Request message for List BindingMatchingResources.
|
|
36
|
+
# @!attribute [rw] parent
|
|
37
|
+
# @return [::String]
|
|
38
|
+
# Required. The project, location, auto protection policy and binding for
|
|
39
|
+
# which to retrieve `BindingMatchingResources` information. Format:
|
|
40
|
+
# `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}`.
|
|
41
|
+
# In Google Cloud Backup and DR, locations map to Google Cloud regions, for
|
|
42
|
+
# example **us-central1**.
|
|
43
|
+
# @!attribute [rw] page_size
|
|
44
|
+
# @return [::Integer]
|
|
45
|
+
# Optional. The maximum number of `BindingMatchingResources` to return in a
|
|
46
|
+
# single response. The default page size is 100 and maximum page size is 200.
|
|
47
|
+
# Note that the response may include a partial list and a caller should
|
|
48
|
+
# only rely on the response's
|
|
49
|
+
# {::Google::Cloud::BackupDR::V1beta::ListBindingMatchingResourcesResponse#next_page_token next_page_token}
|
|
50
|
+
# to determine if there are more instances left to be queried.
|
|
51
|
+
# @!attribute [rw] page_token
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Optional. The value of
|
|
54
|
+
# {::Google::Cloud::BackupDR::V1beta::ListBindingMatchingResourcesResponse#next_page_token next_page_token}
|
|
55
|
+
# received from a previous `ListBindingMatchingResources` call. Provide this
|
|
56
|
+
# to retrieve the subsequent page in a multi-page list of results. When
|
|
57
|
+
# paginating, all other parameters provided to `ListBindingMatchingResources`
|
|
58
|
+
# must match the call that provided the page token.
|
|
59
|
+
# @!attribute [rw] filter
|
|
60
|
+
# @return [::String]
|
|
61
|
+
# Optional. Field match expression used to filter the results.
|
|
62
|
+
# @!attribute [rw] order_by
|
|
63
|
+
# @return [::String]
|
|
64
|
+
# Optional. Field by which to sort the results.
|
|
65
|
+
class ListBindingMatchingResourcesRequest
|
|
66
|
+
include ::Google::Protobuf::MessageExts
|
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# The response message for getting a list of `BindingMatchingResources`.
|
|
71
|
+
# @!attribute [rw] matching_resources
|
|
72
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1beta::BindingMatchingResource>]
|
|
73
|
+
# The list of `BindingMatchingResources` in the project,location for the
|
|
74
|
+
# specified binding.
|
|
75
|
+
# @!attribute [rw] next_page_token
|
|
76
|
+
# @return [::String]
|
|
77
|
+
# A token which may be sent as
|
|
78
|
+
# {::Google::Cloud::BackupDR::V1beta::ListBindingMatchingResourcesRequest#page_token page_token}
|
|
79
|
+
# in a subsequent `ListBindingMatchingResources` call to retrieve the next
|
|
80
|
+
# page of results. If this field is omitted or empty, then there are no more
|
|
81
|
+
# results to return.
|
|
82
|
+
class ListBindingMatchingResourcesResponse
|
|
83
|
+
include ::Google::Protobuf::MessageExts
|
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# BindingMatchingResource contains the details of a resource that matches the
|
|
88
|
+
# criteria of a binding.
|
|
89
|
+
# @!attribute [rw] name
|
|
90
|
+
# @return [::String]
|
|
91
|
+
# Identifier. The resource name of the `BindingMatchingResource`.
|
|
92
|
+
# Format:
|
|
93
|
+
# `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}/matchingResources/{matching_resource}`
|
|
94
|
+
# @!attribute [rw] resource
|
|
95
|
+
# @return [::String]
|
|
96
|
+
# Required. Immutable. Resource name of the workload that matches the
|
|
97
|
+
# criteria of the binding.
|
|
98
|
+
#
|
|
99
|
+
# The format can be either a relative resource name (e.g.,
|
|
100
|
+
# `projects/my-project/zones/us-central1-a/instances/my-instance`) or a
|
|
101
|
+
# schemeless full resource name (e.g.,
|
|
102
|
+
# `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`).
|
|
103
|
+
# @!attribute [r] last_evaluation_time
|
|
104
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
105
|
+
# Output only. The timestamp when the resource was last evaluated for
|
|
106
|
+
# protection.
|
|
107
|
+
# @!attribute [r] auto_protection_details
|
|
108
|
+
# @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionDetails]
|
|
109
|
+
# Output only. The auto protection details of the resource from the current
|
|
110
|
+
# binding's perspective.
|
|
111
|
+
class BindingMatchingResource
|
|
112
|
+
include ::Google::Protobuf::MessageExts
|
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# AutoProtectionDetails contains the protection details of a resource from the
|
|
117
|
+
# current binding's perspective.
|
|
118
|
+
# @!attribute [r] state
|
|
119
|
+
# @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionDetails::State]
|
|
120
|
+
# Output only. Protection state of the resource from the current binding's
|
|
121
|
+
# perspective. Output only.
|
|
122
|
+
# @!attribute [r] backup_plan_association
|
|
123
|
+
# @return [::String]
|
|
124
|
+
# Output only. Resource name of backup plan association linked to the
|
|
125
|
+
# resource, if any. Format:
|
|
126
|
+
# projects/\\{project}/locations/\\{location}/backupPlanAssociations/\\{backupPlanAssociationId}
|
|
127
|
+
# @!attribute [r] data_source
|
|
128
|
+
# @return [::String]
|
|
129
|
+
# Output only. Resource name of the datasource linked to the resource, if
|
|
130
|
+
# any. Format:
|
|
131
|
+
# projects/\\{project}/locations/\\{location}/backupVaults/\\{backupVaultId}/dataSources/\\{dataSourceId}
|
|
132
|
+
# @!attribute [r] error
|
|
133
|
+
# @return [::Google::Rpc::Status]
|
|
134
|
+
# Output only. Error during last sync for protection/unprotection, if any.
|
|
135
|
+
class AutoProtectionDetails
|
|
136
|
+
include ::Google::Protobuf::MessageExts
|
|
137
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
138
|
+
|
|
139
|
+
# Enum for protection state of the resource.
|
|
140
|
+
module State
|
|
141
|
+
# State unspecified.
|
|
142
|
+
STATE_UNSPECIFIED = 0
|
|
143
|
+
|
|
144
|
+
# Resource is protected.
|
|
145
|
+
PROTECTED = 1
|
|
146
|
+
|
|
147
|
+
# Resource protection failed.
|
|
148
|
+
PROTECTION_FAILED = 2
|
|
149
|
+
|
|
150
|
+
# Resource is being unprotected.
|
|
151
|
+
UNPROTECTING = 3
|
|
152
|
+
|
|
153
|
+
# Resource unprotection failed.
|
|
154
|
+
UNPROTECTION_FAILED = 4
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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 V1beta
|
|
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::V1beta::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::V1beta::DataSourceBackupConfigInfo]
|
|
46
|
+
# Output only. Information of backup configuration on the DataSource.
|
|
47
|
+
# @!attribute [r] data_source_gcp_resource_info
|
|
48
|
+
# @return [::Google::Cloud::BackupDR::V1beta::DataSourceGcpResourceInfo]
|
|
49
|
+
# Output only. The Google Cloud resource that the DataSource is associated
|
|
50
|
+
# with.
|
|
51
|
+
# @!attribute [r] total_stored_bytes
|
|
52
|
+
# @return [::Integer]
|
|
53
|
+
# Output only. Total size of the storage used by all backup resources for the
|
|
54
|
+
# referenced datasource.
|
|
55
|
+
class DataSourceReference
|
|
56
|
+
include ::Google::Protobuf::MessageExts
|
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Information of backup configuration on the DataSource.
|
|
61
|
+
# @!attribute [r] last_backup_state
|
|
62
|
+
# @return [::Google::Cloud::BackupDR::V1beta::BackupConfigInfo::LastBackupState]
|
|
63
|
+
# Output only. The status of the last backup in this DataSource
|
|
64
|
+
# @!attribute [r] last_successful_backup_consistency_time
|
|
65
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
66
|
+
# Output only. Timestamp of the last successful backup to this DataSource.
|
|
67
|
+
class DataSourceBackupConfigInfo
|
|
68
|
+
include ::Google::Protobuf::MessageExts
|
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# The Google Cloud resource that the DataSource is associated with.
|
|
73
|
+
# @!attribute [r] cloud_sql_instance_properties
|
|
74
|
+
# @return [::Google::Cloud::BackupDR::V1beta::CloudSqlInstanceDataSourceReferenceProperties]
|
|
75
|
+
# Output only. The properties of the Cloud SQL instance.
|
|
76
|
+
#
|
|
77
|
+
# Note: The following fields are mutually exclusive: `cloud_sql_instance_properties`, `alloy_db_cluster_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
78
|
+
# @!attribute [r] alloy_db_cluster_properties
|
|
79
|
+
# @return [::Google::Cloud::BackupDR::V1beta::AlloyDBClusterDataSourceReferenceProperties]
|
|
80
|
+
# Output only. The properties of the AlloyDB cluster.
|
|
81
|
+
#
|
|
82
|
+
# Note: The following fields are mutually exclusive: `alloy_db_cluster_properties`, `cloud_sql_instance_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
83
|
+
# @!attribute [r] gcp_resourcename
|
|
84
|
+
# @return [::String]
|
|
85
|
+
# Output only. The resource name of the Google Cloud resource.
|
|
86
|
+
# Ex: projects/\\{project}/zones/\\{zone}/instances/\\{instance}
|
|
87
|
+
# @!attribute [r] type
|
|
88
|
+
# @return [::String]
|
|
89
|
+
# Output only. The type of the Google Cloud resource.
|
|
90
|
+
# Ex: compute.googleapis.com/Instance
|
|
91
|
+
# @!attribute [r] location
|
|
92
|
+
# @return [::String]
|
|
93
|
+
# Output only. The location of the Google Cloud resource.
|
|
94
|
+
# Ex: <region>/<zone>/"global"/"unspecified"
|
|
95
|
+
class DataSourceGcpResourceInfo
|
|
96
|
+
include ::Google::Protobuf::MessageExts
|
|
97
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Request for the GetDataSourceReference method.
|
|
101
|
+
# @!attribute [rw] name
|
|
102
|
+
# @return [::String]
|
|
103
|
+
# Required. The name of the DataSourceReference to retrieve.
|
|
104
|
+
# Format:
|
|
105
|
+
# projects/\\{project}/locations/\\{location}/dataSourceReferences/\\{data_source_reference}
|
|
106
|
+
class GetDataSourceReferenceRequest
|
|
107
|
+
include ::Google::Protobuf::MessageExts
|
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Request for the ListDataSourceReferences method.
|
|
112
|
+
# @!attribute [rw] parent
|
|
113
|
+
# @return [::String]
|
|
114
|
+
# Required. The parent resource name.
|
|
115
|
+
# Format: projects/\\{project}/locations/\\{location}
|
|
116
|
+
# @!attribute [rw] page_size
|
|
117
|
+
# @return [::Integer]
|
|
118
|
+
# Optional. The maximum number of DataSourceReferences to return. The service
|
|
119
|
+
# may return fewer than this value. If unspecified, at most 50
|
|
120
|
+
# DataSourceReferences will be returned. The maximum value is 100; values
|
|
121
|
+
# above 100 will be coerced to 100.
|
|
122
|
+
# @!attribute [rw] page_token
|
|
123
|
+
# @return [::String]
|
|
124
|
+
# Optional. A page token, received from a previous `ListDataSourceReferences`
|
|
125
|
+
# call. Provide this to retrieve the subsequent page.
|
|
126
|
+
#
|
|
127
|
+
# When paginating, all other parameters provided to
|
|
128
|
+
# `ListDataSourceReferences` must match the call that provided the page
|
|
129
|
+
# token.
|
|
130
|
+
# @!attribute [rw] filter
|
|
131
|
+
# @return [::String]
|
|
132
|
+
# Optional. A filter expression that filters the results listed in the
|
|
133
|
+
# response. The expression must specify the field name, a comparison
|
|
134
|
+
# operator, and the value that you want to use for filtering.
|
|
135
|
+
#
|
|
136
|
+
# The following field and operator combinations are supported:
|
|
137
|
+
#
|
|
138
|
+
# * data_source_gcp_resource_info.gcp_resourcename with `=`, `!=`
|
|
139
|
+
# * data_source_gcp_resource_info.type with `=`, `!=`
|
|
140
|
+
# @!attribute [rw] order_by
|
|
141
|
+
# @return [::String]
|
|
142
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
143
|
+
# order. Use "desc" after a field name for descending.
|
|
144
|
+
#
|
|
145
|
+
# Supported fields:
|
|
146
|
+
#
|
|
147
|
+
# * data_source
|
|
148
|
+
# * data_source_gcp_resource_info.gcp_resourcename
|
|
149
|
+
class ListDataSourceReferencesRequest
|
|
150
|
+
include ::Google::Protobuf::MessageExts
|
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Response for the ListDataSourceReferences method.
|
|
155
|
+
# @!attribute [rw] data_source_references
|
|
156
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1beta::DataSourceReference>]
|
|
157
|
+
# The DataSourceReferences from the specified parent.
|
|
158
|
+
# @!attribute [rw] next_page_token
|
|
159
|
+
# @return [::String]
|
|
160
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
161
|
+
# If this field is omitted, there are no subsequent pages.
|
|
162
|
+
# @!attribute [rw] unreachable
|
|
163
|
+
# @return [::Array<::String>]
|
|
164
|
+
# Locations that could not be reached.
|
|
165
|
+
class ListDataSourceReferencesResponse
|
|
166
|
+
include ::Google::Protobuf::MessageExts
|
|
167
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
# Request for the FetchDataSourceReferencesForResourceType method.
|
|
171
|
+
# @!attribute [rw] parent
|
|
172
|
+
# @return [::String]
|
|
173
|
+
# Required. The parent resource name.
|
|
174
|
+
# Format: projects/\\{project}/locations/\\{location}
|
|
175
|
+
# @!attribute [rw] resource_type
|
|
176
|
+
# @return [::String]
|
|
177
|
+
# Required. The type of the Google Cloud resource.
|
|
178
|
+
# Ex: sql.googleapis.com/Instance
|
|
179
|
+
# @!attribute [rw] page_size
|
|
180
|
+
# @return [::Integer]
|
|
181
|
+
# Optional. The maximum number of DataSourceReferences to return. The service
|
|
182
|
+
# may return fewer than this value. If unspecified, at most 50
|
|
183
|
+
# DataSourceReferences will be returned. The maximum value is 100; values
|
|
184
|
+
# above 100 will be coerced to 100.
|
|
185
|
+
# @!attribute [rw] page_token
|
|
186
|
+
# @return [::String]
|
|
187
|
+
# Optional. A page token, received from a previous call of
|
|
188
|
+
# `FetchDataSourceReferencesForResourceType`.
|
|
189
|
+
# Provide this to retrieve the subsequent page.
|
|
190
|
+
#
|
|
191
|
+
# When paginating, all other parameters provided to
|
|
192
|
+
# `FetchDataSourceReferencesForResourceType` must match
|
|
193
|
+
# the call that provided the page token.
|
|
194
|
+
# @!attribute [rw] filter
|
|
195
|
+
# @return [::String]
|
|
196
|
+
# Optional. A filter expression that filters the results fetched in the
|
|
197
|
+
# response. The expression must specify the field name, a comparison
|
|
198
|
+
# operator, and the value that you want to use for filtering. Supported
|
|
199
|
+
# fields:
|
|
200
|
+
# * data_source
|
|
201
|
+
# * data_source_gcp_resource_info.gcp_resourcename
|
|
202
|
+
# * data_source_backup_config_state
|
|
203
|
+
# * data_source_backup_count
|
|
204
|
+
# * data_source_backup_config_info.last_backup_state
|
|
205
|
+
# * data_source_gcp_resource_info.gcp_resourcename
|
|
206
|
+
# * data_source_gcp_resource_info.type
|
|
207
|
+
# * data_source_gcp_resource_info.location
|
|
208
|
+
# * data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time
|
|
209
|
+
# @!attribute [rw] order_by
|
|
210
|
+
# @return [::String]
|
|
211
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
212
|
+
# order. Use "desc" after a field name for descending.
|
|
213
|
+
#
|
|
214
|
+
# Supported fields:
|
|
215
|
+
# * name
|
|
216
|
+
class FetchDataSourceReferencesForResourceTypeRequest
|
|
217
|
+
include ::Google::Protobuf::MessageExts
|
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Response for the FetchDataSourceReferencesForResourceType method.
|
|
222
|
+
# @!attribute [rw] data_source_references
|
|
223
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1beta::DataSourceReference>]
|
|
224
|
+
# The DataSourceReferences from the specified parent.
|
|
225
|
+
# @!attribute [rw] next_page_token
|
|
226
|
+
# @return [::String]
|
|
227
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
228
|
+
# If this field is omitted, there are no subsequent pages.
|
|
229
|
+
class FetchDataSourceReferencesForResourceTypeResponse
|
|
230
|
+
include ::Google::Protobuf::MessageExts
|
|
231
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
end
|