google-cloud-alloy_db-v1beta 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/client.rb +3304 -0
  6. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/credentials.rb +47 -0
  7. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/operations.rb +768 -0
  8. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/paths.rb +149 -0
  9. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/client.rb +2586 -0
  10. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/operations.rb +792 -0
  11. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/service_stub.rb +1537 -0
  12. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest.rb +54 -0
  13. data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin.rb +56 -0
  14. data/lib/google/cloud/alloy_db/v1beta/bindings_override.rb +102 -0
  15. data/lib/google/cloud/alloy_db/v1beta/rest.rb +38 -0
  16. data/lib/google/cloud/alloy_db/v1beta/version.rb +8 -3
  17. data/lib/google/cloud/alloy_db/v1beta.rb +45 -0
  18. data/lib/google/cloud/alloydb/v1beta/resources_pb.rb +338 -0
  19. data/lib/google/cloud/alloydb/v1beta/service_pb.rb +279 -0
  20. data/lib/google/cloud/alloydb/v1beta/service_services_pb.rb +115 -0
  21. data/lib/google-cloud-alloy_db-v1beta.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/client.rb +324 -0
  24. data/proto_docs/google/api/field_behavior.rb +71 -0
  25. data/proto_docs/google/api/launch_stage.rb +71 -0
  26. data/proto_docs/google/api/resource.rb +222 -0
  27. data/proto_docs/google/cloud/alloydb/v1beta/resources.rb +1068 -0
  28. data/proto_docs/google/cloud/alloydb/v1beta/service.rb +998 -0
  29. data/proto_docs/google/longrunning/operations.rb +164 -0
  30. data/proto_docs/google/protobuf/any.rb +141 -0
  31. data/proto_docs/google/protobuf/duration.rb +98 -0
  32. data/proto_docs/google/protobuf/empty.rb +34 -0
  33. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  34. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  35. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  36. data/proto_docs/google/rpc/status.rb +48 -0
  37. data/proto_docs/google/type/dayofweek.rb +49 -0
  38. data/proto_docs/google/type/expr.rb +75 -0
  39. data/proto_docs/google/type/timeofday.rb +45 -0
  40. metadata +250 -12
@@ -0,0 +1,279 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/alloydb/v1beta/service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/cloud/alloydb/v1beta/resources_pb'
11
+ require 'google/longrunning/operations_pb'
12
+ require 'google/protobuf/duration_pb'
13
+ require 'google/protobuf/empty_pb'
14
+ require 'google/protobuf/field_mask_pb'
15
+ require 'google/protobuf/timestamp_pb'
16
+ require 'google/rpc/status_pb'
17
+
18
+ Google::Protobuf::DescriptorPool.generated_pool.build do
19
+ add_file("google/cloud/alloydb/v1beta/service.proto", :syntax => :proto3) do
20
+ add_message "google.cloud.alloydb.v1beta.ListClustersRequest" do
21
+ optional :parent, :string, 1
22
+ optional :page_size, :int32, 2
23
+ optional :page_token, :string, 3
24
+ optional :filter, :string, 4
25
+ optional :order_by, :string, 5
26
+ end
27
+ add_message "google.cloud.alloydb.v1beta.ListClustersResponse" do
28
+ repeated :clusters, :message, 1, "google.cloud.alloydb.v1beta.Cluster"
29
+ optional :next_page_token, :string, 2
30
+ repeated :unreachable, :string, 3
31
+ end
32
+ add_message "google.cloud.alloydb.v1beta.GetClusterRequest" do
33
+ optional :name, :string, 1
34
+ end
35
+ add_message "google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest" do
36
+ optional :parent, :string, 1
37
+ optional :cluster_id, :string, 2
38
+ optional :cluster, :message, 3, "google.cloud.alloydb.v1beta.Cluster"
39
+ optional :request_id, :string, 5
40
+ optional :validate_only, :bool, 6
41
+ end
42
+ add_message "google.cloud.alloydb.v1beta.CreateClusterRequest" do
43
+ optional :parent, :string, 1
44
+ optional :cluster_id, :string, 2
45
+ optional :cluster, :message, 3, "google.cloud.alloydb.v1beta.Cluster"
46
+ optional :request_id, :string, 4
47
+ optional :validate_only, :bool, 5
48
+ end
49
+ add_message "google.cloud.alloydb.v1beta.UpdateClusterRequest" do
50
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
51
+ optional :cluster, :message, 2, "google.cloud.alloydb.v1beta.Cluster"
52
+ optional :request_id, :string, 3
53
+ optional :validate_only, :bool, 4
54
+ optional :allow_missing, :bool, 5
55
+ end
56
+ add_message "google.cloud.alloydb.v1beta.DeleteClusterRequest" do
57
+ optional :name, :string, 1
58
+ optional :request_id, :string, 2
59
+ optional :etag, :string, 3
60
+ optional :validate_only, :bool, 4
61
+ optional :force, :bool, 5
62
+ end
63
+ add_message "google.cloud.alloydb.v1beta.PromoteClusterRequest" do
64
+ optional :name, :string, 1
65
+ optional :request_id, :string, 2
66
+ optional :etag, :string, 3
67
+ optional :validate_only, :bool, 4
68
+ end
69
+ add_message "google.cloud.alloydb.v1beta.RestoreClusterRequest" do
70
+ optional :parent, :string, 1
71
+ optional :cluster_id, :string, 2
72
+ optional :cluster, :message, 3, "google.cloud.alloydb.v1beta.Cluster"
73
+ optional :request_id, :string, 5
74
+ optional :validate_only, :bool, 6
75
+ oneof :source do
76
+ optional :backup_source, :message, 4, "google.cloud.alloydb.v1beta.BackupSource"
77
+ optional :continuous_backup_source, :message, 8, "google.cloud.alloydb.v1beta.ContinuousBackupSource"
78
+ end
79
+ end
80
+ add_message "google.cloud.alloydb.v1beta.ListInstancesRequest" do
81
+ optional :parent, :string, 1
82
+ optional :page_size, :int32, 2
83
+ optional :page_token, :string, 3
84
+ optional :filter, :string, 4
85
+ optional :order_by, :string, 5
86
+ end
87
+ add_message "google.cloud.alloydb.v1beta.ListInstancesResponse" do
88
+ repeated :instances, :message, 1, "google.cloud.alloydb.v1beta.Instance"
89
+ optional :next_page_token, :string, 2
90
+ repeated :unreachable, :string, 3
91
+ end
92
+ add_message "google.cloud.alloydb.v1beta.GetInstanceRequest" do
93
+ optional :name, :string, 1
94
+ optional :view, :enum, 2, "google.cloud.alloydb.v1beta.InstanceView"
95
+ end
96
+ add_message "google.cloud.alloydb.v1beta.CreateInstanceRequest" do
97
+ optional :parent, :string, 1
98
+ optional :instance_id, :string, 2
99
+ optional :instance, :message, 3, "google.cloud.alloydb.v1beta.Instance"
100
+ optional :request_id, :string, 4
101
+ optional :validate_only, :bool, 5
102
+ end
103
+ add_message "google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest" do
104
+ optional :parent, :string, 1
105
+ optional :instance_id, :string, 2
106
+ optional :instance, :message, 3, "google.cloud.alloydb.v1beta.Instance"
107
+ optional :request_id, :string, 4
108
+ optional :validate_only, :bool, 5
109
+ end
110
+ add_message "google.cloud.alloydb.v1beta.CreateInstanceRequests" do
111
+ repeated :create_instance_requests, :message, 1, "google.cloud.alloydb.v1beta.CreateInstanceRequest"
112
+ end
113
+ add_message "google.cloud.alloydb.v1beta.BatchCreateInstancesRequest" do
114
+ optional :parent, :string, 1
115
+ optional :requests, :message, 2, "google.cloud.alloydb.v1beta.CreateInstanceRequests"
116
+ optional :request_id, :string, 3
117
+ end
118
+ add_message "google.cloud.alloydb.v1beta.BatchCreateInstancesResponse" do
119
+ repeated :instances, :message, 1, "google.cloud.alloydb.v1beta.Instance"
120
+ end
121
+ add_message "google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata" do
122
+ repeated :instance_targets, :string, 1
123
+ map :instance_statuses, :string, :message, 2, "google.cloud.alloydb.v1beta.BatchCreateInstanceStatus"
124
+ end
125
+ add_message "google.cloud.alloydb.v1beta.BatchCreateInstanceStatus" do
126
+ optional :state, :enum, 1, "google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State"
127
+ optional :error_msg, :string, 2
128
+ optional :error, :message, 4, "google.rpc.Status"
129
+ optional :type, :enum, 3, "google.cloud.alloydb.v1beta.Instance.InstanceType"
130
+ end
131
+ add_enum "google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State" do
132
+ value :STATE_UNSPECIFIED, 0
133
+ value :PENDING_CREATE, 1
134
+ value :READY, 2
135
+ value :CREATING, 3
136
+ value :DELETING, 4
137
+ value :FAILED, 5
138
+ value :ROLLED_BACK, 6
139
+ end
140
+ add_message "google.cloud.alloydb.v1beta.UpdateInstanceRequest" do
141
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
142
+ optional :instance, :message, 2, "google.cloud.alloydb.v1beta.Instance"
143
+ optional :request_id, :string, 3
144
+ optional :validate_only, :bool, 4
145
+ optional :allow_missing, :bool, 5
146
+ end
147
+ add_message "google.cloud.alloydb.v1beta.DeleteInstanceRequest" do
148
+ optional :name, :string, 1
149
+ optional :request_id, :string, 2
150
+ optional :etag, :string, 3
151
+ optional :validate_only, :bool, 4
152
+ end
153
+ add_message "google.cloud.alloydb.v1beta.FailoverInstanceRequest" do
154
+ optional :name, :string, 1
155
+ optional :request_id, :string, 2
156
+ optional :validate_only, :bool, 3
157
+ end
158
+ add_message "google.cloud.alloydb.v1beta.RestartInstanceRequest" do
159
+ optional :name, :string, 1
160
+ optional :request_id, :string, 2
161
+ optional :validate_only, :bool, 3
162
+ end
163
+ add_message "google.cloud.alloydb.v1beta.ListBackupsRequest" do
164
+ optional :parent, :string, 1
165
+ optional :page_size, :int32, 2
166
+ optional :page_token, :string, 3
167
+ optional :filter, :string, 4
168
+ optional :order_by, :string, 5
169
+ end
170
+ add_message "google.cloud.alloydb.v1beta.ListBackupsResponse" do
171
+ repeated :backups, :message, 1, "google.cloud.alloydb.v1beta.Backup"
172
+ optional :next_page_token, :string, 2
173
+ repeated :unreachable, :string, 3
174
+ end
175
+ add_message "google.cloud.alloydb.v1beta.GetBackupRequest" do
176
+ optional :name, :string, 1
177
+ end
178
+ add_message "google.cloud.alloydb.v1beta.CreateBackupRequest" do
179
+ optional :parent, :string, 1
180
+ optional :backup_id, :string, 2
181
+ optional :backup, :message, 3, "google.cloud.alloydb.v1beta.Backup"
182
+ optional :request_id, :string, 4
183
+ optional :validate_only, :bool, 5
184
+ end
185
+ add_message "google.cloud.alloydb.v1beta.UpdateBackupRequest" do
186
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
187
+ optional :backup, :message, 2, "google.cloud.alloydb.v1beta.Backup"
188
+ optional :request_id, :string, 3
189
+ optional :validate_only, :bool, 4
190
+ optional :allow_missing, :bool, 5
191
+ end
192
+ add_message "google.cloud.alloydb.v1beta.DeleteBackupRequest" do
193
+ optional :name, :string, 1
194
+ optional :request_id, :string, 2
195
+ optional :validate_only, :bool, 3
196
+ optional :etag, :string, 4
197
+ end
198
+ add_message "google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest" do
199
+ optional :parent, :string, 1
200
+ optional :page_size, :int32, 2
201
+ optional :page_token, :string, 3
202
+ end
203
+ add_message "google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse" do
204
+ repeated :supported_database_flags, :message, 1, "google.cloud.alloydb.v1beta.SupportedDatabaseFlag"
205
+ optional :next_page_token, :string, 2
206
+ end
207
+ add_message "google.cloud.alloydb.v1beta.GenerateClientCertificateRequest" do
208
+ optional :parent, :string, 1
209
+ optional :request_id, :string, 2
210
+ optional :pem_csr, :string, 3
211
+ optional :cert_duration, :message, 4, "google.protobuf.Duration"
212
+ end
213
+ add_message "google.cloud.alloydb.v1beta.GenerateClientCertificateResponse" do
214
+ optional :pem_certificate, :string, 1
215
+ repeated :pem_certificate_chain, :string, 2
216
+ end
217
+ add_message "google.cloud.alloydb.v1beta.GetConnectionInfoRequest" do
218
+ optional :parent, :string, 1
219
+ optional :request_id, :string, 2
220
+ end
221
+ add_message "google.cloud.alloydb.v1beta.OperationMetadata" do
222
+ optional :create_time, :message, 1, "google.protobuf.Timestamp"
223
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
224
+ optional :target, :string, 3
225
+ optional :verb, :string, 4
226
+ optional :status_message, :string, 5
227
+ optional :requested_cancellation, :bool, 6
228
+ optional :api_version, :string, 7
229
+ oneof :request_specific do
230
+ optional :batch_create_instances_metadata, :message, 8, "google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata"
231
+ end
232
+ end
233
+ end
234
+ end
235
+
236
+ module Google
237
+ module Cloud
238
+ module AlloyDB
239
+ module V1beta
240
+ ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListClustersRequest").msgclass
241
+ ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListClustersResponse").msgclass
242
+ GetClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.GetClusterRequest").msgclass
243
+ CreateSecondaryClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest").msgclass
244
+ CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateClusterRequest").msgclass
245
+ UpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpdateClusterRequest").msgclass
246
+ DeleteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.DeleteClusterRequest").msgclass
247
+ PromoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.PromoteClusterRequest").msgclass
248
+ RestoreClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.RestoreClusterRequest").msgclass
249
+ ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListInstancesRequest").msgclass
250
+ ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListInstancesResponse").msgclass
251
+ GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.GetInstanceRequest").msgclass
252
+ CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateInstanceRequest").msgclass
253
+ CreateSecondaryInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest").msgclass
254
+ CreateInstanceRequests = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateInstanceRequests").msgclass
255
+ BatchCreateInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.BatchCreateInstancesRequest").msgclass
256
+ BatchCreateInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.BatchCreateInstancesResponse").msgclass
257
+ BatchCreateInstancesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata").msgclass
258
+ BatchCreateInstanceStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.BatchCreateInstanceStatus").msgclass
259
+ BatchCreateInstanceStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State").enummodule
260
+ UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpdateInstanceRequest").msgclass
261
+ DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.DeleteInstanceRequest").msgclass
262
+ FailoverInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.FailoverInstanceRequest").msgclass
263
+ RestartInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.RestartInstanceRequest").msgclass
264
+ ListBackupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListBackupsRequest").msgclass
265
+ ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListBackupsResponse").msgclass
266
+ GetBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.GetBackupRequest").msgclass
267
+ CreateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateBackupRequest").msgclass
268
+ UpdateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpdateBackupRequest").msgclass
269
+ DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.DeleteBackupRequest").msgclass
270
+ ListSupportedDatabaseFlagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest").msgclass
271
+ ListSupportedDatabaseFlagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse").msgclass
272
+ GenerateClientCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.GenerateClientCertificateRequest").msgclass
273
+ GenerateClientCertificateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.GenerateClientCertificateResponse").msgclass
274
+ GetConnectionInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.GetConnectionInfoRequest").msgclass
275
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.OperationMetadata").msgclass
276
+ end
277
+ end
278
+ end
279
+ end
@@ -0,0 +1,115 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/alloydb/v1beta/service.proto for package 'Google.Cloud.AlloyDB.V1beta'
3
+ # Original file comments:
4
+ # Copyright 2022 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/alloydb/v1beta/service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module AlloyDB
25
+ module V1beta
26
+ module AlloyDBAdmin
27
+ # Service describing handlers for resources
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.alloydb.v1beta.AlloyDBAdmin'
35
+
36
+ # Lists Clusters in a given project and location.
37
+ rpc :ListClusters, ::Google::Cloud::AlloyDB::V1beta::ListClustersRequest, ::Google::Cloud::AlloyDB::V1beta::ListClustersResponse
38
+ # Gets details of a single Cluster.
39
+ rpc :GetCluster, ::Google::Cloud::AlloyDB::V1beta::GetClusterRequest, ::Google::Cloud::AlloyDB::V1beta::Cluster
40
+ # Creates a new Cluster in a given project and location.
41
+ rpc :CreateCluster, ::Google::Cloud::AlloyDB::V1beta::CreateClusterRequest, ::Google::Longrunning::Operation
42
+ # Updates the parameters of a single Cluster.
43
+ rpc :UpdateCluster, ::Google::Cloud::AlloyDB::V1beta::UpdateClusterRequest, ::Google::Longrunning::Operation
44
+ # Deletes a single Cluster.
45
+ rpc :DeleteCluster, ::Google::Cloud::AlloyDB::V1beta::DeleteClusterRequest, ::Google::Longrunning::Operation
46
+ # Promotes a SECONDARY cluster. This turns down replication
47
+ # from the PRIMARY cluster and promotes a secondary cluster
48
+ # into its own standalone cluster.
49
+ # Imperative only.
50
+ rpc :PromoteCluster, ::Google::Cloud::AlloyDB::V1beta::PromoteClusterRequest, ::Google::Longrunning::Operation
51
+ # Creates a new Cluster in a given project and location, with a volume
52
+ # restored from the provided source, either a backup ID or a point-in-time
53
+ # and a source cluster.
54
+ rpc :RestoreCluster, ::Google::Cloud::AlloyDB::V1beta::RestoreClusterRequest, ::Google::Longrunning::Operation
55
+ # Creates a cluster of type SECONDARY in the given location using
56
+ # the primary cluster as the source.
57
+ rpc :CreateSecondaryCluster, ::Google::Cloud::AlloyDB::V1beta::CreateSecondaryClusterRequest, ::Google::Longrunning::Operation
58
+ # Lists Instances in a given project and location.
59
+ rpc :ListInstances, ::Google::Cloud::AlloyDB::V1beta::ListInstancesRequest, ::Google::Cloud::AlloyDB::V1beta::ListInstancesResponse
60
+ # Gets details of a single Instance.
61
+ rpc :GetInstance, ::Google::Cloud::AlloyDB::V1beta::GetInstanceRequest, ::Google::Cloud::AlloyDB::V1beta::Instance
62
+ # Creates a new Instance in a given project and location.
63
+ rpc :CreateInstance, ::Google::Cloud::AlloyDB::V1beta::CreateInstanceRequest, ::Google::Longrunning::Operation
64
+ # Creates a new SECONDARY Instance in a given project and location.
65
+ rpc :CreateSecondaryInstance, ::Google::Cloud::AlloyDB::V1beta::CreateSecondaryInstanceRequest, ::Google::Longrunning::Operation
66
+ # Creates new instances under the given project, location and cluster.
67
+ # There can be only one primary instance in a cluster. If the primary
68
+ # instance exists in the cluster as well as this request, then API will
69
+ # throw an error.
70
+ # The primary instance should exist before any read pool instance is
71
+ # created. If the primary instance is a part of the request payload, then
72
+ # the API will take care of creating instances in the correct order.
73
+ # This method is here to support Google-internal use cases, and is not meant
74
+ # for external customers to consume. Please do not start relying on it; its
75
+ # behavior is subject to change without notice.
76
+ rpc :BatchCreateInstances, ::Google::Cloud::AlloyDB::V1beta::BatchCreateInstancesRequest, ::Google::Longrunning::Operation
77
+ # Updates the parameters of a single Instance.
78
+ rpc :UpdateInstance, ::Google::Cloud::AlloyDB::V1beta::UpdateInstanceRequest, ::Google::Longrunning::Operation
79
+ # Deletes a single Instance.
80
+ rpc :DeleteInstance, ::Google::Cloud::AlloyDB::V1beta::DeleteInstanceRequest, ::Google::Longrunning::Operation
81
+ # Forces a Failover for a highly available instance.
82
+ # Failover promotes the HA standby instance as the new primary.
83
+ # Imperative only.
84
+ rpc :FailoverInstance, ::Google::Cloud::AlloyDB::V1beta::FailoverInstanceRequest, ::Google::Longrunning::Operation
85
+ # Restart an Instance in a cluster.
86
+ # Imperative only.
87
+ rpc :RestartInstance, ::Google::Cloud::AlloyDB::V1beta::RestartInstanceRequest, ::Google::Longrunning::Operation
88
+ # Lists Backups in a given project and location.
89
+ rpc :ListBackups, ::Google::Cloud::AlloyDB::V1beta::ListBackupsRequest, ::Google::Cloud::AlloyDB::V1beta::ListBackupsResponse
90
+ # Gets details of a single Backup.
91
+ rpc :GetBackup, ::Google::Cloud::AlloyDB::V1beta::GetBackupRequest, ::Google::Cloud::AlloyDB::V1beta::Backup
92
+ # Creates a new Backup in a given project and location.
93
+ rpc :CreateBackup, ::Google::Cloud::AlloyDB::V1beta::CreateBackupRequest, ::Google::Longrunning::Operation
94
+ # Updates the parameters of a single Backup.
95
+ rpc :UpdateBackup, ::Google::Cloud::AlloyDB::V1beta::UpdateBackupRequest, ::Google::Longrunning::Operation
96
+ # Deletes a single Backup.
97
+ rpc :DeleteBackup, ::Google::Cloud::AlloyDB::V1beta::DeleteBackupRequest, ::Google::Longrunning::Operation
98
+ # Lists SupportedDatabaseFlags for a given project and location.
99
+ rpc :ListSupportedDatabaseFlags, ::Google::Cloud::AlloyDB::V1beta::ListSupportedDatabaseFlagsRequest, ::Google::Cloud::AlloyDB::V1beta::ListSupportedDatabaseFlagsResponse
100
+ # Generate a client certificate signed by a Cluster CA.
101
+ # The sole purpose of this endpoint is to support the Auth Proxy client and
102
+ # the endpoint's behavior is subject to change without notice, so do not rely
103
+ # on its behavior remaining constant. Future changes will not break the Auth
104
+ # Proxy client.
105
+ rpc :GenerateClientCertificate, ::Google::Cloud::AlloyDB::V1beta::GenerateClientCertificateRequest, ::Google::Cloud::AlloyDB::V1beta::GenerateClientCertificateResponse
106
+ # Get instance metadata used for a connection.
107
+ rpc :GetConnectionInfo, ::Google::Cloud::AlloyDB::V1beta::GetConnectionInfoRequest, ::Google::Cloud::AlloyDB::V1beta::ConnectionInfo
108
+ end
109
+
110
+ Stub = Service.rpc_stub_class
111
+ end
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/alloy_db/v1beta"
@@ -0,0 +1,4 @@
1
+ # AlloyDB V1BETA Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.