google-cloud-alloy_db-v1alpha 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce38f15affa5b324243f31aa871833589e7b02fa292a4af59d9fd233d2ca1cc4
4
- data.tar.gz: 7d0565e6c01f2330fab8cd54a3f412090399e0203502ac2ac58c2399aad10c6f
3
+ metadata.gz: 0cd71f403962c88f5494fcb0198b6bc874ff8832f80601be4c3936c48ae1130f
4
+ data.tar.gz: e693da32e0ab25563b7e8af39f763fa5a656a4b53fa2d5e175d32228d3a83010
5
5
  SHA512:
6
- metadata.gz: 5c8bdf883ae46fc256dfcfc9d0fc6d24d72215e7700d6c802fc76ccd5052ebcd34675620bc2f9201577291a3998482403df41607c49c56e93d61c2ef28269068
7
- data.tar.gz: 2a3065eccaa5bf10e57ba4ff17e20a3ed2ce538c4d0e51670750abbc3b5fcb0c7c27b446acf8a4090aa18055a78623a60147970f8c655f112b2ac4fe23a38868
6
+ metadata.gz: 67a7d3b4dd73d49191086d3e9795210e8b3d29e8b3f1e7df9517d624180bbc81679c75c7a1fb43c0dc0ddc3a1dd0ce123aa16f7094b0682e8b308d5d933ff572
7
+ data.tar.gz: 928bf96d40579adadb1072e0dcd324354800c5061c1e6c8a113294bf33c0043ea95fdff58a546ae61cbd506080cc33608a65010e44f73b8725cf3029e4e96531
@@ -129,6 +129,11 @@ module Google
129
129
  initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
130
130
  }
131
131
 
132
+ default_config.rpcs.create_database.timeout = 60.0
133
+ default_config.rpcs.create_database.retry_policy = {
134
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
135
+ }
136
+
132
137
  default_config
133
138
  end
134
139
  yield @configure if block_given?
@@ -2808,7 +2813,7 @@ module Google
2808
2813
  # @param options [::Gapic::CallOptions, ::Hash]
2809
2814
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2810
2815
  #
2811
- # @overload execute_sql(password: nil, instance: nil, database: nil, user: nil, sql_statement: nil)
2816
+ # @overload execute_sql(password: nil, instance: nil, database: nil, user: nil, sql_statement: nil, validate_only: nil)
2812
2817
  # Pass arguments to `execute_sql` via keyword arguments. Note that at
2813
2818
  # least one keyword argument is required. To specify no parameters, or to keep all
2814
2819
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2829,6 +2834,9 @@ module Google
2829
2834
  # @param sql_statement [::String]
2830
2835
  # Required. SQL statement to execute on database. Any valid statement is
2831
2836
  # permitted, including DDL, DML, DQL statements.
2837
+ # @param validate_only [::Boolean]
2838
+ # Optional. If set, validates the sql statement by performing
2839
+ # syntax and semantic validation and doesn't execute the query.
2832
2840
  #
2833
2841
  # @yield [response, operation] Access the result along with the RPC operation
2834
2842
  # @yieldparam response [::Google::Cloud::AlloyDB::V1alpha::ExecuteSqlResponse]
@@ -4362,6 +4370,95 @@ module Google
4362
4370
  raise ::Google::Cloud::Error.from_error(e)
4363
4371
  end
4364
4372
 
4373
+ ##
4374
+ # Creates a new Database in a given project, location, and cluster.
4375
+ #
4376
+ # @overload create_database(request, options = nil)
4377
+ # Pass arguments to `create_database` via a request object, either of type
4378
+ # {::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest} or an equivalent Hash.
4379
+ #
4380
+ # @param request [::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest, ::Hash]
4381
+ # A request object representing the call parameters. Required. To specify no
4382
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
4383
+ # @param options [::Gapic::CallOptions, ::Hash]
4384
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
4385
+ #
4386
+ # @overload create_database(parent: nil, database_id: nil, database: nil)
4387
+ # Pass arguments to `create_database` via keyword arguments. Note that at
4388
+ # least one keyword argument is required. To specify no parameters, or to keep all
4389
+ # the default parameter values, pass an empty Hash as a request object (see above).
4390
+ #
4391
+ # @param parent [::String]
4392
+ # Required. Value for parent.
4393
+ # @param database_id [::String]
4394
+ # Required. ID of the requesting object.
4395
+ # @param database [::Google::Cloud::AlloyDB::V1alpha::Database, ::Hash]
4396
+ # Required. The resource being created.
4397
+ #
4398
+ # @yield [response, operation] Access the result along with the RPC operation
4399
+ # @yieldparam response [::Google::Cloud::AlloyDB::V1alpha::Database]
4400
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
4401
+ #
4402
+ # @return [::Google::Cloud::AlloyDB::V1alpha::Database]
4403
+ #
4404
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
4405
+ #
4406
+ # @example Basic example
4407
+ # require "google/cloud/alloy_db/v1alpha"
4408
+ #
4409
+ # # Create a client object. The client can be reused for multiple calls.
4410
+ # client = Google::Cloud::AlloyDB::V1alpha::AlloyDBAdmin::Client.new
4411
+ #
4412
+ # # Create a request. To set request fields, pass in keyword arguments.
4413
+ # request = Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest.new
4414
+ #
4415
+ # # Call the create_database method.
4416
+ # result = client.create_database request
4417
+ #
4418
+ # # The returned object is of type Google::Cloud::AlloyDB::V1alpha::Database.
4419
+ # p result
4420
+ #
4421
+ def create_database request, options = nil
4422
+ raise ::ArgumentError, "request must be provided" if request.nil?
4423
+
4424
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest
4425
+
4426
+ # Converts hash and nil to an options object
4427
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
4428
+
4429
+ # Customize the options with defaults
4430
+ metadata = @config.rpcs.create_database.metadata.to_h
4431
+
4432
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4433
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4434
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
4435
+ gapic_version: ::Google::Cloud::AlloyDB::V1alpha::VERSION
4436
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4437
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4438
+
4439
+ header_params = {}
4440
+ if request.parent
4441
+ header_params["parent"] = request.parent
4442
+ end
4443
+
4444
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
4445
+ metadata[:"x-goog-request-params"] ||= request_params_header
4446
+
4447
+ options.apply_defaults timeout: @config.rpcs.create_database.timeout,
4448
+ metadata: metadata,
4449
+ retry_policy: @config.rpcs.create_database.retry_policy
4450
+
4451
+ options.apply_defaults timeout: @config.timeout,
4452
+ metadata: @config.metadata,
4453
+ retry_policy: @config.retry_policy
4454
+
4455
+ @alloy_db_admin_stub.call_rpc :create_database, request, options: options do |response, operation|
4456
+ yield response, operation if block_given?
4457
+ end
4458
+ rescue ::GRPC::BadStatus => e
4459
+ raise ::Google::Cloud::Error.from_error(e)
4460
+ end
4461
+
4365
4462
  ##
4366
4463
  # Configuration class for the AlloyDBAdmin API.
4367
4464
  #
@@ -4713,6 +4810,11 @@ module Google
4713
4810
  # @return [::Gapic::Config::Method]
4714
4811
  #
4715
4812
  attr_reader :list_databases
4813
+ ##
4814
+ # RPC-specific configuration for `create_database`
4815
+ # @return [::Gapic::Config::Method]
4816
+ #
4817
+ attr_reader :create_database
4716
4818
 
4717
4819
  # @private
4718
4820
  def initialize parent_rpcs = nil
@@ -4790,6 +4892,8 @@ module Google
4790
4892
  @delete_user = ::Gapic::Config::Method.new delete_user_config
4791
4893
  list_databases_config = parent_rpcs.list_databases if parent_rpcs.respond_to? :list_databases
4792
4894
  @list_databases = ::Gapic::Config::Method.new list_databases_config
4895
+ create_database_config = parent_rpcs.create_database if parent_rpcs.respond_to? :create_database
4896
+ @create_database = ::Gapic::Config::Method.new create_database_config
4793
4897
 
4794
4898
  yield self if block_given?
4795
4899
  end
@@ -134,7 +134,7 @@ module Google
134
134
  # @param options [::Gapic::CallOptions, ::Hash]
135
135
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
136
136
  #
137
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
137
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
138
138
  # Pass arguments to `list_operations` via keyword arguments. Note that at
139
139
  # least one keyword argument is required. To specify no parameters, or to keep all
140
140
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -147,6 +147,17 @@ module Google
147
147
  # The standard list page size.
148
148
  # @param page_token [::String]
149
149
  # The standard list page token.
150
+ # @param return_partial_success [::Boolean]
151
+ # When set to `true`, operations that are reachable are returned as normal,
152
+ # and those that are unreachable are returned in the
153
+ # [ListOperationsResponse.unreachable] field.
154
+ #
155
+ # This can only be `true` when reading across collections e.g. when `parent`
156
+ # is set to `"projects/example/locations/-"`.
157
+ #
158
+ # This field is not by default supported and will result in an
159
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
160
+ # service or product specific documentation.
150
161
  #
151
162
  # @yield [response, operation] Access the result along with the RPC operation
152
163
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -62,6 +62,27 @@ module Google
62
62
  "projects/#{project}/locations/#{location}/clusters/#{cluster}"
63
63
  end
64
64
 
65
+ ##
66
+ # Create a fully-qualified CryptoKey resource string.
67
+ #
68
+ # The resource will be in the following format:
69
+ #
70
+ # `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
71
+ #
72
+ # @param project [String]
73
+ # @param location [String]
74
+ # @param key_ring [String]
75
+ # @param crypto_key [String]
76
+ #
77
+ # @return [::String]
78
+ def crypto_key_path project:, location:, key_ring:, crypto_key:
79
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
80
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
81
+ raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
82
+
83
+ "projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
84
+ end
85
+
65
86
  ##
66
87
  # Create a fully-qualified CryptoKeyVersion resource string.
67
88
  #
@@ -85,6 +106,27 @@ module Google
85
106
  "projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}/cryptoKeyVersions/#{crypto_key_version}"
86
107
  end
87
108
 
109
+ ##
110
+ # Create a fully-qualified Database resource string.
111
+ #
112
+ # The resource will be in the following format:
113
+ #
114
+ # `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`
115
+ #
116
+ # @param project [String]
117
+ # @param location [String]
118
+ # @param cluster [String]
119
+ # @param database [String]
120
+ #
121
+ # @return [::String]
122
+ def database_path project:, location:, cluster:, database:
123
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
124
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
125
+ raise ::ArgumentError, "cluster cannot contain /" if cluster.to_s.include? "/"
126
+
127
+ "projects/#{project}/locations/#{location}/clusters/#{cluster}/databases/#{database}"
128
+ end
129
+
88
130
  ##
89
131
  # Create a fully-qualified Instance resource string.
90
132
  #
@@ -140,6 +182,25 @@ module Google
140
182
  "projects/#{project}/global/networks/#{network}"
