google-apis-alloydb_v1alpha 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: 656ff2c72f707f4bee2d1ca8e7d489611eea09231968d4aee773f1ed8d804fcb
4
- data.tar.gz: cf2899b9c93274ccd2873da5be18e27887d3547959e505760c55a634c101f024
3
+ metadata.gz: bbe9ca4b0ef74851f41a6831ce004c546afaa938b9b70fcdf7b8acf07c4f894b
4
+ data.tar.gz: 371eb6871111ad85a83bbfe0d85cf222ffeb925932d83904a5a834bab460c1e3
5
5
  SHA512:
6
- metadata.gz: 25fc2be324fde7b88bfe2e0b8c03c465b13b041c1a9c1d0b61346d941fbc5e0e4e467a1865bcd4b19584ddc69a7cc7b512bb331763b46a6f8fb640ca0307f5d2
7
- data.tar.gz: d6656135aa454c7a2e47c772db01425235a4f3d9f0b840f833b7062baf4b54ddbf1e2afc0a93ce7365bb5603698a6fc1c437df5df50a6c775ae585372229f441
6
+ metadata.gz: 2f2e51dd9cda49072494bdf72d62ec61fc29d9270ef05f156f72bbe06570ee2f85de8675fd9ddfe082d2b3921bbbebfb636338f534c68c6b1c17f494465b68c0
7
+ data.tar.gz: 71131cf8169a0ea21d111c1247a32871d8e3993e6d89f327ddefd9160ed2f79c2fef245515e00ab6d9eaf97003acfcc28cbd4ab89c9f82b7596106aed2733497
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
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
@@ -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,20 @@ module Google
482
488
  # @return [Hash<String,String>]
483
489
  attr_accessor :labels
484
490
 
491
+ # MaintenanceSchedule stores the maintenance schedule generated from the
492
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
493
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
494
+ # schedule is cleared once the update takes place. This field cannot be manually
495
+ # changed; modify the MaintenanceUpdatePolicy instead.
496
+ # Corresponds to the JSON property `maintenanceSchedule`
497
+ # @return [Google::Apis::AlloydbV1alpha::MaintenanceSchedule]
498
+ attr_accessor :maintenance_schedule
499
+
500
+ # MaintenanceUpdatePolicy defines the policy for system updates.
501
+ # Corresponds to the JSON property `maintenanceUpdatePolicy`
502
+ # @return [Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy]
503
+ attr_accessor :maintenance_update_policy
504
+
485
505
  # Subset of the source instance configuration that is available when reading the
486
506
  # cluster resource.
487
507
  # Corresponds to the JSON property `migrationSource`
@@ -591,8 +611,11 @@ module Google
591
611
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
592
612
  @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
593
613
  @etag = args[:etag] if args.key?(:etag)
614
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
594
615
  @initial_user = args[:initial_user] if args.key?(:initial_user)
595
616
  @labels = args[:labels] if args.key?(:labels)
617
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
618
+ @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
596
619
  @migration_source = args[:migration_source] if args.key?(:migration_source)
597
620
  @name = args[:name] if args.key?(:name)
598
621
  @network = args[:network] if args.key?(:network)
@@ -769,6 +792,55 @@ module Google
769
792
  end
770
793
  end
771
794
 
