google-apis-alloydb_v1beta 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: e78201f58217cd2fcac668f56f75028cf8ed2eedf3c62155b9e9663e884e8bf0
4
- data.tar.gz: 31c45872b7556b7ce3890d3c3112e9a260f3bb268cc6ba135d1990b0c62a4e3c
3
+ metadata.gz: 9b4b5264bb50eb15b372a4cfddfa92cfb05d13087e2dbe1f690681cc9b5cb538
4
+ data.tar.gz: 40e021c54bfad6ce2252a46136c88d51d5210dc4fedb3adef2083b76fafa7d45
5
5
  SHA512:
6
- metadata.gz: c0d3bcb2ad216c5891d8a2ea6ced85af76816ecf3fbb5cefb1b9254790692fa2a5324fc673648af2f330574e4f1b266e4d786ad517313acb85e4c0daaef386d3
7
- data.tar.gz: dc285c7aa8e15dd4b2e5191d2cd7ca1e70d59035b199a8896f2842e04f1020fa813e32af8ad7860d572073df3deb8c0f83b244f6ffddd6d4791d12080fb0b2c8
6
+ metadata.gz: 4c63b444a5398e229efff33135084f6b08f06872d80fe24fd8f1f2478bd4f3714553da7e5c7046e636fbbd2a8fba3b3825bf53c0acbf2974236b3b173db1fd74
7
+ data.tar.gz: 0b6ca6f03ad152b7d93b2b66e31c2da74f8f7f9ac8d19e84709806caea70aec7d3b924dd5a3fd97d8ac6254cea46bee890ef96e4fa3ef09d60b3845c08392f7a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1beta
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
@@ -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,11 @@ module Google
462
468
  # @return [Hash<String,String>]
463
469
  attr_accessor :labels
464
470
 
471
+ # MaintenanceUpdatePolicy defines the policy for system updates.
472
+ # Corresponds to the JSON property `maintenanceUpdatePolicy`
473
+ # @return [Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy]
474
+ attr_accessor :maintenance_update_policy
475
+
465
476
  # Subset of the source instance configuration that is available when reading the
466
477
  # cluster resource.
467
478
  # Corresponds to the JSON property `migrationSource`
@@ -565,8 +576,10 @@ module Google
565
576
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
566
577
  @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
567
578
  @etag = args[:etag] if args.key?(:etag)
579
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
568
580
  @initial_user = args[:initial_user] if args.key?(:initial_user)
569
581
  @labels = args[:labels] if args.key?(:labels)
582
+ @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
570
583
  @migration_source = args[:migration_source] if args.key?(:migration_source)
571
584
  @name = args[:name] if args.key?(:name)
572
585
  @network = args[:network] if args.key?(:network)
@@ -742,6 +755,55 @@ module Google
742
755
  end
743
756
  end
744
757
 
758
+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
759
+ # be scheduled to start within this deny period. The start_date must be less
760
+ # than the end_date.
761
+ class DenyMaintenancePeriod
762
+ include Google::Apis::Core::Hashable
763
+
764
+ # Represents a whole or partial calendar date, such as a birthday. The time of
765
+ # day and time zone are either specified elsewhere or are insignificant. The
766
+ # date is relative to the Gregorian Calendar. This can represent one of the
767
+ # following: * A full date, with non-zero year, month, and day values. * A month
768
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
769
+ # with a zero month and a zero day. * A year and month, with a zero day (for
770
+ # example, a credit card expiration date). Related types: * google.type.
771
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
772
+ # Corresponds to the JSON property `endDate`
773
+ # @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
774
+ attr_accessor :end_date
775
+
776
+ # Represents a whole or partial calendar date, such as a birthday. The time of
777
+ # day and time zone are either specified elsewhere or are insignificant. The
778
+ # date is relative to the Gregorian Calendar. This can represent one of the
779
+ # following: * A full date, with non-zero year, month, and day values. * A month
780
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
781
+ # with a zero month and a zero day. * A year and month, with a zero day (for
782
+ # example, a credit card expiration date). Related types: * google.type.
783
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
784
+ # Corresponds to the JSON property `startDate`
785
+ # @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
786
+ attr_accessor :start_date
787
+
788
+ # Represents a time of day. The date and time zone are either not significant or
789
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
790
+ # types are google.type.Date and `google.protobuf.Timestamp`.
791
+ # Corresponds to the JSON property `time`
792
+ # @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
793
+ attr_accessor :time
794
+
795
+ def initialize(**args)
796
+ update!(**args)
797
+ end
798
+
799
+ # Update properties of this object
800
+ def update!(**args)
801
+ @end_date = args[:end_date] if args.key?(:end_date)
802
+ @start_date = args[:start_date] if args.key?(:start_date)
803
+ @time = args[:time] if args.key?(:time)
804
+ end
805
+ end
806
+
745
807
  # A generic empty message that you can re-use to avoid defining duplicated empty
746
808
  # messages in your APIs. A typical example is to use it as the request or the
747
809
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -842,50 +904,19 @@ module Google
842
904
  end
843
905
  end
844
906
 
845
- # Message for requests to generate a client certificate signed by the Cluster CA.
846
- class GenerateClientCertificateRequest
907
+ # Cluster level configuration parameters related to the Gemini in Databases add-
908
+ # on. See go/prd-enable-duet-ai-databases for more details.
909
+ class GeminiClusterConfig
847
910
  include Google::Apis::Core::Hashable
848
911
 
849
- # Optional. An optional hint to the endpoint to generate the client certificate
850
- # with the requested duration. The duration can be from 1 hour to 24 hours. The
851
- # endpoint may or may not honor the hint. If the hint is left unspecified or is
852
- # not honored, then the endpoint will pick an appropriate default duration.
853
- # Corresponds to the JSON property `certDuration`
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`
912
+ # Output only. Whether the Gemini in Databases add-on is enabled for the cluster.
913
+ # It will be true only if the add-on has been enabled for the billing account
914
+ # corresponding to the cluster. Its status is toggled from the Admin Control
915
+ # Center (ACC) and cannot be toggled using AlloyDB's APIs.
916
+ # Corresponds to the JSON property `entitled`
886
917
  # @return [Boolean]
887
- attr_accessor :use_metadata_exchange
888
- alias_method :use_metadata_exchange?, :use_metadata_exchange
918
+ attr_accessor :entitled
919
+ alias_method :entitled?, :entitled
889
920
 
890
921
  def initialize(**args)
891
922
  update!(**args)
@@ -893,33 +924,23 @@ module Google
893
924
 
894
925
  # Update properties of this object
895
926
  def update!(**args)
896
- @cert_duration = args[:cert_duration] if args.key?(:cert_duration)
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)
927
+ @entitled = args[:entitled] if args.key?(:entitled)
901
928
  end
902
929
  end
903
930
 
904
- # Message returned by a GenerateClientCertificate operation.
905
- class GenerateClientCertificateResponse
931
+ # Instance level configuration parameters related to the Gemini in Databases add-
932
+ # on. See go/prd-enable-duet-ai-databases for more details.
933
+ class GeminiInstanceConfig
906
934
  include Google::Apis::Core::Hashable
907
935
 
908
- # Optional. The pem-encoded cluster ca X.509 certificate.
909
- # Corresponds to the JSON property `caCert`
910
- # @return [String]
911
- attr_accessor :ca_cert
912
-
913
- # Output only. The pem-encoded, signed X.509 certificate.
914
- # Corresponds to the JSON property `pemCertificate`
915
- # @return [String]
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
936
+ # Output only. Whether the Gemini in Databases add-on is enabled for the
937
+ # instance. It will be true only if the add-on has been enabled for the billing
938
+ # account corresponding to the instance. Its status is toggled from the Admin
939
+ # Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
940
+ # Corresponds to the JSON property `entitled`
941
+ # @return [Boolean]
942
+ attr_accessor :entitled
943
+ alias_method :entitled?, :entitled
923
944
 
924
945
  def initialize(**args)
925
946
  update!(**args)
@@ -927,9 +948,7 @@ module Google
927
948
 
928
949
  # Update properties of this object
929
950
  def update!(**args)
930
- @ca_cert = args[:ca_cert] if args.key?(:ca_cert)
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)
951
+ @entitled = args[:entitled] if args.key?(:entitled)
933
952
  end
934
953
  end
935
954
 
@@ -1005,6 +1024,47 @@ module Google
1005
1024
  end
1006
1025
  end
1007
1026
 
1027
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1028
+ # day and time zone are either specified elsewhere or are insignificant. The
1029
+ # date is relative to the Gregorian Calendar. This can represent one of the
1030
+ # following: * A full date, with non-zero year, month, and day values. * A month
1031
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1032
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1033
+ # example, a credit card expiration date). Related types: * google.type.
1034
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1035
+ class GoogleTypeDate
1036
+ include Google::Apis::Core::Hashable
1037
+
1038
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1039
+ # specify a year by itself or a year and month where the day isn't significant.
1040
+ # Corresponds to the JSON property `day`
1041
+ # @return [Fixnum]
1042
+ attr_accessor :day
1043
+
1044
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1045
+ # and day.
1046
+ # Corresponds to the JSON property `month`
1047
+ # @return [Fixnum]
1048
+ attr_accessor :month
1049
+
1050
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1051
+ # year.
1052
+ # Corresponds to the JSON property `year`
1053
+ # @return [Fixnum]
1054
+ attr_accessor :year
1055
+
1056
+ def initialize(**args)
1057
+ update!(**args)
1058
+ end
1059
+
1060
+ # Update properties of this object
1061
+ def update!(**args)
1062
+ @day = args[:day] if args.key?(:day)
1063
+ @month = args[:month] if args.key?(:month)
1064
+ @year = args[:year] if args.key?(:year)
1065
+ end
1066
+ end
1067
+
1008
1068
  # Represents a time of day. The date and time zone are either not significant or
1009
1069
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1010
1070
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1156,6 +1216,12 @@ module Google
1156
1216
  # @return [String]
1157
1217
  attr_accessor :gce_zone
1158
1218
 
1219
+ # Instance level configuration parameters related to the Gemini in Databases add-
1220
+ # on. See go/prd-enable-duet-ai-databases for more details.
1221
+ # Corresponds to the JSON property `geminiConfig`
1222
+ # @return [Google::Apis::AlloydbV1beta::GeminiInstanceConfig]
1223
+ attr_accessor :gemini_config
1224
+
1159
1225
  # Required. The type of the instance. Specified at creation time.
1160
1226
  # Corresponds to the JSON property `instanceType`
1161
1227
  # @return [String]
@@ -1200,6 +1266,11 @@ module Google
1200
1266
  # @return [Array<Google::Apis::AlloydbV1beta::Node>]
1201
1267
  attr_accessor :nodes
1202
1268
 
1269
+ # Observability Instance specific configuration.
1270
+ # Corresponds to the JSON property `observabilityConfig`
1271
+ # @return [Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig]
1272
+ attr_accessor :observability_config
1273
+
1203
1274
  # PscInstanceConfig contains PSC related configuration at an instance level.
1204
1275
  # Corresponds to the JSON property `pscInstanceConfig`
1205
1276
  # @return [Google::Apis::AlloydbV1beta::PscInstanceConfig]
@@ -1281,6 +1352,7 @@ module Google
1281
1352
  @display_name = args[:display_name] if args.key?(:display_name)
1282
1353
  @etag = args[:etag] if args.key?(:etag)
1283
1354
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
1355
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
1284
1356
  @instance_type = args[:instance_type] if args.key?(:instance_type)
1285
1357
  @ip_address = args[:ip_address] if args.key?(:ip_address)
1286
1358
  @labels = args[:labels] if args.key?(:labels)
@@ -1288,6 +1360,7 @@ module Google
1288
1360
  @name = args[:name] if args.key?(:name)
1289
1361
  @network_config = args[:network_config] if args.key?(:network_config)
1290
1362
  @nodes = args[:nodes] if args.key?(:nodes)
1363
+ @observability_config = args[:observability_config] if args.key?(:observability_config)
1291
1364
  @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1292
1365
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1293
1366
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
@@ -1546,6 +1619,58 @@ module Google
1546
1619
  end
1547
1620
  end
1548
1621
 
1622
+ # MaintenanceUpdatePolicy defines the policy for system updates.
1623
+ class MaintenanceUpdatePolicy
1624
+ include Google::Apis::Core::Hashable
1625
+
1626
+ # Periods to deny maintenance. Currently limited to 1.
1627
+ # Corresponds to the JSON property `denyMaintenancePeriods`
1628
+ # @return [Array<Google::Apis::AlloydbV1beta::DenyMaintenancePeriod>]
1629
+ attr_accessor :deny_maintenance_periods
1630
+
1631
+ # Preferred windows to perform maintenance. Currently limited to 1.
1632
+ # Corresponds to the JSON property `maintenanceWindows`
1633
+ # @return [Array<Google::Apis::AlloydbV1beta::MaintenanceWindow>]
1634
+ attr_accessor :maintenance_windows
1635
+
1636
+ def initialize(**args)
1637
+ update!(**args)
1638
+ end
1639
+
1640
+ # Update properties of this object
1641
+ def update!(**args)
1642
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1643
+ @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
1644
+ end
1645
+ end
1646
+
1647
+ # MaintenanceWindow specifies a preferred day and time for maintenance.
1648
+ class MaintenanceWindow
1649
+ include Google::Apis::Core::Hashable
1650
+
1651
+ # Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
1652
+ # Corresponds to the JSON property `day`
1653
+ # @return [String]
1654
+ attr_accessor :day
1655
+
1656
+ # Represents a time of day. The date and time zone are either not significant or
1657
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1658
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1659
+ # Corresponds to the JSON property `startTime`
1660
+ # @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
1661
+ attr_accessor :start_time
1662
+
1663
+ def initialize(**args)
1664
+ update!(**args)
1665
+ end
1666
+
1667
+ # Update properties of this object
1668
+ def update!(**args)
1669
+ @day = args[:day] if args.key?(:day)
1670
+ @start_time = args[:start_time] if args.key?(:start_time)
1671
+ end
1672
+ end
1673
+
1549
1674
  # Subset of the source instance configuration that is available when reading the
1550
1675
  # cluster resource.
1551
1676
  class MigrationSource
@@ -1655,6 +1780,83 @@ module Google
1655
1780
  end
1656
1781
  end
1657
1782
 
1783
+ # Observability Instance specific configuration.
1784
+ class ObservabilityInstanceConfig
1785
+ include Google::Apis::Core::Hashable
1786
+
1787
+ # Observability feature status for an instance. This is a read-only flag and
1788
+ # modifiable only by producer API. This flag is turned "off" by default.
1789
+ # Corresponds to the JSON property `enabled`
1790
+ # @return [Boolean]
1791
+ attr_accessor :enabled
1792
+ alias_method :enabled?, :enabled
1793
+
1794
+ # Query string length. The default value is 10k.
1795
+ # Corresponds to the JSON property `maxQueryStringLength`
1796
+ # @return [Fixnum]
1797
+ attr_accessor :max_query_string_length
1798
+
1799
+ # Preserve comments in query string for an instance. This flag is turned "off"
1800
+ # by default.
1801
+ # Corresponds to the JSON property `preserveComments`
1802
+ # @return [Boolean]
1803
+ attr_accessor :preserve_comments
1804
+ alias_method :preserve_comments?, :preserve_comments
1805
+
1806
+ # Number of query execution plans captured by Insights per minute for all
1807
+ # queries combined. The default value is 5. Any integer between 0 to 20 is
1808
+ # considered valid.
1809
+ # Corresponds to the JSON property `queryPlansPerMinute`
1810
+ # @return [Fixnum]
1811
+ attr_accessor :query_plans_per_minute
1812
+
1813
+ # Record application tags for an instance. This flag is turned "off" by default.
1814
+ # Corresponds to the JSON property `recordApplicationTags`
1815
+ # @return [Boolean]
1816
+ attr_accessor :record_application_tags
1817
+ alias_method :record_application_tags?, :record_application_tags
1818
+
1819
+ # Track actively running queries on the instance. If not set, this flag is "off"
1820
+ # by default.
1821
+ # Corresponds to the JSON property `trackActiveQueries`
1822
+ # @return [Boolean]
1823
+ attr_accessor :track_active_queries
1824
+ alias_method :track_active_queries?, :track_active_queries
1825
+
1826
+ # Output only. Track wait event types during query execution for an instance.
1827
+ # This flag is turned "on" by default but tracking is enabled only after
1828
+ # observability enabled flag is also turned on. This is read-only flag and only
1829
+ # modifiable by producer API.
1830
+ # Corresponds to the JSON property `trackWaitEventTypes`
1831
+ # @return [Boolean]
1832
+ attr_accessor :track_wait_event_types
1833
+ alias_method :track_wait_event_types?, :track_wait_event_types
1834
+
1835
+ # Track wait events during query execution for an instance. This flag is turned "
1836
+ # on" by default but tracking is enabled only after observability enabled flag
1837
+ # is also turned on.
1838
+ # Corresponds to the JSON property `trackWaitEvents`
1839
+ # @return [Boolean]
1840
+ attr_accessor :track_wait_events
1841
+ alias_method :track_wait_events?, :track_wait_events
1842
+
1843
+ def initialize(**args)
1844
+ update!(**args)
1845
+ end
1846
+
1847
+ # Update properties of this object
1848
+ def update!(**args)
1849
+ @enabled = args[:enabled] if args.key?(:enabled)
1850
+ @max_query_string_length = args[:max_query_string_length] if args.key?(:max_query_string_length)
1851
+ @preserve_comments = args[:preserve_comments] if args.key?(:preserve_comments)
1852
+ @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
1853
+ @record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
1854
+ @track_active_queries = args[:track_active_queries] if args.key?(:track_active_queries)
1855
+ @track_wait_event_types = args[:track_wait_event_types] if args.key?(:track_wait_event_types)
1856
+ @track_wait_events = args[:track_wait_events] if args.key?(:track_wait_events)
1857
+ end
1858
+ end
1859
+
1658
1860
  # This resource represents a long-running operation that is the result of a
1659
1861
  # network API call.
1660
1862
  class Operation
@@ -2753,6 +2955,13 @@ module Google
2753
2955
  # @return [String]
2754
2956
  attr_accessor :updation_time
2755
2957
 
2958
+ # Message type for storing user labels. User labels are used to tag App Engine
2959
+ # resources, allowing users to search for resources matching a set of labels and
2960
+ # to aggregate usage data by labels.
2961
+ # Corresponds to the JSON property `userLabelSet`
2962
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels]
2963
+ attr_accessor :user_label_set
2964
+
2756
2965
  # User-provided labels, represented as a dictionary where each label is a single
2757
2966
  # key value pair.
2758
2967
  # Corresponds to the JSON property `userLabels`
@@ -2781,6 +2990,7 @@ module Google
2781
2990
  @resource_container = args[:resource_container] if args.key?(:resource_container)
2782
2991
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2783
2992
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2993
+ @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2784
2994
  @user_labels = args[:user_labels] if args.key?(:user_labels)
2785
2995
  end
2786
2996
  end
@@ -2946,6 +3156,27 @@ module Google
2946
3156
  end
2947
3157
  end
2948
3158
 
3159
+ # Message type for storing user labels. User labels are used to tag App Engine
3160
+ # resources, allowing users to search for resources matching a set of labels and
3161
+ # to aggregate usage data by labels.
3162
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
3163
+ include Google::Apis::Core::Hashable
3164
+
3165
+ #
3166
+ # Corresponds to the JSON property `labels`
3167
+ # @return [Hash<String,String>]
3168
+ attr_accessor :labels
3169
+
3170
+ def initialize(**args)
3171
+ update!(**args)
3172
+ end
3173
+
3174
+ # Update properties of this object
3175
+ def update!(**args)
3176
+ @labels = args[:labels] if args.key?(:labels)
3177
+ end
3178
+ end
3179
+
2949
3180
  # Product specification for Condor resources.
2950
3181
  class StorageDatabasecenterProtoCommonProduct
2951
3182
  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.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
@@ -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 GenerateClientCertificateRequest
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 GenerateClientCertificateResponse
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,18 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class MaintenanceUpdatePolicy
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class MaintenanceWindow
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
211
235
  class MigrationSource
212
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
237
 
@@ -226,6 +250,12 @@ module Google
226
250
  include Google::Apis::Core::JsonObjectSupport
227
251
  end
228
252
 
253
+ class ObservabilityInstanceConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
229
259
  class Operation
230
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
261
 
@@ -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,13 @@ 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_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy::Representation
602
+
563
603
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1beta::MigrationSource, decorator: Google::Apis::AlloydbV1beta::MigrationSource::Representation
564
604
 
565
605
  property :name, as: 'name'
@@ -623,6 +663,18 @@ module Google
623
663
  end
624
664
  end
625
665
 
666
+ class DenyMaintenancePeriod
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
670
+
671
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
672
+
673
+ property :time, as: 'time', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
674
+
675
+ end
676
+ end
677
+
626
678
  class Empty
627
679
  # @private
628
680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -652,23 +704,17 @@ module Google
652
704
  end
653
705
  end
654
706
 
655
- class GenerateClientCertificateRequest
707
+ class GeminiClusterConfig
656
708
  # @private
657
709
  class Representation < Google::Apis::Core::JsonRepresentation
658
- property :cert_duration, as: 'certDuration'
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'
710
+ property :entitled, as: 'entitled'
663
711
  end
664
712
  end
665
713
 
666
- class GenerateClientCertificateResponse
714
+ class GeminiInstanceConfig
667
715
  # @private
668
716
  class Representation < Google::Apis::Core::JsonRepresentation
669
- property :ca_cert, as: 'caCert'
670
- property :pem_certificate, as: 'pemCertificate'
671
- collection :pem_certificate_chain, as: 'pemCertificateChain'
717
+ property :entitled, as: 'entitled'
672
718
  end
673
719
  end
674
720
 
@@ -692,6 +738,15 @@ module Google
692
738
  end
693
739
  end
694
740
 
741
+ class GoogleTypeDate
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :day, as: 'day'
745
+ property :month, as: 'month'
746
+ property :year, as: 'year'
747
+ end
748
+ end
749
+
695
750
  class GoogleTypeTimeOfDay
696
751
  # @private
697
752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -724,6 +779,8 @@ module Google
724
779
  property :display_name, as: 'displayName'
725
780
  property :etag, as: 'etag'
726
781
  property :gce_zone, as: 'gceZone'
782
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1beta::GeminiInstanceConfig, decorator: Google::Apis::AlloydbV1beta::GeminiInstanceConfig::Representation
783
+
727
784
  property :instance_type, as: 'instanceType'
728
785
  property :ip_address, as: 'ipAddress'
729
786
  hash :labels, as: 'labels'
@@ -734,6 +791,8 @@ module Google
734
791
 
735
792
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1beta::Node, decorator: Google::Apis::AlloydbV1beta::Node::Representation
736
793
 
794
+ property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1beta::ObservabilityInstanceConfig::Representation
795
+
737
796
  property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1beta::PscInstanceConfig, decorator: Google::Apis::AlloydbV1beta::PscInstanceConfig::Representation
738
797
 
739
798
  property :public_ip_address, as: 'publicIpAddress'
@@ -835,6 +894,25 @@ module Google
835
894
  end
836
895
  end
837
896
 
897
+ class MaintenanceUpdatePolicy
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1beta::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1beta::DenyMaintenancePeriod::Representation
901
+
902
+ collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1beta::MaintenanceWindow, decorator: Google::Apis::AlloydbV1beta::MaintenanceWindow::Representation
903
+
904
+ end
905
+ end
906
+
907
+ class MaintenanceWindow
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :day, as: 'day'
911
+ property :start_time, as: 'startTime', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
912
+
913
+ end
914
+ end
915
+
838
916
  class MigrationSource
839
917
  # @private
840
918
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -862,6 +940,20 @@ module Google
862
940
  end
863
941
  end
864
942
 
943
+ class ObservabilityInstanceConfig
944
+ # @private
945
+ class Representation < Google::Apis::Core::JsonRepresentation
946
+ property :enabled, as: 'enabled'
947
+ property :max_query_string_length, as: 'maxQueryStringLength'
948
+ property :preserve_comments, as: 'preserveComments'
949
+ property :query_plans_per_minute, as: 'queryPlansPerMinute'
950
+ property :record_application_tags, as: 'recordApplicationTags'
951
+ property :track_active_queries, as: 'trackActiveQueries'
952
+ property :track_wait_event_types, as: 'trackWaitEventTypes'
953
+ property :track_wait_events, as: 'trackWaitEvents'
954
+ end
955
+ end
956
+
865
957
  class Operation
866
958
  # @private
867
959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1145,6 +1237,8 @@ module Google
1145
1237
  property :resource_container, as: 'resourceContainer'
1146
1238
  property :resource_name, as: 'resourceName'
1147
1239
  property :updation_time, as: 'updationTime'
1240
+ property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1241
+
1148
1242
  hash :user_labels, as: 'userLabels'
1149
1243
  end
1150
1244
  end
@@ -1189,6 +1283,13 @@ module Google
1189
1283
  end
1190
1284
  end
1191
1285
 
1286
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
1287
+ # @private
1288
+ class Representation < Google::Apis::Core::JsonRepresentation
1289
+ hash :labels, as: 'labels'
1290
+ end
1291
+ end
1292
+
1192
1293
  class StorageDatabasecenterProtoCommonProduct
1193
1294
  # @private
1194
1295
  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.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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.10.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: []