141
183
  end
142
184
 
185
+ ##
186
+ # Create a fully-qualified ServiceAttachment resource string.
187
+ #
188
+ # The resource will be in the following format:
189
+ #
190
+ # `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`
191
+ #
192
+ # @param project [String]
193
+ # @param region [String]
194
+ # @param service_attachment [String]
195
+ #
196
+ # @return [::String]
197
+ def service_attachment_path project:, region:, service_attachment:
198
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
199
+ raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
200
+
201
+ "projects/#{project}/regions/#{region}/serviceAttachments/#{service_attachment}"
202
+ end
203
+
143
204
  ##
144
205
  # Create a fully-qualified User resource string.
145
206
  #
@@ -131,6 +131,11 @@ module Google
131
131
  initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
132
132
  }
133
133
 
134
+ default_config.rpcs.create_database.timeout = 60.0
135
+ default_config.rpcs.create_database.retry_policy = {
136
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
137
+ }
138
+
134
139
  default_config
135
140
  end
136
141
  yield @configure if block_given?
@@ -2648,7 +2653,7 @@ module Google
2648
2653
  # @param options [::Gapic::CallOptions, ::Hash]
2649
2654
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2650
2655
  #
2651
- # @overload execute_sql(password: nil, instance: nil, database: nil, user: nil, sql_statement: nil)
2656
+ # @overload execute_sql(password: nil, instance: nil, database: nil, user: nil, sql_statement: nil, validate_only: nil)
2652
2657
  # Pass arguments to `execute_sql` via keyword arguments. Note that at
2653
2658
  # least one keyword argument is required. To specify no parameters, or to keep all
2654
2659
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2669,6 +2674,9 @@ module Google
2669
2674
  # @param sql_statement [::String]
2670
2675
  # Required. SQL statement to execute on database. Any valid statement is
2671
2676
  # permitted, including DDL, DML, DQL statements.
2677
+ # @param validate_only [::Boolean]
2678
+ # Optional. If set, validates the sql statement by performing
2679
+ # syntax and semantic validation and doesn't execute the query.
2672
2680
  # @yield [result, operation] Access the result along with the TransportOperation object
2673
2681
  # @yieldparam result [::Google::Cloud::AlloyDB::V1alpha::ExecuteSqlResponse]
2674
2682
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -4097,6 +4105,88 @@ module Google
4097
4105
  raise ::Google::Cloud::Error.from_error(e)
4098
4106
  end
4099
4107
 
4108
+ ##
4109
+ # Creates a new Database in a given project, location, and cluster.
4110
+ #
4111
+ # @overload create_database(request, options = nil)
4112
+ # Pass arguments to `create_database` via a request object, either of type
4113
+ # {::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest} or an equivalent Hash.
4114
+ #
4115
+ # @param request [::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest, ::Hash]
4116
+ # A request object representing the call parameters. Required. To specify no
4117
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
4118
+ # @param options [::Gapic::CallOptions, ::Hash]
4119
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
4120
+ #
4121
+ # @overload create_database(parent: nil, database_id: nil, database: nil)
4122
+ # Pass arguments to `create_database` via keyword arguments. Note that at
4123
+ # least one keyword argument is required. To specify no parameters, or to keep all
4124
+ # the default parameter values, pass an empty Hash as a request object (see above).
4125
+ #
4126
+ # @param parent [::String]
4127
+ # Required. Value for parent.
4128
+ # @param database_id [::String]
4129
+ # Required. ID of the requesting object.
4130
+ # @param database [::Google::Cloud::AlloyDB::V1alpha::Database, ::Hash]
4131
+ # Required. The resource being created.
4132
+ # @yield [result, operation] Access the result along with the TransportOperation object
4133
+ # @yieldparam result [::Google::Cloud::AlloyDB::V1alpha::Database]
4134
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
4135
+ #
4136
+ # @return [::Google::Cloud::AlloyDB::V1alpha::Database]
4137
+ #
4138
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
4139
+ #
4140
+ # @example Basic example
4141
+ # require "google/cloud/alloy_db/v1alpha"
4142
+ #
4143
+ # # Create a client object. The client can be reused for multiple calls.
4144
+ # client = Google::Cloud::AlloyDB::V1alpha::AlloyDBAdmin::Rest::Client.new
4145
+ #
4146
+ # # Create a request. To set request fields, pass in keyword arguments.
4147
+ # request = Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest.new
4148
+ #
4149
+ # # Call the create_database method.
4150
+ # result = client.create_database request
4151
+ #
4152
+ # # The returned object is of type Google::Cloud::AlloyDB::V1alpha::Database.
4153
+ # p result
4154
+ #
4155
+ def create_database request, options = nil
4156
+ raise ::ArgumentError, "request must be provided" if request.nil?
4157
+
4158
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest
4159
+
4160
+ # Converts hash and nil to an options object
4161
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
4162
+
4163
+ # Customize the options with defaults
4164
+ call_metadata = @config.rpcs.create_database.metadata.to_h
4165
+
4166
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4167
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4168
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
4169
+ gapic_version: ::Google::Cloud::AlloyDB::V1alpha::VERSION,
4170
+ transports_version_send: [:rest]
4171
+
4172
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4173
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4174
+
4175
+ options.apply_defaults timeout: @config.rpcs.create_database.timeout,
4176
+ metadata: call_metadata,
4177
+ retry_policy: @config.rpcs.create_database.retry_policy
4178
+
4179
+ options.apply_defaults timeout: @config.timeout,
4180
+ metadata: @config.metadata,
4181
+ retry_policy: @config.retry_policy
4182
+
4183
+ @alloy_db_admin_stub.create_database request, options do |result, operation|
4184
+ yield result, operation if block_given?
4185
+ end
4186
+ rescue ::Gapic::Rest::Error => e
4187
+ raise ::Google::Cloud::Error.from_error(e)
4188
+ end
4189
+
4100
4190
  ##
4101
4191
  # Configuration class for the AlloyDBAdmin REST API.
4102
4192
  #
@@ -4435,6 +4525,11 @@ module Google
4435
4525
  # @return [::Gapic::Config::Method]
4436
4526
  #
4437
4527
  attr_reader :list_databases
4528
+ ##
4529
+ # RPC-specific configuration for `create_database`
4530
+ # @return [::Gapic::Config::Method]
4531
+ #
4532
+ attr_reader :create_database
4438
4533
 
4439
4534
  # @private
4440
4535
  def initialize parent_rpcs = nil
@@ -4512,6 +4607,8 @@ module Google
4512
4607
  @delete_user = ::Gapic::Config::Method.new delete_user_config
4513
4608
  list_databases_config = parent_rpcs.list_databases if parent_rpcs.respond_to? :list_databases
4514
4609
  @list_databases = ::Gapic::Config::Method.new list_databases_config
4610
+ create_database_config = parent_rpcs.create_database if parent_rpcs.respond_to? :create_database
4611
+ @create_database = ::Gapic::Config::Method.new create_database_config
4515
4612
 
4516
4613
  yield self if block_given?
4517
4614
  end
@@ -125,7 +125,7 @@ module Google
125
125
  # @param options [::Gapic::CallOptions, ::Hash]
126
126
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
127
127
  #
128
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
128
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
129
129
  # Pass arguments to `list_operations` via keyword arguments. Note that at
130
130
  # least one keyword argument is required. To specify no parameters, or to keep all
131
131
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -138,6 +138,17 @@ module Google
138
138
  # The standard list page size.
139
139
  # @param page_token [::String]
140
140
  # The standard list page token.
141
+ # @param return_partial_success [::Boolean]
142
+ # When set to `true`, operations that are reachable are returned as normal,
143
+ # and those that are unreachable are returned in the
144
+ # [ListOperationsResponse.unreachable] field.
145
+ #
146
+ # This can only be `true` when reading across collections e.g. when `parent`
147
+ # is set to `"projects/example/locations/-"`.
148
+ #
149
+ # This field is not by default supported and will result in an
150
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
151
+ # service or product specific documentation.
141
152
  # @yield [result, operation] Access the result along with the TransportOperation object
142
153
  # @yieldparam result [::Gapic::Operation]
143
154
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1553,6 +1553,46 @@ module Google
1553
1553
  end
1554
1554
  end
1555
1555
 
1556
+ ##
1557
+ # Baseline implementation for the create_database REST call
1558
+ #
1559
+ # @param request_pb [::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest]
1560
+ # A request object representing the call parameters. Required.
1561
+ # @param options [::Gapic::CallOptions]
1562
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1563
+ #
1564
+ # @yield [result, operation] Access the result along with the TransportOperation object
1565
+ # @yieldparam result [::Google::Cloud::AlloyDB::V1alpha::Database]
1566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1567
+ #
1568
+ # @return [::Google::Cloud::AlloyDB::V1alpha::Database]
1569
+ # A result object deserialized from the server's reply
1570
+ def create_database request_pb, options = nil
1571
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1572
+
1573
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_database_request request_pb
1574
+ query_string_params = if query_string_params.any?
1575
+ query_string_params.to_h { |p| p.split "=", 2 }
1576
+ else
1577
+ {}
1578
+ end
1579
+
1580
+ response = @client_stub.make_http_request(
1581
+ verb,
1582
+ uri: uri,
1583
+ body: body || "",
1584
+ params: query_string_params,
1585
+ method_name: "create_database",
1586
+ options: options
1587
+ )
1588
+ operation = ::Gapic::Rest::TransportOperation.new response
1589
+ result = ::Google::Cloud::AlloyDB::V1alpha::Database.decode_json response.body, ignore_unknown_fields: true
1590
+ catch :response do
1591
+ yield result, operation if block_given?
1592
+ result
1593
+ end
1594
+ end
1595
+
1556
1596
  ##
1557
1597
  # @private
1558
1598
  #
@@ -2351,6 +2391,28 @@ module Google
2351
2391
  )
2352
2392
  transcoder.transcode request_pb
2353
2393
  end
2394
+
2395
+ ##
2396
+ # @private
2397
+ #
2398
+ # GRPC transcoding helper method for the create_database REST call
2399
+ #
2400
+ # @param request_pb [::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest]
2401
+ # A request object representing the call parameters. Required.
2402
+ # @return [Array(String, [String, nil], Hash{String => String})]
2403
+ # Uri, Body, Query string parameters
2404
+ def self.transcode_create_database_request request_pb
2405
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2406
+ .with_bindings(
2407
+ uri_method: :post,
2408
+ uri_template: "/v1alpha/{parent}/databases",
2409
+ body: "database",
2410
+ matches: [
2411
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
2412
+ ]
2413
+ )
2414
+ transcoder.transcode request_pb
2415
+ end
2354
2416
  end
2355
2417
  end
2356
2418
  end
@@ -134,7 +134,7 @@ module Google
134
134
  # @param options [::Gapic::CallOptions, ::Hash]
135
135
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
136
136
  #
137
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
137
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
138
138
  # Pass arguments to `list_operations` via keyword arguments. Note that at
