google-apis-alloydb_v1alpha 0.9.0 → 0.10.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: 656ff2c72f707f4bee2d1ca8e7d489611eea09231968d4aee773f1ed8d804fcb
4
- data.tar.gz: cf2899b9c93274ccd2873da5be18e27887d3547959e505760c55a634c101f024
3
+ metadata.gz: a7f36e1dba594837fc0e1cffe15a925264b788d683671659764501a65b98ea70
4
+ data.tar.gz: 325564db6b1d335563ca0cb3a88a587a27b213bd48a3eb0913a7e0119798a76a
5
5
  SHA512:
6
- metadata.gz: 25fc2be324fde7b88bfe2e0b8c03c465b13b041c1a9c1d0b61346d941fbc5e0e4e467a1865bcd4b19584ddc69a7cc7b512bb331763b46a6f8fb640ca0307f5d2
7
- data.tar.gz: d6656135aa454c7a2e47c772db01425235a4f3d9f0b840f833b7062baf4b54ddbf1e2afc0a93ce7365bb5603698a6fc1c437df5df50a6c775ae585372229f441
6
+ metadata.gz: 41fdfe314a5e1e1715054f4e19185676f5c90d761c28ecd9901d5613028a8fde1470426a4c01097e94c681016eea0aa6ac3936ba0db2273b7441fe7ad49fa00b
7
+ data.tar.gz: 299540330cf01ba10042689b859bbb96f7dde24767115376dab5f301fed7f34010797345ca1de50598185773aa1f17b17bc67f6c16b8e8e36c449537b1912b12
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.10.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240306
6
+
3
7
  ### v0.9.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240228
@@ -471,6 +471,12 @@ module Google
471
471
  # @return [String]
472
472
  attr_accessor :etag
473
473
 
474
+ # Cluster level configuration parameters related to the Gemini in Databases add-
475
+ # on. See go/prd-enable-duet-ai-databases for more details.
476
+ # Corresponds to the JSON property `geminiConfig`
477
+ # @return [Google::Apis::AlloydbV1alpha::GeminiClusterConfig]
478
+ attr_accessor :gemini_config
479
+
474
480
  # The username/password for a database user. Used for specifying initial users
475
481
  # at cluster creation time.
476
482
  # Corresponds to the JSON property `initialUser`
@@ -482,6 +488,11 @@ module Google
482
488
  # @return [Hash<String,String>]
483
489
  attr_accessor :labels
484
490
 
491
+ # MaintenanceUpdatePolicy defines the policy for system updates.
492
+ # Corresponds to the JSON property `maintenanceUpdatePolicy`
493
+ # @return [Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy]
494
+ attr_accessor :maintenance_update_policy
495
+
485
496
  # Subset of the source instance configuration that is available when reading the
486
497
  # cluster resource.
487
498
  # Corresponds to the JSON property `migrationSource`
@@ -591,8 +602,10 @@ module Google
591
602
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
592
603
  @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
593
604
  @etag = args[:etag] if args.key?(:etag)
605
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
594
606
  @initial_user = args[:initial_user] if args.key?(:initial_user)
595
607
  @labels = args[:labels] if args.key?(:labels)
608
+ @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
596
609
  @migration_source = args[:migration_source] if args.key?(:migration_source)
597
610
  @name = args[:name] if args.key?(:name)
598
611
  @network = args[:network] if args.key?(:network)
@@ -769,6 +782,55 @@ module Google
769
782
  end
770
783
  end
771
784
 