795
+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
796
+ # be scheduled to start within this deny period. The start_date must be less
797
+ # than the end_date.
798
+ class DenyMaintenancePeriod
799
+ include Google::Apis::Core::Hashable
800
+
801
+ # Represents a whole or partial calendar date, such as a birthday. The time of
802
+ # day and time zone are either specified elsewhere or are insignificant. The
803
+ # date is relative to the Gregorian Calendar. This can represent one of the
804
+ # following: * A full date, with non-zero year, month, and day values. * A month
805
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
806
+ # with a zero month and a zero day. * A year and month, with a zero day (for
807
+ # example, a credit card expiration date). Related types: * google.type.
808
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
809
+ # Corresponds to the JSON property `endDate`
810
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
811
+ attr_accessor :end_date
812
+
813
+ # Represents a whole or partial calendar date, such as a birthday. The time of
814
+ # day and time zone are either specified elsewhere or are insignificant. The
815
+ # date is relative to the Gregorian Calendar. This can represent one of the
816
+ # following: * A full date, with non-zero year, month, and day values. * A month
817
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
818
+ # with a zero month and a zero day. * A year and month, with a zero day (for
819
+ # example, a credit card expiration date). Related types: * google.type.
820
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
821
+ # Corresponds to the JSON property `startDate`
822
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
823
+ attr_accessor :start_date
824
+
825
+ # Represents a time of day. The date and time zone are either not significant or
826
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
827
+ # types are google.type.Date and `google.protobuf.Timestamp`.
828
+ # Corresponds to the JSON property `time`
829
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
830
+ attr_accessor :time
831
+
832
+ def initialize(**args)
833
+ update!(**args)
834
+ end
835
+
836
+ # Update properties of this object
837
+ def update!(**args)
838
+ @end_date = args[:end_date] if args.key?(:end_date)
839
+ @start_date = args[:start_date] if args.key?(:start_date)
840
+ @time = args[:time] if args.key?(:time)
841
+ end
842
+ end
843
+
772
844
  # A generic empty message that you can re-use to avoid defining duplicated empty
773
845
  # messages in your APIs. A typical example is to use it as the request or the
774
846
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -869,50 +941,19 @@ module Google
869
941
  end
870
942
  end
871
943
 
872
- # Message for requests to generate a client certificate signed by the Cluster CA.
873
- class GenerateClientCertificateRequest
944
+ # Cluster level configuration parameters related to the Gemini in Databases add-
945
+ # on. See go/prd-enable-duet-ai-databases for more details.
946
+ class GeminiClusterConfig
874
947
  include Google::Apis::Core::Hashable