139
139
  # least one keyword argument is required. To specify no parameters, or to keep all
140
140
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -147,6 +147,17 @@ module Google
147
147
  # The standard list page size.
148
148
  # @param page_token [::String]
149
149
  # The standard list page token.
150
+ # @param return_partial_success [::Boolean]
151
+ # When set to `true`, operations that are reachable are returned as normal,
152
+ # and those that are unreachable are returned in the
153
+ # [ListOperationsResponse.unreachable] field.
154
+ #
155
+ # This can only be `true` when reading across collections e.g. when `parent`
156
+ # is set to `"projects/example/locations/-"`.
157
+ #
158
+ # This field is not by default supported and will result in an
159
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
160
+ # service or product specific documentation.
150
161
  #
151
162
  # @yield [response, operation] Access the result along with the RPC operation
152
163
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -62,6 +62,27 @@ module Google
62
62
  "projects/#{project}/locations/#{location}/clusters/#{cluster}"
63
63
  end
64
64
 
65
+ ##
66
+ # Create a fully-qualified CryptoKey resource string.
67
+ #
68
+ # The resource will be in the following format:
69
+ #
70
+ # `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
71
+ #
72
+ # @param project [String]
73
+ # @param location [String]
74
+ # @param key_ring [String]
75
+ # @param crypto_key [String]
76
+ #
77
+ # @return [::String]
78
+ def crypto_key_path project:, location:, key_ring:, crypto_key:
79
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
80
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
81
+ raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
82
+
83
+ "projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
84
+ end
85
+
65
86
  ##
66
87
  # Create a fully-qualified CryptoKeyVersion resource string.
67
88
  #
@@ -125,7 +125,7 @@ module Google
125
125
  # @param options [::Gapic::CallOptions, ::Hash]
126
126
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
127
127
  #
128
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
128
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
129
129
  # Pass arguments to `list_operations` via keyword arguments. Note that at
130
130
  # least one keyword argument is required. To specify no parameters, or to keep all
131
131
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -138,6 +138,17 @@ module Google
138
138
  # The standard list page size.
139
139
  # @param page_token [::String]
140
140
  # The standard list page token.
141
+ # @param return_partial_success [::Boolean]
142
+ # When set to `true`, operations that are reachable are returned as normal,
143
+ # and those that are unreachable are returned in the
144
+ # [ListOperationsResponse.unreachable] field.
145
+ #
146
+ # This can only be `true` when reading across collections e.g. when `parent`
147
+ # is set to `"projects/example/locations/-"`.
148
+ #
149
+ # This field is not by default supported and will result in an
150
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
151
+ # service or product specific documentation.
141
152
  # @yield [result, operation] Access the result along with the TransportOperation object
142
153
  # @yieldparam result [::Gapic::Operation]
143
154
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AlloyDB
23
23
  module V1alpha
24
- VERSION = "0.15.0"
24
+ VERSION = "0.17.0"
25
25
  end
26
26
  end
27
27
  end
@@ -17,7 +17,7 @@ require 'google/type/dayofweek_pb'
17
17
  require 'google/type/timeofday_pb'
18
18
 
19
19
 