785
+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
786
+ # be scheduled to start within this deny period. The start_date must be less
787
+ # than the end_date.
788
+ class DenyMaintenancePeriod
789
+ include Google::Apis::Core::Hashable
790
+
791
+ # Represents a whole or partial calendar date, such as a birthday. The time of
792
+ # day and time zone are either specified elsewhere or are insignificant. The
793
+ # date is relative to the Gregorian Calendar. This can represent one of the
794
+ # following: * A full date, with non-zero year, month, and day values. * A month
795
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
796
+ # with a zero month and a zero day. * A year and month, with a zero day (for
797
+ # example, a credit card expiration date). Related types: * google.type.
798
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
799
+ # Corresponds to the JSON property `endDate`
800
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
801
+ attr_accessor :end_date
802
+
803
+ # Represents a whole or partial calendar date, such as a birthday. The time of
804
+ # day and time zone are either specified elsewhere or are insignificant. The
805
+ # date is relative to the Gregorian Calendar. This can represent one of the
806
+ # following: * A full date, with non-zero year, month, and day values. * A month
807
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
808
+ # with a zero month and a zero day. * A year and month, with a zero day (for
809
+ # example, a credit card expiration date). Related types: * google.type.
810
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
811
+ # Corresponds to the JSON property `startDate`
812
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
813
+ attr_accessor :start_date
814
+
815
+ # Represents a time of day. The date and time zone are either not significant or
816
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
817
+ # types are google.type.Date and `google.protobuf.Timestamp`.
818
+ # Corresponds to the JSON property `time`
819
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
820
+ attr_accessor :time
821
+
822
+ def initialize(**args)
823
+ update!(**args)
824
+ end
825
+
826
+ # Update properties of this object
827
+ def update!(**args)
828
+ @end_date = args[:end_date] if args.key?(:end_date)
829
+ @start_date = args[:start_date] if args.key?(:start_date)
830
+ @time = args[:time] if args.key?(:time)
831
+ end
832
+ end
833
+
772
834
  # A generic empty message that you can re-use to avoid defining duplicated empty
773
835
  # messages in your APIs. A typical example is to use it as the request or the
774
836
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -869,50 +931,19 @@ module Google
869
931
  end
870
932
  end
871
933
 
872
- # Message for requests to generate a client certificate signed by the Cluster CA.
873
- class GenerateClientCertificateRequest
934
+ # Cluster level configuration parameters related to the Gemini in Databases add-
935
+ # on. See go/prd-enable-duet-ai-databases for more details.
936
+ class GeminiClusterConfig
874
937
  include Google::Apis::Core::Hashable
875
938
 
876
- # Optional. An optional hint to the endpoint to generate the client certificate
877
- # with the requested duration. The duration can be from 1 hour to 24 hours. The
878
- # endpoint may or may not honor the hint. If the hint is left unspecified or is
879
- # not honored, then the endpoint will pick an appropriate default duration.
880
- # Corresponds to the JSON property `certDuration`
881
- # @return [String]
882
- attr_accessor :cert_duration
883
-
884
- # Optional. A pem-encoded X.509 certificate signing request (CSR). It is
885
- # recommended to use public_key instead.
886
- # Corresponds to the JSON property `pemCsr`
887
- # @return [String]
888
- attr_accessor :pem_csr
889
-
890
- # Optional. The public key from the client.
891
- # Corresponds to the JSON property `publicKey`
892
- # @return [String]
893
- attr_accessor :public_key
894
-
895
- # Optional. An optional request ID to identify requests. Specify a unique
896
- # request ID so that if you must retry your request, the server will know to
897
- # ignore the request if it has already been completed. The server will guarantee
898
- # that for at least 60 minutes after the first request. For example, consider a
899
- # situation where you make an initial request and the request times out. If you
900
- # make the request again with the same request ID, the server can check if
901
- # original operation with the same request ID was received, and if so, will
902
- # ignore the second request. This prevents clients from accidentally creating
903
- # duplicate commitments. The request ID must be a valid UUID with the exception
904
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
905
- # Corresponds to the JSON property `requestId`
906
- # @return [String]
907
- attr_accessor :request_id
908
-
909
- # Optional. An optional hint to the endpoint to generate a client ceritificate
910
- # that can be used by AlloyDB connectors to exchange additional metadata with
911
- # the server after TLS handshake.
912
- # Corresponds to the JSON property `useMetadataExchange`
939
+ # Output only. Whether the Gemini in Databases add-on is enabled for the cluster.
940
+ # It will be true only if the add-on has been enabled for the billing account
941
+ # corresponding to the cluster. Its status is toggled from the Admin Control
942
+ # Center (ACC) and cannot be toggled using AlloyDB's APIs.
943
+ # Corresponds to the JSON property `entitled`
913
944
  # @return [Boolean]
