google-cloud-alloy_db-v1beta 0.7.0 → 0.8.1

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.
@@ -435,6 +435,9 @@ module Google
435
435
  # @!attribute [r] primary_config
436
436
  # @return [::Google::Cloud::AlloyDB::V1beta::Cluster::PrimaryConfig]
437
437
  # Output only. Cross Region replication config specific to PRIMARY cluster.
438
+ # @!attribute [r] satisfies_pzs
439
+ # @return [::Boolean]
440
+ # Output only. Reserved for future use.
438
441
  class Cluster
439
442
  include ::Google::Protobuf::MessageExts
440
443
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -442,7 +445,7 @@ module Google
442
445
  # Metadata related to network configuration.
443
446
  # @!attribute [rw] network
444
447
  # @return [::String]
445
- # Required. The resource link for the VPC network in which cluster
448
+ # Optional. The resource link for the VPC network in which cluster
446
449
  # resources are created and from which they are accessible via Private IP.
447
450
  # The network must belong to the same project as the cluster. It is
448
451
  # specified in the form:
@@ -455,8 +458,8 @@ module Google
455
458
  # instance IPs for this cluster will be created in the allocated range. The
456
459
  # range name must comply with RFC 1035. Specifically, the name must be 1-63
457
460
  # characters long and match the regular expression
458
- # [a-z]([-a-z0-9]*[a-z0-9])?.
459
- # Field name is intended to be consistent with CloudSQL.
461
+ # `[a-z]([-a-z0-9]*[a-z0-9])?`.
462
+ # Field name is intended to be consistent with Cloud SQL.
460
463
  class NetworkConfig
461
464
  include ::Google::Protobuf::MessageExts
462
465
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -645,11 +648,17 @@ module Google
645
648
  # Configuration for query insights.
646
649
  # @!attribute [rw] read_pool_config
647
650
  # @return [::Google::Cloud::AlloyDB::V1beta::Instance::ReadPoolConfig]
648
- # Read pool specific config.
651
+ # Read pool instance configuration.
652
+ # This is required if the value of instanceType is READ_POOL.
649
653
  # @!attribute [r] ip_address
650
654
  # @return [::String]
651
655
  # Output only. The IP address for the Instance.
652
656
  # This is the connection endpoint for an end-user application.
657
+ # @!attribute [r] public_ip_address
658
+ # @return [::String]
659
+ # Output only. The public IP addresses for the Instance. This is available
660
+ # ONLY when enable_public_ip is set. This is the connection endpoint for an
661
+ # end-user application.
653
662
  # @!attribute [r] reconciling
654
663
  # @return [::Boolean]
655
664
  # Output only. Reconciling (https://google.aip.dev/128#reconciliation).
@@ -674,6 +683,16 @@ module Google
674
683
  # @!attribute [rw] client_connection_config
675
684
  # @return [::Google::Cloud::AlloyDB::V1beta::Instance::ClientConnectionConfig]
676
685
  # Optional. Client connection specific configurations
686
+ # @!attribute [r] satisfies_pzs
687
+ # @return [::Boolean]
688
+ # Output only. Reserved for future use.
689
+ # @!attribute [rw] psc_instance_config
690
+ # @return [::Google::Cloud::AlloyDB::V1beta::Instance::PscInstanceConfig]
691
+ # Optional. The configuration for Private Service Connect (PSC) for the
692
+ # instance.
693
+ # @!attribute [rw] network_config
694
+ # @return [::Google::Cloud::AlloyDB::V1beta::Instance::InstanceNetworkConfig]
695
+ # Optional. Instance level network configuration.
677
696
  class Instance
678
697
  include ::Google::Protobuf::MessageExts
679
698
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -777,6 +796,85 @@ module Google
777
796
  extend ::Google::Protobuf::MessageExts::ClassMethods
778
797
  end
779
798
 