20
- descriptor_data = "\n,google/cloud/alloydb/v1alpha/resources.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/alloydb/v1alpha/csql_resources.proto\x1a)google/cloud/alloydb/v1alpha/gemini.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x16google/type/date.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\"\xe0\x03\n\x17MaintenanceUpdatePolicy\x12\x64\n\x13maintenance_windows\x18\x01 \x03(\x0b\x32G.google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicy.MaintenanceWindow\x12m\n\x18\x64\x65ny_maintenance_periods\x18\x02 \x03(\x0b\x32K.google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicy.DenyMaintenancePeriod\x1a\x64\n\x11MaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\x1a\x89\x01\n\x15\x44\x65nyMaintenancePeriod\x12%\n\nstart_date\x18\x01 \x01(\x0b\x32\x11.google.type.Date\x12#\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x11.google.type.Date\x12$\n\x04time\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDay\"J\n\x13MaintenanceSchedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xe3\x1a\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`\n\x1a\x63loudsql_backup_run_source\x18* \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.CloudSQLBackupRunSourceB\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\x39\n\x07network\x18\n \x01(\tB(\x18\x01\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\x1a\n\rsatisfies_pzi\x18! \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12H\n\npsc_config\x18\x1f \x01(\x0b\x32/.google.cloud.alloydb.v1alpha.Cluster.PscConfigB\x03\xe0\x41\x01\x12]\n\x19maintenance_update_policy\x18 \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicyB\x03\xe0\x41\x01\x12T\n\x14maintenance_schedule\x18% \x01(\x0b\x32\x31.google.cloud.alloydb.v1alpha.MaintenanceScheduleB\x03\xe0\x41\x03\x12O\n\rgemini_config\x18$ \x01(\x0b\x32\x31.google.cloud.alloydb.v1alpha.GeminiClusterConfigB\x05\x18\x01\xe0\x41\x01\x12N\n\x11subscription_type\x18& \x01(\x0e\x32..google.cloud.alloydb.v1alpha.SubscriptionTypeB\x03\xe0\x41\x01\x12P\n\x0etrial_metadata\x18\' \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Cluster.TrialMetadataB\x03\xe0\x41\x03\x12H\n\x04tags\x18) \x03(\x0b\x32/.google.cloud.alloydb.v1alpha.Cluster.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\x12\"\n\x15service_account_email\x18. \x01(\tB\x03\xe0\x41\x03\x1ai\n\rNetworkConfig\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x01\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\x1aP\n\tPscConfig\x12\x18\n\x0bpsc_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1cservice_owned_project_number\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x1a\xd3\x01\n\rTrialMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cupgrade_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0egrace_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x1a+\n\tTagsEntry\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:u\xea\x41r\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterR\x01\x01\x42\x08\n\x06source\"\xdf(\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\x12`\n\x14observability_config\x18\x1a \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.Instance.ObservabilityInstanceConfig\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&\n\x11public_ip_address\x18\x1b \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\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\x64\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32=.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzi\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12Z\n\x13psc_instance_config\x18\x1c \x01(\x0b\x32\x38.google.cloud.alloydb.v1alpha.Instance.PscInstanceConfigB\x03\xe0\x41\x01\x12Y\n\x0enetwork_config\x18\x1d \x01(\x0b\x32<.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfigB\x03\xe0\x41\x01\x12P\n\rgemini_config\x18! \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.GeminiInstanceConfigB\x05\x18\x01\xe0\x41\x01\x12\x31\n\x1coutbound_public_ip_addresses\x18\" \x03(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12W\n\x11\x61\x63tivation_policy\x18# \x01(\x0e\x32\x37.google.cloud.alloydb.v1alpha.Instance.ActivationPolicyB\x03\xe0\x41\x01\x12`\n\x16\x63onnection_pool_config\x18% \x01(\x0b\x32;.google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfigB\x03\xe0\x41\x01\x12H\n\ngca_config\x18& \x01(\x0b\x32/.google.cloud.alloydb.v1alpha.GCAInstanceConfigB\x03\xe0\x41\x03\x1a\x38\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x12\x14\n\x0cmachine_type\x18\x04 \x01(\t\x1aR\n\x04Node\x12\x14\n\x07zone_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02ip\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05state\x18\x04 \x01(\tB\x03\xe0\x41\x03\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\xfa\x04\n\x1bObservabilityInstanceConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1e\n\x11preserve_comments\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x1e\n\x11track_wait_events\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12(\n\x16track_wait_event_types\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03H\x03\x88\x01\x01\x12$\n\x17max_query_string_length\x18\x05 \x01(\x05H\x04\x88\x01\x01\x12$\n\x17record_application_tags\x18\x06 \x01(\x08H\x05\x88\x01\x01\x12#\n\x16query_plans_per_minute\x18\x07 \x01(\x05H\x06\x88\x01\x01\x12!\n\x14track_active_queries\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12!\n\x14track_client_address\x18\t \x01(\x08H\x08\x88\x01\x01\x12*\n\x1d\x61ssistive_experiences_enabled\x18\n \x01(\x08H\t\x88\x01\x01\x42\n\n\x08_enabledB\x14\n\x12_preserve_commentsB\x14\n\x12_track_wait_eventsB\x19\n\x17_track_wait_event_typesB\x1a\n\x18_max_query_string_lengthB\x1a\n\x18_record_application_tagsB\x19\n\x17_query_plans_per_minuteB\x17\n\x15_track_active_queriesB\x17\n\x15_track_client_addressB \n\x1e_assistive_experiences_enabled\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\x16\x43lientConnectionConfig\x12\x1f\n\x12require_connectors\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12@\n\nssl_config\x18\x02 \x01(\x0b\x32\'.google.cloud.alloydb.v1alpha.SslConfigB\x03\xe0\x41\x01\x1a\x39\n\x12PscInterfaceConfig\x12#\n\x1bnetwork_attachment_resource\x18\x01 \x01(\t\x1a\xa9\x01\n\x17PscAutoConnectionConfig\x12\x18\n\x10\x63onsumer_project\x18\x01 \x01(\t\x12\x18\n\x10\x63onsumer_network\x18\x02 \x01(\t\x12\x1f\n\nip_address\x18\x03 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x13\n\x06status\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x63onsumer_network_status\x18\x05 \x01(\tB\x03\xe0\x41\x03\x1a\xbe\x02\n\x11PscInstanceConfig\x12$\n\x17service_attachment_link\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12&\n\x19\x61llowed_consumer_projects\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0cpsc_dns_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12]\n\x15psc_interface_configs\x18\x08 \x03(\x0b\x32\x39.google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfigB\x03\xe0\x41\x01\x12\x61\n\x14psc_auto_connections\x18\t \x03(\x0b\x32>.google.cloud.alloydb.v1alpha.Instance.PscAutoConnectionConfigB\x03\xe0\x41\x01\x1a\xef\x02\n\x15InstanceNetworkConfig\x12y\n\x1c\x61uthorized_external_networks\x18\x01 \x03(\x0b\x32N.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetworkB\x03\xe0\x41\x01\x12\x1d\n\x10\x65nable_public_ip\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12&\n\x19\x65nable_outbound_public_ip\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x04 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12(\n\x1b\x61llocated_ip_range_override\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x31\n\x11\x41uthorizedNetwork\x12\x1c\n\ncidr_range\x18\x01 \x01(\tB\x08\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x1a\x85\x01\n\x14\x43onnectionPoolConfig\x12\x14\n\x07\x65nabled\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\"W\n\x08PoolMode\x12\x19\n\x15POOL_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11POOL_MODE_SESSION\x10\x01\x12\x19\n\x15POOL_MODE_TRANSACTION\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\"L\n\x10\x41\x63tivationPolicy\x12!\n\x1d\x41\x43TIVATION_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\t\n\x05NEVER\x10\x02:\x8e\x01\xea\x41\x8a\x01\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}*\tinstances2\x08instanceR\x01\x01\"\xea\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\x11public_ip_address\x18\x05 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\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\x12\x19\n\x0cpsc_dns_name\x18\x06 \x01(\tB\x03\xe0\x41\x03:\xac\x01\xea\x41\xa8\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo*\x0f\x63onnectionInfos2\x0e\x63onnectionInfo\"\xce\r\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\x16\x63reate_completion_time\x18\x1a \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\x1a\n\rsatisfies_pzi\x18\x17 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12L\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersionB\x03\xe0\x41\x03\x12G\n\x04tags\x18\x19 \x03(\x0b\x32..google.cloud.alloydb.v1alpha.Backup.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\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\x1a+\n\tTagsEntry\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:p\xea\x41m\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kupR\x01\x01\"\x95\t\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\"\n\x18recommended_string_value\x18\n \x01(\tH\x01\x12@\n\x19recommended_integer_value\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x01\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\x12H\n\x05scope\x18\t \x01(\x0e\x32\x39.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope\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\"A\n\x05Scope\x12\x15\n\x11SCOPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44\x41TABASE\x10\x01\x12\x13\n\x0f\x43ONNECTION_POOL\x10\x02:\x97\x01\xea\x41\x93\x01\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}*\x16supportedDatabaseFlags2\x15supportedDatabaseFlagB\x0e\n\x0crestrictionsB\x13\n\x11recommended_value\"\xff\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\x12\x1d\n\x10keep_extra_roles\x18\x06 \x01(\x08\x42\x03\xe0\x41\x04\"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:y\xea\x41v\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}*\x05users2\x04userR\x01\x01\"\xdc\x01\n\x08\x44\x61tabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07\x63harset\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tcollation\x18\x03 \x01(\tB\x03\xe0\x41\x01:\x8e\x01\xea\x41\x8a\x01\n\x1f\x61lloydb.googleapis.com/Database\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/databases/{database}*\tdatabases2\x08\x64\x61tabaseR\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*{\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\x12\x0f\n\x0bPOSTGRES_15\x10\x03\x12\x0f\n\x0bPOSTGRES_16\x10\x04*N\n\x10SubscriptionType\x12!\n\x1dSUBSCRIPTION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\t\n\x05TRIAL\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"
20
+ descriptor_data = "\n,google/cloud/alloydb/v1alpha/resources.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/alloydb/v1alpha/csql_resources.proto\x1a)google/cloud/alloydb/v1alpha/gemini.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x16google/type/date.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\"P\n\x10\x45ncryptionConfig\x12<\n\x0ckms_key_name\x18\x01 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"\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\"\xe0\x03\n\x17MaintenanceUpdatePolicy\x12\x64\n\x13maintenance_windows\x18\x01 \x03(\x0b\x32G.google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicy.MaintenanceWindow\x12m\n\x18\x64\x65ny_maintenance_periods\x18\x02 \x03(\x0b\x32K.google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicy.DenyMaintenancePeriod\x1a\x64\n\x11MaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\x1a\x89\x01\n\x15\x44\x65nyMaintenancePeriod\x12%\n\nstart_date\x18\x01 \x01(\x0b\x32\x11.google.type.Date\x12#\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x11.google.type.Date\x12$\n\x04time\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDay\"J\n\x13MaintenanceSchedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xab\x1b\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`\n\x1a\x63loudsql_backup_run_source\x18* \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.CloudSQLBackupRunSourceB\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\x39\n\x07network\x18\n \x01(\tB(\x18\x01\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\x1a\n\rsatisfies_pzi\x18! \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12H\n\npsc_config\x18\x1f \x01(\x0b\x32/.google.cloud.alloydb.v1alpha.Cluster.PscConfigB\x03\xe0\x41\x01\x12]\n\x19maintenance_update_policy\x18 \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.MaintenanceUpdatePolicyB\x03\xe0\x41\x01\x12T\n\x14maintenance_schedule\x18% \x01(\x0b\x32\x31.google.cloud.alloydb.v1alpha.MaintenanceScheduleB\x03\xe0\x41\x03\x12O\n\rgemini_config\x18$ \x01(\x0b\x32\x31.google.cloud.alloydb.v1alpha.GeminiClusterConfigB\x05\x18\x01\xe0\x41\x01\x12N\n\x11subscription_type\x18& \x01(\x0e\x32..google.cloud.alloydb.v1alpha.SubscriptionTypeB\x03\xe0\x41\x01\x12P\n\x0etrial_metadata\x18\' \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Cluster.TrialMetadataB\x03\xe0\x41\x03\x12H\n\x04tags\x18) \x03(\x0b\x32/.google.cloud.alloydb.v1alpha.Cluster.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\x12\"\n\x15service_account_email\x18. \x01(\tB\x03\xe0\x41\x03\x1ai\n\rNetworkConfig\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12\x61llocated_ip_range\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1aT\n\x0fSecondaryConfig\x12\x41\n\x14primary_cluster_name\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x1aX\n\rPrimaryConfig\x12G\n\x17secondary_cluster_names\x18\x01 \x03(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x1aP\n\tPscConfig\x12\x18\n\x0bpsc_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1cservice_owned_project_number\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x1a\xd3\x01\n\rTrialMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cupgrade_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0egrace_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x1a+\n\tTagsEntry\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:u\xea\x41r\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterR\x01\x01\x42\x08\n\x06source\"\xd8)\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\x12`\n\x14observability_config\x18\x1a \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.Instance.ObservabilityInstanceConfig\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&\n\x11public_ip_address\x18\x1b \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\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\x64\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32=.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzi\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12Z\n\x13psc_instance_config\x18\x1c \x01(\x0b\x32\x38.google.cloud.alloydb.v1alpha.Instance.PscInstanceConfigB\x03\xe0\x41\x01\x12Y\n\x0enetwork_config\x18\x1d \x01(\x0b\x32<.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfigB\x03\xe0\x41\x01\x12P\n\rgemini_config\x18! \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.GeminiInstanceConfigB\x05\x18\x01\xe0\x41\x01\x12\x31\n\x1coutbound_public_ip_addresses\x18\" \x03(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12W\n\x11\x61\x63tivation_policy\x18# \x01(\x0e\x32\x37.google.cloud.alloydb.v1alpha.Instance.ActivationPolicyB\x03\xe0\x41\x01\x12`\n\x16\x63onnection_pool_config\x18% \x01(\x0b\x32;.google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfigB\x03\xe0\x41\x01\x12H\n\ngca_config\x18& \x01(\x0b\x32/.google.cloud.alloydb.v1alpha.GCAInstanceConfigB\x03\xe0\x41\x03\x1a\x38\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x12\x14\n\x0cmachine_type\x18\x04 \x01(\t\x1aR\n\x04Node\x12\x14\n\x07zone_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02ip\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05state\x18\x04 \x01(\tB\x03\xe0\x41\x03\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\xfa\x04\n\x1bObservabilityInstanceConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1e\n\x11preserve_comments\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x1e\n\x11track_wait_events\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12(\n\x16track_wait_event_types\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03H\x03\x88\x01\x01\x12$\n\x17max_query_string_length\x18\x05 \x01(\x05H\x04\x88\x01\x01\x12$\n\x17record_application_tags\x18\x06 \x01(\x08H\x05\x88\x01\x01\x12#\n\x16query_plans_per_minute\x18\x07 \x01(\x05H\x06\x88\x01\x01\x12!\n\x14track_active_queries\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12!\n\x14track_client_address\x18\t \x01(\x08H\x08\x88\x01\x01\x12*\n\x1d\x61ssistive_experiences_enabled\x18\n \x01(\x08H\t\x88\x01\x01\x42\n\n\x08_enabledB\x14\n\x12_preserve_commentsB\x14\n\x12_track_wait_eventsB\x19\n\x17_track_wait_event_typesB\x1a\n\x18_max_query_string_lengthB\x1a\n\x18_record_application_tagsB\x19\n\x17_query_plans_per_minuteB\x17\n\x15_track_active_queriesB\x17\n\x15_track_client_addressB \n\x1e_assistive_experiences_enabled\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\x16\x43lientConnectionConfig\x12\x1f\n\x12require_connectors\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12@\n\nssl_config\x18\x02 \x01(\x0b\x32\'.google.cloud.alloydb.v1alpha.SslConfigB\x03\xe0\x41\x01\x1a\x39\n\x12PscInterfaceConfig\x12#\n\x1bnetwork_attachment_resource\x18\x01 \x01(\t\x1a\xa9\x01\n\x17PscAutoConnectionConfig\x12\x18\n\x10\x63onsumer_project\x18\x01 \x01(\t\x12\x18\n\x10\x63onsumer_network\x18\x02 \x01(\t\x12\x1f\n\nip_address\x18\x03 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x13\n\x06status\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x63onsumer_network_status\x18\x05 \x01(\tB\x03\xe0\x41\x03\x1a\xeb\x02\n\x11PscInstanceConfig\x12Q\n\x17service_attachment_link\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12&\n\x19\x61llowed_consumer_projects\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0cpsc_dns_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12]\n\x15psc_interface_configs\x18\x08 \x03(\x0b\x32\x39.google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfigB\x03\xe0\x41\x01\x12\x61\n\x14psc_auto_connections\x18\t \x03(\x0b\x32>.google.cloud.alloydb.v1alpha.Instance.PscAutoConnectionConfigB\x03\xe0\x41\x01\x1a\xef\x02\n\x15InstanceNetworkConfig\x12y\n\x1c\x61uthorized_external_networks\x18\x01 \x03(\x0b\x32N.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetworkB\x03\xe0\x41\x01\x12\x1d\n\x10\x65nable_public_ip\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12&\n\x19\x65nable_outbound_public_ip\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x04 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12(\n\x1b\x61llocated_ip_range_override\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x31\n\x11\x41uthorizedNetwork\x12\x1c\n\ncidr_range\x18\x01 \x01(\tB\x08\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x1a\xd1\x01\n\x14\x43onnectionPoolConfig\x12\x14\n\x07\x65nabled\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12Z\n\x05\x66lags\x18\r \x03(\x0b\x32\x46.google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig.FlagsEntryB\x03\xe0\x41\x01\x12\x19\n\x0cpooler_count\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x1a,\n\nFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\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\"L\n\x10\x41\x63tivationPolicy\x12!\n\x1d\x41\x43TIVATION_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\t\n\x05NEVER\x10\x02:\x8e\x01\xea\x41\x8a\x01\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}*\tinstances2\x08instanceR\x01\x01\"\xea\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\x11public_ip_address\x18\x05 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\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\x12\x19\n\x0cpsc_dns_name\x18\x06 \x01(\tB\x03\xe0\x41\x03:\xac\x01\xea\x41\xa8\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo*\x0f\x63onnectionInfos2\x0e\x63onnectionInfo\"\xce\r\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\x16\x63reate_completion_time\x18\x1a \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\x1a\n\rsatisfies_pzi\x18\x17 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12L\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersionB\x03\xe0\x41\x03\x12G\n\x04tags\x18\x19 \x03(\x0b\x32..google.cloud.alloydb.v1alpha.Backup.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\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\x1a+\n\tTagsEntry\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:p\xea\x41m\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kupR\x01\x01\"\x95\t\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\"\n\x18recommended_string_value\x18\n \x01(\tH\x01\x12@\n\x19recommended_integer_value\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x01\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\x12H\n\x05scope\x18\t \x01(\x0e\x32\x39.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope\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\"A\n\x05Scope\x12\x15\n\x11SCOPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44\x41TABASE\x10\x01\x12\x13\n\x0f\x43ONNECTION_POOL\x10\x02:\x97\x01\xea\x41\x93\x01\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}*\x16supportedDatabaseFlags2\x15supportedDatabaseFlagB\x0e\n\x0crestrictionsB\x13\n\x11recommended_value\"\xff\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\x12\x1d\n\x10keep_extra_roles\x18\x06 \x01(\x08\x42\x03\xe0\x41\x04\"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:y\xea\x41v\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}*\x05users2\x04userR\x01\x01\"\x82\x03\n\x08\x44\x61tabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x17\n\x07\x63harset\x18\x02 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x19\n\tcollation\x18\x03 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1e\n\x0e\x63haracter_type\x18\x04 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1a\n\x0bis_template\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12!\n\x11\x64\x61tabase_template\x18\x06 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x05\x12&\n\x14is_template_database\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01:\x8e\x01\xea\x41\x8a\x01\n\x1f\x61lloydb.googleapis.com/Database\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/databases/{database}*\tdatabases2\x08\x64\x61tabaseR\x01\x01\x42\x17\n\x15_is_template_database*^\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*\x8c\x01\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\x12\x0f\n\x0bPOSTGRES_15\x10\x03\x12\x0f\n\x0bPOSTGRES_16\x10\x04\x12\x0f\n\x0bPOSTGRES_17\x10\x05*N\n\x10SubscriptionType\x12!\n\x1dSUBSCRIPTION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\t\n\x05TRIAL\x10\x02\x42\xc0\x05\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}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41w\n(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\x06proto3"
21
21
 