875
948
 
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`
949
+ # Output only. Whether the Gemini in Databases add-on is enabled for the cluster.
950
+ # It will be true only if the add-on has been enabled for the billing account
951
+ # corresponding to the cluster. Its status is toggled from the Admin Control
952
+ # Center (ACC) and cannot be toggled using AlloyDB's APIs.
953
+ # Corresponds to the JSON property `entitled`
913
954
  # @return [Boolean]
914
- attr_accessor :use_metadata_exchange
915
- alias_method :use_metadata_exchange?, :use_metadata_exchange
955
+ attr_accessor :entitled
956
+ alias_method :entitled?, :entitled
916
957
 
917
958
  def initialize(**args)
918
959
  update!(**args)
@@ -920,33 +961,23 @@ module Google
920
961
 
921
962
  # Update properties of this object
922
963
  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)
964
+ @entitled = args[:entitled] if args.key?(:entitled)
928
965
  end
929
966
  end
930
967
 
931
- # Message returned by a GenerateClientCertificate operation.
932
- class GenerateClientCertificateResponse
968
+ # Instance level configuration parameters related to the Gemini in Databases add-
969
+ # on. See go/prd-enable-duet-ai-databases for more details.
970
+ class GeminiInstanceConfig
933
971
  include Google::Apis::Core::Hashable
934
972
 
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
973
+ # Output only. Whether the Gemini in Databases add-on is enabled for the
974
+ # instance. It will be true only if the add-on has been enabled for the billing
975
+ # account corresponding to the instance. Its status is toggled from the Admin
976
+ # Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
977
+ # Corresponds to the JSON property `entitled`
978
+ # @return [Boolean]
979
+ attr_accessor :entitled
980
+ alias_method :entitled?, :entitled
950
981
 
951
982
  def initialize(**args)
952
983
  update!(**args)
@@ -954,9 +985,7 @@ module Google
954
985
 
955
986
  # Update properties of this object
956
987
  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)
988
+ @entitled = args[:entitled] if args.key?(:entitled)
960
989
  end
961
990
  end
962
991
 
@@ -1032,6 +1061,47 @@ module Google
1032
1061
  end
1033
1062
  end
1034
1063
 
1064
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1065
+ # day and time zone are either specified elsewhere or are insignificant. The
1066
+ # date is relative to the Gregorian Calendar. This can represent one of the
1067
+ # following: * A full date, with non-zero year, month, and day values. * A month
1068
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1069
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1070
+ # example, a credit card expiration date). Related types: * google.type.
1071
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1072
+ class GoogleTypeDate
1073
+ include Google::Apis::Core::Hashable
1074
+
1075
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1076
+ # specify a year by itself or a year and month where the day isn't significant.
1077
+ # Corresponds to the JSON property `day`
1078
+ # @return [Fixnum]
1079
+ attr_accessor :day
1080
+
1081
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1082
+ # and day.
1083
+ # Corresponds to the JSON property `month`
1084
+ # @return [Fixnum]
1085
+ attr_accessor :month
1086
+
1087
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1088
+ # year.
1089
+ # Corresponds to the JSON property `year`
1090
+ # @return [Fixnum]
1091
+ attr_accessor :year
1092
+
1093
+ def initialize(**args)
1094
+ update!(**args)
1095
+ end
1096
+
1097
+ # Update properties of this object
1098
+ def update!(**args)
1099
+ @day = args[:day] if args.key?(:day)
1100
+ @month = args[:month] if args.key?(:month)
1101
+ @year = args[:year] if args.key?(:year)
1102
+ end
1103
+ end
1104
+
1035
1105
  # Represents a time of day. The date and time zone are either not significant or
1036
1106
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1037
1107
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1183,6 +1253,12 @@ module Google
1183
1253
  # @return [String]
1184
1254
  attr_accessor :gce_zone
1185
1255
 
1256
+ # Instance level configuration parameters related to the Gemini in Databases add-
1257
+ # on. See go/prd-enable-duet-ai-databases for more details.
1258
+ # Corresponds to the JSON property `geminiConfig`
1259
+ # @return [Google::Apis::AlloydbV1alpha::GeminiInstanceConfig]
1260
+ attr_accessor :gemini_config
1261
+
1186
1262
  # Required. The type of the instance. Specified at creation time.
1187
1263
  # Corresponds to the JSON property `instanceType`
1188
1264
  # @return [String]
@@ -1227,6 +1303,11 @@ module Google
1227
1303
  # @return [Array<Google::Apis::AlloydbV1alpha::Node>]
1228
1304
  attr_accessor :nodes
1229
1305
 
1306
+ # Observability Instance specific configuration.
1307
+ # Corresponds to the JSON property `observabilityConfig`
1308
+ # @return [Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig]
1309
+ attr_accessor :observability_config
1310
+
1230
1311
  # PscInstanceConfig contains PSC related configuration at an instance level.
1231
1312
  # Corresponds to the JSON property `pscInstanceConfig`
1232
1313
  # @return [Google::Apis::AlloydbV1alpha::PscInstanceConfig]
@@ -1314,6 +1395,7 @@ module Google
1314
1395
  @display_name = args[:display_name] if args.key?(:display_name)
1315
1396
  @etag = args[:etag] if args.key?(:etag)
1316
1397
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
1398
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
1317
1399
  @instance_type = args[:instance_type] if args.key?(:instance_type)
1318
1400
  @ip_address = args[:ip_address] if args.key?(:ip_address)
1319
1401
  @labels = args[:labels] if args.key?(:labels)
@@ -1321,6 +1403,7 @@ module Google
1321
1403
  @name = args[:name] if args.key?(:name)
1322
1404
  @network_config = args[:network_config] if args.key?(:network_config)
1323
1405
  @nodes = args[:nodes] if args.key?(:nodes)
1406
+ @observability_config = args[:observability_config] if args.key?(:observability_config)
1324
1407
  @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1325
1408
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
1326
1409
  @query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
@@ -1580,6 +1663,81 @@ module Google
1580
1663
  end
1581
1664
  end
1582
1665
 
1666
+ # MaintenanceSchedule stores the maintenance schedule generated from the
1667
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
1668
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
1669
+ # schedule is cleared once the update takes place. This field cannot be manually
1670
+ # changed; modify the MaintenanceUpdatePolicy instead.
1671
+ class MaintenanceSchedule
1672
+ include Google::Apis::Core::Hashable
1673
+
1674
+ # Output only. The scheduled start time for the maintenance.
1675
+ # Corresponds to the JSON property `startTime`
1676
+ # @return [String]
1677
+ attr_accessor :start_time
1678
+
1679
+ def initialize(**args)
1680
+ update!(**args)
1681
+ end
1682
+
1683
+ # Update properties of this object
1684
+ def update!(**args)
1685
+ @start_time = args[:start_time] if args.key?(:start_time)
1686
+ end
1687
+ end
1688
+
1689
+ # MaintenanceUpdatePolicy defines the policy for system updates.
1690
+ class MaintenanceUpdatePolicy
1691
+ include Google::Apis::Core::Hashable
1692
+
1693
+ # Periods to deny maintenance. Currently limited to 1.
1694
+ # Corresponds to the JSON property `denyMaintenancePeriods`
1695
+ # @return [Array<Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod>]
1696
+ attr_accessor :deny_maintenance_periods
1697
+
1698
+ # Preferred windows to perform maintenance. Currently limited to 1.
1699
+ # Corresponds to the JSON property `maintenanceWindows`
1700
+ # @return [Array<Google::Apis::AlloydbV1alpha::MaintenanceWindow>]
1701
+ attr_accessor :maintenance_windows
1702
+
1703
+ def initialize(**args)
1704
+ update!(**args)
1705
+ end
1706
+
1707
+ # Update properties of this object
1708
+ def update!(**args)
1709
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1710
+ @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
1711
+ end
1712
+ end
1713
+
1714
+ # MaintenanceWindow specifies a preferred day and time for maintenance.
1715
+ class MaintenanceWindow
1716
+ include Google::Apis::Core::Hashable
1717
+
1718
+ # Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
1719
+ # Corresponds to the JSON property `day`
1720
+ # @return [String]
1721
+ attr_accessor :day
1722
+
1723
+ # Represents a time of day. The date and time zone are either not significant or
1724
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1725
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1726
+ # Corresponds to the JSON property `startTime`
1727
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
1728
+ attr_accessor :start_time
1729
+
1730
+ def initialize(**args)
1731
+ update!(**args)
1732
+ end
1733
+
1734
+ # Update properties of this object
1735
+ def update!(**args)
1736
+ @day = args[:day] if args.key?(:day)
1737
+ @start_time = args[:start_time] if args.key?(:start_time)
1738
+ end
1739
+ end
1740
+
1583
1741
  # Subset of the source instance configuration that is available when reading the
1584
1742
  # cluster resource.
1585
1743
  class MigrationSource
@@ -1689,6 +1847,83 @@ module Google
1689
1847
  end
1690
1848
  end
1691
1849
 
1850
+ # Observability Instance specific configuration.
1851
+ class ObservabilityInstanceConfig
1852
+ include Google::Apis::Core::Hashable
1853
+
1854
+ # Observability feature status for an instance. This is a read-only flag and
1855
+ # modifiable only by producer API. This flag is turned "off" by default.
1856
+ # Corresponds to the JSON property `enabled`
1857
+ # @return [Boolean]
1858
+ attr_accessor :enabled
1859
+ alias_method :enabled?, :enabled
1860
+
1861
+ # Query string length. The default value is 10k.
1862
+ # Corresponds to the JSON property `maxQueryStringLength`
1863
+ # @return [Fixnum]
1864
+ attr_accessor :max_query_string_length
1865
+
1866
+ # Preserve comments in query string for an instance. This flag is turned "off"
1867
+ # by default.
1868
+ # Corresponds to the JSON property `preserveComments`
1869
+ # @return [Boolean]
1870
+ attr_accessor :preserve_comments
1871
+ alias_method :preserve_comments?, :preserve_comments
1872
+
1873
+ # Number of query execution plans captured by Insights per minute for all
1874
+ # queries combined. The default value is 5. Any integer between 0 to 20 is
1875
+ # considered valid.
1876
+ # Corresponds to the JSON property `queryPlansPerMinute`
1877
+ # @return [Fixnum]
1878
+ attr_accessor :query_plans_per_minute
1879
+
1880
+ # Record application tags for an instance. This flag is turned "off" by default.
1881
+ # Corresponds to the JSON property `recordApplicationTags`
1882
+ # @return [Boolean]
1883
+ attr_accessor :record_application_tags
1884
+ alias_method :record_application_tags?, :record_application_tags
1885
+
1886
+ # Track actively running queries on the instance. If not set, this flag is "off"
1887
+ # by default.
1888
+ # Corresponds to the JSON property `trackActiveQueries`
1889
+ # @return [Boolean]
1890
+ attr_accessor :track_active_queries
1891
+ alias_method :track_active_queries?, :track_active_queries
1892
+
1893
+ # Output only. Track wait event types during query execution for an instance.
1894
+ # This flag is turned "on" by default but tracking is enabled only after
1895
+ # observability enabled flag is also turned on. This is read-only flag and only
1896
+ # modifiable by producer API.
1897
+ # Corresponds to the JSON property `trackWaitEventTypes`
1898
+ # @return [Boolean]
1899
+ attr_accessor :track_wait_event_types
1900
+ alias_method :track_wait_event_types?, :track_wait_event_types
1901
+
1902
+ # Track wait events during query execution for an instance. This flag is turned "
1903
+ # on" by default but tracking is enabled only after observability enabled flag
1904
+ # is also turned on.
1905
+ # Corresponds to the JSON property `trackWaitEvents`
1906
+ # @return [Boolean]
1907
+ attr_accessor :track_wait_events
1908
+ alias_method :track_wait_events?, :track_wait_events
1909
+
1910
+ def initialize(**args)
1911
+ update!(**args)
1912
+ end
1913
+
1914
+ # Update properties of this object
1915
+ def update!(**args)
1916
+ @enabled = args[:enabled] if args.key?(:enabled)
1917
+ @max_query_string_length = args[:max_query_string_length] if args.key?(:max_query_string_length)
1918
+ @preserve_comments = args[:preserve_comments] if args.key?(:preserve_comments)
1919
+ @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
1920
+ @record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
1921
+ @track_active_queries = args[:track_active_queries] if args.key?(:track_active_queries)
1922
+ @track_wait_event_types = args[:track_wait_event_types] if args.key?(:track_wait_event_types)
1923
+ @track_wait_events = args[:track_wait_events] if args.key?(:track_wait_events)
1924
+ end
1925
+ end
1926
+
1692
1927
  # This resource represents a long-running operation that is the result of a
1693
1928
  # network API call.
1694
1929
  class Operation
@@ -1900,46 +2135,18 @@ module Google
1900
2135
  class PscInstanceConfig
1901
2136
  include Google::Apis::Core::Hashable
1902
2137
 
1903
- # Optional. List of consumer networks that are allowed to create PSC endpoints
1904
- # to service-attachments to this instance.
1905
- # Corresponds to the JSON property `allowedConsumerNetworks`
1906
- # @return [Array<String>]
1907
- attr_accessor :allowed_consumer_networks
1908
-
1909
2138
  # Optional. List of consumer projects that are allowed to create PSC endpoints
1910
2139
  # to service-attachments to this instance.
1911
2140
  # Corresponds to the JSON property `allowedConsumerProjects`
1912
2141
  # @return [Array<String>]
1913
2142
  attr_accessor :allowed_consumer_projects
1914
2143
 
1915
- # Optional. List of service attachments that this instance has created endpoints
1916
- # to connect with. Currently, only a single outgoing service attachment is
1917
- # supported per instance.
1918
- # Corresponds to the JSON property `outgoingServiceAttachmentLinks`
1919
- # @return [Array<String>]
1920
- attr_accessor :outgoing_service_attachment_links
1921
-
1922
2144
  # Output only. The DNS name of the instance for PSC connectivity. Name
1923
2145
  # convention: ...alloydb-psc.goog
1924
2146
  # Corresponds to the JSON property `pscDnsName`
1925
2147
  # @return [String]
1926
2148
  attr_accessor :psc_dns_name
1927
2149
 
1928
- # Optional. Whether PSC connectivity is enabled for this instance. This is
1929
- # populated by referencing the value from the parent cluster.
1930
- # Corresponds to the JSON property `pscEnabled`
1931
- # @return [Boolean]
1932
- attr_accessor :psc_enabled
1933
- alias_method :psc_enabled?, :psc_enabled
1934
-
1935
- # Optional. Configurations for setting up PSC interfaces attached to the
1936
- # instance which are used for outbound connectivity. Only primary instances can
1937
- # have PSC interface attached. All the VMs created for the primary instance will
1938
- # share the same configurations. Currently we only support 0 or 1 PSC interface.
1939
- # Corresponds to the JSON property `pscInterfaceConfigs`
1940
- # @return [Array<Google::Apis::AlloydbV1alpha::PscInterfaceConfig>]
1941
- attr_accessor :psc_interface_configs
1942
-
1943
2150
  # Output only. The service attachment created when Private Service Connect (PSC)
1944
2151
  # is enabled for the instance. The name of the resource will be in the format of
1945
2152
  # `projects//regions//serviceAttachments/`