799
+ # Configuration for setting up a PSC interface. This information needs to be
800
+ # provided by the customer.
801
+ # PSC interfaces will be created and added to VMs via SLM (adding a network
802
+ # interface will require recreating the VM). For HA instances this will be
803
+ # done via LDTM.
804
+ # @!attribute [rw] consumer_endpoint_ips
805
+ # @return [::Array<::String>]
806
+ # A list of endpoints in the consumer VPC the interface might initiate
807
+ # outbound connections to. This list has to be provided when the PSC
808
+ # interface is created.
809
+ # @!attribute [rw] network_attachment
810
+ # @return [::String]
811
+ # The NetworkAttachment resource created in the consumer VPC to which the
812
+ # PSC interface will be linked, in the form of:
813
+ # `projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}`.
814
+ # NetworkAttachment has to be provided when the PSC interface is created.
815
+ class PscInterfaceConfig
816
+ include ::Google::Protobuf::MessageExts
817
+ extend ::Google::Protobuf::MessageExts::ClassMethods
818
+ end
819
+
820
+ # PscInstanceConfig contains PSC related configuration at an
821
+ # instance level.
822
+ # @!attribute [r] service_attachment_link
823
+ # @return [::String]
824
+ # Output only. The service attachment created when Private
825
+ # Service Connect (PSC) is enabled for the instance.
826
+ # The name of the resource will be in the format of
827
+ # `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>`
828
+ # @!attribute [rw] allowed_consumer_projects
829
+ # @return [::Array<::String>]
830
+ # Optional. List of consumer projects that are allowed to create
831
+ # PSC endpoints to service-attachments to this instance.
832
+ # @!attribute [rw] allowed_consumer_networks
833
+ # @return [::Array<::String>]
834
+ # Optional. List of consumer networks that are allowed to create
835
+ # PSC endpoints to service-attachments to this instance.
836
+ # @!attribute [rw] psc_interface_configs
837
+ # @return [::Array<::Google::Cloud::AlloyDB::V1beta::Instance::PscInterfaceConfig>]
838
+ # Optional. Configurations for setting up PSC interfaces attached to the
839
+ # instance which are used for outbound connectivity. Only primary instances
840
+ # can have PSC interface attached. All the VMs created for the primary
841
+ # instance will share the same configurations. Currently we only support 0
842
+ # or 1 PSC interface.
843
+ # @!attribute [rw] outgoing_service_attachment_links
844
+ # @return [::Array<::String>]
845
+ # Optional. List of service attachments that this instance has created
846
+ # endpoints to connect with. Currently, only a single outgoing service
847
+ # attachment is supported per instance.
848
+ # @!attribute [rw] psc_enabled
849
+ # @return [::Boolean]
850
+ # Optional. Whether PSC connectivity is enabled for this instance.
851
+ # This is populated by referencing the value from the parent cluster.
852
+ class PscInstanceConfig
853
+ include ::Google::Protobuf::MessageExts
854
+ extend ::Google::Protobuf::MessageExts::ClassMethods
855
+ end
856
+
857
+ # Metadata related to instance level network configuration.
858
+ # @!attribute [rw] authorized_external_networks
859
+ # @return [::Array<::Google::Cloud::AlloyDB::V1beta::Instance::InstanceNetworkConfig::AuthorizedNetwork>]
860
+ # Optional. A list of external network authorized to access this instance.
861
+ # @!attribute [rw] enable_public_ip
862
+ # @return [::Boolean]
863
+ # Optional. Enabling public ip for the instance.
864
+ class InstanceNetworkConfig
865
+ include ::Google::Protobuf::MessageExts
866
+ extend ::Google::Protobuf::MessageExts::ClassMethods
867
+
868
+ # AuthorizedNetwork contains metadata for an authorized network.
869
+ # @!attribute [rw] cidr_range
870
+ # @return [::String]
871
+ # CIDR range for one authorzied network of the instance.
872
+ class AuthorizedNetwork
873
+ include ::Google::Protobuf::MessageExts
874
+ extend ::Google::Protobuf::MessageExts::ClassMethods
875
+ end
876
+ end
877
+
780
878
  # @!attribute [rw] key
781
879
  # @return [::String]
782
880
  # @!attribute [rw] value
@@ -890,6 +988,11 @@ module Google
890
988
  # Output only. The private network IP address for the Instance. This is the
891
989
  # default IP for the instance and is always created (even if enable_public_ip
892
990
  # is set). This is the connection endpoint for an end-user application.
991
+ # @!attribute [r] public_ip_address
992
+ # @return [::String]
993
+ # Output only. The public IP addresses for the Instance. This is available
994
+ # ONLY when enable_public_ip is set. This is the connection endpoint for an
995
+ # end-user application.
893
996
  # @!attribute [r] pem_certificate_chain
894
997
  # @deprecated This field is deprecated and may be removed in the next major version update.
895
998
  # @return [::Array<::String>]
@@ -898,6 +1001,9 @@ module Google
898
1001
  # @!attribute [r] instance_uid
899
1002
  # @return [::String]
900
1003
  # Output only. The unique ID of the Instance.
1004
+ # @!attribute [r] psc_dns_name
1005
+ # @return [::String]
1006
+ # Output only. The DNS name to use with PSC for the Instance.
901
1007
  class ConnectionInfo
902
1008
  include ::Google::Protobuf::MessageExts
903
1009
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -987,6 +1093,9 @@ module Google
987
1093
  # Output only. The QuantityBasedExpiry of the backup, specified by the
988
1094
  # backup's retention policy. Once the expiry quantity is over retention, the
989
1095
  # backup is eligible to be garbage collected.
1096
+ # @!attribute [r] satisfies_pzs
1097
+ # @return [::Boolean]
1098
+ # Output only. Reserved for future use.
990
1099
  # @!attribute [r] database_version
991
1100
  # @return [::Google::Cloud::AlloyDB::V1beta::DatabaseVersion]
992
1101
  # Output only. The database engine major version of the cluster this backup
@@ -1192,6 +1301,26 @@ module Google
1192
1301
  end
1193
1302
  end
1194
1303
 
1304
+ # Message describing Database object.
1305
+ # @!attribute [rw] name
1306
+ # @return [::String]
1307
+ # Identifier. Name of the resource in the form of
1308
+ # `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`.
1309
+ # @!attribute [rw] charset
1310
+ # @return [::String]
1311
+ # Optional. Charset for the database.
1312
+ # This field can contain any PostgreSQL supported charset name.
1313
+ # Example values include "UTF8", "SQL_ASCII", etc.
1314
+ # @!attribute [rw] collation
1315
+ # @return [::String]
1316
+ # Optional. Collation for the database.
1317
+ # Name of the custom or native collation for postgres.
1318
+ # Example values include "C", "POSIX", etc
1319
+ class Database
1320
+ include ::Google::Protobuf::MessageExts
1321
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1322
+ end
1323
+
1195
1324
  # View on Instance. Pass this enum to rpcs that returns an Instance message to
1196
1325
  # control which subsets of fields to get.
1197
1326
  module InstanceView
@@ -958,7 +958,8 @@ module Google
958
958
  # @!attribute [rw] pem_csr
959
959
  # @deprecated This field is deprecated and may be removed in the next major version update.
960
960
  # @return [::String]
961
- # Optional. A pem-encoded X.509 certificate signing request (CSR).
961
+ # Optional. A pem-encoded X.509 certificate signing request (CSR). It is
962
+ # recommended to use public_key instead.
962
963
  # @!attribute [rw] cert_duration
963
964
  # @return [::Google::Protobuf::Duration]
964
965
  # Optional. An optional hint to the endpoint to generate the client
@@ -981,6 +982,7 @@ module Google
981
982
 
982
983
  # Message returned by a GenerateClientCertificate operation.
983
984
  # @!attribute [r] pem_certificate
985
+ # @deprecated This field is deprecated and may be removed in the next major version update.
984
986
  # @return [::String]
985
987
  # Output only. The pem-encoded, signed X.509 certificate.
986
988
  # @!attribute [r] pem_certificate_chain
@@ -1201,6 +1203,43 @@ module Google
1201
1203
  include ::Google::Protobuf::MessageExts
1202
1204
  extend ::Google::Protobuf::MessageExts::ClassMethods
1203
1205
  end
1206
+
1207
+ # Message for requesting list of Databases.
1208
+ # @!attribute [rw] parent
1209
+ # @return [::String]
1210
+ # Required. Parent value for ListDatabasesRequest.
1211
+ # @!attribute [rw] page_size
1212
+ # @return [::Integer]
1213
+ # Optional. The maximum number of databases to return. The service may return
1214
+ # fewer than this value. If unspecified, an appropriate number of databases
1215
+ # will be returned. The max value will be 2000, values above max will be
1216
+ # coerced to max.
1217
+ # @!attribute [rw] page_token
1218
+ # @return [::String]
1219
+ # Optional. A page token, received from a previous `ListDatabases` call.
1220
+ # This should be provided to retrieve the subsequent page.
1221
+ # This field is currently not supported, its value will be ignored if passed.
1222
+ # @!attribute [rw] filter
1223
+ # @return [::String]
1224
+ # Optional. Filtering results.
1225
+ # This field is currently not supported, its value will be ignored if passed.
1226
+ class ListDatabasesRequest
1227
+ include ::Google::Protobuf::MessageExts
1228
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1229
+ end
1230
+
1231
+ # Message for response to listing Databases.
1232
+ # @!attribute [rw] databases
1233
+ # @return [::Array<::Google::Cloud::AlloyDB::V1beta::Database>]
1234
+ # The list of databases
1235
+ # @!attribute [rw] next_page_token
1236
+ # @return [::String]
1237
+ # A token identifying the next page of results the server should return.
1238
+ # If this field is omitted, there are no subsequent pages.
1239
+ class ListDatabasesResponse
1240
+ include ::Google::Protobuf::MessageExts
1241
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1242
+ end
1204
1243
  end
1205
1244
  end
1206
1245
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-alloy_db-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -89,7 +89,7 @@ description: AlloyDB for PostgreSQL is an open source-compatible database servic
89
89
  applications. It offers full compatibility with standard PostgreSQL, and is more
90
90
  than 4x faster for transactional workloads and up to 100x faster for analytical
91
91
  queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL
92
- offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized
92
+ offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized
93
93
  for the most demanding use cases, allowing you to build new applications that require
94
94
  high transaction throughput, large database sizes, or multiple read resources; scale
95
95
  existing PostgreSQL workloads with no application changes; and modernize legacy
@@ -125,6 +125,7 @@ files:
125
125
  - proto_docs/README.md
126
126
  - proto_docs/google/api/client.rb
127
127
  - proto_docs/google/api/field_behavior.rb
128
+ - proto_docs/google/api/field_info.rb
128
129
  - proto_docs/google/api/launch_stage.rb
129
130
  - proto_docs/google/api/resource.rb
130
131
  - proto_docs/google/cloud/alloydb/v1beta/resources.rb