22
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
23
 
@@ -98,7 +98,6 @@ module Google
98
98
  Instance::InstanceNetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig").msgclass
99
99
  Instance::InstanceNetworkConfig::AuthorizedNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork").msgclass
100
100
  Instance::ConnectionPoolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig").msgclass
101
- Instance::ConnectionPoolConfig::PoolMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig.PoolMode").enummodule
102
101
  Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.State").enummodule
103
102
  Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.InstanceType").enummodule
104
103
  Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.AvailabilityType").enummodule
@@ -19,7 +19,7 @@ require 'google/protobuf/timestamp_pb'
19
19
  require 'google/rpc/status_pb'
20
20
 
21
21
 
22
- 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\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/alloydb/v1alpha/data_model.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\"\"\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x84\x06\n\x14\x45xportClusterRequest\x12L\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.GcsDestinationB\x03\xe0\x41\x02H\x00\x12\x61\n\x12\x63sv_export_options\x18\x04 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ExportClusterRequest.CsvExportOptionsH\x01\x12\x61\n\x12sql_export_options\x18\x05 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ExportClusterRequest.SqlExportOptionsH\x01\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x15\n\x08\x64\x61tabase\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1a\x88\x01\n\x10\x43svExportOptions\x12\x19\n\x0cselect_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66ield_delimiter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fquote_character\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65scape_character\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a\xde\x01\n\x10SqlExportOptions\x12\x13\n\x06tables\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x0bschema_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12&\n\x14\x63lean_target_objects\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12)\n\x17if_exist_target_objects\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x0e\n\x0c_schema_onlyB\x17\n\x15_clean_target_objectsB\x1a\n\x18_if_exist_target_objectsB\r\n\x0b\x64\x65stinationB\x10\n\x0e\x65xport_options\"t\n\x15\x45xportClusterResponse\x12L\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.GcsDestinationB\x03\xe0\x41\x02H\x00\x42\r\n\x0b\x64\x65stination\"\x92\x04\n\x14ImportClusterRequest\x12\x61\n\x12sql_import_options\x18\x04 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ImportClusterRequest.SqlImportOptionsH\x00\x12\x61\n\x12\x63sv_import_options\x18\x07 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ImportClusterRequest.CsvImportOptionsH\x00\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x14\n\x07gcs_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x64\x61tabase\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04user\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x12\n\x10SqlImportOptions\x1a\x97\x01\n\x10\x43svImportOptions\x12\x12\n\x05table\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x63olumns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x66ield_delimiter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fquote_character\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65scape_character\x18\x05 \x01(\tB\x03\xe0\x41\x01\x42\x10\n\x0eimport_options\"6\n\x15ImportClusterResponse\x12\x1d\n\x10\x62ytes_downloaded\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\"\xe2\x01\n\x15UpgradeClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x43\n\x07version\x18\x02 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x91\x0b\n\x16UpgradeClusterResponse\x12K\n\x06status\x18\x01 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12\x0f\n\x07message\x18\x02 \x01(\t\x12k\n\x17\x63luster_upgrade_details\x18\x03 \x03(\x0b\x32J.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails\x1a\xb5\x01\n\tStageInfo\x12I\n\x05stage\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage\x12K\n\x06status\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12\x10\n\x08logs_url\x18\x03 \x01(\t\x1a\xc7\x01\n\x16InstanceUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12S\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12J\n\rinstance_type\x18\x03 \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.Instance.InstanceType\x1a\xcf\x03\n\x15\x43lusterUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12S\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12G\n\x0c\x63luster_type\x18\x03 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.Cluster.ClusterType\x12G\n\x10\x64\x61tabase_version\x18\x04 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersion\x12R\n\nstage_info\x18\x05 \x03(\x0b\x32>.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo\x12m\n\x18instance_upgrade_details\x18\x06 \x03(\x0b\x32K.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails\"\x97\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0f\n\x0bIN_PROGRESS\x10\x05\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x13\n\x0fPARTIAL_SUCCESS\x10\x03\x12\x16\n\x12\x43\x41NCEL_IN_PROGRESS\x10\x06\x12\r\n\tCANCELLED\x10\x07\"\xbd\x01\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_PRECHECK\x10\x01\x12\x14\n\x10PG_UPGRADE_CHECK\x10\x02\x12\x17\n\x13PREPARE_FOR_UPGRADE\x10\x05\x12\x1c\n\x18PRIMARY_INSTANCE_UPGRADE\x10\x03\x12\x1f\n\x1bREAD_POOL_INSTANCES_UPGRADE\x10\x04\x12\x0c\n\x08ROLLBACK\x10\x06\x12\x0b\n\x07\x43LEANUP\x10\x07\"\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\"\x85\x01\n\x18SwitchoverClusterRequest\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\x1a\n\rvalidate_only\x18\x03 \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\"\x9b\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\x12\x15\n\x08node_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\"\xc0\x01\n\x11\x45xecuteSqlRequest\x12\x17\n\x08password\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x39\n\x08instance\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04user\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rsql_statement\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\x11\n\x0fuser_credential\"\x96\x01\n\x12\x45xecuteSqlResponse\x12<\n\x0bsql_results\x18\x01 \x03(\x0b\x32\'.google.cloud.alloydb.v1alpha.SqlResult\x12\x42\n\x08metadata\x18\x03 \x01(\x0b\x32\x30.google.cloud.alloydb.v1alpha.ExecuteSqlMetadata\"\x8d\x02\n\x12\x45xecuteSqlMetadata\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x16\n\x0epartial_result\x18\x02 \x01(\x08\x12\x43\n sql_statement_execution_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x06status\x18\x04 \x01(\x0e\x32\x37.google.cloud.alloydb.v1alpha.ExecuteSqlMetadata.Status\"@\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07PARTIAL\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\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\"\xdf\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\x12M\n\x05scope\x18\x06 \x01(\x0e\x32\x39.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ScopeB\x03\xe0\x41\x01\"\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\x1e\n\x0fpem_certificate\x18\x01 \x01(\tB\x05\x18\x01\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\"\xb6\x04\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\x12Y\n\x16promote_cluster_status\x18\t \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.PromoteClusterStatusB\x03\xe0\x41\x03H\x00\x12Y\n\x16upgrade_cluster_status\x18\n \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.UpgradeClusterStatusB\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\"\xf5\x01\n\x14PromoteClusterStatus\x12L\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.alloydb.v1alpha.PromoteClusterStatus.StateB\x03\xe0\x41\x03\"\x8e\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12&\n\"PROMOTE_CLUSTER_AVAILABLE_FOR_READ\x10\x01\x12\'\n#PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE\x10\x02\x12\x1d\n\x19PROMOTE_CLUSTER_COMPLETED\x10\x03\"\x81\x07\n\x14UpgradeClusterStatus\x12J\n\x05state\x18\x01 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x45\n\x0esource_version\x18\x03 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersion\x12\x45\n\x0etarget_version\x18\x04 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersion\x12N\n\x06stages\x18\x05 \x03(\x0b\x32>.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus\x1a\xbc\x02\n\x0bStageStatus\x12}\n\x1bread_pool_instances_upgrade\x18\x0b \x01(\x0b\x32V.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusH\x00\x12I\n\x05stage\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage\x12J\n\x05state\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StatusB\x17\n\x15stage_specific_status\x1a\xea\x01\n#ReadPoolInstancesUpgradeStageStatus\x12s\n\rupgrade_stats\x18\x01 \x01(\x0b\x32\\.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\x1aN\n\x05Stats\x12\x13\n\x0bnot_started\x18\x01 \x01(\x05\x12\x0f\n\x07ongoing\x18\x02 \x01(\x05\x12\x0f\n\x07success\x18\x03 \x01(\x05\x12\x0e\n\x06\x66\x61iled\x18\x04 \x01(\x05\"\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\"\x95\x01\n\x14ListDatabasesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Database\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\"k\n\x15ListDatabasesResponse\x12\x39\n\tdatabases\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x92@\n\x0c\x41lloyDBAdmin\x12\xb9\x01\n\x0cListClusters\x12\x31.google.cloud.alloydb.v1alpha.ListClustersRequest\x1a\x32.google.cloud.alloydb.v1alpha.ListClustersResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{parent=projects/*/locations/*}/clusters\x12\xa6\x01\n\nGetCluster\x12/.google.cloud.alloydb.v1alpha.GetClusterRequest\x1a%.google.cloud.alloydb.v1alpha.Cluster\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{name=projects/*/locations/*/clusters/*}\x12\xe1\x01\n\rCreateCluster\x12\x32.google.cloud.alloydb.v1alpha.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02<\"1/v1alpha/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xe3\x01\n\rUpdateCluster\x12\x32.google.cloud.alloydb.v1alpha.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x44\x32\x39/v1alpha/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\x9b\x02\n\rExportCluster\x12\x32.google.cloud.alloydb.v1alpha.ExportClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41*\n\x15\x45xportClusterResponse\x12\x11OperationMetadata\xda\x41\x43name,gcs_destination,database,csv_export_options,sql_export_options\x82\xd3\xe4\x93\x02=\"8/v1alpha/{name=projects/*/locations/*/clusters/*}:export:\x01*\x12\xf2\x01\n\rImportCluster\x12\x32.google.cloud.alloydb.v1alpha.ImportClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41*\n\x15ImportClusterResponse\x12\x11OperationMetadata\xda\x41\x1aname,gcs_uri,database,user\x82\xd3\xe4\x93\x02=\"8/v1alpha/{name=projects/*/locations/*/clusters/*}:import:\x01*\x12\xe8\x01\n\x0eUpgradeCluster\x12\x33.google.cloud.alloydb.v1alpha.UpgradeClusterRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41+\n\x16UpgradeClusterResponse\x12\x11OperationMetadata\xda\x41\x0cname,version\x82\xd3\xe4\x93\x02>29/v1alpha/{name=projects/*/locations/*/clusters/*}:upgrade:\x01*\x12\xd1\x01\n\rDeleteCluster\x12\x32.google.cloud.alloydb.v1alpha.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1alpha/{name=projects/*/locations/*/clusters/*}\x12\xd0\x01\n\x0ePromoteCluster\x12\x33.google.cloud.alloydb.v1alpha.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>\"9/v1alpha/{name=projects/*/locations/*/clusters/*}:promote:\x01*\x12\xd9\x01\n\x11SwitchoverCluster\x12\x36.google.cloud.alloydb.v1alpha.SwitchoverClusterRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v1alpha/{name=projects/*/locations/*/clusters/*}:switchover:\x01*\x12\xc9\x01\n\x0eRestoreCluster\x12\x33.google.cloud.alloydb.v1alpha.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02>\"9/v1alpha/{parent=projects/*/locations/*}/clusters:restore:\x01*\x12\x84\x02\n\x16\x43reateSecondaryCluster\x12;.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02L\"A/v1alpha/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\x12\xc8\x01\n\rListInstances\x12\x32.google.cloud.alloydb.v1alpha.ListInstancesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListInstancesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances\x12\xb5\x01\n\x0bGetInstance\x12\x30.google.cloud.alloydb.v1alpha.GetInstanceRequest\x1a&.google.cloud.alloydb.v1alpha.Instance\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xf4\x01\n\x0e\x43reateInstance\x12\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02I\"=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\x12\x96\x02\n\x17\x43reateSecondaryInstance\x12<.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02Y\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\x12\x82\x02\n\x14\x42\x61tchCreateInstances\x12\x39.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02U\"I/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\x12\xf6\x01\n\x0eUpdateInstance\x12\x33.google.cloud.alloydb.v1alpha.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02R2F/v1alpha/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\x12\xdf\x01\n\x0e\x44\x65leteInstance\x12\x33.google.cloud.alloydb.v1alpha.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02?*=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xe2\x01\n\x10\x46\x61iloverInstance\x12\x35.google.cloud.alloydb.v1alpha.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\x12\xe7\x01\n\x0bInjectFault\x12\x30.google.cloud.alloydb.v1alpha.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0f\x66\x61ult_type,name\x82\xd3\xe4\x93\x02N\"I/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\x12\xdf\x01\n\x0fRestartInstance\x12\x34.google.cloud.alloydb.v1alpha.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\x12\xf9\x01\n\nExecuteSql\x12/.google.cloud.alloydb.v1alpha.ExecuteSqlRequest\x1a\x30.google.cloud.alloydb.v1alpha.ExecuteSqlResponse\"\x87\x01\xda\x41-instance,database,user,sql_statement,password\x82\xd3\xe4\x93\x02Q\"L/v1alpha/{instance=projects/*/locations/*/clusters/*/instances/*}:executeSql:\x01*\x12\xb5\x01\n\x0bListBackups\x12\x30.google.cloud.alloydb.v1alpha.ListBackupsRequest\x1a\x31.google.cloud.alloydb.v1alpha.ListBackupsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{parent=projects/*/locations/*}/backups\x12\xa2\x01\n\tGetBackup\x12..google.cloud.alloydb.v1alpha.GetBackupRequest\x1a$.google.cloud.alloydb.v1alpha.Backup\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{name=projects/*/locations/*/backups/*}\x12\xda\x01\n\x0c\x43reateBackup\x12\x31.google.cloud.alloydb.v1alpha.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02:\"0/v1alpha/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\x12\xdc\x01\n\x0cUpdateBackup\x12\x31.google.cloud.alloydb.v1alpha.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02\x41\x32\x37/v1alpha/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\x12\xce\x01\n\x0c\x44\x65leteBackup\x12\x31.google.cloud.alloydb.v1alpha.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1alpha/{name=projects/*/locations/*/backups/*}\x12\xf1\x01\n\x1aListSupportedDatabaseFlags\x12?.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest\x1a@.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1alpha/{parent=projects/*/locations/*}/supportedDatabaseFlags\x12\xff\x01\n\x19GenerateClientCertificate\x12>.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest\x1a?.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse\"a\xda\x41\x06parent\x82\xd3\xe4\x93\x02R\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\x12\xda\x01\n\x11GetConnectionInfo\x12\x36.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest\x1a,.google.cloud.alloydb.v1alpha.ConnectionInfo\"_\xda\x41\x06parent\x82\xd3\xe4\x93\x02P\x12N/v1alpha/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\x12\xb8\x01\n\tListUsers\x12..google.cloud.alloydb.v1alpha.ListUsersRequest\x1a/.google.cloud.alloydb.v1alpha.ListUsersResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{parent=projects/*/locations/*/clusters/*}/users\x12\xa5\x01\n\x07GetUser\x12,.google.cloud.alloydb.v1alpha.GetUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\x12\xc0\x01\n\nCreateUser\x12/.google.cloud.alloydb.v1alpha.CreateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"]\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02\x41\"9/v1alpha/{parent=projects/*/locations/*/clusters/*}/users:\x04user\x12\xc2\x01\n\nUpdateUser\x12/.google.cloud.alloydb.v1alpha.UpdateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"_\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x46\x32>/v1alpha/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\x12\x9f\x01\n\nDeleteUser\x12/.google.cloud.alloydb.v1alpha.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\x12\xc8\x01\n\rListDatabases\x12\x32.google.cloud.alloydb.v1alpha.ListDatabasesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListDatabasesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases\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"
22
+ 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\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/alloydb/v1alpha/data_model.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\"\"\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x84\x06\n\x14\x45xportClusterRequest\x12L\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.GcsDestinationB\x03\xe0\x41\x02H\x00\x12\x61\n\x12\x63sv_export_options\x18\x04 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ExportClusterRequest.CsvExportOptionsH\x01\x12\x61\n\x12sql_export_options\x18\x05 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ExportClusterRequest.SqlExportOptionsH\x01\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x15\n\x08\x64\x61tabase\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1a\x88\x01\n\x10\x43svExportOptions\x12\x19\n\x0cselect_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66ield_delimiter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fquote_character\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65scape_character\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a\xde\x01\n\x10SqlExportOptions\x12\x13\n\x06tables\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x0bschema_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12&\n\x14\x63lean_target_objects\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12)\n\x17if_exist_target_objects\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x0e\n\x0c_schema_onlyB\x17\n\x15_clean_target_objectsB\x1a\n\x18_if_exist_target_objectsB\r\n\x0b\x64\x65stinationB\x10\n\x0e\x65xport_options\"t\n\x15\x45xportClusterResponse\x12L\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.GcsDestinationB\x03\xe0\x41\x02H\x00\x42\r\n\x0b\x64\x65stination\"\x92\x04\n\x14ImportClusterRequest\x12\x61\n\x12sql_import_options\x18\x04 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ImportClusterRequest.SqlImportOptionsH\x00\x12\x61\n\x12\x63sv_import_options\x18\x07 \x01(\x0b\x32\x43.google.cloud.alloydb.v1alpha.ImportClusterRequest.CsvImportOptionsH\x00\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x14\n\x07gcs_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x64\x61tabase\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04user\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x12\n\x10SqlImportOptions\x1a\x97\x01\n\x10\x43svImportOptions\x12\x12\n\x05table\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x63olumns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x66ield_delimiter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fquote_character\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65scape_character\x18\x05 \x01(\tB\x03\xe0\x41\x01\x42\x10\n\x0eimport_options\"6\n\x15ImportClusterResponse\x12\x1d\n\x10\x62ytes_downloaded\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\"\xe2\x01\n\x15UpgradeClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x43\n\x07version\x18\x02 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x91\x0b\n\x16UpgradeClusterResponse\x12K\n\x06status\x18\x01 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12\x0f\n\x07message\x18\x02 \x01(\t\x12k\n\x17\x63luster_upgrade_details\x18\x03 \x03(\x0b\x32J.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails\x1a\xb5\x01\n\tStageInfo\x12I\n\x05stage\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage\x12K\n\x06status\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12\x10\n\x08logs_url\x18\x03 \x01(\t\x1a\xc7\x01\n\x16InstanceUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12S\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12J\n\rinstance_type\x18\x03 \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.Instance.InstanceType\x1a\xcf\x03\n\x15\x43lusterUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12S\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12G\n\x0c\x63luster_type\x18\x03 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.Cluster.ClusterType\x12G\n\x10\x64\x61tabase_version\x18\x04 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersion\x12R\n\nstage_info\x18\x05 \x03(\x0b\x32>.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo\x12m\n\x18instance_upgrade_details\x18\x06 \x03(\x0b\x32K.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails\"\x97\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0f\n\x0bIN_PROGRESS\x10\x05\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x13\n\x0fPARTIAL_SUCCESS\x10\x03\x12\x16\n\x12\x43\x41NCEL_IN_PROGRESS\x10\x06\x12\r\n\tCANCELLED\x10\x07\"\xbd\x01\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_PRECHECK\x10\x01\x12\x14\n\x10PG_UPGRADE_CHECK\x10\x02\x12\x17\n\x13PREPARE_FOR_UPGRADE\x10\x05\x12\x1c\n\x18PRIMARY_INSTANCE_UPGRADE\x10\x03\x12\x1f\n\x1bREAD_POOL_INSTANCES_UPGRADE\x10\x04\x12\x0c\n\x08ROLLBACK\x10\x06\x12\x0b\n\x07\x43LEANUP\x10\x07\"\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\"\x85\x01\n\x18SwitchoverClusterRequest\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\x1a\n\rvalidate_only\x18\x03 \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\"\x9b\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\x12\x15\n\x08node_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\"\xdc\x01\n\x11\x45xecuteSqlRequest\x12\x17\n\x08password\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x39\n\x08instance\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04user\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rsql_statement\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x11\n\x0fuser_credential\"\x96\x01\n\x12\x45xecuteSqlResponse\x12<\n\x0bsql_results\x18\x01 \x03(\x0b\x32\'.google.cloud.alloydb.v1alpha.SqlResult\x12\x42\n\x08metadata\x18\x03 \x01(\x0b\x32\x30.google.cloud.alloydb.v1alpha.ExecuteSqlMetadata\"\x8d\x02\n\x12\x45xecuteSqlMetadata\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x16\n\x0epartial_result\x18\x02 \x01(\x08\x12\x43\n sql_statement_execution_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x06status\x18\x04 \x01(\x0e\x32\x37.google.cloud.alloydb.v1alpha.ExecuteSqlMetadata.Status\"@\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07PARTIAL\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\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\"\xdf\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\x12M\n\x05scope\x18\x06 \x01(\x0e\x32\x39.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ScopeB\x03\xe0\x41\x01\"\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\x1e\n\x0fpem_certificate\x18\x01 \x01(\tB\x05\x18\x01\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\"\xb6\x04\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\x12Y\n\x16promote_cluster_status\x18\t \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.PromoteClusterStatusB\x03\xe0\x41\x03H\x00\x12Y\n\x16upgrade_cluster_status\x18\n \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.UpgradeClusterStatusB\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\"\xf5\x01\n\x14PromoteClusterStatus\x12L\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.alloydb.v1alpha.PromoteClusterStatus.StateB\x03\xe0\x41\x03\"\x8e\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12&\n\"PROMOTE_CLUSTER_AVAILABLE_FOR_READ\x10\x01\x12\'\n#PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE\x10\x02\x12\x1d\n\x19PROMOTE_CLUSTER_COMPLETED\x10\x03\"\xd6\t\n\x14UpgradeClusterStatus\x12J\n\x05state\x18\x01 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x45\n\x0esource_version\x18\x03 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersion\x12\x45\n\x0etarget_version\x18\x04 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersion\x12N\n\x06stages\x18\x05 \x03(\x0b\x32>.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus\x1a\x91\x05\n\x0bStageStatus\x12}\n\x1bread_pool_instances_upgrade\x18\x0b \x01(\x0b\x32V.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusH\x00\x12I\n\x05stage\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage\x12J\n\x05state\x18\x02 \x01(\x0e\x32;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\x12\x63\n\x08schedule\x18\x03 \x01(\x0b\x32L.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageScheduleB\x03\xe0\x41\x03\x1a\xed\x01\n\rStageSchedule\x12\x38\n\x14\x65stimated_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11\x61\x63tual_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65stimated_end_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x61\x63tual_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x17\n\x15stage_specific_status\x1a\xea\x01\n#ReadPoolInstancesUpgradeStageStatus\x12s\n\rupgrade_stats\x18\x01 \x01(\x0b\x32\\.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\x1aN\n\x05Stats\x12\x13\n\x0bnot_started\x18\x01 \x01(\x05\x12\x0f\n\x07ongoing\x18\x02 \x01(\x05\x12\x0f\n\x07success\x18\x03 \x01(\x05\x12\x0e\n\x06\x66\x61iled\x18\x04 \x01(\x05\"\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\"\x95\x01\n\x14ListDatabasesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Database\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\"k\n\x15ListDatabasesResponse\x12\x39\n\tdatabases\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa9\x01\n\x15\x43reateDatabaseRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Database\x12\x18\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12=\n\x08\x64\x61tabase\x18\x03 \x01(\x0b\x32&.google.cloud.alloydb.v1alpha.DatabaseB\x03\xe0\x41\x02\x32\xf1\x41\n\x0c\x41lloyDBAdmin\x12\xb9\x01\n\x0cListClusters\x12\x31.google.cloud.alloydb.v1alpha.ListClustersRequest\x1a\x32.google.cloud.alloydb.v1alpha.ListClustersResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{parent=projects/*/locations/*}/clusters\x12\xa6\x01\n\nGetCluster\x12/.google.cloud.alloydb.v1alpha.GetClusterRequest\x1a%.google.cloud.alloydb.v1alpha.Cluster\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{name=projects/*/locations/*/clusters/*}\x12\xe1\x01\n\rCreateCluster\x12\x32.google.cloud.alloydb.v1alpha.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02<\"1/v1alpha/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xe3\x01\n\rUpdateCluster\x12\x32.google.cloud.alloydb.v1alpha.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x44\x32\x39/v1alpha/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\x9b\x02\n\rExportCluster\x12\x32.google.cloud.alloydb.v1alpha.ExportClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41*\n\x15\x45xportClusterResponse\x12\x11OperationMetadata\xda\x41\x43name,gcs_destination,database,csv_export_options,sql_export_options\x82\xd3\xe4\x93\x02=\"8/v1alpha/{name=projects/*/locations/*/clusters/*}:export:\x01*\x12\xf2\x01\n\rImportCluster\x12\x32.google.cloud.alloydb.v1alpha.ImportClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41*\n\x15ImportClusterResponse\x12\x11OperationMetadata\xda\x41\x1aname,gcs_uri,database,user\x82\xd3\xe4\x93\x02=\"8/v1alpha/{name=projects/*/locations/*/clusters/*}:import:\x01*\x12\xe8\x01\n\x0eUpgradeCluster\x12\x33.google.cloud.alloydb.v1alpha.UpgradeClusterRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41+\n\x16UpgradeClusterResponse\x12\x11OperationMetadata\xda\x41\x0cname,version\x82\xd3\xe4\x93\x02>29/v1alpha/{name=projects/*/locations/*/clusters/*}:upgrade:\x01*\x12\xd1\x01\n\rDeleteCluster\x12\x32.google.cloud.alloydb.v1alpha.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1alpha/{name=projects/*/locations/*/clusters/*}\x12\xd0\x01\n\x0ePromoteCluster\x12\x33.google.cloud.alloydb.v1alpha.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>\"9/v1alpha/{name=projects/*/locations/*/clusters/*}:promote:\x01*\x12\xd9\x01\n\x11SwitchoverCluster\x12\x36.google.cloud.alloydb.v1alpha.SwitchoverClusterRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v1alpha/{name=projects/*/locations/*/clusters/*}:switchover:\x01*\x12\xc9\x01\n\x0eRestoreCluster\x12\x33.google.cloud.alloydb.v1alpha.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02>\"9/v1alpha/{parent=projects/*/locations/*}/clusters:restore:\x01*\x12\x84\x02\n\x16\x43reateSecondaryCluster\x12;.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02L\"A/v1alpha/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\x12\xc8\x01\n\rListInstances\x12\x32.google.cloud.alloydb.v1alpha.ListInstancesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListInstancesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances\x12\xb5\x01\n\x0bGetInstance\x12\x30.google.cloud.alloydb.v1alpha.GetInstanceRequest\x1a&.google.cloud.alloydb.v1alpha.Instance\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xf4\x01\n\x0e\x43reateInstance\x12\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02I\"=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\x12\x96\x02\n\x17\x43reateSecondaryInstance\x12<.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02Y\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\x12\x82\x02\n\x14\x42\x61tchCreateInstances\x12\x39.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02U\"I/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\x12\xf6\x01\n\x0eUpdateInstance\x12\x33.google.cloud.alloydb.v1alpha.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02R2F/v1alpha/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\x12\xdf\x01\n\x0e\x44\x65leteInstance\x12\x33.google.cloud.alloydb.v1alpha.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02?*=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xe2\x01\n\x10\x46\x61iloverInstance\x12\x35.google.cloud.alloydb.v1alpha.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\x12\xe7\x01\n\x0bInjectFault\x12\x30.google.cloud.alloydb.v1alpha.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0f\x66\x61ult_type,name\x82\xd3\xe4\x93\x02N\"I/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\x12\xdf\x01\n\x0fRestartInstance\x12\x34.google.cloud.alloydb.v1alpha.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\x12\xf9\x01\n\nExecuteSql\x12/.google.cloud.alloydb.v1alpha.ExecuteSqlRequest\x1a\x30.google.cloud.alloydb.v1alpha.ExecuteSqlResponse\"\x87\x01\xda\x41-instance,database,user,sql_statement,password\x82\xd3\xe4\x93\x02Q\"L/v1alpha/{instance=projects/*/locations/*/clusters/*/instances/*}:executeSql:\x01*\x12\xb5\x01\n\x0bListBackups\x12\x30.google.cloud.alloydb.v1alpha.ListBackupsRequest\x1a\x31.google.cloud.alloydb.v1alpha.ListBackupsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{parent=projects/*/locations/*}/backups\x12\xa2\x01\n\tGetBackup\x12..google.cloud.alloydb.v1alpha.GetBackupRequest\x1a$.google.cloud.alloydb.v1alpha.Backup\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{name=projects/*/locations/*/backups/*}\x12\xda\x01\n\x0c\x43reateBackup\x12\x31.google.cloud.alloydb.v1alpha.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02:\"0/v1alpha/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\x12\xdc\x01\n\x0cUpdateBackup\x12\x31.google.cloud.alloydb.v1alpha.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02\x41\x32\x37/v1alpha/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\x12\xce\x01\n\x0c\x44\x65leteBackup\x12\x31.google.cloud.alloydb.v1alpha.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1alpha/{name=projects/*/locations/*/backups/*}\x12\xf1\x01\n\x1aListSupportedDatabaseFlags\x12?.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest\x1a@.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1alpha/{parent=projects/*/locations/*}/supportedDatabaseFlags\x12\xff\x01\n\x19GenerateClientCertificate\x12>.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest\x1a?.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse\"a\xda\x41\x06parent\x82\xd3\xe4\x93\x02R\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\x12\xda\x01\n\x11GetConnectionInfo\x12\x36.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest\x1a,.google.cloud.alloydb.v1alpha.ConnectionInfo\"_\xda\x41\x06parent\x82\xd3\xe4\x93\x02P\x12N/v1alpha/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\x12\xb8\x01\n\tListUsers\x12..google.cloud.alloydb.v1alpha.ListUsersRequest\x1a/.google.cloud.alloydb.v1alpha.ListUsersResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{parent=projects/*/locations/*/clusters/*}/users\x12\xa5\x01\n\x07GetUser\x12,.google.cloud.alloydb.v1alpha.GetUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\x12\xc0\x01\n\nCreateUser\x12/.google.cloud.alloydb.v1alpha.CreateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"]\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02\x41\"9/v1alpha/{parent=projects/*/locations/*/clusters/*}/users:\x04user\x12\xc2\x01\n\nUpdateUser\x12/.google.cloud.alloydb.v1alpha.UpdateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"_\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x46\x32>/v1alpha/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\x12\x9f\x01\n\nDeleteUser\x12/.google.cloud.alloydb.v1alpha.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\x12\xc8\x01\n\rListDatabases\x12\x32.google.cloud.alloydb.v1alpha.ListDatabasesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListDatabasesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases\x12\xdc\x01\n\x0e\x43reateDatabase\x12\x33.google.cloud.alloydb.v1alpha.CreateDatabaseRequest\x1a&.google.cloud.alloydb.v1alpha.Database\"m\xda\x41\x1bparent,database,database_id\x82\xd3\xe4\x93\x02I\"=/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases:\x08\x64\x61tabase\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"
23
23
 