@@ -1953,48 +2160,12 @@ module Google
1953
2160
 
1954
2161
  # Update properties of this object
1955
2162
  def update!(**args)
1956
- @allowed_consumer_networks = args[:allowed_consumer_networks] if args.key?(:allowed_consumer_networks)
1957
2163
  @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
1958
- @outgoing_service_attachment_links = args[:outgoing_service_attachment_links] if args.key?(:outgoing_service_attachment_links)
1959
2164
  @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
1960
- @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
1961
- @psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
1962
2165
  @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
1963
2166
  end
1964
2167
  end
1965
2168
 
1966
- # Configuration for setting up a PSC interface. This information needs to be
1967
- # provided by the customer. PSC interfaces will be created and added to VMs via
1968
- # SLM (adding a network interface will require recreating the VM). For HA
1969
- # instances this will be done via LDTM.
1970
- class PscInterfaceConfig
1971
- include Google::Apis::Core::Hashable
1972
-
1973
- # A list of endpoints in the consumer VPC the interface might initiate outbound
1974
- # connections to. This list has to be provided when the PSC interface is created.
1975
- # Corresponds to the JSON property `consumerEndpointIps`
1976
- # @return [Array<String>]
1977
- attr_accessor :consumer_endpoint_ips
1978
-
1979
- # The NetworkAttachment resource created in the consumer VPC to which the PSC
1980
- # interface will be linked, in the form of: `projects/$`CONSUMER_PROJECT`/
1981
- # regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME``.
1982
- # NetworkAttachment has to be provided when the PSC interface is created.
1983
- # Corresponds to the JSON property `networkAttachment`
1984
- # @return [String]
1985
- attr_accessor :network_attachment
1986
-
1987
- def initialize(**args)
1988
- update!(**args)
1989
- end
1990
-
1991
- # Update properties of this object
1992
- def update!(**args)
1993
- @consumer_endpoint_ips = args[:consumer_endpoint_ips] if args.key?(:consumer_endpoint_ips)
1994
- @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
1995
- end
1996
- end
1997
-
1998
2169
  # A backup's position in a quantity-based retention queue, of backups with the