914
- attr_accessor :use_metadata_exchange
915
- alias_method :use_metadata_exchange?, :use_metadata_exchange
945
+ attr_accessor :entitled
946
+ alias_method :entitled?, :entitled
916
947
 
917
948
  def initialize(**args)
918
949
  update!(**args)
@@ -920,33 +951,23 @@ module Google
920
951
 
921
952
  # Update properties of this object
922
953
  def update!(**args)
923
- @cert_duration = args[:cert_duration] if args.key?(:cert_duration)
924
- @pem_csr = args[:pem_csr] if args.key?(:pem_csr)
925
- @public_key = args[:public_key] if args.key?(:public_key)
926
- @request_id = args[:request_id] if args.key?(:request_id)
927
- @use_metadata_exchange = args[:use_metadata_exchange] if args.key?(:use_metadata_exchange)
954
+ @entitled = args[:entitled] if args.key?(:entitled)
928
955
  end
929
956
  end
930
957
 
931
- # Message returned by a GenerateClientCertificate operation.
932
- class GenerateClientCertificateResponse
958
+ # Instance level configuration parameters related to the Gemini in Databases add-
959
+ # on. See go/prd-enable-duet-ai-databases for more details.
960
+ class GeminiInstanceConfig
933
961
  include Google::Apis::Core::Hashable
934
962
 
935
- # Optional. The pem-encoded cluster ca X.509 certificate.
936
- # Corresponds to the JSON property `caCert`
937
- # @return [String]
938
- attr_accessor :ca_cert
939
-
940
- # Output only. The pem-encoded, signed X.509 certificate.
941
- # Corresponds to the JSON property `pemCertificate`
942
- # @return [String]
943
- attr_accessor :pem_certificate
944
-
945
- # Output only. The pem-encoded chain that may be used to verify the X.509
946
- # certificate. Expected to be in issuer-to-root order according to RFC 5246.
947
- # Corresponds to the JSON property `pemCertificateChain`
948
- # @return [Array<String>]
949
- attr_accessor :pem_certificate_chain
963
+ # Output only. Whether the Gemini in Databases add-on is enabled for the
964
+ # instance. It will be true only if the add-on has been enabled for the billing
965
+ # account corresponding to the instance. Its status is toggled from the Admin
966
+ # Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
967
+ # Corresponds to the JSON property `entitled`
968
+ # @return [Boolean]
969
+ attr_accessor :entitled
970
+ alias_method :entitled?, :entitled
950
971
 
951
972
  def initialize(**args)
952
973
  update!(**args)
@@ -954,9 +975,7 @@ module Google
954
975
 
955
976
  # Update properties of this object
956
977
  def update!(**args)
957
- @ca_cert = args[:ca_cert] if args.key?(:ca_cert)
958
- @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
959
- @pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain)
978
+ @entitled = args[:entitled] if args.key?(:entitled)
960
979
  end
961
980
  end
962
981
 
@@ -1032,6 +1051,47 @@ module Google
1032
1051
  end
1033
1052
  end
1034
1053
 