24
24
  pool = Google::Protobuf::DescriptorPool.generated_pool
25
25
 
@@ -118,6 +118,7 @@ module Google
118
118
  PromoteClusterStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.PromoteClusterStatus.State").enummodule
119
119
  UpgradeClusterStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpgradeClusterStatus").msgclass
120
120
  UpgradeClusterStatus::StageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus").msgclass
121
+ UpgradeClusterStatus::StageStatus::StageSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule").msgclass
121
122
  UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus").msgclass
122
123
  UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats").msgclass
123
124
  ListUsersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListUsersRequest").msgclass
@@ -128,6 +129,7 @@ module Google
128
129
  DeleteUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.DeleteUserRequest").msgclass
129
130
  ListDatabasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListDatabasesRequest").msgclass
130
131
  ListDatabasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListDatabasesResponse").msgclass
132
+ CreateDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.CreateDatabaseRequest").msgclass
131
133
  end
132
134
  end
133
135
  end
@@ -135,6 +135,8 @@ module Google
135
135
  rpc :DeleteUser, ::Google::Cloud::AlloyDB::V1alpha::DeleteUserRequest, ::Google::Protobuf::Empty
136
136
  # Lists Databases in a given project and location.
137
137
  rpc :ListDatabases, ::Google::Cloud::AlloyDB::V1alpha::ListDatabasesRequest, ::Google::Cloud::AlloyDB::V1alpha::ListDatabasesResponse