1999
2170
  # same source cluster and type, with length, retention, specified by the backup'
2000
2171
  # s retention policy. Once the position is greater than the retention, the
@@ -2787,6 +2958,13 @@ module Google
2787
2958
  # @return [String]
2788
2959
  attr_accessor :updation_time
2789
2960
 
2961
+ # Message type for storing user labels. User labels are used to tag App Engine
2962
+ # resources, allowing users to search for resources matching a set of labels and
2963
+ # to aggregate usage data by labels.
2964
+ # Corresponds to the JSON property `userLabelSet`
2965
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels]
2966
+ attr_accessor :user_label_set
2967
+
2790
2968
  # User-provided labels, represented as a dictionary where each label is a single
2791
2969
  # key value pair.
2792
2970
  # Corresponds to the JSON property `userLabels`
@@ -2815,6 +2993,7 @@ module Google
2815
2993
  @resource_container = args[:resource_container] if args.key?(:resource_container)
2816
2994
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2817
2995
  @updation_time = args[:updation_time] if args.key?(:updation_time)
2996
+ @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
2818
2997
  @user_labels = args[:user_labels] if args.key?(:user_labels)
2819
2998
  end
2820
2999
  end
@@ -2980,6 +3159,27 @@ module Google
2980
3159
  end
2981
3160
  end