1054
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1055
+ # day and time zone are either specified elsewhere or are insignificant. The
1056
+ # date is relative to the Gregorian Calendar. This can represent one of the
1057
+ # following: * A full date, with non-zero year, month, and day values. * A month
1058
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1059
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1060
+ # example, a credit card expiration date). Related types: * google.type.
1061
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1062
+ class GoogleTypeDate
1063
+ include Google::Apis::Core::Hashable
1064
+
1065
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1066
+ # specify a year by itself or a year and month where the day isn't significant.
1067
+ # Corresponds to the JSON property `day`
1068
+ # @return [Fixnum]
1069
+ attr_accessor :day
1070
+
1071
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1072
+ # and day.
1073
+ # Corresponds to the JSON property `month`
1074
+ # @return [Fixnum]
1075
+ attr_accessor :month
1076
+
1077
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1078
+ # year.
1079
+ # Corresponds to the JSON property `year`
1080
+ # @return [Fixnum]
1081
+ attr_accessor :year
1082
+
1083
+ def initialize(**args)
1084
+ update!(**args)
1085
+ end
1086
+
1087
+ # Update properties of this object
1088
+ def update!(**args)
1089
+ @day = args[:day] if args.key?(:day)
1090
+ @month = args[:month] if args.key?(:month)
1091
+ @year = args[:year] if args.key?(:year)
1092
+ end
1093
+ end
1094
+
1035
1095
  # Represents a time of day. The date and time zone are either not significant or
1036
1096
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1037
1097
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1183,6 +1243,12 @@ module Google
1183
1243
  # @return [String]
1184
1244
  attr_accessor :gce_zone
1185
1245
 
1246
+ # Instance level configuration parameters related to the Gemini in Databases add-
1247
+ # on. See go/prd-enable-duet-ai-databases for more details.
1248
+ # Corresponds to the JSON property `geminiConfig`
1249
+ # @return [Google::Apis::AlloydbV1alpha::GeminiInstanceConfig]
1250
+ attr_accessor :gemini_config
1251
+
1186
1252
  # Required. The type of the instance. Specified at creation time.
1187
1253
  # Corresponds to the JSON property `instanceType`
1188
1254
  # @return [String]
@@ -1227,6 +1293,11 @@ module Google
1227
1293
  # @return [Array<Google::Apis::AlloydbV1alpha::Node>]
1228
1294
  attr_accessor :nodes
1229
1295
 
1296
+ # Observability Instance specific configuration.
1297
+ # Corresponds to the JSON property `observabilityConfig`
1298
+ # @return [Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig]
1299
+ attr_accessor :observability_config
1300
+
1230
1301
  # PscInstanceConfig contains PSC related configuration at an instance level.
1231
1302
  # Corresponds to the JSON property `pscInstanceConfig`
1232
1303
  # @return [Google::Apis::AlloydbV1alpha::PscInstanceConfig]
@@ -1314,6 +1385,7 @@ module Google
1314
1385
  @display_name = args[:display_name] if args.key?(:display_name)
1315
1386
  @etag = args[:etag] if args.key?(:etag)
1316
1387
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
1388
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
1317
1389
  @instance_type = args[:instance_type] if args.key?(:instance_type)
1318
1390
  @ip_address = args[:ip_address] if args.key?(:ip_address)
1319
1391
  @labels = args[:labels] if args.key?(:labels)
@@ -1321,6 +1393,7 @@ module Google
1321
1393
  @name = args[:name] if args.key?(:name)
1322
1394
  @network_config = args[:network_config] if args.key?(:network_config)
1323
1395
  @nodes = args[:nodes] if args.key?(:nodes)
1396
+ @observability_config = args[:observability_config] if args.key?(:observability_config)
1324
1397
  @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1325
1398
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1326
1399
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
@@ -1580,6 +1653,58 @@ module Google
1580
1653
  end
1581
1654
  end
1582
1655
 
1656
+ # MaintenanceUpdatePolicy defines the policy for system updates.
1657
+ class MaintenanceUpdatePolicy
1658
+ include Google::Apis::Core::Hashable
1659
+
1660
+ # Periods to deny maintenance. Currently limited to 1.
1661
+ # Corresponds to the JSON property `denyMaintenancePeriods`
1662
+ # @return [Array<Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod>]
1663
+ attr_accessor :deny_maintenance_periods
1664
+
1665
+ # Preferred windows to perform maintenance. Currently limited to 1.
1666
+ # Corresponds to the JSON property `maintenanceWindows`
1667
+ # @return [Array<Google::Apis::AlloydbV1alpha::MaintenanceWindow>]
1668
+ attr_accessor :maintenance_windows
1669
+
1670
+ def initialize(**args)
1671
+ update!(**args)
1672
+ end
1673
+
1674
+ # Update properties of this object
1675
+ def update!(**args)
1676
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1677
+ @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
1678
+ end
1679
+ end
1680
+
1681
+ # MaintenanceWindow specifies a preferred day and time for maintenance.
1682
+ class MaintenanceWindow
1683
+ include Google::Apis::Core::Hashable
1684
+
1685
+ # Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
1686
+ # Corresponds to the JSON property `day`
1687
+ # @return [String]
1688
+ attr_accessor :day
1689
+
1690
+ # Represents a time of day. The date and time zone are either not significant or
1691
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1692
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1693
+ # Corresponds to the JSON property `startTime`
1694
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
1695
+ attr_accessor :start_time
1696
+
1697
+ def initialize(**args)
1698
+ update!(**args)
1699
+ end
1700
+
1701
+ # Update properties of this object
1702
+ def update!(**args)
1703
+ @day = args[:day] if args.key?(:day)
1704
+ @start_time = args[:start_time] if args.key?(:start_time)
1705
+ end
1706
+ end
1707
+
1583
1708
  # Subset of the source instance configuration that is available when reading the
1584
1709
  # cluster resource.
1585
1710
  class MigrationSource
@@ -1689,6 +1814,83 @@ module Google
1689
1814
  end
1690
1815
  end
1691
1816
 
1817
+ # Observability Instance specific configuration.
1818
+ class ObservabilityInstanceConfig
1819
+ include Google::Apis::Core::Hashable
1820
+
1821
+ # Observability feature status for an instance. This is a read-only flag and
1822
+ # modifiable only by producer API. This flag is turned "off" by default.
1823
+ # Corresponds to the JSON property `enabled`
1824
+ # @return [Boolean]
1825
+ attr_accessor :enabled
1826
+ alias_method :enabled?, :enabled
1827
+
1828
+ # Query string length. The default value is 10k.
1829
+ # Corresponds to the JSON property `maxQueryStringLength`
1830
+ # @return [Fixnum]
1831
+ attr_accessor :max_query_string_length
1832
+
1833
+ # Preserve comments in query string for an instance. This flag is turned "off"
1834
+ # by default.
1835
+ # Corresponds to the JSON property `preserveComments`
1836
+ # @return [Boolean]
1837
+ attr_accessor :preserve_comments
1838
+ alias_method :preserve_comments?, :preserve_comments
1839
+
1840
+ # Number of query execution plans captured by Insights per minute for all
1841
+ # queries combined. The default value is 5. Any integer between 0 to 20 is
1842
+ # considered valid.
1843
+ # Corresponds to the JSON property `queryPlansPerMinute`
1844
+ # @return [Fixnum]
1845
+ attr_accessor :query_plans_per_minute
1846
+
1847
+ # Record application tags for an instance. This flag is turned "off" by default.
1848
+ # Corresponds to the JSON property `recordApplicationTags`
1849
+ # @return [Boolean]
1850
+ attr_accessor :record_application_tags
1851
+ alias_method :record_application_tags?, :record_application_tags
1852
+
1853
+ # Track actively running queries on the instance. If not set, this flag is "off"
1854
+ # by default.
1855
+ # Corresponds to the JSON property `trackActiveQueries`
1856
+ # @return [Boolean]
1857
+ attr_accessor :track_active_queries
1858
+ alias_method :track_active_queries?, :track_active_queries
1859
+
1860
+ # Output only. Track wait event types during query execution for an instance.
1861
+ # This flag is turned "on" by default but tracking is enabled only after
1862
+ # observability enabled flag is also turned on. This is read-only flag and only
1863
+ # modifiable by producer API.
1864
+ # Corresponds to the JSON property `trackWaitEventTypes`
1865
+ # @return [Boolean]
1866
+ attr_accessor :track_wait_event_types
1867
+ alias_method :track_wait_event_types?, :track_wait_event_types
1868
+
1869
+ # Track wait events during query execution for an instance. This flag is turned "
1870
+ # on" by default but tracking is enabled only after observability enabled flag
1871
+ # is also turned on.
1872
+ # Corresponds to the JSON property `trackWaitEvents`
1873
+ # @return [Boolean]
1874
+ attr_accessor :track_wait_events
1875
+ alias_method :track_wait_events?, :track_wait_events
1876
+
1877
+ def initialize(**args)
1878
+ update!(**args)
1879
+ end
1880
+
1881
+ # Update properties of this object
1882
+ def update!(**args)
1883
+ @enabled = args[:enabled] if args.key?(:enabled)
1884
+ @max_query_string_length = args[:max_query_string_length] if args.key?(:max_query_string_length)
1885
+ @preserve_comments = args[:preserve_comments] if args.key?(:preserve_comments)
1886
+ @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
1887
+ @record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
1888
+ @track_active_queries = args[:track_active_queries] if args.key?(:track_active_queries)
1889
+ @track_wait_event_types = args[:track_wait_event_types] if args.key?(:track_wait_event_types)
1890
+ @track_wait_events = args[:track_wait_events] if args.key?(:track_wait_events)
1891
+ end
1892
+ end
1893
+
1692
1894
  # This resource represents a long-running operation that is the result of a
1693
1895
  # network API call.
1694
1896
  class Operation
@@ -2787,6 +2989,13 @@ module Google
2787
2989
  # @return [String]
2788
2990
  attr_accessor :updation_time
2789
2991
 
2992
+ # Message type for storing user labels. User labels are used to tag App Engine
2993
+ # resources, allowing users to search for resources matching a set of labels and
2994
+ # to aggregate usage data by labels.
2995
+ # Corresponds to the JSON property `userLabelSet`
2996
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels]
2997
+ attr_accessor :user_label_set
2998
+
2790
2999
  # User-provided labels, represented as a dictionary where each label is a single
2791
3000
  # key value pair.
2792
3001
  # Corresponds to the JSON property `userLabels`
@@ -2815,6 +3024,7 @@ module Google
2815
3024
  @resource_container = args[:resource_container] if args.key?(:resource_container)
2816
3025
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2817
3026
  @updation_time = args[:updation_time] if args.key?(:updation_time)
3027
+ @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2818
3028
  @user_labels = args[:user_labels] if args.key?(:user_labels)
2819
3029
  end
2820
3030
  end
@@ -2980,6 +3190,27 @@ module Google
2980
3190
  end
2981
3191
  end
2982
3192
 
3193
+ # Message type for storing user labels. User labels are used to tag App Engine
3194
+ # resources, allowing users to search for resources matching a set of labels and
3195
+ # to aggregate usage data by labels.
3196
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
3197
+ include Google::Apis::Core::Hashable
3198
+
3199
+ #
3200
+ # Corresponds to the JSON property `labels`
3201
+ # @return [Hash<String,String>]
3202
+ attr_accessor :labels
3203
+
3204
+ def initialize(**args)
3205
+ update!(**args)
3206
+ end
3207
+
3208
+ # Update properties of this object
3209
+ def update!(**args)
3210
+ @labels = args[:labels] if args.key?(:labels)
3211
+ end
3212
+ end
3213
+
2983
3214
  # Product specification for Condor resources.
2984
3215
  class StorageDatabasecenterProtoCommonProduct
2985
3216
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.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 = "20240228"
25
+ REVISION = "20240306"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class DenyMaintenancePeriod
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class Empty
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -118,13 +124,13 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
121
- class GenerateClientCertificateRequest
127
+ class GeminiClusterConfig
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
127
- class GenerateClientCertificateResponse
133
+ class GeminiInstanceConfig
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
130
136
  include Google::Apis::Core::JsonObjectSupport
@@ -142,6 +148,12 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class GoogleTypeDate
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class GoogleTypeTimeOfDay
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -214,6 +226,18 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
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
+
217
241
  class MigrationSource
218
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
243
 
@@ -232,6 +256,12 @@ module Google
232
256
  include Google::Apis::Core::JsonObjectSupport
233
257
  end
234
258
 
259
+ class ObservabilityInstanceConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
235
265
  class Operation
236
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
267
 
@@ -412,6 +442,12 @@ module Google
412
442
  include Google::Apis::Core::JsonObjectSupport
413
443
  end
414
444
 
445
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
415
451
  class StorageDatabasecenterProtoCommonProduct
416
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
453
 
@@ -570,9 +606,13 @@ module Google
570
606
  property :encryption_info, as: 'encryptionInfo', class: Google::Apis::AlloydbV1alpha::EncryptionInfo, decorator: Google::Apis::AlloydbV1alpha::EncryptionInfo::Representation
571
607
 
572
608
  property :etag, as: 'etag'
609
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1alpha::GeminiClusterConfig, decorator: Google::Apis::AlloydbV1alpha::GeminiClusterConfig::Representation
610
+
573
611
  property :initial_user, as: 'initialUser', class: Google::Apis::AlloydbV1alpha::UserPassword, decorator: Google::Apis::AlloydbV1alpha::UserPassword::Representation
574
612
 
575
613
  hash :labels, as: 'labels'
614
+ property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy::Representation
615
+
576
616
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1alpha::MigrationSource, decorator: Google::Apis::AlloydbV1alpha::MigrationSource::Representation
577
617
 
578
618
  property :name, as: 'name'
@@ -637,6 +677,18 @@ module Google
637
677
  end
638
678
  end
639
679
 
680
+ class DenyMaintenancePeriod
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
684
+
685
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
686
+
687
+ property :time, as: 'time', class: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay::Representation
688
+
689
+ end
690
+ end
691
+
640
692
  class Empty
641
693
  # @private
642
694
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -666,23 +718,17 @@ module Google
666
718
  end
667
719
  end
668
720
 
669
- class GenerateClientCertificateRequest
721
+ class GeminiClusterConfig
670
722
  # @private
671
723
  class Representation < Google::Apis::Core::JsonRepresentation
672
- property :cert_duration, as: 'certDuration'
673
- property :pem_csr, as: 'pemCsr'
674
- property :public_key, as: 'publicKey'
675
- property :request_id, as: 'requestId'
676
- property :use_metadata_exchange, as: 'useMetadataExchange'
724
+ property :entitled, as: 'entitled'
677
725
  end
678
726
  end
679
727
 
680
- class GenerateClientCertificateResponse
728
+ class GeminiInstanceConfig
681
729
  # @private
682
730
  class Representation < Google::Apis::Core::JsonRepresentation
683
- property :ca_cert, as: 'caCert'
684
- property :pem_certificate, as: 'pemCertificate'
685
- collection :pem_certificate_chain, as: 'pemCertificateChain'
731
+ property :entitled, as: 'entitled'
686
732
  end
687
733
  end
688
734
 
@@ -706,6 +752,15 @@ module Google
706
752
  end
707
753
  end
708
754
 
755
+ class GoogleTypeDate
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :day, as: 'day'
759
+ property :month, as: 'month'
760
+ property :year, as: 'year'
761
+ end
762
+ end
763
+
709
764
  class GoogleTypeTimeOfDay
710
765
  # @private
711
766
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -738,6 +793,8 @@ module Google
738
793
  property :display_name, as: 'displayName'
739
794
  property :etag, as: 'etag'
740
795
  property :gce_zone, as: 'gceZone'
796
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1alpha::GeminiInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::GeminiInstanceConfig::Representation
797
+
741
798
  property :instance_type, as: 'instanceType'
742
799
  property :ip_address, as: 'ipAddress'
743
800
  hash :labels, as: 'labels'
@@ -748,6 +805,8 @@ module Google
748
805
 
749
806
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1alpha::Node, decorator: Google::Apis::AlloydbV1alpha::Node::Representation
750
807
 
808
+ property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig::Representation
809
+
751
810
  property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1alpha::PscInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInstanceConfig::Representation
752
811
 
753
812
  property :public_ip_address, as: 'publicIpAddress'
@@ -850,6 +909,25 @@ module Google
850
909
  end
851
910
  end
852
911
 
912
+ class MaintenanceUpdatePolicy
913
+ # @private
914
+ class Representation < Google::Apis::Core::JsonRepresentation
915
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod::Representation
916
+
917
+ collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1alpha::MaintenanceWindow, decorator: Google::Apis::AlloydbV1alpha::MaintenanceWindow::Representation
918
+
919
+ end
920
+ end
921
+
922
+ class MaintenanceWindow
923
+ # @private
924
+ class Representation < Google::Apis::Core::JsonRepresentation
925
+ property :day, as: 'day'
926
+ property :start_time, as: 'startTime', class: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay::Representation
927
+
928
+ end
929
+ end
930
+
853
931
  class MigrationSource
854
932
  # @private
855
933
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -877,6 +955,20 @@ module Google
877
955
  end
878
956
  end
879
957
 
958
+ class ObservabilityInstanceConfig
959
+ # @private
960
+ class Representation < Google::Apis::Core::JsonRepresentation
961
+ property :enabled, as: 'enabled'
962
+ property :max_query_string_length, as: 'maxQueryStringLength'
963
+ property :preserve_comments, as: 'preserveComments'
964
+ property :query_plans_per_minute, as: 'queryPlansPerMinute'
965
+ property :record_application_tags, as: 'recordApplicationTags'
966
+ property :track_active_queries, as: 'trackActiveQueries'
967
+ property :track_wait_event_types, as: 'trackWaitEventTypes'
968
+ property :track_wait_events, as: 'trackWaitEvents'
969
+ end
970
+ end
971
+
880
972
  class Operation
881
973
  # @private
882
974
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1160,6 +1252,8 @@ module Google
1160
1252
  property :resource_container, as: 'resourceContainer'
1161
1253
  property :resource_name, as: 'resourceName'
1162
1254
  property :updation_time, as: 'updationTime'
1255
+ property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1256
+
1163
1257
  hash :user_labels, as: 'userLabels'
1164
1258
  end
1165
1259
  end
@@ -1204,6 +1298,13 @@ module Google
1204
1298
  end
1205
1299
  end
1206
1300
 
1301
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
1302
+ # @private
1303
+ class Representation < Google::Apis::Core::JsonRepresentation
1304
+ hash :labels, as: 'labels'
1305
+ end
1306
+ end
1307
+
1207
1308
  class StorageDatabasecenterProtoCommonProduct
1208
1309
  # @private
1209
1310
  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::AlloydbV1alpha::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::AlloydbV1alpha::GenerateClientCertificateResponse] parsed result object
561
- # @yieldparam err [StandardError] error object if request failed
562
- #
563
- # @return [Google::Apis::AlloydbV1alpha::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, 'v1alpha/{+parent}:generateClientCertificate', options)
570
- command.request_representation = Google::Apis::AlloydbV1alpha::GenerateClientCertificateRequest::Representation
571
- command.request_object = generate_client_certificate_request_object
572
- command.response_representation = Google::Apis::AlloydbV1alpha::GenerateClientCertificateResponse::Representation
573
- command.response_class = Google::Apis::AlloydbV1alpha::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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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-10 00:00:00.000000000 Z
11
+ date: 2024-03-17 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []