google-cloud-alloy_db-v1alpha 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/LICENSE.md +201 -0
- data/README.md +144 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/client.rb +3986 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/credentials.rb +47 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/operations.rb +770 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/paths.rb +170 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin.rb +50 -0
- data/lib/google/cloud/alloy_db/v1alpha/version.rb +28 -0
- data/lib/google/cloud/alloy_db/v1alpha.rb +40 -0
- data/lib/google/cloud/alloydb/v1alpha/resources_pb.rb +100 -0
- data/lib/google/cloud/alloydb/v1alpha/service_pb.rb +102 -0
- data/lib/google/cloud/alloydb/v1alpha/service_services_pb.rb +128 -0
- data/lib/google-cloud-alloy_db-v1alpha.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/alloydb/v1alpha/resources.rb +1227 -0
- data/proto_docs/google/cloud/alloydb/v1alpha/service.rb +1206 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -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 +127 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/expr.rb +75 -0
- data/proto_docs/google/type/timeofday.rb +45 -0
- metadata +281 -0
@@ -0,0 +1,170 @@
|
|
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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AlloyDB
|
23
|
+
module V1alpha
|
24
|
+
module AlloyDBAdmin
|
25
|
+
# Path helper methods for the AlloyDBAdmin API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Backup resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/backups/{backup}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param backup [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def backup_path project:, location:, backup:
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
42
|
+
|
43
|
+
"projects/#{project}/locations/#{location}/backups/#{backup}"
|
44
|
+
end
|
45
|
+
|
46
|
+
##
|
47
|
+
# Create a fully-qualified Cluster resource string.
|
48
|
+
#
|
49
|
+
# The resource will be in the following format:
|
50
|
+
#
|
51
|
+
# `projects/{project}/locations/{location}/clusters/{cluster}`
|
52
|
+
#
|
53
|
+
# @param project [String]
|
54
|
+
# @param location [String]
|
55
|
+
# @param cluster [String]
|
56
|
+
#
|
57
|
+
# @return [::String]
|
58
|
+
def cluster_path project:, location:, cluster:
|
59
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
60
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
61
|
+
|
62
|
+
"projects/#{project}/locations/#{location}/clusters/#{cluster}"
|
63
|
+
end
|
64
|
+
|
65
|
+
##
|
66
|
+
# Create a fully-qualified CryptoKeyVersion resource string.
|
67
|
+
#
|
68
|
+
# The resource will be in the following format:
|
69
|
+
#
|
70
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
|
71
|
+
#
|
72
|
+
# @param project [String]
|
73
|
+
# @param location [String]
|
74
|
+
# @param key_ring [String]
|
75
|
+
# @param crypto_key [String]
|
76
|
+
# @param crypto_key_version [String]
|
77
|
+
#
|
78
|
+
# @return [::String]
|
79
|
+
def crypto_key_version_path project:, location:, key_ring:, crypto_key:, crypto_key_version:
|
80
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
81
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
82
|
+
raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
|
83
|
+
raise ::ArgumentError, "crypto_key cannot contain /" if crypto_key.to_s.include? "/"
|
84
|
+
|
85
|
+
"projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}/cryptoKeyVersions/#{crypto_key_version}"
|
86
|
+
end
|
87
|
+
|
88
|
+
##
|
89
|
+
# Create a fully-qualified Instance resource string.
|
90
|
+
#
|
91
|
+
# The resource will be in the following format:
|
92
|
+
#
|
93
|
+
# `projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}`
|
94
|
+
#
|
95
|
+
# @param project [String]
|
96
|
+
# @param location [String]
|
97
|
+
# @param cluster [String]
|
98
|
+
# @param instance [String]
|
99
|
+
#
|
100
|
+
# @return [::String]
|
101
|
+
def instance_path project:, location:, cluster:, instance:
|
102
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
103
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
104
|
+
raise ::ArgumentError, "cluster cannot contain /" if cluster.to_s.include? "/"
|
105
|
+
|
106
|
+
"projects/#{project}/locations/#{location}/clusters/#{cluster}/instances/#{instance}"
|
107
|
+
end
|
108
|
+
|
109
|
+
##
|
110
|
+
# Create a fully-qualified Location resource string.
|
111
|
+
#
|
112
|
+
# The resource will be in the following format:
|
113
|
+
#
|
114
|
+
# `projects/{project}/locations/{location}`
|
115
|
+
#
|
116
|
+
# @param project [String]
|
117
|
+
# @param location [String]
|
118
|
+
#
|
119
|
+
# @return [::String]
|
120
|
+
def location_path project:, location:
|
121
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
122
|
+
|
123
|
+
"projects/#{project}/locations/#{location}"
|
124
|
+
end
|
125
|
+
|
126
|
+
##
|
127
|
+
# Create a fully-qualified Network resource string.
|
128
|
+
#
|
129
|
+
# The resource will be in the following format:
|
130
|
+
#
|
131
|
+
# `projects/{project}/global/networks/{network}`
|
132
|
+
#
|
133
|
+
# @param project [String]
|
134
|
+
# @param network [String]
|
135
|
+
#
|
136
|
+
# @return [::String]
|
137
|
+
def network_path project:, network:
|
138
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
139
|
+
|
140
|
+
"projects/#{project}/global/networks/#{network}"
|
141
|
+
end
|
142
|
+
|
143
|
+
##
|
144
|
+
# Create a fully-qualified User resource string.
|
145
|
+
#
|
146
|
+
# The resource will be in the following format:
|
147
|
+
#
|
148
|
+
# `projects/{project}/locations/{location}/clusters/{cluster}/users/{user}`
|
149
|
+
#
|
150
|
+
# @param project [String]
|
151
|
+
# @param location [String]
|
152
|
+
# @param cluster [String]
|
153
|
+
# @param user [String]
|
154
|
+
#
|
155
|
+
# @return [::String]
|
156
|
+
def user_path project:, location:, cluster:, user:
|
157
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
158
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
159
|
+
raise ::ArgumentError, "cluster cannot contain /" if cluster.to_s.include? "/"
|
160
|
+
|
161
|
+
"projects/#{project}/locations/#{location}/clusters/#{cluster}/users/#{user}"
|
162
|
+
end
|
163
|
+
|
164
|
+
extend self
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/alloy_db/v1alpha/version"
|
24
|
+
|
25
|
+
require "google/cloud/alloy_db/v1alpha/alloy_db_admin/credentials"
|
26
|
+
require "google/cloud/alloy_db/v1alpha/alloy_db_admin/paths"
|
27
|
+
require "google/cloud/alloy_db/v1alpha/alloy_db_admin/operations"
|
28
|
+
require "google/cloud/alloy_db/v1alpha/alloy_db_admin/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module AlloyDB
|
33
|
+
module V1alpha
|
34
|
+
##
|
35
|
+
# Service describing handlers for resources
|
36
|
+
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
|
+
#
|
39
|
+
# require "google/cloud/alloy_db/v1alpha/alloy_db_admin"
|
40
|
+
# client = ::Google::Cloud::AlloyDB::V1alpha::AlloyDBAdmin::Client.new
|
41
|
+
#
|
42
|
+
module AlloyDBAdmin
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
helper_path = ::File.join __dir__, "alloy_db_admin", "helpers.rb"
|
50
|
+
require "google/cloud/alloy_db/v1alpha/alloy_db_admin/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,28 @@
|
|
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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AlloyDB
|
23
|
+
module V1alpha
|
24
|
+
VERSION = "0.1.0"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,40 @@
|
|
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
|
+
require "google/cloud/alloy_db/v1alpha/alloy_db_admin"
|
20
|
+
require "google/cloud/alloy_db/v1alpha/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module AlloyDB
|
25
|
+
##
|
26
|
+
# API client module.
|
27
|
+
#
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
|
+
#
|
30
|
+
# require "google/cloud/alloy_db/v1alpha"
|
31
|
+
# client = ::Google::Cloud::AlloyDB::V1alpha::AlloyDBAdmin::Client.new
|
32
|
+
#
|
33
|
+
module V1alpha
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
helper_path = ::File.join __dir__, "v1alpha", "_helpers.rb"
|
40
|
+
require "google/cloud/alloy_db/v1alpha/_helpers" if ::File.file? helper_path
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/alloydb/v1alpha/resources.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/duration_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/protobuf/wrappers_pb'
|
12
|
+
require 'google/type/dayofweek_pb'
|
13
|
+
require 'google/type/timeofday_pb'
|
14
|
+
|
15
|
+
|
16
|
+
descriptor_data = "\n,google/cloud/alloydb/v1alpha/resources.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe8\x01\n\x0fMigrationSource\x12\x16\n\thost_port\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0creference_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12[\n\x0bsource_type\x18\x03 \x01(\x0e\x32\x41.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceTypeB\x03\xe0\x41\x03\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\x8b\x02\n\x0e\x45ncryptionInfo\x12O\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.EncryptionInfo.TypeB\x03\xe0\x41\x03\x12J\n\x10kms_key_versions\x18\x02 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\x88\x03\n\tSslConfig\x12\x46\n\x08ssl_mode\x18\x01 \x01(\x0e\x32/.google.cloud.alloydb.v1alpha.SslConfig.SslModeB\x03\xe0\x41\x01\x12H\n\tca_source\x18\x02 \x01(\x0e\x32\x30.google.cloud.alloydb.v1alpha.SslConfig.CaSourceB\x03\xe0\x41\x01\"\xaa\x01\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x0eSSL_MODE_ALLOW\x10\x01\x1a\x02\x08\x01\x12\x18\n\x10SSL_MODE_REQUIRE\x10\x02\x1a\x02\x08\x01\x12\x1a\n\x12SSL_MODE_VERIFY_CA\x10\x03\x1a\x02\x08\x01\x12#\n\x1f\x41LLOW_UNENCRYPTED_AND_ENCRYPTED\x10\x04\x12\x12\n\x0e\x45NCRYPTED_ONLY\x10\x05\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xfe\x06\n\x15\x41utomatedBackupPolicy\x12]\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x66\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x46.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12n\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32J.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12O\n\x06labels\x18\x07 \x03(\x0b\x32?.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"\xa3\x01\n\x16\x43ontinuousBackupConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14recovery_window_days\x18\x04 \x01(\x05\x12I\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\n\n\x08_enabled\"\x8b\x02\n\x14\x43ontinuousBackupInfo\x12J\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.EncryptionInfoB\x03\xe0\x41\x03\x12\x35\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12\x41\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\x0c\x42\x61\x63kupSource\x12\x17\n\nbackup_uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"f\n\x16\x43ontinuousBackupSource\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\x96\x12\n\x07\x43luster\x12H\n\rbackup_source\x18\x0f \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.BackupSourceB\x03\xe0\x41\x03H\x00\x12N\n\x10migration_source\x18\x10 \x01(\x0b\x32-.google.cloud.alloydb.v1alpha.MigrationSourceB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1alpha.Cluster.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1alpha.Cluster.StateB\x03\xe0\x41\x03\x12L\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12L\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersionB\x03\xe0\x41\x01\x12P\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12K\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x36.google.cloud.alloydb.v1alpha.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\x0cinitial_user\x18\x0e \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.UserPasswordB\x03\xe0\x41\x04\x12T\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy\x12?\n\nssl_config\x18\x12 \x01(\x0b\x32\'.google.cloud.alloydb.v1alpha.SslConfigB\x02\x18\x01\x12N\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12J\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.EncryptionInfoB\x03\xe0\x41\x03\x12[\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.ContinuousBackupConfigB\x03\xe0\x41\x01\x12W\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.ContinuousBackupInfoB\x03\xe0\x41\x03\x12O\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig\x12P\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x12\x15\n\rsatisfies_pzs\x18\x1e \x01(\x08\x1ai\n\rNetworkConfig\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12\x61llocated_ip_range\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a/\n\x0fSecondaryConfig\x12\x1c\n\x14primary_cluster_name\x18\x01 \x01(\t\x1a\x35\n\rPrimaryConfig\x12$\n\x17secondary_cluster_names\x18\x01 \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\t\n\x05\x45MPTY\x10\x03\x12\x0c\n\x08\x43REATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x07\x12\x0f\n\x0bMAINTENANCE\x10\x08\x12\r\n\tPROMOTING\x10\t\"G\n\x0b\x43lusterType\x12\x1c\n\x18\x43LUSTER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02:b\xea\x41_\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}R\x01\x01\x42\x08\n\x06source\"\xe2\x12\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x07 \x03(\x0b\x32\x32.google.cloud.alloydb.v1alpha.Instance.LabelsEntry\x12@\n\x05state\x18\x08 \x01(\x0e\x32,.google.cloud.alloydb.v1alpha.Instance.StateB\x03\xe0\x41\x03\x12O\n\rinstance_type\x18\t \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.Instance.InstanceTypeB\x03\xe0\x41\x02\x12L\n\x0emachine_config\x18\n \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.Instance.MachineConfig\x12R\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x37.google.cloud.alloydb.v1alpha.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12Q\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x39.google.cloud.alloydb.v1alpha.Instance.DatabaseFlagsEntry\x12G\n\rwritable_node\x18\x13 \x01(\x0b\x32+.google.cloud.alloydb.v1alpha.Instance.NodeB\x03\xe0\x41\x03\x12?\n\x05nodes\x18\x14 \x03(\x0b\x32+.google.cloud.alloydb.v1alpha.Instance.NodeB\x03\xe0\x41\x03\x12\x61\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig\x12O\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12L\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x37.google.cloud.alloydb.v1alpha.Instance.AnnotationsEntry\x12J\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy\x12\x15\n\rsatisfies_pzs\x18\x18 \x01(\x08\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a>\n\x04Node\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\r\n\x05state\x18\x04 \x01(\t\x1a\xfa\x01\n\x1bQueryInsightsInstanceConfig\x12$\n\x17record_application_tags\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15record_client_address\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1b\n\x13query_string_length\x18\x04 \x01(\r\x12#\n\x16query_plans_per_minute\x18\x05 \x01(\rH\x02\x88\x01\x01\x42\x1a\n\x18_record_application_tagsB\x18\n\x16_record_client_addressB\x19\n\x17_query_plans_per_minute\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1a\x92\x01\n\x0cUpdatePolicy\x12\x46\n\x04mode\x18\x01 \x01(\x0e\x32\x38.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode\":\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0f\n\x0b\x46ORCE_APPLY\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0f\n\x0bMAINTENANCE\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x08\x12\r\n\tPROMOTING\x10\t\"X\n\x0cInstanceType\x12\x1d\n\x19INSTANCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tREAD_POOL\x10\x02\x12\r\n\tSECONDARY\x10\x03\"N\n\x10\x41vailabilityType\x12!\n\x1d\x41VAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02:x\xea\x41u\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}R\x01\x01\"\x86\x02\n\x0e\x43onnectionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\nip_address\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12$\n\x15pem_certificate_chain\x18\x03 \x03(\tB\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0cinstance_uid\x18\x04 \x01(\tB\x03\xe0\x41\x03:\x8b\x01\xea\x41\x87\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo\"\x97\x0b\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x06 \x03(\x0b\x32\x30.google.cloud.alloydb.v1alpha.Backup.LabelsEntry\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.alloydb.v1alpha.Backup.StateB\x03\xe0\x41\x03\x12\x37\n\x04type\x18\x08 \x01(\x0e\x32).google.cloud.alloydb.v1alpha.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x18\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0c\x63luster_name\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x18\n\x0breconciling\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12N\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12J\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12J\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x35.google.cloud.alloydb.v1alpha.Backup.AnnotationsEntry\x12\x17\n\nsize_bytes\x18\x11 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12V\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x38.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12\x15\n\rsatisfies_pzs\x18\x15 \x01(\x08\x1aW\n\x13QuantityBasedExpiry\x12\x1c\n\x0fretention_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\"\n\x15total_retention_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\x12\x0e\n\nCONTINUOUS\x10\x03:_\xea\x41\\\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}R\x01\x01\"\xdc\x06\n\x15SupportedDatabaseFlag\x12\x65\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x46.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsH\x00\x12g\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32G.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12Q\n\nvalue_type\x18\x03 \x01(\x0e\x32=.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12L\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersion\x12\x1b\n\x13requires_db_restart\x18\x06 \x01(\x08\x1a,\n\x12StringRestrictions\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x1au\n\x13IntegerRestrictions\x12.\n\tmin_value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12.\n\tmax_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"U\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x08\n\x04NONE\x10\x04:g\xea\x41\x64\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}B\x0e\n\x0crestrictions\"\xd3\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08password\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x43\n\tuser_type\x18\x05 \x01(\x0e\x32+.google.cloud.alloydb.v1alpha.User.UserTypeB\x03\xe0\x41\x01\"Q\n\x08UserType\x12\x19\n\x15USER_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_BUILT_IN\x10\x01\x12\x14\n\x10\x41LLOYDB_IAM_USER\x10\x02:l\xea\x41i\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}R\x01\x01*^\n\x0cInstanceView\x12\x1d\n\x19INSTANCE_VIEW_UNSPECIFIED\x10\x00\x12\x17\n\x13INSTANCE_VIEW_BASIC\x10\x01\x12\x16\n\x12INSTANCE_VIEW_FULL\x10\x02*g\n\x0b\x43lusterView\x12\x1c\n\x18\x43LUSTER_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LUSTER_VIEW_BASIC\x10\x01\x12\"\n\x1e\x43LUSTER_VIEW_CONTINUOUS_BACKUP\x10\x02*Y\n\x0f\x44\x61tabaseVersion\x12 \n\x1c\x44\x41TABASE_VERSION_UNSPECIFIED\x10\x00\x12\x13\n\x0bPOSTGRES_13\x10\x01\x1a\x02\x08\x01\x12\x0f\n\x0bPOSTGRES_14\x10\x02\x42\xcb\x03\n com.google.cloud.alloydb.v1alphaB\x0eResourcesProtoP\x01Z:cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb\xaa\x02\x1cGoogle.Cloud.AlloyDb.V1Alpha\xca\x02\x1cGoogle\\Cloud\\AlloyDb\\V1alpha\xea\x02\x1fGoogle::Cloud::AlloyDB::V1alpha\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
17
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError => e
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
32
|
+
["google.type.TimeOfDay", "google/type/timeofday.proto"],
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
["google.protobuf.Int64Value", "google/protobuf/wrappers.proto"],
|
35
|
+
]
|
36
|
+
imports.each do |type_name, expected_filename|
|
37
|
+
import_file = pool.lookup(type_name).file_descriptor
|
38
|
+
if import_file.name != expected_filename
|
39
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
43
|
+
warn "This will become an error in the next major version."
|
44
|
+
end
|
45
|
+
|
46
|
+
module Google
|
47
|
+
module Cloud
|
48
|
+
module AlloyDB
|
49
|
+
module V1alpha
|
50
|
+
UserPassword = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UserPassword").msgclass
|
51
|
+
MigrationSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.MigrationSource").msgclass
|
52
|
+
MigrationSource::MigrationSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType").enummodule
|
53
|
+
EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.EncryptionConfig").msgclass
|
54
|
+
EncryptionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.EncryptionInfo").msgclass
|
55
|
+
EncryptionInfo::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.EncryptionInfo.Type").enummodule
|
56
|
+
SslConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SslConfig").msgclass
|
57
|
+
SslConfig::SslMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SslConfig.SslMode").enummodule
|
58
|
+
SslConfig::CaSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SslConfig.CaSource").enummodule
|
59
|
+
AutomatedBackupPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.AutomatedBackupPolicy").msgclass
|
60
|
+
AutomatedBackupPolicy::WeeklySchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule").msgclass
|
61
|
+
AutomatedBackupPolicy::TimeBasedRetention = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention").msgclass
|
62
|
+
AutomatedBackupPolicy::QuantityBasedRetention = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention").msgclass
|
63
|
+
ContinuousBackupConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ContinuousBackupConfig").msgclass
|
64
|
+
ContinuousBackupInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ContinuousBackupInfo").msgclass
|
65
|
+
BackupSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.BackupSource").msgclass
|
66
|
+
ContinuousBackupSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ContinuousBackupSource").msgclass
|
67
|
+
Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster").msgclass
|
68
|
+
Cluster::NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.NetworkConfig").msgclass
|
69
|
+
Cluster::SecondaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig").msgclass
|
70
|
+
Cluster::PrimaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig").msgclass
|
71
|
+
Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.State").enummodule
|
72
|
+
Cluster::ClusterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.ClusterType").enummodule
|
73
|
+
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance").msgclass
|
74
|
+
Instance::MachineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.MachineConfig").msgclass
|
75
|
+
Instance::Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.Node").msgclass
|
76
|
+
Instance::QueryInsightsInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig").msgclass
|
77
|
+
Instance::ReadPoolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig").msgclass
|
78
|
+
Instance::UpdatePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.UpdatePolicy").msgclass
|
79
|
+
Instance::UpdatePolicy::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode").enummodule
|
80
|
+
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.State").enummodule
|
81
|
+
Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.InstanceType").enummodule
|
82
|
+
Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.AvailabilityType").enummodule
|
83
|
+
ConnectionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ConnectionInfo").msgclass
|
84
|
+
Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Backup").msgclass
|
85
|
+
Backup::QuantityBasedExpiry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry").msgclass
|
86
|
+
Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Backup.State").enummodule
|
87
|
+
Backup::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Backup.Type").enummodule
|
88
|
+
SupportedDatabaseFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SupportedDatabaseFlag").msgclass
|
89
|
+
SupportedDatabaseFlag::StringRestrictions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions").msgclass
|
90
|
+
SupportedDatabaseFlag::IntegerRestrictions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions").msgclass
|
91
|
+
SupportedDatabaseFlag::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType").enummodule
|
92
|
+
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.User").msgclass
|
93
|
+
User::UserType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.User.UserType").enummodule
|
94
|
+
InstanceView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.InstanceView").enummodule
|
95
|
+
ClusterView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ClusterView").enummodule
|
96
|
+
DatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.DatabaseVersion").enummodule
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/alloydb/v1alpha/service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/alloydb/v1alpha/resources_pb'
|
12
|
+
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/duration_pb'
|
14
|
+
require 'google/protobuf/empty_pb'
|
15
|
+
require 'google/protobuf/field_mask_pb'
|
16
|
+
require 'google/protobuf/timestamp_pb'
|
17
|
+
require 'google/rpc/status_pb'
|
18
|
+
|
19
|
+
|
20
|
+
descriptor_data = "\n*google/cloud/alloydb/v1alpha/service.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/alloydb/v1alpha/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa5\x01\n\x13ListClustersRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"}\n\x14ListClustersResponse\x12\x37\n\x08\x63lusters\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1alpha.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x87\x01\n\x11GetClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12<\n\x04view\x18\x02 \x01(\x0e\x32).google.cloud.alloydb.v1alpha.ClusterViewB\x03\xe0\x41\x01\"\xe2\x01\n\x1d\x43reateSecondaryClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x07\x63luster\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1alpha.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xd9\x01\n\x14\x43reateClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x07\x63luster\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1alpha.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xda\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12;\n\x07\x63luster\x18\x02 \x01(\x0b\x32%.google.cloud.alloydb.v1alpha.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x14\x44\x65leteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x95\x01\n\x15PromoteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x83\x03\n\x15RestoreClusterRequest\x12\x43\n\rbackup_source\x18\x04 \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.BackupSourceH\x00\x12X\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.ContinuousBackupSourceH\x00\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x07\x63luster\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1alpha.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xa7\x01\n\x14ListInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n\x15ListInstancesResponse\x12\x39\n\tinstances\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x85\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32*.google.cloud.alloydb.v1alpha.InstanceView\"\xde\x01\n\x15\x43reateInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12=\n\x08instance\x18\x03 \x01(\x0b\x32&.google.cloud.alloydb.v1alpha.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe7\x01\n\x1e\x43reateSecondaryInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12=\n\x08instance\x18\x03 \x01(\x0b\x32&.google.cloud.alloydb.v1alpha.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"t\n\x16\x43reateInstanceRequests\x12Z\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequestB\x03\xe0\x41\x02\"\xbc\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12K\n\x08requests\x18\x02 \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Y\n\x1c\x42\x61tchCreateInstancesResponse\x12\x39\n\tinstances\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Instance\"\x97\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12k\n\x11instance_statuses\x18\x02 \x03(\x0b\x32P.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ap\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus:\x02\x38\x01\"\xda\x02\n\x19\x42\x61tchCreateInstanceStatus\x12L\n\x05state\x18\x01 \x01(\x0e\x32=.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12\x41\n\x04type\x18\x03 \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.Instance.InstanceType\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0ePENDING_CREATE\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0f\n\x0bROLLED_BACK\x10\x06\"\xdd\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12=\n\x08instance\x18\x02 \x01(\x0b\x32&.google.cloud.alloydb.v1alpha.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x96\x01\n\x15\x44\x65leteInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x85\x01\n\x17\x46\x61iloverInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8b\x02\n\x12InjectFaultRequest\x12S\n\nfault_type\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultTypeB\x03\xe0\x41\x02\x12\x35\n\x04name\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"4\n\tFaultType\x12\x1a\n\x16\x46\x41ULT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STOP_VM\x10\x01\"\x84\x01\n\x16RestartInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n\x12ListBackupsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x13ListBackupsResponse\x12\x35\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32$.google.cloud.alloydb.v1alpha.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"G\n\x10GetBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"\xd4\x01\n\x13\x43reateBackupRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1alpha.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd7\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x39\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32$.google.cloud.alloydb.v1alpha.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x92\x01\n\x13\x44\x65leteBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n!ListSupportedDatabaseFlagsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x94\x01\n\"ListSupportedDatabaseFlagsResponse\x12U\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32\x33.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xff\x01\n GenerateClientCertificateRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\x07pem_csr\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x35\n\rcert_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x17\n\npublic_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15use_metadata_exchange\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"{\n!GenerateClientCertificateResponse\x12\x1c\n\x0fpem_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\"\n\x15pem_certificate_chain\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x63\x61_cert\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x18GetConnectionInfoRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x03\n\x11OperationMetadata\x12j\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32:.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataB\x03\xe0\x41\x03H\x00\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\x12\n\x10request_specific\"\xa4\x01\n\x10ListUsersRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"t\n\x11ListUsersResponse\x12\x31\n\x05users\x18\x01 \x03(\x0b\x32\".google.cloud.alloydb.v1alpha.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"C\n\x0eGetUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\"\xca\x01\n\x11\x43reateUserRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x14\n\x07user_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x04user\x18\x03 \x01(\x0b\x32\".google.cloud.alloydb.v1alpha.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd1\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x35\n\x04user\x18\x02 \x01(\x0b\x32\".google.cloud.alloydb.v1alpha.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"{\n\x11\x44\x65leteUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x32\xf1\x34\n\x0c\x41lloyDBAdmin\x12\xb9\x01\n\x0cListClusters\x12\x31.google.cloud.alloydb.v1alpha.ListClustersRequest\x1a\x32.google.cloud.alloydb.v1alpha.ListClustersResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{parent=projects/*/locations/*}/clusters\xda\x41\x06parent\x12\xa6\x01\n\nGetCluster\x12/.google.cloud.alloydb.v1alpha.GetClusterRequest\x1a%.google.cloud.alloydb.v1alpha.Cluster\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\x12\xe1\x01\n\rCreateCluster\x12\x32.google.cloud.alloydb.v1alpha.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02<\"1/v1alpha/{parent=projects/*/locations/*}/clusters:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xe3\x01\n\rUpdateCluster\x12\x32.google.cloud.alloydb.v1alpha.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x44\x32\x39/v1alpha/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\xda\x41\x13\x63luster,update_mask\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xd1\x01\n\rDeleteCluster\x12\x32.google.cloud.alloydb.v1alpha.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x33*1/v1alpha/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd0\x01\n\x0ePromoteCluster\x12\x33.google.cloud.alloydb.v1alpha.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02>\"9/v1alpha/{name=projects/*/locations/*/clusters/*}:promote:\x01*\xda\x41\x04name\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc9\x01\n\x0eRestoreCluster\x12\x33.google.cloud.alloydb.v1alpha.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"c\x82\xd3\xe4\x93\x02>\"9/v1alpha/{parent=projects/*/locations/*}/clusters:restore:\x01*\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\x84\x02\n\x16\x43reateSecondaryCluster\x12;.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02L\"A/v1alpha/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc8\x01\n\rListInstances\x12\x32.google.cloud.alloydb.v1alpha.ListInstancesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListInstancesResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances\xda\x41\x06parent\x12\xb5\x01\n\x0bGetInstance\x12\x30.google.cloud.alloydb.v1alpha.GetInstanceRequest\x1a&.google.cloud.alloydb.v1alpha.Instance\"L\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\x12\xf4\x01\n\x0e\x43reateInstance\x12\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02I\"=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x96\x02\n\x17\x43reateSecondaryInstance\x12<.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\x82\xd3\xe4\x93\x02Y\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x82\x02\n\x14\x42\x61tchCreateInstances\x12\x39.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02U\"I/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x12\xf6\x01\n\x0eUpdateInstance\x12\x33.google.cloud.alloydb.v1alpha.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02R2F/v1alpha/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdf\x01\n\x0e\x44\x65leteInstance\x12\x33.google.cloud.alloydb.v1alpha.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02?*=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\x10\x46\x61iloverInstance\x12\x35.google.cloud.alloydb.v1alpha.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02K\"F/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xe7\x01\n\x0bInjectFault\x12\x30.google.cloud.alloydb.v1alpha.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\x82\xd3\xe4\x93\x02N\"I/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\xda\x41\x0f\x66\x61ult_type,name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdf\x01\n\x0fRestartInstance\x12\x34.google.cloud.alloydb.v1alpha.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\x82\xd3\xe4\x93\x02J\"E/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xb5\x01\n\x0bListBackups\x12\x30.google.cloud.alloydb.v1alpha.ListBackupsRequest\x1a\x31.google.cloud.alloydb.v1alpha.ListBackupsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{parent=projects/*/locations/*}/backups\xda\x41\x06parent\x12\xa2\x01\n\tGetBackup\x12..google.cloud.alloydb.v1alpha.GetBackupRequest\x1a$.google.cloud.alloydb.v1alpha.Backup\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\x12\xda\x01\n\x0c\x43reateBackup\x12\x31.google.cloud.alloydb.v1alpha.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02:\"0/v1alpha/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xdc\x01\n\x0cUpdateBackup\x12\x31.google.cloud.alloydb.v1alpha.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x41\x32\x37/v1alpha/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xce\x01\n\x0c\x44\x65leteBackup\x12\x31.google.cloud.alloydb.v1alpha.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1alpha/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xf1\x01\n\x1aListSupportedDatabaseFlags\x12?.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest\x1a@.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse\"P\x82\xd3\xe4\x93\x02\x41\x12?/v1alpha/{parent=projects/*/locations/*}/supportedDatabaseFlags\xda\x41\x06parent\x12\xff\x01\n\x19GenerateClientCertificate\x12>.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest\x1a?.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse\"a\x82\xd3\xe4\x93\x02R\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\xda\x41\x06parent\x12\xda\x01\n\x11GetConnectionInfo\x12\x36.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest\x1a,.google.cloud.alloydb.v1alpha.ConnectionInfo\"_\x82\xd3\xe4\x93\x02P\x12N/v1alpha/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\xda\x41\x06parent\x12\xb8\x01\n\tListUsers\x12..google.cloud.alloydb.v1alpha.ListUsersRequest\x1a/.google.cloud.alloydb.v1alpha.ListUsersResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{parent=projects/*/locations/*/clusters/*}/users\xda\x41\x06parent\x12\xa5\x01\n\x07GetUser\x12,.google.cloud.alloydb.v1alpha.GetUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x12\xc0\x01\n\nCreateUser\x12/.google.cloud.alloydb.v1alpha.CreateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"]\x82\xd3\xe4\x93\x02\x41\"9/v1alpha/{parent=projects/*/locations/*/clusters/*}/users:\x04user\xda\x41\x13parent,user,user_id\x12\xc2\x01\n\nUpdateUser\x12/.google.cloud.alloydb.v1alpha.UpdateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"_\x82\xd3\xe4\x93\x02\x46\x32>/v1alpha/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\xda\x41\x10user,update_mask\x12\x9f\x01\n\nDeleteUser\x12/.google.cloud.alloydb.v1alpha.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"H\x82\xd3\xe4\x93\x02;*9/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xce\x01\n com.google.cloud.alloydb.v1alphaB\x0cServiceProtoP\x01Z:cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb\xaa\x02\x1cGoogle.Cloud.AlloyDb.V1Alpha\xca\x02\x1cGoogle\\Cloud\\AlloyDb\\V1alpha\xea\x02\x1fGoogle::Cloud::AlloyDB::V1alphab\x06proto3"
|
21
|
+
|
22
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
|
+
|
24
|
+
begin
|
25
|
+
pool.add_serialized_file(descriptor_data)
|
26
|
+
rescue TypeError => e
|
27
|
+
# Compatibility code: will be removed in the next major version.
|
28
|
+
require 'google/protobuf/descriptor_pb'
|
29
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
30
|
+
parsed.clear_dependency
|
31
|
+
serialized = parsed.class.encode(parsed)
|
32
|
+
file = pool.add_serialized_file(serialized)
|
33
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
34
|
+
imports = [
|
35
|
+
["google.cloud.alloydb.v1alpha.Cluster", "google/cloud/alloydb/v1alpha/resources.proto"],
|
36
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
37
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
38
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
39
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
40
|
+
]
|
41
|
+
imports.each do |type_name, expected_filename|
|
42
|
+
import_file = pool.lookup(type_name).file_descriptor
|
43
|
+
if import_file.name != expected_filename
|
44
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
48
|
+
warn "This will become an error in the next major version."
|
49
|
+
end
|
50
|
+
|
51
|
+
module Google
|
52
|
+
module Cloud
|
53
|
+
module AlloyDB
|
54
|
+
module V1alpha
|
55
|
+
ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListClustersRequest").msgclass
|
56
|
+
ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListClustersResponse").msgclass
|
57
|
+
GetClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.GetClusterRequest").msgclass
|
58
|
+
CreateSecondaryClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest").msgclass
|
59
|
+
CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateClusterRequest").msgclass
|
60
|
+
UpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpdateClusterRequest").msgclass
|
61
|
+
DeleteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.DeleteClusterRequest").msgclass
|
62
|
+
PromoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.PromoteClusterRequest").msgclass
|
63
|
+
RestoreClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.RestoreClusterRequest").msgclass
|
64
|
+
ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListInstancesRequest").msgclass
|
65
|
+
ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListInstancesResponse").msgclass
|
66
|
+
GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.GetInstanceRequest").msgclass
|
67
|
+
CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateInstanceRequest").msgclass
|
68
|
+
CreateSecondaryInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest").msgclass
|
69
|
+
CreateInstanceRequests = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateInstanceRequests").msgclass
|
70
|
+
BatchCreateInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest").msgclass
|
71
|
+
BatchCreateInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse").msgclass
|
72
|
+
BatchCreateInstancesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata").msgclass
|
73
|
+
BatchCreateInstanceStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus").msgclass
|
74
|
+
BatchCreateInstanceStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State").enummodule
|
75
|
+
UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpdateInstanceRequest").msgclass
|
76
|
+
DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.DeleteInstanceRequest").msgclass
|
77
|
+
FailoverInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.FailoverInstanceRequest").msgclass
|
78
|
+
InjectFaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.InjectFaultRequest").msgclass
|
79
|
+
InjectFaultRequest::FaultType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType").enummodule
|
80
|
+
RestartInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.RestartInstanceRequest").msgclass
|
81
|
+
ListBackupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListBackupsRequest").msgclass
|
82
|
+
ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListBackupsResponse").msgclass
|
83
|
+
GetBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.GetBackupRequest").msgclass
|
84
|
+
CreateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateBackupRequest").msgclass
|
85
|
+
UpdateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpdateBackupRequest").msgclass
|
86
|
+
DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.DeleteBackupRequest").msgclass
|
87
|
+
ListSupportedDatabaseFlagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest").msgclass
|
88
|
+
ListSupportedDatabaseFlagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse").msgclass
|
89
|
+
GenerateClientCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest").msgclass
|
90
|
+
GenerateClientCertificateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse").msgclass
|
91
|
+
GetConnectionInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.GetConnectionInfoRequest").msgclass
|
92
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.OperationMetadata").msgclass
|
93
|
+
ListUsersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListUsersRequest").msgclass
|
94
|
+
ListUsersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListUsersResponse").msgclass
|
95
|
+
GetUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.GetUserRequest").msgclass
|
96
|
+
CreateUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateUserRequest").msgclass
|
97
|
+
UpdateUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpdateUserRequest").msgclass
|
98
|
+
DeleteUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.DeleteUserRequest").msgclass
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|