2982
3161
 
3162
+ # Message type for storing user labels. User labels are used to tag App Engine
3163
+ # resources, allowing users to search for resources matching a set of labels and
3164
+ # to aggregate usage data by labels.
3165
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
3166
+ include Google::Apis::Core::Hashable
3167
+
3168
+ #
3169
+ # Corresponds to the JSON property `labels`
3170
+ # @return [Hash<String,String>]
3171
+ attr_accessor :labels
3172
+
3173
+ def initialize(**args)
3174
+ update!(**args)
3175
+ end
3176
+
3177
+ # Update properties of this object
3178
+ def update!(**args)
3179
+ @labels = args[:labels] if args.key?(:labels)
3180
+ end
3181
+ end
3182
+
2983
3183
  # Product specification for Condor resources.
2984
3184
  class StorageDatabasecenterProtoCommonProduct
2985
3185
  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.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 = "20240228"
25
+ REVISION = "20240320"
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,24 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class MaintenanceSchedule
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class MaintenanceUpdatePolicy
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class MaintenanceWindow
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
217
247
  class MigrationSource
218
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
249
 
@@ -232,6 +262,12 @@ module Google
232
262
  include Google::Apis::Core::JsonObjectSupport
233
263
  end
234
264
 
265
+ class ObservabilityInstanceConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
235
271
  class Operation