138
+ # Creates a new Database in a given project, location, and cluster.
139
+ rpc :CreateDatabase, ::Google::Cloud::AlloyDB::V1alpha::CreateDatabaseRequest, ::Google::Cloud::AlloyDB::V1alpha::Database
138
140
  end
139
141
 
140
142
  Stub = Service.rpc_stub_class
@@ -556,10 +556,10 @@ module Google
556
556
  # ```
557
557
  # @!attribute [r] service_account_email
558
558
  # @return [::String]
559
- # Output only. AlloyDB per-cluster service agent email. This service account
560
- # is created per-cluster per-project, and is different from that of the
561
- # primary service agent which is created per-project. The service account
562
- # naming format is subject to change.
559
+ # Output only. AlloyDB per-cluster service account. This service account is
560
+ # created per-cluster per-project, and is different from the per-project
561
+ # service account. The per-cluster service account naming format is subject
562
+ # to change.
563
563
  class Cluster
564
564
  include ::Google::Protobuf::MessageExts
565
565
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -677,11 +677,8 @@ module Google
677
677
  # The cluster is active and running.
678
678
  READY = 1
679
679
 
680
- # The cluster is stopped. All instances in the cluster are stopped.
681
- # Customers can start a stopped cluster at any point and all their
682
- # instances will come back to life with same names and IP resources. In
683
- # this state, customer pays for storage.
684
- # Associated backups could also be present in a stopped cluster.
680
+ # This is unused. Even when all instances in the cluster are stopped, the
681
+ # cluster remains in READY state.
685
682
  STOPPED = 2
686
683
 
687
684
  # The cluster is empty and has no associated resources.
@@ -1182,20 +1179,23 @@ module Google
1182
1179
  # @!attribute [rw] enabled
1183
1180
  # @return [::Boolean]
1184
1181
  # Optional. Whether to enable Managed Connection Pool (MCP).
1182
+ # @!attribute [rw] flags
1183
+ # @return [::Google::Protobuf::Map{::String => ::String}]
1184
+ # Optional. Connection Pool flags, as a list of "key": "value" pairs.
1185
+ # @!attribute [r] pooler_count
1186
+ # @return [::Integer]
1187
+ # Output only. The number of running poolers per instance.
1185
1188
  class ConnectionPoolConfig
1186
1189
  include ::Google::Protobuf::MessageExts
1187
1190
  extend ::Google::Protobuf::MessageExts::ClassMethods
1188
1191
 
1189
- # The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
1190
- module PoolMode
1191
- # The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`.
1192
- POOL_MODE_UNSPECIFIED = 0
1193
-
1194
- # Server is released back to pool after a client disconnects.
1195
- POOL_MODE_SESSION = 1
1196
-
1197
- # Server is released back to pool after a transaction finishes.
1198
- POOL_MODE_TRANSACTION = 2
1192
+ # @!attribute [rw] key
1193
+ # @return [::String]
1194
+ # @!attribute [rw] value
1195
+ # @return [::String]
1196
+ class FlagsEntry
1197
+ include ::Google::Protobuf::MessageExts
1198
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1199
1199
  end
1200
1200
  end
1201
1201
 
@@ -1703,14 +1703,31 @@ module Google
1703
1703
  # `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`.
1704
1704
  # @!attribute [rw] charset
1705
1705
  # @return [::String]
1706
- # Optional. Charset for the database.
1706
+ # Optional. Immutable. Charset for the database.
1707
1707
  # This field can contain any PostgreSQL supported charset name.
1708
1708
  # Example values include "UTF8", "SQL_ASCII", etc.
1709
1709
  # @!attribute [rw] collation
1710
1710
  # @return [::String]
1711
- # Optional. Collation for the database.
1712
- # Name of the custom or native collation for postgres.
1713
- # Example values include "C", "POSIX", etc
1711
+ # Optional. Immutable. lc_collate for the database.
1712
+ # String sort order.
1713
+ # Example values include "C", "POSIX", etc.
1714
+ # @!attribute [rw] character_type
1715
+ # @return [::String]
1716
+ # Optional. Immutable. lc_ctype for the database.
1717
+ # Character classification (What is a letter? The upper-case equivalent?).
1718
+ # Example values include "C", "POSIX", etc.
1719
+ # @!attribute [rw] is_template
1720
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1721
+ # @return [::Boolean]
1722
+ # Optional. Whether the database is a template database.
1723
+ # Deprecated in favor of is_template_database.
1724
+ # @!attribute [rw] database_template
1725
+ # @return [::String]
1726
+ # Input only. Immutable. Template of the database to be used for creating a
1727
+ # new database.
1728
+ # @!attribute [rw] is_template_database
1729
+ # @return [::Boolean]
1730
+ # Optional. Whether the database is a template database.
1714
1731
  class Database
1715
1732
  include ::Google::Protobuf::MessageExts
1716
1733
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1765,6 +1782,9 @@ module Google
1765
1782
 
1766
1783
  # The database version is Postgres 16.
1767
1784
  POSTGRES_16 = 4
1785
+
1786
+ # The database version is Postgres 17.
1787
+ POSTGRES_17 = 5
1768
1788
  end
1769
1789
 
1770
1790
  # Subscription_type added to distinguish between Standard and Trial
@@ -1152,6 +1152,10 @@ module Google
1152
1152
  # @return [::String]
1153
1153
  # Required. SQL statement to execute on database. Any valid statement is
1154
1154
  # permitted, including DDL, DML, DQL statements.
1155
+ # @!attribute [rw] validate_only
1156
+ # @return [::Boolean]
1157
+ # Optional. If set, validates the sql statement by performing
1158
+ # syntax and semantic validation and doesn't execute the query.
1155
1159
  class ExecuteSqlRequest
1156
1160
  include ::Google::Protobuf::MessageExts
1157
1161
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1606,9 +1610,32 @@ module Google
1606
1610
  # @!attribute [rw] state
1607
1611
  # @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status]
1608
1612
  # State of this stage.
1613
+ # @!attribute [r] schedule
1614
+ # @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::StageStatus::StageSchedule]
1615
+ # Output only. Timing information for the stage execution.
1609
1616
  class StageStatus
1610
1617
  include ::Google::Protobuf::MessageExts
1611
1618
  extend ::Google::Protobuf::MessageExts::ClassMethods
1619
+
1620
+ # Timing information for the stage execution.
1621
+ # @!attribute [rw] estimated_start_time
1622
+ # @return [::Google::Protobuf::Timestamp]
1623
+ # When the stage is expected to start. Set only if the stage has not
1624
+ # started yet.
1625
+ # @!attribute [rw] actual_start_time
1626
+ # @return [::Google::Protobuf::Timestamp]
1627
+ # Actual start time of the stage. Set only if the stage has started.
1628
+ # @!attribute [rw] estimated_end_time
1629
+ # @return [::Google::Protobuf::Timestamp]
1630
+ # When the stage is expected to end. Set only if the stage has not
1631
+ # completed yet.
1632
+ # @!attribute [rw] actual_end_time
1633
+ # @return [::Google::Protobuf::Timestamp]
1634
+ # Actual end time of the stage. Set only if the stage has completed.
1635
+ class StageSchedule
1636
+ include ::Google::Protobuf::MessageExts
1637
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1638
+ end
1612
1639
  end
1613
1640
 
1614
1641
  # Read pool instances upgrade specific status.
@@ -1787,7 +1814,7 @@ module Google
1787
1814
  extend ::Google::Protobuf::MessageExts::ClassMethods
1788
1815
  end
1789
1816
 
1790
- # Message for requesting list of Databases.
1817
+ # Message for ListDatabases request.
1791
1818
  # @!attribute [rw] parent
1792
1819
  # @return [::String]
1793
1820
  # Required. Parent value for ListDatabasesRequest.
@@ -1811,10 +1838,10 @@ module Google
1811
1838
  extend ::Google::Protobuf::MessageExts::ClassMethods
1812
1839
  end
1813
1840
 
1814
- # Message for response to listing Databases.
1841
+ # Message for ListDatabases response.
1815
1842
  # @!attribute [rw] databases
1816
1843
  # @return [::Array<::Google::Cloud::AlloyDB::V1alpha::Database>]
1817
- # The list of databases
1844
+ # The list of databases.
1818
1845
  # @!attribute [rw] next_page_token
1819
1846
  # @return [::String]
1820
1847
  # A token identifying the next page of results the server should return.
@@ -1823,6 +1850,21 @@ module Google
1823
1850
  include ::Google::Protobuf::MessageExts
1824
1851
  extend ::Google::Protobuf::MessageExts::ClassMethods
1825
1852
  end
1853
+
1854
+ # Message for CreateDatabase request.
1855
+ # @!attribute [rw] parent
1856
+ # @return [::String]
1857
+ # Required. Value for parent.
1858
+ # @!attribute [rw] database_id
1859
+ # @return [::String]
1860
+ # Required. ID of the requesting object.
1861
+ # @!attribute [rw] database
1862
+ # @return [::Google::Cloud::AlloyDB::V1alpha::Database]
1863
+ # Required. The resource being created.
1864
+ class CreateDatabaseRequest
1865
+ include ::Google::Protobuf::MessageExts
1866
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1867
+ end
1826
1868
  end
1827
1869
  end
1828
1870
  end
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-alloy_db-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC