google-apis-alloydb_v1beta 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a39168bc66168eb06259b2c429aa4f8239aacdf48c9f7724c57b32b47fd4a29
|
4
|
+
data.tar.gz: cab54092aea4c8f12999181be38e29730e40099bc9a748b3b38550f33b9329df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 360720a57711876a66bf56c9a5694ce1d6b85404486f7112b9bed89c16e4d74d536cbbff50360139ec346718047f6f9f1cdc6d77c3b22871663cf76c4fbb113f
|
7
|
+
data.tar.gz: 133c285f72bedee236671224289788ed79b255b770e5ffa9bc93da059af4888e9661997e2ba944c1853a4adb4dd789e86b35fa3b828379b82c96b07a1a98bcc0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1beta
|
2
2
|
|
3
|
+
### v0.11.0 (2024-03-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240320
|
6
|
+
|
7
|
+
### v0.10.0 (2024-03-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240306
|
10
|
+
|
3
11
|
### v0.9.0 (2024-03-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240228
|
@@ -451,6 +451,12 @@ module Google
|
|
451
451
|
# @return [String]
|
452
452
|
attr_accessor :etag
|
453
453
|
|
454
|
+
# Cluster level configuration parameters related to the Gemini in Databases add-
|
455
|
+
# on. See go/prd-enable-duet-ai-databases for more details.
|
456
|
+
# Corresponds to the JSON property `geminiConfig`
|
457
|
+
# @return [Google::Apis::AlloydbV1beta::GeminiClusterConfig]
|
458
|
+
attr_accessor :gemini_config
|
459
|
+
|
454
460
|
# The username/password for a database user. Used for specifying initial users
|
455
461
|
# at cluster creation time.
|
456
462
|
# Corresponds to the JSON property `initialUser`
|
@@ -462,6 +468,20 @@ module Google
|
|
462
468
|
# @return [Hash<String,String>]
|
463
469
|
attr_accessor :labels
|
464
470
|
|
471
|
+
# MaintenanceSchedule stores the maintenance schedule generated from the
|
472
|
+
# MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
|
473
|
+
# MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
|
474
|
+
# schedule is cleared once the update takes place. This field cannot be manually
|
475
|
+
# changed; modify the MaintenanceUpdatePolicy instead.
|
476
|
+
# Corresponds to the JSON property `maintenanceSchedule`
|
477
|
+
# @return [Google::Apis::AlloydbV1beta::MaintenanceSchedule]
|
478
|
+
attr_accessor :maintenance_schedule
|
479
|
+
|
480
|
+
# MaintenanceUpdatePolicy defines the policy for system updates.
|
481
|
+
# Corresponds to the JSON property `maintenanceUpdatePolicy`
|
482
|
+
# @return [Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy]
|
483
|
+
attr_accessor :maintenance_update_policy
|
484
|
+
|
465
485
|
# Subset of the source instance configuration that is available when reading the
|
466
486
|
# cluster resource.
|
467
487
|
# Corresponds to the JSON property `migrationSource`
|
@@ -565,8 +585,11 @@ module Google
|
|
565
585
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
566
586
|
@encryption_info = args[:encryption_info] if args.key?(:encryption_info)
|
567
587
|
@etag = args[:etag] if args.key?(:etag)
|
588
|
+
@gemini_config = args[:gemini_config] if args.key?(:gemini_config)
|
568
589
|
@initial_user = args[:initial_user] if args.key?(:initial_user)
|
569
590
|
@labels = args[:labels] if args.key?(:labels)
|
591
|
+
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
592
|
+
@maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
|
570
593
|
@migration_source = args[:migration_source] if args.key?(:migration_source)
|
571
594
|
@name = args[:name] if args.key?(:name)
|
572
595
|
@network = args[:network] if args.key?(:network)
|
@@ -742,6 +765,55 @@ module Google
|
|
742
765
|
end
|
743
766
|
end
|
744
767
|
|
768
|
+
# DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
|
769
|
+
# be scheduled to start within this deny period. The start_date must be less
|
770
|
+
# than the end_date.
|
771
|
+
class DenyMaintenancePeriod
|
772
|
+
include Google::Apis::Core::Hashable
|
773
|
+
|
774
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
775
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
776
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
777
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
778
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
779
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
780
|
+
# example, a credit card expiration date). Related types: * google.type.
|
781
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
782
|
+
# Corresponds to the JSON property `endDate`
|
783
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
|
784
|
+
attr_accessor :end_date
|
785
|
+
|
786
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
787
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
788
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
789
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
790
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
791
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
792
|
+
# example, a credit card expiration date). Related types: * google.type.
|
793
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
794
|
+
# Corresponds to the JSON property `startDate`
|
795
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
|
796
|
+
attr_accessor :start_date
|
797
|
+
|
798
|
+
# Represents a time of day. The date and time zone are either not significant or
|
799
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
800
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
801
|
+
# Corresponds to the JSON property `time`
|
802
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
|
803
|
+
attr_accessor :time
|
804
|
+
|
805
|
+
def initialize(**args)
|
806
|
+
update!(**args)
|
807
|
+
end
|
808
|
+
|
809
|
+
# Update properties of this object
|
810
|
+
def update!(**args)
|
811
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
812
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
813
|
+
@time = args[:time] if args.key?(:time)
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
745
817
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
746
818
|
# messages in your APIs. A typical example is to use it as the request or the
|
747
819
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -842,50 +914,19 @@ module Google
|
|
842
914
|
end
|
843
915
|
end
|
844
916
|
|
845
|
-
#
|
846
|
-
|
917
|
+
# Cluster level configuration parameters related to the Gemini in Databases add-
|
918
|
+
# on. See go/prd-enable-duet-ai-databases for more details.
|
919
|
+
class GeminiClusterConfig
|
847
920
|
include Google::Apis::Core::Hashable
|
848
921
|
|
849
|
-
#
|
850
|
-
#
|
851
|
-
#
|
852
|
-
#
|
853
|
-
# Corresponds to the JSON property `
|
854
|
-
# @return [String]
|
855
|
-
attr_accessor :cert_duration
|
856
|
-
|
857
|
-
# Optional. A pem-encoded X.509 certificate signing request (CSR). It is
|
858
|
-
# recommended to use public_key instead.
|
859
|
-
# Corresponds to the JSON property `pemCsr`
|
860
|
-
# @return [String]
|
861
|
-
attr_accessor :pem_csr
|
862
|
-
|
863
|
-
# Optional. The public key from the client.
|
864
|
-
# Corresponds to the JSON property `publicKey`
|
865
|
-
# @return [String]
|
866
|
-
attr_accessor :public_key
|
867
|
-
|
868
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
869
|
-
# request ID so that if you must retry your request, the server will know to
|
870
|
-
# ignore the request if it has already been completed. The server will guarantee
|
871
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
872
|
-
# situation where you make an initial request and the request times out. If you
|
873
|
-
# make the request again with the same request ID, the server can check if
|
874
|
-
# original operation with the same request ID was received, and if so, will
|
875
|
-
# ignore the second request. This prevents clients from accidentally creating
|
876
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
877
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
878
|
-
# Corresponds to the JSON property `requestId`
|
879
|
-
# @return [String]
|
880
|
-
attr_accessor :request_id
|
881
|
-
|
882
|
-
# Optional. An optional hint to the endpoint to generate a client ceritificate
|
883
|
-
# that can be used by AlloyDB connectors to exchange additional metadata with
|
884
|
-
# the server after TLS handshake.
|
885
|
-
# Corresponds to the JSON property `useMetadataExchange`
|
922
|
+
# Output only. Whether the Gemini in Databases add-on is enabled for the cluster.
|
923
|
+
# It will be true only if the add-on has been enabled for the billing account
|
924
|
+
# corresponding to the cluster. Its status is toggled from the Admin Control
|
925
|
+
# Center (ACC) and cannot be toggled using AlloyDB's APIs.
|
926
|
+
# Corresponds to the JSON property `entitled`
|
886
927
|
# @return [Boolean]
|
887
|
-
attr_accessor :
|
888
|
-
alias_method :
|
928
|
+
attr_accessor :entitled
|
929
|
+
alias_method :entitled?, :entitled
|
889
930
|
|
890
931
|
def initialize(**args)
|
891
932
|
update!(**args)
|
@@ -893,33 +934,23 @@ module Google
|
|
893
934
|
|
894
935
|
# Update properties of this object
|
895
936
|
def update!(**args)
|
896
|
-
@
|
897
|
-
@pem_csr = args[:pem_csr] if args.key?(:pem_csr)
|
898
|
-
@public_key = args[:public_key] if args.key?(:public_key)
|
899
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
900
|
-
@use_metadata_exchange = args[:use_metadata_exchange] if args.key?(:use_metadata_exchange)
|
937
|
+
@entitled = args[:entitled] if args.key?(:entitled)
|
901
938
|
end
|
902
939
|
end
|
903
940
|
|
904
|
-
#
|
905
|
-
|
941
|
+
# Instance level configuration parameters related to the Gemini in Databases add-
|
942
|
+
# on. See go/prd-enable-duet-ai-databases for more details.
|
943
|
+
class GeminiInstanceConfig
|
906
944
|
include Google::Apis::Core::Hashable
|
907
945
|
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
911
|
-
|
912
|
-
|
913
|
-
#
|
914
|
-
|
915
|
-
|
916
|
-
attr_accessor :pem_certificate
|
917
|
-
|
918
|
-
# Output only. The pem-encoded chain that may be used to verify the X.509
|
919
|
-
# certificate. Expected to be in issuer-to-root order according to RFC 5246.
|
920
|
-
# Corresponds to the JSON property `pemCertificateChain`
|
921
|
-
# @return [Array<String>]
|
922
|
-
attr_accessor :pem_certificate_chain
|
946
|
+
# Output only. Whether the Gemini in Databases add-on is enabled for the
|
947
|
+
# instance. It will be true only if the add-on has been enabled for the billing
|
948
|
+
# account corresponding to the instance. Its status is toggled from the Admin
|
949
|
+
# Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
|
950
|
+
# Corresponds to the JSON property `entitled`
|
951
|
+
# @return [Boolean]
|
952
|
+
attr_accessor :entitled
|
953
|
+
alias_method :entitled?, :entitled
|
923
954
|
|
924
955
|
def initialize(**args)
|
925
956
|
update!(**args)
|
@@ -927,9 +958,7 @@ module Google
|
|
927
958
|
|
928
959
|
# Update properties of this object
|
929
960
|
def update!(**args)
|
930
|
-
@
|
931
|
-
@pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
|
932
|
-
@pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain)
|
961
|
+
@entitled = args[:entitled] if args.key?(:entitled)
|
933
962
|
end
|
934
963
|
end
|
935
964
|
|
@@ -1005,6 +1034,47 @@ module Google
|
|
1005
1034
|
end
|
1006
1035
|
end
|
1007
1036
|
|
1037
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1038
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
1039
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
1040
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
1041
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
1042
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
1043
|
+
# example, a credit card expiration date). Related types: * google.type.
|
1044
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
1045
|
+
class GoogleTypeDate
|
1046
|
+
include Google::Apis::Core::Hashable
|
1047
|
+
|
1048
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
1049
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
1050
|
+
# Corresponds to the JSON property `day`
|
1051
|
+
# @return [Fixnum]
|
1052
|
+
attr_accessor :day
|
1053
|
+
|
1054
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
1055
|
+
# and day.
|
1056
|
+
# Corresponds to the JSON property `month`
|
1057
|
+
# @return [Fixnum]
|
1058
|
+
attr_accessor :month
|
1059
|
+
|
1060
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
1061
|
+
# year.
|
1062
|
+
# Corresponds to the JSON property `year`
|
1063
|
+
# @return [Fixnum]
|
1064
|
+
attr_accessor :year
|
1065
|
+
|
1066
|
+
def initialize(**args)
|
1067
|
+
update!(**args)
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# Update properties of this object
|
1071
|
+
def update!(**args)
|
1072
|
+
@day = args[:day] if args.key?(:day)
|
1073
|
+
@month = args[:month] if args.key?(:month)
|
1074
|
+
@year = args[:year] if args.key?(:year)
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1008
1078
|
# Represents a time of day. The date and time zone are either not significant or
|
1009
1079
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1010
1080
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -1156,6 +1226,12 @@ module Google
|
|
1156
1226
|
# @return [String]
|
1157
1227
|
attr_accessor :gce_zone
|
1158
1228
|
|
1229
|
+
# Instance level configuration parameters related to the Gemini in Databases add-
|
1230
|
+
# on. See go/prd-enable-duet-ai-databases for more details.
|
1231
|
+
# Corresponds to the JSON property `geminiConfig`
|
1232
|
+
# @return [Google::Apis::AlloydbV1beta::GeminiInstanceConfig]
|
1233
|
+
attr_accessor :gemini_config
|
1234
|
+
|
1159
1235
|
# Required. The type of the instance. Specified at creation time.
|
1160
1236
|
# Corresponds to the JSON property `instanceType`
|
1161
1237
|
# @return [String]
|
@@ -1200,6 +1276,11 @@ module Google
|
|
1200
1276
|
# @return [Array<Google::Apis::AlloydbV1beta::Node>]
|
1201
1277
|
attr_accessor :nodes
|
1202
1278
|
|
1279
|
+
# Observability Instance specific configuration.
|
1280
|
+
# Corresponds to the JSON property `observabilityConfig`
|
1281
|
+
# @return [Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig]
|
1282
|
+
attr_accessor :observability_config
|
1283
|
+
|
1203
1284
|
# PscInstanceConfig contains PSC related configuration at an instance level.
|
1204
1285
|
# Corresponds to the JSON property `pscInstanceConfig`
|
1205
1286
|
# @return [Google::Apis::AlloydbV1beta::PscInstanceConfig]
|
@@ -1281,6 +1362,7 @@ module Google
|
|
1281
1362
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1282
1363
|
@etag = args[:etag] if args.key?(:etag)
|
1283
1364
|
@gce_zone = args[:gce_zone] if args.key?(:gce_zone)
|
1365
|
+
@gemini_config = args[:gemini_config] if args.key?(:gemini_config)
|
1284
1366
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
1285
1367
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1286
1368
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1288,6 +1370,7 @@ module Google
|
|
1288
1370
|
@name = args[:name] if args.key?(:name)
|
1289
1371
|
@network_config = args[:network_config] if args.key?(:network_config)
|
1290
1372
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1373
|
+
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
1291
1374
|
@psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
|
1292
1375
|
@public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
|
1293
1376
|
@query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
|
@@ -1546,6 +1629,81 @@ module Google
|
|
1546
1629
|
end
|
1547
1630
|
end
|
1548
1631
|
|
1632
|
+
# MaintenanceSchedule stores the maintenance schedule generated from the
|
1633
|
+
# MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
|
1634
|
+
# MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
|
1635
|
+
# schedule is cleared once the update takes place. This field cannot be manually
|
1636
|
+
# changed; modify the MaintenanceUpdatePolicy instead.
|
1637
|
+
class MaintenanceSchedule
|
1638
|
+
include Google::Apis::Core::Hashable
|
1639
|
+
|
1640
|
+
# Output only. The scheduled start time for the maintenance.
|
1641
|
+
# Corresponds to the JSON property `startTime`
|
1642
|
+
# @return [String]
|
1643
|
+
attr_accessor :start_time
|
1644
|
+
|
1645
|
+
def initialize(**args)
|
1646
|
+
update!(**args)
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
# Update properties of this object
|
1650
|
+
def update!(**args)
|
1651
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1655
|
+
# MaintenanceUpdatePolicy defines the policy for system updates.
|
1656
|
+
class MaintenanceUpdatePolicy
|
1657
|
+
include Google::Apis::Core::Hashable
|
1658
|
+
|
1659
|
+
# Periods to deny maintenance. Currently limited to 1.
|
1660
|
+
# Corresponds to the JSON property `denyMaintenancePeriods`
|
1661
|
+
# @return [Array<Google::Apis::AlloydbV1beta::DenyMaintenancePeriod>]
|
1662
|
+
attr_accessor :deny_maintenance_periods
|
1663
|
+
|
1664
|
+
# Preferred windows to perform maintenance. Currently limited to 1.
|
1665
|
+
# Corresponds to the JSON property `maintenanceWindows`
|
1666
|
+
# @return [Array<Google::Apis::AlloydbV1beta::MaintenanceWindow>]
|
1667
|
+
attr_accessor :maintenance_windows
|
1668
|
+
|
1669
|
+
def initialize(**args)
|
1670
|
+
update!(**args)
|
1671
|
+
end
|
1672
|
+
|
1673
|
+
# Update properties of this object
|
1674
|
+
def update!(**args)
|
1675
|
+
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
|
1676
|
+
@maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
|
1677
|
+
end
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
# MaintenanceWindow specifies a preferred day and time for maintenance.
|
1681
|
+
class MaintenanceWindow
|
1682
|
+
include Google::Apis::Core::Hashable
|
1683
|
+
|
1684
|
+
# Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
1685
|
+
# Corresponds to the JSON property `day`
|
1686
|
+
# @return [String]
|
1687
|
+
attr_accessor :day
|
1688
|
+
|
1689
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1690
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1691
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1692
|
+
# Corresponds to the JSON property `startTime`
|
1693
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
|
1694
|
+
attr_accessor :start_time
|
1695
|
+
|
1696
|
+
def initialize(**args)
|
1697
|
+
update!(**args)
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
# Update properties of this object
|
1701
|
+
def update!(**args)
|
1702
|
+
@day = args[:day] if args.key?(:day)
|
1703
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1549
1707
|
# Subset of the source instance configuration that is available when reading the
|
1550
1708
|
# cluster resource.
|
1551
1709
|
class MigrationSource
|
@@ -1655,6 +1813,83 @@ module Google
|
|
1655
1813
|
end
|
1656
1814
|
end
|
1657
1815
|
|
1816
|
+
# Observability Instance specific configuration.
|
1817
|
+
class ObservabilityInstanceConfig
|
1818
|
+
include Google::Apis::Core::Hashable
|
1819
|
+
|
1820
|
+
# Observability feature status for an instance. This is a read-only flag and
|
1821
|
+
# modifiable only by producer API. This flag is turned "off" by default.
|
1822
|
+
# Corresponds to the JSON property `enabled`
|
1823
|
+
# @return [Boolean]
|
1824
|
+
attr_accessor :enabled
|
1825
|
+
alias_method :enabled?, :enabled
|
1826
|
+
|
1827
|
+
# Query string length. The default value is 10k.
|
1828
|
+
# Corresponds to the JSON property `maxQueryStringLength`
|
1829
|
+
# @return [Fixnum]
|
1830
|
+
attr_accessor :max_query_string_length
|
1831
|
+
|
1832
|
+
# Preserve comments in query string for an instance. This flag is turned "off"
|
1833
|
+
# by default.
|
1834
|
+
# Corresponds to the JSON property `preserveComments`
|
1835
|
+
# @return [Boolean]
|
1836
|
+
attr_accessor :preserve_comments
|
1837
|
+
alias_method :preserve_comments?, :preserve_comments
|
1838
|
+
|
1839
|
+
# Number of query execution plans captured by Insights per minute for all
|
1840
|
+
# queries combined. The default value is 5. Any integer between 0 to 20 is
|
1841
|
+
# considered valid.
|
1842
|
+
# Corresponds to the JSON property `queryPlansPerMinute`
|
1843
|
+
# @return [Fixnum]
|
1844
|
+
attr_accessor :query_plans_per_minute
|
1845
|
+
|
1846
|
+
# Record application tags for an instance. This flag is turned "off" by default.
|
1847
|
+
# Corresponds to the JSON property `recordApplicationTags`
|
1848
|
+
# @return [Boolean]
|
1849
|
+
attr_accessor :record_application_tags
|
1850
|
+
alias_method :record_application_tags?, :record_application_tags
|
1851
|
+
|
1852
|
+
# Track actively running queries on the instance. If not set, this flag is "off"
|
1853
|
+
# by default.
|
1854
|
+
# Corresponds to the JSON property `trackActiveQueries`
|
1855
|
+
# @return [Boolean]
|
1856
|
+
attr_accessor :track_active_queries
|
1857
|
+
alias_method :track_active_queries?, :track_active_queries
|
1858
|
+
|
1859
|
+
# Output only. Track wait event types during query execution for an instance.
|
1860
|
+
# This flag is turned "on" by default but tracking is enabled only after
|
1861
|
+
# observability enabled flag is also turned on. This is read-only flag and only
|
1862
|
+
# modifiable by producer API.
|
1863
|
+
# Corresponds to the JSON property `trackWaitEventTypes`
|
1864
|
+
# @return [Boolean]
|
1865
|
+
attr_accessor :track_wait_event_types
|
1866
|
+
alias_method :track_wait_event_types?, :track_wait_event_types
|
1867
|
+
|
1868
|
+
# Track wait events during query execution for an instance. This flag is turned "
|
1869
|
+
# on" by default but tracking is enabled only after observability enabled flag
|
1870
|
+
# is also turned on.
|
1871
|
+
# Corresponds to the JSON property `trackWaitEvents`
|
1872
|
+
# @return [Boolean]
|
1873
|
+
attr_accessor :track_wait_events
|
1874
|
+
alias_method :track_wait_events?, :track_wait_events
|
1875
|
+
|
1876
|
+
def initialize(**args)
|
1877
|
+
update!(**args)
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
# Update properties of this object
|
1881
|
+
def update!(**args)
|
1882
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1883
|
+
@max_query_string_length = args[:max_query_string_length] if args.key?(:max_query_string_length)
|
1884
|
+
@preserve_comments = args[:preserve_comments] if args.key?(:preserve_comments)
|
1885
|
+
@query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
|
1886
|
+
@record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
|
1887
|
+
@track_active_queries = args[:track_active_queries] if args.key?(:track_active_queries)
|
1888
|
+
@track_wait_event_types = args[:track_wait_event_types] if args.key?(:track_wait_event_types)
|
1889
|
+
@track_wait_events = args[:track_wait_events] if args.key?(:track_wait_events)
|
1890
|
+
end
|
1891
|
+
end
|
1892
|
+
|
1658
1893
|
# This resource represents a long-running operation that is the result of a
|
1659
1894
|
# network API call.
|
1660
1895
|
class Operation
|
@@ -1866,46 +2101,18 @@ module Google
|
|
1866
2101
|
class PscInstanceConfig
|
1867
2102
|
include Google::Apis::Core::Hashable
|
1868
2103
|
|
1869
|
-
# Optional. List of consumer networks that are allowed to create PSC endpoints
|
1870
|
-
# to service-attachments to this instance.
|
1871
|
-
# Corresponds to the JSON property `allowedConsumerNetworks`
|
1872
|
-
# @return [Array<String>]
|
1873
|
-
attr_accessor :allowed_consumer_networks
|
1874
|
-
|
1875
2104
|
# Optional. List of consumer projects that are allowed to create PSC endpoints
|
1876
2105
|
# to service-attachments to this instance.
|
1877
2106
|
# Corresponds to the JSON property `allowedConsumerProjects`
|
1878
2107
|
# @return [Array<String>]
|
1879
2108
|
attr_accessor :allowed_consumer_projects
|
1880
2109
|
|
1881
|
-
# Optional. List of service attachments that this instance has created endpoints
|
1882
|
-
# to connect with. Currently, only a single outgoing service attachment is
|
1883
|
-
# supported per instance.
|
1884
|
-
# Corresponds to the JSON property `outgoingServiceAttachmentLinks`
|
1885
|
-
# @return [Array<String>]
|
1886
|
-
attr_accessor :outgoing_service_attachment_links
|
1887
|
-
|
1888
2110
|
# Output only. The DNS name of the instance for PSC connectivity. Name
|
1889
2111
|
# convention: ...alloydb-psc.goog
|
1890
2112
|
# Corresponds to the JSON property `pscDnsName`
|
1891
2113
|
# @return [String]
|
1892
2114
|
attr_accessor :psc_dns_name
|
1893
2115
|
|
1894
|
-
# Optional. Whether PSC connectivity is enabled for this instance. This is
|
1895
|
-
# populated by referencing the value from the parent cluster.
|
1896
|
-
# Corresponds to the JSON property `pscEnabled`
|
1897
|
-
# @return [Boolean]
|
1898
|
-
attr_accessor :psc_enabled
|
1899
|
-
alias_method :psc_enabled?, :psc_enabled
|
1900
|
-
|
1901
|
-
# Optional. Configurations for setting up PSC interfaces attached to the
|
1902
|
-
# instance which are used for outbound connectivity. Only primary instances can
|
1903
|
-
# have PSC interface attached. All the VMs created for the primary instance will
|
1904
|
-
# share the same configurations. Currently we only support 0 or 1 PSC interface.
|
1905
|
-
# Corresponds to the JSON property `pscInterfaceConfigs`
|
1906
|
-
# @return [Array<Google::Apis::AlloydbV1beta::PscInterfaceConfig>]
|
1907
|
-
attr_accessor :psc_interface_configs
|
1908
|
-
|
1909
2116
|
# Output only. The service attachment created when Private Service Connect (PSC)
|
1910
2117
|
# is enabled for the instance. The name of the resource will be in the format of
|
1911
2118
|
# `projects//regions//serviceAttachments/`
|
@@ -1919,48 +2126,12 @@ module Google
|
|
1919
2126
|
|
1920
2127
|
# Update properties of this object
|
1921
2128
|
def update!(**args)
|
1922
|
-
@allowed_consumer_networks = args[:allowed_consumer_networks] if args.key?(:allowed_consumer_networks)
|
1923
2129
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
1924
|
-
@outgoing_service_attachment_links = args[:outgoing_service_attachment_links] if args.key?(:outgoing_service_attachment_links)
|
1925
2130
|
@psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
|
1926
|
-
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
1927
|
-
@psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
|
1928
2131
|
@service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
|
1929
2132
|
end
|
1930
2133
|
end
|
1931
2134
|
|
1932
|
-
# Configuration for setting up a PSC interface. This information needs to be
|
1933
|
-
# provided by the customer. PSC interfaces will be created and added to VMs via
|
1934
|
-
# SLM (adding a network interface will require recreating the VM). For HA
|
1935
|
-
# instances this will be done via LDTM.
|
1936
|
-
class PscInterfaceConfig
|
1937
|
-
include Google::Apis::Core::Hashable
|
1938
|
-
|
1939
|
-
# A list of endpoints in the consumer VPC the interface might initiate outbound
|
1940
|
-
# connections to. This list has to be provided when the PSC interface is created.
|
1941
|
-
# Corresponds to the JSON property `consumerEndpointIps`
|
1942
|
-
# @return [Array<String>]
|
1943
|
-
attr_accessor :consumer_endpoint_ips
|
1944
|
-
|
1945
|
-
# The NetworkAttachment resource created in the consumer VPC to which the PSC
|
1946
|
-
# interface will be linked, in the form of: `projects/$`CONSUMER_PROJECT`/
|
1947
|
-
# regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME``.
|
1948
|
-
# NetworkAttachment has to be provided when the PSC interface is created.
|
1949
|
-
# Corresponds to the JSON property `networkAttachment`
|
1950
|
-
# @return [String]
|
1951
|
-
attr_accessor :network_attachment
|
1952
|
-
|
1953
|
-
def initialize(**args)
|
1954
|
-
update!(**args)
|
1955
|
-
end
|
1956
|
-
|
1957
|
-
# Update properties of this object
|
1958
|
-
def update!(**args)
|
1959
|
-
@consumer_endpoint_ips = args[:consumer_endpoint_ips] if args.key?(:consumer_endpoint_ips)
|
1960
|
-
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
1961
|
-
end
|
1962
|
-
end
|
1963
|
-
|
1964
2135
|
# A backup's position in a quantity-based retention queue, of backups with the
|
1965
2136
|
# same source cluster and type, with length, retention, specified by the backup'
|
1966
2137
|
# s retention policy. Once the position is greater than the retention, the
|
@@ -2753,6 +2924,13 @@ module Google
|
|
2753
2924
|
# @return [String]
|
2754
2925
|
attr_accessor :updation_time
|
2755
2926
|
|
2927
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
2928
|
+
# resources, allowing users to search for resources matching a set of labels and
|
2929
|
+
# to aggregate usage data by labels.
|
2930
|
+
# Corresponds to the JSON property `userLabelSet`
|
2931
|
+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels]
|
2932
|
+
attr_accessor :user_label_set
|
2933
|
+
|
2756
2934
|
# User-provided labels, represented as a dictionary where each label is a single
|
2757
2935
|
# key value pair.
|
2758
2936
|
# Corresponds to the JSON property `userLabels`
|
@@ -2781,6 +2959,7 @@ module Google
|
|
2781
2959
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
2782
2960
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2783
2961
|
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
2962
|
+
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
|
2784
2963
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
2785
2964
|
end
|
2786
2965
|
end
|
@@ -2946,6 +3125,27 @@ module Google
|
|
2946
3125
|
end
|
2947
3126
|
end
|
2948
3127
|
|
3128
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
3129
|
+
# resources, allowing users to search for resources matching a set of labels and
|
3130
|
+
# to aggregate usage data by labels.
|
3131
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
3132
|
+
include Google::Apis::Core::Hashable
|
3133
|
+
|
3134
|
+
#
|
3135
|
+
# Corresponds to the JSON property `labels`
|
3136
|
+
# @return [Hash<String,String>]
|
3137
|
+
attr_accessor :labels
|
3138
|
+
|
3139
|
+
def initialize(**args)
|
3140
|
+
update!(**args)
|
3141
|
+
end
|
3142
|
+
|
3143
|
+
# Update properties of this object
|
3144
|
+
def update!(**args)
|
3145
|
+
@labels = args[:labels] if args.key?(:labels)
|
3146
|
+
end
|
3147
|
+
end
|
3148
|
+
|
2949
3149
|
# Product specification for Condor resources.
|
2950
3150
|
class StorageDatabasecenterProtoCommonProduct
|
2951
3151
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1beta
|
18
18
|
# Version of the google-apis-alloydb_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240320"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class DenyMaintenancePeriod
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class Empty
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -112,13 +118,13 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
115
|
-
class
|
121
|
+
class GeminiClusterConfig
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
121
|
-
class
|
127
|
+
class GeminiInstanceConfig
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
124
130
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -136,6 +142,12 @@ module Google
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
145
|
+
class GoogleTypeDate
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
139
151
|
class GoogleTypeTimeOfDay
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
153
|
|
@@ -208,6 +220,24 @@ module Google
|
|
208
220
|
include Google::Apis::Core::JsonObjectSupport
|
209
221
|
end
|
210
222
|
|
223
|
+
class MaintenanceSchedule
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class MaintenanceUpdatePolicy
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class MaintenanceWindow
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
211
241
|
class MigrationSource
|
212
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
243
|
|
@@ -226,6 +256,12 @@ module Google
|
|
226
256
|
include Google::Apis::Core::JsonObjectSupport
|
227
257
|
end
|
228
258
|
|
259
|
+
class ObservabilityInstanceConfig
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
229
265
|
class Operation
|
230
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
267
|
|
@@ -262,12 +298,6 @@ module Google
|
|
262
298
|
include Google::Apis::Core::JsonObjectSupport
|
263
299
|
end
|
264
300
|
|
265
|
-
class PscInterfaceConfig
|
266
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
-
|
268
|
-
include Google::Apis::Core::JsonObjectSupport
|
269
|
-
end
|
270
|
-
|
271
301
|
class QuantityBasedExpiry
|
272
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
303
|
|
@@ -406,6 +436,12 @@ module Google
|
|
406
436
|
include Google::Apis::Core::JsonObjectSupport
|
407
437
|
end
|
408
438
|
|
439
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
409
445
|
class StorageDatabasecenterProtoCommonProduct
|
410
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
447
|
|
@@ -557,9 +593,15 @@ module Google
|
|
557
593
|
property :encryption_info, as: 'encryptionInfo', class: Google::Apis::AlloydbV1beta::EncryptionInfo, decorator: Google::Apis::AlloydbV1beta::EncryptionInfo::Representation
|
558
594
|
|
559
595
|
property :etag, as: 'etag'
|
596
|
+
property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1beta::GeminiClusterConfig, decorator: Google::Apis::AlloydbV1beta::GeminiClusterConfig::Representation
|
597
|
+
|
560
598
|
property :initial_user, as: 'initialUser', class: Google::Apis::AlloydbV1beta::UserPassword, decorator: Google::Apis::AlloydbV1beta::UserPassword::Representation
|
561
599
|
|
562
600
|
hash :labels, as: 'labels'
|
601
|
+
property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1beta::MaintenanceSchedule, decorator: Google::Apis::AlloydbV1beta::MaintenanceSchedule::Representation
|
602
|
+
|
603
|
+
property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy::Representation
|
604
|
+
|
563
605
|
property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1beta::MigrationSource, decorator: Google::Apis::AlloydbV1beta::MigrationSource::Representation
|
564
606
|
|
565
607
|
property :name, as: 'name'
|
@@ -623,6 +665,18 @@ module Google
|
|
623
665
|
end
|
624
666
|
end
|
625
667
|
|
668
|
+
class DenyMaintenancePeriod
|
669
|
+
# @private
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
671
|
+
property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
|
672
|
+
|
673
|
+
property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
|
674
|
+
|
675
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
|
676
|
+
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
626
680
|
class Empty
|
627
681
|
# @private
|
628
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -652,23 +706,17 @@ module Google
|
|
652
706
|
end
|
653
707
|
end
|
654
708
|
|
655
|
-
class
|
709
|
+
class GeminiClusterConfig
|
656
710
|
# @private
|
657
711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
658
|
-
property :
|
659
|
-
property :pem_csr, as: 'pemCsr'
|
660
|
-
property :public_key, as: 'publicKey'
|
661
|
-
property :request_id, as: 'requestId'
|
662
|
-
property :use_metadata_exchange, as: 'useMetadataExchange'
|
712
|
+
property :entitled, as: 'entitled'
|
663
713
|
end
|
664
714
|
end
|
665
715
|
|
666
|
-
class
|
716
|
+
class GeminiInstanceConfig
|
667
717
|
# @private
|
668
718
|
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
-
property :
|
670
|
-
property :pem_certificate, as: 'pemCertificate'
|
671
|
-
collection :pem_certificate_chain, as: 'pemCertificateChain'
|
719
|
+
property :entitled, as: 'entitled'
|
672
720
|
end
|
673
721
|
end
|
674
722
|
|
@@ -692,6 +740,15 @@ module Google
|
|
692
740
|
end
|
693
741
|
end
|
694
742
|
|
743
|
+
class GoogleTypeDate
|
744
|
+
# @private
|
745
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
746
|
+
property :day, as: 'day'
|
747
|
+
property :month, as: 'month'
|
748
|
+
property :year, as: 'year'
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
695
752
|
class GoogleTypeTimeOfDay
|
696
753
|
# @private
|
697
754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -724,6 +781,8 @@ module Google
|
|
724
781
|
property :display_name, as: 'displayName'
|
725
782
|
property :etag, as: 'etag'
|
726
783
|
property :gce_zone, as: 'gceZone'
|
784
|
+
property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1beta::GeminiInstanceConfig, decorator: Google::Apis::AlloydbV1beta::GeminiInstanceConfig::Representation
|
785
|
+
|
727
786
|
property :instance_type, as: 'instanceType'
|
728
787
|
property :ip_address, as: 'ipAddress'
|
729
788
|
hash :labels, as: 'labels'
|
@@ -734,6 +793,8 @@ module Google
|
|
734
793
|
|
735
794
|
collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1beta::Node, decorator: Google::Apis::AlloydbV1beta::Node::Representation
|
736
795
|
|
796
|
+
property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig::Representation
|
797
|
+
|
737
798
|
property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1beta::PscInstanceConfig, decorator: Google::Apis::AlloydbV1beta::PscInstanceConfig::Representation
|
738
799
|
|
739
800
|
property :public_ip_address, as: 'publicIpAddress'
|
@@ -835,6 +896,32 @@ module Google
|
|
835
896
|
end
|
836
897
|
end
|
837
898
|
|
899
|
+
class MaintenanceSchedule
|
900
|
+
# @private
|
901
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
902
|
+
property :start_time, as: 'startTime'
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
class MaintenanceUpdatePolicy
|
907
|
+
# @private
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
909
|
+
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1beta::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1beta::DenyMaintenancePeriod::Representation
|
910
|
+
|
911
|
+
collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1beta::MaintenanceWindow, decorator: Google::Apis::AlloydbV1beta::MaintenanceWindow::Representation
|
912
|
+
|
913
|
+
end
|
914
|
+
end
|
915
|
+
|
916
|
+
class MaintenanceWindow
|
917
|
+
# @private
|
918
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
919
|
+
property :day, as: 'day'
|
920
|
+
property :start_time, as: 'startTime', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
|
921
|
+
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
838
925
|
class MigrationSource
|
839
926
|
# @private
|
840
927
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -862,6 +949,20 @@ module Google
|
|
862
949
|
end
|
863
950
|
end
|
864
951
|
|
952
|
+
class ObservabilityInstanceConfig
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :enabled, as: 'enabled'
|
956
|
+
property :max_query_string_length, as: 'maxQueryStringLength'
|
957
|
+
property :preserve_comments, as: 'preserveComments'
|
958
|
+
property :query_plans_per_minute, as: 'queryPlansPerMinute'
|
959
|
+
property :record_application_tags, as: 'recordApplicationTags'
|
960
|
+
property :track_active_queries, as: 'trackActiveQueries'
|
961
|
+
property :track_wait_event_types, as: 'trackWaitEventTypes'
|
962
|
+
property :track_wait_events, as: 'trackWaitEvents'
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
865
966
|
class Operation
|
866
967
|
# @private
|
867
968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -913,25 +1014,12 @@ module Google
|
|
913
1014
|
class PscInstanceConfig
|
914
1015
|
# @private
|
915
1016
|
class Representation < Google::Apis::Core::JsonRepresentation
|
916
|
-
collection :allowed_consumer_networks, as: 'allowedConsumerNetworks'
|
917
1017
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
918
|
-
collection :outgoing_service_attachment_links, as: 'outgoingServiceAttachmentLinks'
|
919
1018
|
property :psc_dns_name, as: 'pscDnsName'
|
920
|
-
property :psc_enabled, as: 'pscEnabled'
|
921
|
-
collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1beta::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1beta::PscInterfaceConfig::Representation
|
922
|
-
|
923
1019
|
property :service_attachment_link, as: 'serviceAttachmentLink'
|
924
1020
|
end
|
925
1021
|
end
|
926
1022
|
|
927
|
-
class PscInterfaceConfig
|
928
|
-
# @private
|
929
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
930
|
-
collection :consumer_endpoint_ips, as: 'consumerEndpointIps'
|
931
|
-
property :network_attachment, as: 'networkAttachment'
|
932
|
-
end
|
933
|
-
end
|
934
|
-
|
935
1023
|
class QuantityBasedExpiry
|
936
1024
|
# @private
|
937
1025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1145,6 +1233,8 @@ module Google
|
|
1145
1233
|
property :resource_container, as: 'resourceContainer'
|
1146
1234
|
property :resource_name, as: 'resourceName'
|
1147
1235
|
property :updation_time, as: 'updationTime'
|
1236
|
+
property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
|
1237
|
+
|
1148
1238
|
hash :user_labels, as: 'userLabels'
|
1149
1239
|
end
|
1150
1240
|
end
|
@@ -1189,6 +1279,13 @@ module Google
|
|
1189
1279
|
end
|
1190
1280
|
end
|
1191
1281
|
|
1282
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
1283
|
+
# @private
|
1284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1285
|
+
hash :labels, as: 'labels'
|
1286
|
+
end
|
1287
|
+
end
|
1288
|
+
|
1192
1289
|
class StorageDatabasecenterProtoCommonProduct
|
1193
1290
|
# @private
|
1194
1291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -539,44 +539,6 @@ module Google
|
|
539
539
|
execute_or_queue_command(command, &block)
|
540
540
|
end
|
541
541
|
|
542
|
-
# Generate a client certificate signed by a Cluster CA. The sole purpose of this
|
543
|
-
# endpoint is to support AlloyDB connectors and the Auth Proxy client. The
|
544
|
-
# endpoint's behavior is subject to change without notice, so do not rely on its
|
545
|
-
# behavior remaining constant. Future changes will not break AlloyDB connectors
|
546
|
-
# or the Auth Proxy client.
|
547
|
-
# @param [String] parent
|
548
|
-
# Required. The name of the parent resource. The required format is: * projects/`
|
549
|
-
# project`/locations/`location`/clusters/`cluster`
|
550
|
-
# @param [Google::Apis::AlloydbV1beta::GenerateClientCertificateRequest] generate_client_certificate_request_object
|
551
|
-
# @param [String] fields
|
552
|
-
# Selector specifying which fields to include in a partial response.
|
553
|
-
# @param [String] quota_user
|
554
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
555
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
556
|
-
# @param [Google::Apis::RequestOptions] options
|
557
|
-
# Request-specific options
|
558
|
-
#
|
559
|
-
# @yield [result, err] Result & error if block supplied
|
560
|
-
# @yieldparam result [Google::Apis::AlloydbV1beta::GenerateClientCertificateResponse] parsed result object
|
561
|
-
# @yieldparam err [StandardError] error object if request failed
|
562
|
-
#
|
563
|
-
# @return [Google::Apis::AlloydbV1beta::GenerateClientCertificateResponse]
|
564
|
-
#
|
565
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
566
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
567
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
568
|
-
def generate_cluster_client_certificate(parent, generate_client_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
569
|
-
command = make_simple_command(:post, 'v1beta/{+parent}:generateClientCertificate', options)
|
570
|
-
command.request_representation = Google::Apis::AlloydbV1beta::GenerateClientCertificateRequest::Representation
|
571
|
-
command.request_object = generate_client_certificate_request_object
|
572
|
-
command.response_representation = Google::Apis::AlloydbV1beta::GenerateClientCertificateResponse::Representation
|
573
|
-
command.response_class = Google::Apis::AlloydbV1beta::GenerateClientCertificateResponse
|
574
|
-
command.params['parent'] = parent unless parent.nil?
|
575
|
-
command.query['fields'] = fields unless fields.nil?
|
576
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
577
|
-
execute_or_queue_command(command, &block)
|
578
|
-
end
|
579
|
-
|
580
542
|
# Gets details of a single Cluster.
|
581
543
|
# @param [String] name
|
582
544
|
# Required. The name of the resource. For the required format, see the comment
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
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-03-
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|