@googleapis/alloydb 4.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/build/v1.d.ts +108 -62
- package/build/v1.js +0 -32
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +205 -62
- package/build/v1alpha.js +0 -32
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +262 -60
- package/build/v1beta.js +0 -32
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +104 -147
- package/v1alpha.ts +201 -146
- package/v1beta.ts +258 -144
package/v1beta.ts
CHANGED
|
@@ -358,6 +358,10 @@ export namespace alloydb_v1beta {
|
|
|
358
358
|
* For Resource freshness validation (https://google.aip.dev/154)
|
|
359
359
|
*/
|
|
360
360
|
etag?: string | null;
|
|
361
|
+
/**
|
|
362
|
+
* Optional. Configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
363
|
+
*/
|
|
364
|
+
geminiConfig?: Schema$GeminiClusterConfig;
|
|
361
365
|
/**
|
|
362
366
|
* Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
|
|
363
367
|
*/
|
|
@@ -366,6 +370,10 @@ export namespace alloydb_v1beta {
|
|
|
366
370
|
* Labels as key value pairs
|
|
367
371
|
*/
|
|
368
372
|
labels?: {[key: string]: string} | null;
|
|
373
|
+
/**
|
|
374
|
+
* Optional. The maintenance update policy determines when to allow or deny updates.
|
|
375
|
+
*/
|
|
376
|
+
maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy;
|
|
369
377
|
/**
|
|
370
378
|
* Output only. Cluster created via DMS migration.
|
|
371
379
|
*/
|
|
@@ -375,7 +383,7 @@ export namespace alloydb_v1beta {
|
|
|
375
383
|
*/
|
|
376
384
|
name?: string | null;
|
|
377
385
|
/**
|
|
378
|
-
* Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form:
|
|
386
|
+
* Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project\}/global/networks/{network_id\}`. This is required to create a cluster. Deprecated, use network_config.network instead.
|
|
379
387
|
*/
|
|
380
388
|
network?: string | null;
|
|
381
389
|
networkConfig?: Schema$NetworkConfig;
|
|
@@ -383,6 +391,10 @@ export namespace alloydb_v1beta {
|
|
|
383
391
|
* Output only. Cross Region replication config specific to PRIMARY cluster.
|
|
384
392
|
*/
|
|
385
393
|
primaryConfig?: Schema$PrimaryConfig;
|
|
394
|
+
/**
|
|
395
|
+
* Optional. The configuration for Private Service Connect (PSC) for the cluster.
|
|
396
|
+
*/
|
|
397
|
+
pscConfig?: Schema$PscConfig;
|
|
386
398
|
/**
|
|
387
399
|
* Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
|
|
388
400
|
*/
|
|
@@ -432,6 +444,10 @@ export namespace alloydb_v1beta {
|
|
|
432
444
|
* Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
|
|
433
445
|
*/
|
|
434
446
|
pemCertificateChain?: string[] | null;
|
|
447
|
+
/**
|
|
448
|
+
* Output only. The DNS name to use with PSC for the Instance.
|
|
449
|
+
*/
|
|
450
|
+
pscDnsName?: string | null;
|
|
435
451
|
/**
|
|
436
452
|
* Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
|
|
437
453
|
*/
|
|
@@ -488,6 +504,23 @@ export namespace alloydb_v1beta {
|
|
|
488
504
|
*/
|
|
489
505
|
pointInTime?: string | null;
|
|
490
506
|
}
|
|
507
|
+
/**
|
|
508
|
+
* DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
|
|
509
|
+
*/
|
|
510
|
+
export interface Schema$DenyMaintenancePeriod {
|
|
511
|
+
/**
|
|
512
|
+
* Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year for recurring. Date matching this period will have to be before the end.
|
|
513
|
+
*/
|
|
514
|
+
endDate?: Schema$GoogleTypeDate;
|
|
515
|
+
/**
|
|
516
|
+
* Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year for recurring. Date matching this period will have to be the same or after the start.
|
|
517
|
+
*/
|
|
518
|
+
startDate?: Schema$GoogleTypeDate;
|
|
519
|
+
/**
|
|
520
|
+
* Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC
|
|
521
|
+
*/
|
|
522
|
+
time?: Schema$GoogleTypeTimeOfDay;
|
|
523
|
+
}
|
|
491
524
|
/**
|
|
492
525
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
493
526
|
*/
|
|
@@ -528,46 +561,22 @@ export namespace alloydb_v1beta {
|
|
|
528
561
|
validateOnly?: boolean | null;
|
|
529
562
|
}
|
|
530
563
|
/**
|
|
531
|
-
*
|
|
564
|
+
* Cluster level configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
532
565
|
*/
|
|
533
|
-
export interface Schema$
|
|
534
|
-
/**
|
|
535
|
-
* Optional. An optional hint to the endpoint to generate the client certificate with the requested duration. The duration can be from 1 hour to 24 hours. The endpoint may or may not honor the hint. If the hint is left unspecified or is not honored, then the endpoint will pick an appropriate default duration.
|
|
536
|
-
*/
|
|
537
|
-
certDuration?: string | null;
|
|
538
|
-
/**
|
|
539
|
-
* Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.
|
|
540
|
-
*/
|
|
541
|
-
pemCsr?: string | null;
|
|
542
|
-
/**
|
|
543
|
-
* Optional. The public key from the client.
|
|
544
|
-
*/
|
|
545
|
-
publicKey?: string | null;
|
|
566
|
+
export interface Schema$GeminiClusterConfig {
|
|
546
567
|
/**
|
|
547
|
-
*
|
|
568
|
+
* Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
|
|
548
569
|
*/
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* Optional. An optional hint to the endpoint to generate a client ceritificate that can be used by AlloyDB connectors to exchange additional metadata with the server after TLS handshake.
|
|
552
|
-
*/
|
|
553
|
-
useMetadataExchange?: boolean | null;
|
|
570
|
+
entitled?: boolean | null;
|
|
554
571
|
}
|
|
555
572
|
/**
|
|
556
|
-
*
|
|
573
|
+
* Instance level configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
557
574
|
*/
|
|
558
|
-
export interface Schema$
|
|
559
|
-
/**
|
|
560
|
-
* Optional. The pem-encoded cluster ca X.509 certificate.
|
|
561
|
-
*/
|
|
562
|
-
caCert?: string | null;
|
|
575
|
+
export interface Schema$GeminiInstanceConfig {
|
|
563
576
|
/**
|
|
564
|
-
* Output only.
|
|
577
|
+
* Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.
|
|
565
578
|
*/
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
|
|
569
|
-
*/
|
|
570
|
-
pemCertificateChain?: string[] | null;
|
|
579
|
+
entitled?: boolean | null;
|
|
571
580
|
}
|
|
572
581
|
/**
|
|
573
582
|
* The response message for Locations.ListLocations.
|
|
@@ -607,6 +616,23 @@ export namespace alloydb_v1beta {
|
|
|
607
616
|
*/
|
|
608
617
|
name?: string | null;
|
|
609
618
|
}
|
|
619
|
+
/**
|
|
620
|
+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
621
|
+
*/
|
|
622
|
+
export interface Schema$GoogleTypeDate {
|
|
623
|
+
/**
|
|
624
|
+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
|
625
|
+
*/
|
|
626
|
+
day?: number | null;
|
|
627
|
+
/**
|
|
628
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
629
|
+
*/
|
|
630
|
+
month?: number | null;
|
|
631
|
+
/**
|
|
632
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
633
|
+
*/
|
|
634
|
+
year?: number | null;
|
|
635
|
+
}
|
|
610
636
|
/**
|
|
611
637
|
* Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
|
|
612
638
|
*/
|
|
@@ -685,6 +711,10 @@ export namespace alloydb_v1beta {
|
|
|
685
711
|
* The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
|
|
686
712
|
*/
|
|
687
713
|
gceZone?: string | null;
|
|
714
|
+
/**
|
|
715
|
+
* Optional. Configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
|
|
716
|
+
*/
|
|
717
|
+
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
688
718
|
/**
|
|
689
719
|
* Required. The type of the instance. Specified at creation time.
|
|
690
720
|
*/
|
|
@@ -713,6 +743,14 @@ export namespace alloydb_v1beta {
|
|
|
713
743
|
* Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
|
|
714
744
|
*/
|
|
715
745
|
nodes?: Schema$Node[];
|
|
746
|
+
/**
|
|
747
|
+
* Configuration for observability.
|
|
748
|
+
*/
|
|
749
|
+
observabilityConfig?: Schema$ObservabilityInstanceConfig;
|
|
750
|
+
/**
|
|
751
|
+
* Optional. The configuration for Private Service Connect (PSC) for the instance.
|
|
752
|
+
*/
|
|
753
|
+
pscInstanceConfig?: Schema$PscInstanceConfig;
|
|
716
754
|
/**
|
|
717
755
|
* Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
|
|
718
756
|
*/
|
|
@@ -883,6 +921,32 @@ export namespace alloydb_v1beta {
|
|
|
883
921
|
*/
|
|
884
922
|
cpuCount?: number | null;
|
|
885
923
|
}
|
|
924
|
+
/**
|
|
925
|
+
* MaintenanceUpdatePolicy defines the policy for system updates.
|
|
926
|
+
*/
|
|
927
|
+
export interface Schema$MaintenanceUpdatePolicy {
|
|
928
|
+
/**
|
|
929
|
+
* Periods to deny maintenance. Currently limited to 1.
|
|
930
|
+
*/
|
|
931
|
+
denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
|
|
932
|
+
/**
|
|
933
|
+
* Preferred windows to perform maintenance. Currently limited to 1.
|
|
934
|
+
*/
|
|
935
|
+
maintenanceWindows?: Schema$MaintenanceWindow[];
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* MaintenanceWindow specifies a preferred day and time for maintenance.
|
|
939
|
+
*/
|
|
940
|
+
export interface Schema$MaintenanceWindow {
|
|
941
|
+
/**
|
|
942
|
+
* Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
943
|
+
*/
|
|
944
|
+
day?: string | null;
|
|
945
|
+
/**
|
|
946
|
+
* Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
|
947
|
+
*/
|
|
948
|
+
startTime?: Schema$GoogleTypeTimeOfDay;
|
|
949
|
+
}
|
|
886
950
|
/**
|
|
887
951
|
* Subset of the source instance configuration that is available when reading the cluster resource.
|
|
888
952
|
*/
|
|
@@ -909,7 +973,7 @@ export namespace alloydb_v1beta {
|
|
|
909
973
|
*/
|
|
910
974
|
allocatedIpRange?: string | null;
|
|
911
975
|
/**
|
|
912
|
-
* Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form:
|
|
976
|
+
* Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project_number\}/global/networks/{network_id\}`. This is required to create a cluster.
|
|
913
977
|
*/
|
|
914
978
|
network?: string | null;
|
|
915
979
|
}
|
|
@@ -934,6 +998,43 @@ export namespace alloydb_v1beta {
|
|
|
934
998
|
*/
|
|
935
999
|
zoneId?: string | null;
|
|
936
1000
|
}
|
|
1001
|
+
/**
|
|
1002
|
+
* Observability Instance specific configuration.
|
|
1003
|
+
*/
|
|
1004
|
+
export interface Schema$ObservabilityInstanceConfig {
|
|
1005
|
+
/**
|
|
1006
|
+
* Observability feature status for an instance. This is a read-only flag and modifiable only by producer API. This flag is turned "off" by default.
|
|
1007
|
+
*/
|
|
1008
|
+
enabled?: boolean | null;
|
|
1009
|
+
/**
|
|
1010
|
+
* Query string length. The default value is 10k.
|
|
1011
|
+
*/
|
|
1012
|
+
maxQueryStringLength?: number | null;
|
|
1013
|
+
/**
|
|
1014
|
+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
|
|
1015
|
+
*/
|
|
1016
|
+
preserveComments?: boolean | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 to 20 is considered valid.
|
|
1019
|
+
*/
|
|
1020
|
+
queryPlansPerMinute?: number | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Record application tags for an instance. This flag is turned "off" by default.
|
|
1023
|
+
*/
|
|
1024
|
+
recordApplicationTags?: boolean | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
|
|
1027
|
+
*/
|
|
1028
|
+
trackActiveQueries?: boolean | null;
|
|
1029
|
+
/**
|
|
1030
|
+
* Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
|
|
1031
|
+
*/
|
|
1032
|
+
trackWaitEvents?: boolean | null;
|
|
1033
|
+
/**
|
|
1034
|
+
* Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by producer API.
|
|
1035
|
+
*/
|
|
1036
|
+
trackWaitEventTypes?: boolean | null;
|
|
1037
|
+
}
|
|
937
1038
|
/**
|
|
938
1039
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
939
1040
|
*/
|
|
@@ -1018,6 +1119,61 @@ export namespace alloydb_v1beta {
|
|
|
1018
1119
|
*/
|
|
1019
1120
|
validateOnly?: boolean | null;
|
|
1020
1121
|
}
|
|
1122
|
+
/**
|
|
1123
|
+
* PscConfig contains PSC related configuration at a cluster level.
|
|
1124
|
+
*/
|
|
1125
|
+
export interface Schema$PscConfig {
|
|
1126
|
+
/**
|
|
1127
|
+
* Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
|
1128
|
+
*/
|
|
1129
|
+
pscEnabled?: boolean | null;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* PscInstanceConfig contains PSC related configuration at an instance level.
|
|
1133
|
+
*/
|
|
1134
|
+
export interface Schema$PscInstanceConfig {
|
|
1135
|
+
/**
|
|
1136
|
+
* Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1137
|
+
*/
|
|
1138
|
+
allowedConsumerNetworks?: string[] | null;
|
|
1139
|
+
/**
|
|
1140
|
+
* Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
|
1141
|
+
*/
|
|
1142
|
+
allowedConsumerProjects?: string[] | null;
|
|
1143
|
+
/**
|
|
1144
|
+
* Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
|
|
1145
|
+
*/
|
|
1146
|
+
outgoingServiceAttachmentLinks?: string[] | null;
|
|
1147
|
+
/**
|
|
1148
|
+
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
|
|
1149
|
+
*/
|
|
1150
|
+
pscDnsName?: string | null;
|
|
1151
|
+
/**
|
|
1152
|
+
* Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
|
|
1153
|
+
*/
|
|
1154
|
+
pscEnabled?: boolean | null;
|
|
1155
|
+
/**
|
|
1156
|
+
* Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
|
|
1157
|
+
*/
|
|
1158
|
+
pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
|
|
1159
|
+
/**
|
|
1160
|
+
* Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`
|
|
1161
|
+
*/
|
|
1162
|
+
serviceAttachmentLink?: string | null;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Configuration for setting up a PSC interface. This information needs to be provided by the customer. PSC interfaces will be created and added to VMs via SLM (adding a network interface will require recreating the VM). For HA instances this will be done via LDTM.
|
|
1166
|
+
*/
|
|
1167
|
+
export interface Schema$PscInterfaceConfig {
|
|
1168
|
+
/**
|
|
1169
|
+
* A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.
|
|
1170
|
+
*/
|
|
1171
|
+
consumerEndpointIps?: string[] | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: `projects/${CONSUMER_PROJECT\}/regions/${REGION\}/networkAttachments/${NETWORK_ATTACHMENT_NAME\}`. NetworkAttachment has to be provided when the PSC interface is created.
|
|
1174
|
+
*/
|
|
1175
|
+
networkAttachment?: string | null;
|
|
1176
|
+
}
|
|
1021
1177
|
/**
|
|
1022
1178
|
* A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)
|
|
1023
1179
|
*/
|
|
@@ -1250,6 +1406,7 @@ export namespace alloydb_v1beta {
|
|
|
1250
1406
|
/**
|
|
1251
1407
|
* More feed data would be added in subsequent CLs
|
|
1252
1408
|
*/
|
|
1409
|
+
recommendationSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData;
|
|
1253
1410
|
resourceHealthSignalData?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData;
|
|
1254
1411
|
/**
|
|
1255
1412
|
* Primary key associated with the Resource. resource_id is available in individual feed level as well.
|
|
@@ -1324,7 +1481,7 @@ export namespace alloydb_v1beta {
|
|
|
1324
1481
|
*/
|
|
1325
1482
|
providerDescription?: string | null;
|
|
1326
1483
|
/**
|
|
1327
|
-
* Required. The type of resource this ID is identifying. Ex alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1484
|
+
* Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
|
1328
1485
|
*/
|
|
1329
1486
|
resourceType?: string | null;
|
|
1330
1487
|
/**
|
|
@@ -1360,6 +1517,10 @@ export namespace alloydb_v1beta {
|
|
|
1360
1517
|
* Any custom metadata associated with the resource
|
|
1361
1518
|
*/
|
|
1362
1519
|
customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
|
|
1520
|
+
/**
|
|
1521
|
+
* Entitlements associated with the resource
|
|
1522
|
+
*/
|
|
1523
|
+
entitlements?: Schema$StorageDatabasecenterPartnerapiV1mainEntitlement[];
|
|
1363
1524
|
/**
|
|
1364
1525
|
* The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
|
|
1365
1526
|
*/
|
|
@@ -1377,7 +1538,7 @@ export namespace alloydb_v1beta {
|
|
|
1377
1538
|
*/
|
|
1378
1539
|
location?: string | null;
|
|
1379
1540
|
/**
|
|
1380
|
-
* Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested
|
|
1541
|
+
* Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
|
|
1381
1542
|
*/
|
|
1382
1543
|
primaryResourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
|
|
1383
1544
|
/**
|
|
@@ -1400,6 +1561,60 @@ export namespace alloydb_v1beta {
|
|
|
1400
1561
|
* User-provided labels, represented as a dictionary where each label is a single key value pair.
|
|
1401
1562
|
*/
|
|
1402
1563
|
userLabels?: {[key: string]: string} | null;
|
|
1564
|
+
/**
|
|
1565
|
+
* User-provided labels associated with the resource
|
|
1566
|
+
*/
|
|
1567
|
+
userLabelSet?: Schema$StorageDatabasecenterPartnerapiV1mainUserLabels;
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
* Common model for database resource recommendation signal data.
|
|
1571
|
+
*/
|
|
1572
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData {
|
|
1573
|
+
/**
|
|
1574
|
+
* Optional. Any other additional metadata specific to recommendation
|
|
1575
|
+
*/
|
|
1576
|
+
additionalMetadata?: {[key: string]: any} | null;
|
|
1577
|
+
/**
|
|
1578
|
+
* Required. last time recommendationw as refreshed
|
|
1579
|
+
*/
|
|
1580
|
+
lastRefreshTime?: string | null;
|
|
1581
|
+
/**
|
|
1582
|
+
* Required. Recommendation state
|
|
1583
|
+
*/
|
|
1584
|
+
recommendationState?: string | null;
|
|
1585
|
+
/**
|
|
1586
|
+
* Required. Name of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876
|
|
1587
|
+
*/
|
|
1588
|
+
recommender?: string | null;
|
|
1589
|
+
/**
|
|
1590
|
+
* Required. ID of recommender. Examples: "google.cloudsql.instance.PerformanceRecommender"
|
|
1591
|
+
*/
|
|
1592
|
+
recommenderId?: string | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Required. Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.cloudsql.instance.PerformanceRecommender", recommender_subtype can be "MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
|
|
1595
|
+
*/
|
|
1596
|
+
recommenderSubtype?: string | null;
|
|
1597
|
+
/**
|
|
1598
|
+
* Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
|
|
1599
|
+
*/
|
|
1600
|
+
resourceName?: string | null;
|
|
1601
|
+
/**
|
|
1602
|
+
* Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
|
|
1603
|
+
*/
|
|
1604
|
+
signalType?: string | null;
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* Proto representing the access that a user has to a specific feature/service. NextId: 3.
|
|
1608
|
+
*/
|
|
1609
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainEntitlement {
|
|
1610
|
+
/**
|
|
1611
|
+
* The current state of user's accessibility to a feature/benefit.
|
|
1612
|
+
*/
|
|
1613
|
+
entitlementState?: string | null;
|
|
1614
|
+
/**
|
|
1615
|
+
* An enum that represents the type of this entitlement.
|
|
1616
|
+
*/
|
|
1617
|
+
type?: string | null;
|
|
1403
1618
|
}
|
|
1404
1619
|
/**
|
|
1405
1620
|
* An error that occurred during a backup creation operation.
|
|
@@ -1409,6 +1624,7 @@ export namespace alloydb_v1beta {
|
|
|
1409
1624
|
* Identifies the specific error that occurred. REQUIRED
|
|
1410
1625
|
*/
|
|
1411
1626
|
code?: string | null;
|
|
1627
|
+
errorType?: string | null;
|
|
1412
1628
|
/**
|
|
1413
1629
|
* Additional information about the error encountered. REQUIRED
|
|
1414
1630
|
*/
|
|
@@ -1422,6 +1638,12 @@ export namespace alloydb_v1beta {
|
|
|
1422
1638
|
retentionUnit?: string | null;
|
|
1423
1639
|
timeBasedRetention?: string | null;
|
|
1424
1640
|
}
|
|
1641
|
+
/**
|
|
1642
|
+
* Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.
|
|
1643
|
+
*/
|
|
1644
|
+
export interface Schema$StorageDatabasecenterPartnerapiV1mainUserLabels {
|
|
1645
|
+
labels?: {[key: string]: string} | null;
|
|
1646
|
+
}
|
|
1425
1647
|
/**
|
|
1426
1648
|
* Product specification for Condor resources.
|
|
1427
1649
|
*/
|
|
@@ -2597,102 +2819,6 @@ export namespace alloydb_v1beta {
|
|
|
2597
2819
|
}
|
|
2598
2820
|
}
|
|
2599
2821
|
|
|
2600
|
-
/**
|
|
2601
|
-
* Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.
|
|
2602
|
-
*
|
|
2603
|
-
* @param params - Parameters for request
|
|
2604
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2605
|
-
* @param callback - Optional callback that handles the response.
|
|
2606
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2607
|
-
*/
|
|
2608
|
-
generateClientCertificate(
|
|
2609
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2610
|
-
options: StreamMethodOptions
|
|
2611
|
-
): GaxiosPromise<Readable>;
|
|
2612
|
-
generateClientCertificate(
|
|
2613
|
-
params?: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2614
|
-
options?: MethodOptions
|
|
2615
|
-
): GaxiosPromise<Schema$GenerateClientCertificateResponse>;
|
|
2616
|
-
generateClientCertificate(
|
|
2617
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2618
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2619
|
-
callback: BodyResponseCallback<Readable>
|
|
2620
|
-
): void;
|
|
2621
|
-
generateClientCertificate(
|
|
2622
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2623
|
-
options:
|
|
2624
|
-
| MethodOptions
|
|
2625
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>,
|
|
2626
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2627
|
-
): void;
|
|
2628
|
-
generateClientCertificate(
|
|
2629
|
-
params: Params$Resource$Projects$Locations$Clusters$Generateclientcertificate,
|
|
2630
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2631
|
-
): void;
|
|
2632
|
-
generateClientCertificate(
|
|
2633
|
-
callback: BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2634
|
-
): void;
|
|
2635
|
-
generateClientCertificate(
|
|
2636
|
-
paramsOrCallback?:
|
|
2637
|
-
| Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
2638
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2639
|
-
| BodyResponseCallback<Readable>,
|
|
2640
|
-
optionsOrCallback?:
|
|
2641
|
-
| MethodOptions
|
|
2642
|
-
| StreamMethodOptions
|
|
2643
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2644
|
-
| BodyResponseCallback<Readable>,
|
|
2645
|
-
callback?:
|
|
2646
|
-
| BodyResponseCallback<Schema$GenerateClientCertificateResponse>
|
|
2647
|
-
| BodyResponseCallback<Readable>
|
|
2648
|
-
):
|
|
2649
|
-
| void
|
|
2650
|
-
| GaxiosPromise<Schema$GenerateClientCertificateResponse>
|
|
2651
|
-
| GaxiosPromise<Readable> {
|
|
2652
|
-
let params = (paramsOrCallback ||
|
|
2653
|
-
{}) as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2654
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2655
|
-
|
|
2656
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2657
|
-
callback = paramsOrCallback;
|
|
2658
|
-
params =
|
|
2659
|
-
{} as Params$Resource$Projects$Locations$Clusters$Generateclientcertificate;
|
|
2660
|
-
options = {};
|
|
2661
|
-
}
|
|
2662
|
-
|
|
2663
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2664
|
-
callback = optionsOrCallback;
|
|
2665
|
-
options = {};
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
|
-
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
|
|
2669
|
-
const parameters = {
|
|
2670
|
-
options: Object.assign(
|
|
2671
|
-
{
|
|
2672
|
-
url: (
|
|
2673
|
-
rootUrl + '/v1beta/{+parent}:generateClientCertificate'
|
|
2674
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2675
|
-
method: 'POST',
|
|
2676
|
-
},
|
|
2677
|
-
options
|
|
2678
|
-
),
|
|
2679
|
-
params,
|
|
2680
|
-
requiredParams: ['parent'],
|
|
2681
|
-
pathParams: ['parent'],
|
|
2682
|
-
context: this.context,
|
|
2683
|
-
};
|
|
2684
|
-
if (callback) {
|
|
2685
|
-
createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2686
|
-
parameters,
|
|
2687
|
-
callback as BodyResponseCallback<unknown>
|
|
2688
|
-
);
|
|
2689
|
-
} else {
|
|
2690
|
-
return createAPIRequest<Schema$GenerateClientCertificateResponse>(
|
|
2691
|
-
parameters
|
|
2692
|
-
);
|
|
2693
|
-
}
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
2822
|
/**
|
|
2697
2823
|
* Gets details of a single Cluster.
|
|
2698
2824
|
*
|
|
@@ -3199,18 +3325,6 @@ export namespace alloydb_v1beta {
|
|
|
3199
3325
|
*/
|
|
3200
3326
|
validateOnly?: boolean;
|
|
3201
3327
|
}
|
|
3202
|
-
export interface Params$Resource$Projects$Locations$Clusters$Generateclientcertificate
|
|
3203
|
-
extends StandardParameters {
|
|
3204
|
-
/**
|
|
3205
|
-
* Required. The name of the parent resource. The required format is: * projects/{project\}/locations/{location\}/clusters/{cluster\}
|
|
3206
|
-
*/
|
|
3207
|
-
parent?: string;
|
|
3208
|
-
|
|
3209
|
-
/**
|
|
3210
|
-
* Request body metadata
|
|
3211
|
-
*/
|
|
3212
|
-
requestBody?: Schema$GenerateClientCertificateRequest;
|
|
3213
|
-
}
|
|
3214
3328
|
export interface Params$Resource$Projects$Locations$Clusters$Get
|
|
3215
3329
|
extends StandardParameters {
|
|
3216
3330
|
/**
|