google-cloud-alloy_db-v1 0.9.2 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -21
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/client.rb +540 -175
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/operations.rb +12 -15
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/client.rb +515 -175
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/operations.rb +43 -38
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/service_stub.rb +444 -185
- data/lib/google/cloud/alloy_db/v1/version.rb +1 -1
- data/lib/google/cloud/alloydb/v1/data_model_pb.rb +45 -0
- data/lib/google/cloud/alloydb/v1/resources_pb.rb +12 -1
- data/lib/google/cloud/alloydb/v1/service_pb.rb +11 -1
- data/lib/google/cloud/alloydb/v1/service_services_pb.rb +8 -0
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/alloydb/v1/data_model.rb +75 -0
- data/proto_docs/google/cloud/alloydb/v1/resources.rb +241 -6
- data/proto_docs/google/cloud/alloydb/v1/service.rb +304 -143
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +9 -6
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AlloyDB
|
23
|
+
module V1
|
24
|
+
# SqlResult represents the result for the execution of a sql statement.
|
25
|
+
# @!attribute [rw] columns
|
26
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1::SqlResultColumn>]
|
27
|
+
# List of columns included in the result. This also includes the data type
|
28
|
+
# of the column.
|
29
|
+
# @!attribute [rw] rows
|
30
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1::SqlResultRow>]
|
31
|
+
# Rows returned by the SQL statement.
|
32
|
+
class SqlResult
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
end
|
36
|
+
|
37
|
+
# Contains the name and datatype of a column in a SQL Result.
|
38
|
+
# @!attribute [rw] name
|
39
|
+
# @return [::String]
|
40
|
+
# Name of the column.
|
41
|
+
# @!attribute [rw] type
|
42
|
+
# @return [::String]
|
43
|
+
# Datatype of the column as reported by the postgres driver.
|
44
|
+
# Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL",
|
45
|
+
# "INT", and "BIGINT".
|
46
|
+
class SqlResultColumn
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
|
51
|
+
# A single row from a sql result.
|
52
|
+
# @!attribute [rw] values
|
53
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1::SqlResultValue>]
|
54
|
+
# List of values in a row of sql result.
|
55
|
+
class SqlResultRow
|
56
|
+
include ::Google::Protobuf::MessageExts
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
|
+
end
|
59
|
+
|
60
|
+
# A single value in a row from a sql result.
|
61
|
+
# @!attribute [rw] value
|
62
|
+
# @return [::String]
|
63
|
+
# The cell value represented in string format.
|
64
|
+
# Timestamps are converted to string using RFC3339Nano format.
|
65
|
+
# @!attribute [rw] null_value
|
66
|
+
# @return [::Boolean]
|
67
|
+
# Set to true if cell value is null.
|
68
|
+
class SqlResultValue
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
|
115
115
|
# SSL mode options.
|
116
116
|
module SslMode
|
117
|
-
# SSL mode not specified. Defaults to ENCRYPTED_ONLY.
|
117
|
+
# SSL mode is not specified. Defaults to ENCRYPTED_ONLY.
|
118
118
|
SSL_MODE_UNSPECIFIED = 0
|
119
119
|
|
120
120
|
# SSL connections are optional. CA verification not enforced.
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
SSL_MODE_REQUIRE = 2
|
127
127
|
|
128
128
|
# SSL connections are required. CA verification enforced.
|
129
|
-
# Clients must have certificates signed by a Cluster CA,
|
129
|
+
# Clients must have certificates signed by a Cluster CA, for example, using
|
130
130
|
# GenerateClientCertificate.
|
131
131
|
SSL_MODE_VERIFY_CA = 3
|
132
132
|
|
@@ -320,6 +320,41 @@ module Google
|
|
320
320
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
321
321
|
end
|
322
322
|
|
323
|
+
# MaintenanceUpdatePolicy defines the policy for system updates.
|
324
|
+
# @!attribute [rw] maintenance_windows
|
325
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1::MaintenanceUpdatePolicy::MaintenanceWindow>]
|
326
|
+
# Preferred windows to perform maintenance. Currently limited to 1.
|
327
|
+
class MaintenanceUpdatePolicy
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
|
331
|
+
# MaintenanceWindow specifies a preferred day and time for maintenance.
|
332
|
+
# @!attribute [rw] day
|
333
|
+
# @return [::Google::Type::DayOfWeek]
|
334
|
+
# Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
335
|
+
# @!attribute [rw] start_time
|
336
|
+
# @return [::Google::Type::TimeOfDay]
|
337
|
+
# Preferred time to start the maintenance operation on the specified day.
|
338
|
+
# Maintenance will start within 1 hour of this time.
|
339
|
+
class MaintenanceWindow
|
340
|
+
include ::Google::Protobuf::MessageExts
|
341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
# MaintenanceSchedule stores the maintenance schedule generated from
|
346
|
+
# the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
|
347
|
+
# MaintenanceWindow is set, and if there is no conflicting DenyPeriod.
|
348
|
+
# The schedule is cleared once the update takes place. This field cannot be
|
349
|
+
# manually changed; modify the MaintenanceUpdatePolicy instead.
|
350
|
+
# @!attribute [r] start_time
|
351
|
+
# @return [::Google::Protobuf::Timestamp]
|
352
|
+
# Output only. The scheduled start time for the maintenance.
|
353
|
+
class MaintenanceSchedule
|
354
|
+
include ::Google::Protobuf::MessageExts
|
355
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
356
|
+
end
|
357
|
+
|
323
358
|
# A cluster is a collection of regional AlloyDB resources. It can include a
|
324
359
|
# primary instance and one or more read pool instances.
|
325
360
|
# All cluster resources share a storage layer, which scales as needed.
|
@@ -379,7 +414,7 @@ module Google
|
|
379
414
|
# Required. The resource link for the VPC network in which cluster resources
|
380
415
|
# are created and from which they are accessible via Private IP. The network
|
381
416
|
# must belong to the same project as the cluster. It is specified in the
|
382
|
-
# form:
|
417
|
+
# form: `projects/{project}/global/networks/{network_id}`. This is required
|
383
418
|
# to create a cluster. Deprecated, use network_config.network instead.
|
384
419
|
# @!attribute [rw] etag
|
385
420
|
# @return [::String]
|
@@ -435,6 +470,35 @@ module Google
|
|
435
470
|
# @!attribute [r] primary_config
|
436
471
|
# @return [::Google::Cloud::AlloyDB::V1::Cluster::PrimaryConfig]
|
437
472
|
# Output only. Cross Region replication config specific to PRIMARY cluster.
|
473
|
+
# @!attribute [r] satisfies_pzs
|
474
|
+
# @return [::Boolean]
|
475
|
+
# Output only. Reserved for future use.
|
476
|
+
# @!attribute [rw] psc_config
|
477
|
+
# @return [::Google::Cloud::AlloyDB::V1::Cluster::PscConfig]
|
478
|
+
# Optional. The configuration for Private Service Connect (PSC) for the
|
479
|
+
# cluster.
|
480
|
+
# @!attribute [rw] maintenance_update_policy
|
481
|
+
# @return [::Google::Cloud::AlloyDB::V1::MaintenanceUpdatePolicy]
|
482
|
+
# Optional. The maintenance update policy determines when to allow or deny
|
483
|
+
# updates.
|
484
|
+
# @!attribute [r] maintenance_schedule
|
485
|
+
# @return [::Google::Cloud::AlloyDB::V1::MaintenanceSchedule]
|
486
|
+
# Output only. The maintenance schedule for the cluster, generated for a
|
487
|
+
# specific rollout if a maintenance window is set.
|
488
|
+
# @!attribute [rw] subscription_type
|
489
|
+
# @return [::Google::Cloud::AlloyDB::V1::SubscriptionType]
|
490
|
+
# Optional. Subscription type of the cluster.
|
491
|
+
# @!attribute [r] trial_metadata
|
492
|
+
# @return [::Google::Cloud::AlloyDB::V1::Cluster::TrialMetadata]
|
493
|
+
# Output only. Metadata for free trial clusters
|
494
|
+
# @!attribute [rw] tags
|
495
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
496
|
+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
|
497
|
+
# resource. For example:
|
498
|
+
# ```
|
499
|
+
# "123/environment": "production",
|
500
|
+
# "123/costCenter": "marketing"
|
501
|
+
# ```
|
438
502
|
class Cluster
|
439
503
|
include ::Google::Protobuf::MessageExts
|
440
504
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -442,11 +506,11 @@ module Google
|
|
442
506
|
# Metadata related to network configuration.
|
443
507
|
# @!attribute [rw] network
|
444
508
|
# @return [::String]
|
445
|
-
#
|
509
|
+
# Optional. The resource link for the VPC network in which cluster
|
446
510
|
# resources are created and from which they are accessible via Private IP.
|
447
511
|
# The network must belong to the same project as the cluster. It is
|
448
512
|
# specified in the form:
|
449
|
-
#
|
513
|
+
# `projects/{project_number}/global/networks/{network_id}`. This is
|
450
514
|
# required to create a cluster.
|
451
515
|
# @!attribute [rw] allocated_ip_range
|
452
516
|
# @return [::String]
|
@@ -485,6 +549,34 @@ module Google
|
|
485
549
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
486
550
|
end
|
487
551
|
|
552
|
+
# PscConfig contains PSC related configuration at a cluster level.
|
553
|
+
# @!attribute [rw] psc_enabled
|
554
|
+
# @return [::Boolean]
|
555
|
+
# Optional. Create an instance that allows connections from Private Service
|
556
|
+
# Connect endpoints to the instance.
|
557
|
+
class PscConfig
|
558
|
+
include ::Google::Protobuf::MessageExts
|
559
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
560
|
+
end
|
561
|
+
|
562
|
+
# Contains information and all metadata related to TRIAL clusters.
|
563
|
+
# @!attribute [rw] start_time
|
564
|
+
# @return [::Google::Protobuf::Timestamp]
|
565
|
+
# start time of the trial cluster.
|
566
|
+
# @!attribute [rw] end_time
|
567
|
+
# @return [::Google::Protobuf::Timestamp]
|
568
|
+
# End time of the trial cluster.
|
569
|
+
# @!attribute [rw] upgrade_time
|
570
|
+
# @return [::Google::Protobuf::Timestamp]
|
571
|
+
# Upgrade time of trial cluster to Standard cluster.
|
572
|
+
# @!attribute [rw] grace_end_time
|
573
|
+
# @return [::Google::Protobuf::Timestamp]
|
574
|
+
# grace end time of the cluster.
|
575
|
+
class TrialMetadata
|
576
|
+
include ::Google::Protobuf::MessageExts
|
577
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
578
|
+
end
|
579
|
+
|
488
580
|
# @!attribute [rw] key
|
489
581
|
# @return [::String]
|
490
582
|
# @!attribute [rw] value
|
@@ -503,6 +595,15 @@ module Google
|
|
503
595
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
504
596
|
end
|
505
597
|
|
598
|
+
# @!attribute [rw] key
|
599
|
+
# @return [::String]
|
600
|
+
# @!attribute [rw] value
|
601
|
+
# @return [::String]
|
602
|
+
class TagsEntry
|
603
|
+
include ::Google::Protobuf::MessageExts
|
604
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
605
|
+
end
|
606
|
+
|
506
607
|
# Cluster State
|
507
608
|
module State
|
508
609
|
# The state of the cluster is unknown.
|
@@ -651,6 +752,11 @@ module Google
|
|
651
752
|
# @return [::String]
|
652
753
|
# Output only. The IP address for the Instance.
|
653
754
|
# This is the connection endpoint for an end-user application.
|
755
|
+
# @!attribute [r] public_ip_address
|
756
|
+
# @return [::String]
|
757
|
+
# Output only. The public IP addresses for the Instance. This is available
|
758
|
+
# ONLY when enable_public_ip is set. This is the connection endpoint for an
|
759
|
+
# end-user application.
|
654
760
|
# @!attribute [r] reconciling
|
655
761
|
# @return [::Boolean]
|
656
762
|
# Output only. Reconciling (https://google.aip.dev/128#reconciliation).
|
@@ -669,6 +775,19 @@ module Google
|
|
669
775
|
# @!attribute [rw] client_connection_config
|
670
776
|
# @return [::Google::Cloud::AlloyDB::V1::Instance::ClientConnectionConfig]
|
671
777
|
# Optional. Client connection specific configurations
|
778
|
+
# @!attribute [r] satisfies_pzs
|
779
|
+
# @return [::Boolean]
|
780
|
+
# Output only. Reserved for future use.
|
781
|
+
# @!attribute [rw] psc_instance_config
|
782
|
+
# @return [::Google::Cloud::AlloyDB::V1::Instance::PscInstanceConfig]
|
783
|
+
# Optional. The configuration for Private Service Connect (PSC) for the
|
784
|
+
# instance.
|
785
|
+
# @!attribute [rw] network_config
|
786
|
+
# @return [::Google::Cloud::AlloyDB::V1::Instance::InstanceNetworkConfig]
|
787
|
+
# Optional. Instance-level network configuration.
|
788
|
+
# @!attribute [r] outbound_public_ip_addresses
|
789
|
+
# @return [::Array<::String>]
|
790
|
+
# Output only. All outbound public IP addresses configured for the instance.
|
672
791
|
class Instance
|
673
792
|
include ::Google::Protobuf::MessageExts
|
674
793
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -744,12 +863,58 @@ module Google
|
|
744
863
|
# connections to the database.
|
745
864
|
# @!attribute [rw] ssl_config
|
746
865
|
# @return [::Google::Cloud::AlloyDB::V1::SslConfig]
|
747
|
-
# Optional. SSL
|
866
|
+
# Optional. SSL configuration option for this instance.
|
748
867
|
class ClientConnectionConfig
|
749
868
|
include ::Google::Protobuf::MessageExts
|
750
869
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
751
870
|
end
|
752
871
|
|
872
|
+
# PscInstanceConfig contains PSC related configuration at an
|
873
|
+
# instance level.
|
874
|
+
# @!attribute [r] service_attachment_link
|
875
|
+
# @return [::String]
|
876
|
+
# Output only. The service attachment created when Private
|
877
|
+
# Service Connect (PSC) is enabled for the instance.
|
878
|
+
# The name of the resource will be in the format of
|
879
|
+
# `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>`
|
880
|
+
# @!attribute [rw] allowed_consumer_projects
|
881
|
+
# @return [::Array<::String>]
|
882
|
+
# Optional. List of consumer projects that are allowed to create
|
883
|
+
# PSC endpoints to service-attachments to this instance.
|
884
|
+
# @!attribute [r] psc_dns_name
|
885
|
+
# @return [::String]
|
886
|
+
# Output only. The DNS name of the instance for PSC connectivity.
|
887
|
+
# Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
|
888
|
+
class PscInstanceConfig
|
889
|
+
include ::Google::Protobuf::MessageExts
|
890
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
891
|
+
end
|
892
|
+
|
893
|
+
# Metadata related to instance-level network configuration.
|
894
|
+
# @!attribute [rw] authorized_external_networks
|
895
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1::Instance::InstanceNetworkConfig::AuthorizedNetwork>]
|
896
|
+
# Optional. A list of external network authorized to access this instance.
|
897
|
+
# @!attribute [rw] enable_public_ip
|
898
|
+
# @return [::Boolean]
|
899
|
+
# Optional. Enabling public ip for the instance.
|
900
|
+
# @!attribute [rw] enable_outbound_public_ip
|
901
|
+
# @return [::Boolean]
|
902
|
+
# Optional. Enabling an outbound public IP address to support a database
|
903
|
+
# server sending requests out into the internet.
|
904
|
+
class InstanceNetworkConfig
|
905
|
+
include ::Google::Protobuf::MessageExts
|
906
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
907
|
+
|
908
|
+
# AuthorizedNetwork contains metadata for an authorized network.
|
909
|
+
# @!attribute [rw] cidr_range
|
910
|
+
# @return [::String]
|
911
|
+
# CIDR range for one authorzied network of the instance.
|
912
|
+
class AuthorizedNetwork
|
913
|
+
include ::Google::Protobuf::MessageExts
|
914
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
915
|
+
end
|
916
|
+
end
|
917
|
+
|
753
918
|
# @!attribute [rw] key
|
754
919
|
# @return [::String]
|
755
920
|
# @!attribute [rw] value
|
@@ -863,6 +1028,11 @@ module Google
|
|
863
1028
|
# Output only. The private network IP address for the Instance. This is the
|
864
1029
|
# default IP for the instance and is always created (even if enable_public_ip
|
865
1030
|
# is set). This is the connection endpoint for an end-user application.
|
1031
|
+
# @!attribute [r] public_ip_address
|
1032
|
+
# @return [::String]
|
1033
|
+
# Output only. The public IP addresses for the Instance. This is available
|
1034
|
+
# ONLY when enable_public_ip is set. This is the connection endpoint for an
|
1035
|
+
# end-user application.
|
866
1036
|
# @!attribute [r] instance_uid
|
867
1037
|
# @return [::String]
|
868
1038
|
# Output only. The unique ID of the Instance.
|
@@ -955,11 +1125,22 @@ module Google
|
|
955
1125
|
# Output only. The QuantityBasedExpiry of the backup, specified by the
|
956
1126
|
# backup's retention policy. Once the expiry quantity is over retention, the
|
957
1127
|
# backup is eligible to be garbage collected.
|
1128
|
+
# @!attribute [r] satisfies_pzs
|
1129
|
+
# @return [::Boolean]
|
1130
|
+
# Output only. Reserved for future use.
|
958
1131
|
# @!attribute [r] database_version
|
959
1132
|
# @return [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
|
960
1133
|
# Output only. The database engine major version of the cluster this backup
|
961
1134
|
# was created from. Any restored cluster created from this backup will have
|
962
1135
|
# the same database version.
|
1136
|
+
# @!attribute [rw] tags
|
1137
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1138
|
+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
|
1139
|
+
# resource. For example:
|
1140
|
+
# ```
|
1141
|
+
# "123/environment": "production",
|
1142
|
+
# "123/costCenter": "marketing"
|
1143
|
+
# ```
|
963
1144
|
class Backup
|
964
1145
|
include ::Google::Protobuf::MessageExts
|
965
1146
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1008,6 +1189,15 @@ module Google
|
|
1008
1189
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1009
1190
|
end
|
1010
1191
|
|
1192
|
+
# @!attribute [rw] key
|
1193
|
+
# @return [::String]
|
1194
|
+
# @!attribute [rw] value
|
1195
|
+
# @return [::String]
|
1196
|
+
class TagsEntry
|
1197
|
+
include ::Google::Protobuf::MessageExts
|
1198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1199
|
+
end
|
1200
|
+
|
1011
1201
|
# Backup State
|
1012
1202
|
module State
|
1013
1203
|
# The state of the backup is unknown.
|
@@ -1142,6 +1332,10 @@ module Google
|
|
1142
1332
|
# @!attribute [rw] user_type
|
1143
1333
|
# @return [::Google::Cloud::AlloyDB::V1::User::UserType]
|
1144
1334
|
# Optional. Type of this user.
|
1335
|
+
# @!attribute [rw] keep_extra_roles
|
1336
|
+
# @return [::Boolean]
|
1337
|
+
# Input only. If the user already exists and it has additional roles, keep
|
1338
|
+
# them granted.
|
1145
1339
|
class User
|
1146
1340
|
include ::Google::Protobuf::MessageExts
|
1147
1341
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1160,6 +1354,26 @@ module Google
|
|
1160
1354
|
end
|
1161
1355
|
end
|
1162
1356
|
|
1357
|
+
# Message describing Database object.
|
1358
|
+
# @!attribute [rw] name
|
1359
|
+
# @return [::String]
|
1360
|
+
# Identifier. Name of the resource in the form of
|
1361
|
+
# `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`.
|
1362
|
+
# @!attribute [rw] charset
|
1363
|
+
# @return [::String]
|
1364
|
+
# Optional. Charset for the database.
|
1365
|
+
# This field can contain any PostgreSQL supported charset name.
|
1366
|
+
# Example values include "UTF8", "SQL_ASCII", etc.
|
1367
|
+
# @!attribute [rw] collation
|
1368
|
+
# @return [::String]
|
1369
|
+
# Optional. Collation for the database.
|
1370
|
+
# Name of the custom or native collation for postgres.
|
1371
|
+
# Example values include "C", "POSIX", etc
|
1372
|
+
class Database
|
1373
|
+
include ::Google::Protobuf::MessageExts
|
1374
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1375
|
+
end
|
1376
|
+
|
1163
1377
|
# View on Instance. Pass this enum to rpcs that returns an Instance message to
|
1164
1378
|
# control which subsets of fields to get.
|
1165
1379
|
module InstanceView
|
@@ -1203,6 +1417,27 @@ module Google
|
|
1203
1417
|
|
1204
1418
|
# The database version is Postgres 14.
|
1205
1419
|
POSTGRES_14 = 2
|
1420
|
+
|
1421
|
+
# The database version is Postgres 15.
|
1422
|
+
POSTGRES_15 = 3
|
1423
|
+
|
1424
|
+
# The database version is Postgres 16.
|
1425
|
+
POSTGRES_16 = 4
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
# Subscription_type added to distinguish between Standard and Trial
|
1429
|
+
# subscriptions. By default, a subscription type is considered STANDARD unless
|
1430
|
+
# explicitly specified.
|
1431
|
+
module SubscriptionType
|
1432
|
+
# This is an unknown subscription type. By default, the subscription type is
|
1433
|
+
# STANDARD.
|
1434
|
+
SUBSCRIPTION_TYPE_UNSPECIFIED = 0
|
1435
|
+
|
1436
|
+
# Standard subscription.
|
1437
|
+
STANDARD = 1
|
1438
|
+
|
1439
|
+
# Trial subscription.
|
1440
|
+
TRIAL = 2
|
1206
1441
|
end
|
1207
1442
|
end
|
1208
1443
|
end
|