236
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
273
 
@@ -268,12 +304,6 @@ module Google
268
304
  include Google::Apis::Core::JsonObjectSupport
269
305
  end
270
306
 
271
- class PscInterfaceConfig
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
307
  class QuantityBasedExpiry
278
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
309
 
@@ -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,15 @@ 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_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1alpha::MaintenanceSchedule, decorator: Google::Apis::AlloydbV1alpha::MaintenanceSchedule::Representation
615
+
616
+ property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy::Representation
617
+
576
618
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1alpha::MigrationSource, decorator: Google::Apis::AlloydbV1alpha::MigrationSource::Representation
577
619
 
578
620
  property :name, as: 'name'
@@ -637,6 +679,18 @@ module Google
637
679
  end
638
680
  end
639
681
 
682
+ class DenyMaintenancePeriod
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
686
+
687
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
688
+
689
+ property :time, as: 'time', class: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay::Representation
690
+
691
+ end
692
+ end
693
+
640
694
  class Empty
641
695
  # @private
642
696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -666,23 +720,17 @@ module Google
666
720
  end
667
721
  end
668
722
 
669
- class GenerateClientCertificateRequest
723
+ class GeminiClusterConfig
670
724
  # @private
671
725
  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'
726
+ property :entitled, as: 'entitled'
677
727
  end
678
728
  end
679
729
 
680
- class GenerateClientCertificateResponse
730
+ class GeminiInstanceConfig
681
731
  # @private
682
732
  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'
733
+ property :entitled, as: 'entitled'
686
734
  end
687
735
  end
688
736
 
@@ -706,6 +754,15 @@ module Google
706
754
  end
707
755
  end
708
756
 
757
+ class GoogleTypeDate
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :day, as: 'day'
761
+ property :month, as: 'month'
762
+ property :year, as: 'year'
763
+ end
764
+ end
765
+
709
766
  class GoogleTypeTimeOfDay
710
767
  # @private
711
768
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -738,6 +795,8 @@ module Google
738
795
  property :display_name, as: 'displayName'
739
796
  property :etag, as: 'etag'
740
797
  property :gce_zone, as: 'gceZone'
798
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1alpha::GeminiInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::GeminiInstanceConfig::Representation
799
+
741
800
  property :instance_type, as: 'instanceType'
742
801
  property :ip_address, as: 'ipAddress'
743
802
  hash :labels, as: 'labels'
@@ -748,6 +807,8 @@ module Google
748
807
 
749
808
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1alpha::Node, decorator: Google::Apis::AlloydbV1alpha::Node::Representation
750
809
 
810
+ property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::ObservabilityInstanceConfig::Representation
811
+
751
812
  property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1alpha::PscInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInstanceConfig::Representation
752
813
 
753
814
  property :public_ip_address, as: 'publicIpAddress'
@@ -850,6 +911,32 @@ module Google
850
911
  end
851
912
  end
852
913
 
914
+ class MaintenanceSchedule
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :start_time, as: 'startTime'
918
+ end
919
+ end
920
+
921
+ class MaintenanceUpdatePolicy
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod, decorator: Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod::Representation
925
+
926
+ collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::AlloydbV1alpha::MaintenanceWindow, decorator: Google::Apis::AlloydbV1alpha::MaintenanceWindow::Representation
927
+
928
+ end
929
+ end
930
+
931
+ class MaintenanceWindow
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :day, as: 'day'
935
+ property :start_time, as: 'startTime', class: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay::Representation
936
+
937
+ end
938
+ end
939
+
853
940
  class MigrationSource
854
941
  # @private
855
942
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -877,6 +964,20 @@ module Google
877
964
  end
878
965
  end
879
966
 
967
+ class ObservabilityInstanceConfig
968
+ # @private
969
+ class Representation < Google::Apis::Core::JsonRepresentation
970
+ property :enabled, as: 'enabled'
971
+ property :max_query_string_length, as: 'maxQueryStringLength'
972
+ property :preserve_comments, as: 'preserveComments'
973
+ property :query_plans_per_minute, as: 'queryPlansPerMinute'
974
+ property :record_application_tags, as: 'recordApplicationTags'
975
+ property :track_active_queries, as: 'trackActiveQueries'
976
+ property :track_wait_event_types, as: 'trackWaitEventTypes'
977
+ property :track_wait_events, as: 'trackWaitEvents'
978
+ end
979
+ end
980
+
880
981
  class Operation
881
982
  # @private
882
983
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -928,25 +1029,12 @@ module Google
928
1029
  class PscInstanceConfig
929
1030
  # @private
930
1031
  class Representation < Google::Apis::Core::JsonRepresentation
931
- collection :allowed_consumer_networks, as: 'allowedConsumerNetworks'
932
1032
  collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
933
- collection :outgoing_service_attachment_links, as: 'outgoingServiceAttachmentLinks'
934
1033
  property :psc_dns_name, as: 'pscDnsName'
935
- property :psc_enabled, as: 'pscEnabled'
936
- collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1alpha::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInterfaceConfig::Representation
937
-
938
1034
  property :service_attachment_link, as: 'serviceAttachmentLink'
939
1035
  end
940
1036
  end
941
1037
 
942
- class PscInterfaceConfig
943
- # @private
944
- class Representation < Google::Apis::Core::JsonRepresentation
945
- collection :consumer_endpoint_ips, as: 'consumerEndpointIps'
946
- property :network_attachment, as: 'networkAttachment'
947
- end
948
- end
949
-
950
1038
  class QuantityBasedExpiry
951
1039
  # @private
952
1040
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1160,6 +1248,8 @@ module Google
1160
1248
  property :resource_container, as: 'resourceContainer'
1161
1249
  property :resource_name, as: 'resourceName'
1162
1250
  property :updation_time, as: 'updationTime'
1251
+ property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
1252
+
1163
1253
  hash :user_labels, as: 'userLabels'
1164
1254
  end
1165
1255
  end
@@ -1204,6 +1294,13 @@ module Google
1204
1294
  end
1205
1295
  end
1206
1296
 
1297
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
1298
+ # @private
1299
+ class Representation < Google::Apis::Core::JsonRepresentation
1300
+ hash :labels, as: 'labels'
1301
+ end
1302
+ end
1303
+
1207
1304
  class StorageDatabasecenterProtoCommonProduct
1208
1305
  # @private
1209
1306
  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.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-10 00:00:00.000000000 Z
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_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.11.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: []