@googleapis/alloydb 6.0.0 → 7.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/v1alpha.ts CHANGED
@@ -367,7 +367,7 @@ export namespace alloydb_v1alpha {
367
367
  */
368
368
  etag?: string | null;
369
369
  /**
370
- * Optional. Configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
370
+ * Optional. Configuration parameters related to the Gemini in Databases add-on.
371
371
  */
372
372
  geminiConfig?: Schema$GeminiClusterConfig;
373
373
  /**
@@ -378,6 +378,10 @@ export namespace alloydb_v1alpha {
378
378
  * Labels as key value pairs
379
379
  */
380
380
  labels?: {[key: string]: string} | null;
381
+ /**
382
+ * Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.
383
+ */
384
+ maintenanceSchedule?: Schema$MaintenanceSchedule;
381
385
  /**
382
386
  * Optional. The maintenance update policy determines when to allow or deny updates.
383
387
  */
@@ -516,23 +520,6 @@ export namespace alloydb_v1alpha {
516
520
  */
517
521
  pointInTime?: string | null;
518
522
  }
519
- /**
520
- * 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.
521
- */
522
- export interface Schema$DenyMaintenancePeriod {
523
- /**
524
- * 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.
525
- */
526
- endDate?: Schema$GoogleTypeDate;
527
- /**
528
- * 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.
529
- */
530
- startDate?: Schema$GoogleTypeDate;
531
- /**
532
- * 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
533
- */
534
- time?: Schema$GoogleTypeTimeOfDay;
535
- }
536
523
  /**
537
524
  * 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); \}
538
525
  */
@@ -573,7 +560,7 @@ export namespace alloydb_v1alpha {
573
560
  validateOnly?: boolean | null;
574
561
  }
575
562
  /**
576
- * Cluster level configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
563
+ * Cluster level configuration parameters related to the Gemini in Databases add-on.
577
564
  */
578
565
  export interface Schema$GeminiClusterConfig {
579
566
  /**
@@ -582,7 +569,7 @@ export namespace alloydb_v1alpha {
582
569
  entitled?: boolean | null;
583
570
  }
584
571
  /**
585
- * Instance level configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
572
+ * Instance level configuration parameters related to the Gemini in Databases add-on.
586
573
  */
587
574
  export interface Schema$GeminiInstanceConfig {
588
575
  /**
@@ -628,23 +615,6 @@ export namespace alloydb_v1alpha {
628
615
  */
629
616
  name?: string | null;
630
617
  }
631
- /**
632
- * 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
633
- */
634
- export interface Schema$GoogleTypeDate {
635
- /**
636
- * 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.
637
- */
638
- day?: number | null;
639
- /**
640
- * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
641
- */
642
- month?: number | null;
643
- /**
644
- * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
645
- */
646
- year?: number | null;
647
- }
648
618
  /**
649
619
  * 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`.
650
620
  */
@@ -724,7 +694,7 @@ export namespace alloydb_v1alpha {
724
694
  */
725
695
  gceZone?: string | null;
726
696
  /**
727
- * Optional. Configuration parameters related to the Gemini in Databases add-on. See go/prd-enable-duet-ai-databases for more details.
697
+ * Optional. Configuration parameters related to the Gemini in Databases add-on.
728
698
  */
729
699
  geminiConfig?: Schema$GeminiInstanceConfig;
730
700
  /**
@@ -938,13 +908,18 @@ export namespace alloydb_v1alpha {
938
908
  cpuCount?: number | null;
939
909
  }
940
910
  /**
941
- * MaintenanceUpdatePolicy defines the policy for system updates.
911
+ * MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.
942
912
  */
943
- export interface Schema$MaintenanceUpdatePolicy {
913
+ export interface Schema$MaintenanceSchedule {
944
914
  /**
945
- * Periods to deny maintenance. Currently limited to 1.
915
+ * Output only. The scheduled start time for the maintenance.
946
916
  */
947
- denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
917
+ startTime?: string | null;
918
+ }
919
+ /**
920
+ * MaintenanceUpdatePolicy defines the policy for system updates.
921
+ */
922
+ export interface Schema$MaintenanceUpdatePolicy {
948
923
  /**
949
924
  * Preferred windows to perform maintenance. Currently limited to 1.
950
925
  */
@@ -1148,48 +1123,19 @@ export namespace alloydb_v1alpha {
1148
1123
  * PscInstanceConfig contains PSC related configuration at an instance level.
1149
1124
  */
1150
1125
  export interface Schema$PscInstanceConfig {
1151
- /**
1152
- * Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
1153
- */
1154
- allowedConsumerNetworks?: string[] | null;
1155
1126
  /**
1156
1127
  * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1157
1128
  */
1158
1129
  allowedConsumerProjects?: string[] | null;
1159
- /**
1160
- * 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.
1161
- */
1162
- outgoingServiceAttachmentLinks?: string[] | null;
1163
1130
  /**
1164
1131
  * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1165
1132
  */
1166
1133
  pscDnsName?: string | null;
1167
- /**
1168
- * Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
1169
- */
1170
- pscEnabled?: boolean | null;
1171
- /**
1172
- * 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.
1173
- */
1174
- pscInterfaceConfigs?: Schema$PscInterfaceConfig[];
1175
1134
  /**
1176
1135
  * 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/`
1177
1136
  */
1178
1137
  serviceAttachmentLink?: string | null;
1179
1138
  }
1180
- /**
1181
- * 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.
1182
- */
1183
- export interface Schema$PscInterfaceConfig {
1184
- /**
1185
- * 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.
1186
- */
1187
- consumerEndpointIps?: string[] | null;
1188
- /**
1189
- * 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.
1190
- */
1191
- networkAttachment?: string | null;
1192
- }
1193
1139
  /**
1194
1140
  * 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)
1195
1141
  */
@@ -1328,6 +1274,10 @@ export namespace alloydb_v1alpha {
1328
1274
  * Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
1329
1275
  */
1330
1276
  availabilityType?: string | null;
1277
+ /**
1278
+ * Checks for resources that are configured to have redundancy, and ongoing replication across regions
1279
+ */
1280
+ crossRegionReplicaConfigured?: boolean | null;
1331
1281
  externalReplicaConfigured?: boolean | null;
1332
1282
  promotableReplicaConfigured?: boolean | null;
1333
1283
  }
@@ -1885,6 +1835,7 @@ export namespace alloydb_v1alpha {
1885
1835
  {
1886
1836
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
1887
1837
  method: 'GET',
1838
+ apiVersion: '',
1888
1839
  },
1889
1840
  options
1890
1841
  ),
@@ -1979,6 +1930,7 @@ export namespace alloydb_v1alpha {
1979
1930
  '$1'
1980
1931
  ),
1981
1932
  method: 'GET',
1933
+ apiVersion: '',
1982
1934
  },
1983
1935
  options
1984
1936
  ),
@@ -2102,6 +2054,7 @@ export namespace alloydb_v1alpha {
2102
2054
  '$1'
2103
2055
  ),
2104
2056
  method: 'POST',
2057
+ apiVersion: '',
2105
2058
  },
2106
2059
  options
2107
2060
  ),
@@ -2186,6 +2139,7 @@ export namespace alloydb_v1alpha {
2186
2139
  {
2187
2140
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2188
2141
  method: 'DELETE',
2142
+ apiVersion: '',
2189
2143
  },
2190
2144
  options
2191
2145
  ),
@@ -2270,6 +2224,7 @@ export namespace alloydb_v1alpha {
2270
2224
  {
2271
2225
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2272
2226
  method: 'GET',
2227
+ apiVersion: '',
2273
2228
  },
2274
2229
  options
2275
2230
  ),
@@ -2360,6 +2315,7 @@ export namespace alloydb_v1alpha {
2360
2315
  '$1'
2361
2316
  ),
2362
2317
  method: 'GET',
2318
+ apiVersion: '',
2363
2319
  },
2364
2320
  options
2365
2321
  ),
@@ -2444,6 +2400,7 @@ export namespace alloydb_v1alpha {
2444
2400
  {
2445
2401
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2446
2402
  method: 'PATCH',
2403
+ apiVersion: '',
2447
2404
  },
2448
2405
  options
2449
2406
  ),
@@ -2646,6 +2603,7 @@ export namespace alloydb_v1alpha {
2646
2603
  '$1'
2647
2604
  ),
2648
2605
  method: 'POST',
2606
+ apiVersion: '',
2649
2607
  },
2650
2608
  options
2651
2609
  ),
@@ -2733,6 +2691,7 @@ export namespace alloydb_v1alpha {
2733
2691
  rootUrl + '/v1alpha/{+parent}/clusters:createsecondary'
2734
2692
  ).replace(/([^:]\/)\/+/g, '$1'),
2735
2693
  method: 'POST',
2694
+ apiVersion: '',
2736
2695
  },
2737
2696
  options
2738
2697
  ),
@@ -2817,6 +2776,7 @@ export namespace alloydb_v1alpha {
2817
2776
  {
2818
2777
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2819
2778
  method: 'DELETE',
2779
+ apiVersion: '',
2820
2780
  },
2821
2781
  options
2822
2782
  ),
@@ -2901,6 +2861,7 @@ export namespace alloydb_v1alpha {
2901
2861
  {
2902
2862
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2903
2863
  method: 'GET',
2864
+ apiVersion: '',
2904
2865
  },
2905
2866
  options
2906
2867
  ),
@@ -2993,6 +2954,7 @@ export namespace alloydb_v1alpha {
2993
2954
  '$1'
2994
2955
  ),
2995
2956
  method: 'GET',
2957
+ apiVersion: '',
2996
2958
  },
2997
2959
  options
2998
2960
  ),
@@ -3077,6 +3039,7 @@ export namespace alloydb_v1alpha {
3077
3039
  {
3078
3040
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3079
3041
  method: 'PATCH',
3042
+ apiVersion: '',
3080
3043
  },
3081
3044
  options
3082
3045
  ),
@@ -3164,6 +3127,7 @@ export namespace alloydb_v1alpha {
3164
3127
  '$1'
3165
3128
  ),
3166
3129
  method: 'POST',
3130
+ apiVersion: '',
3167
3131
  },
3168
3132
  options
3169
3133
  ),
@@ -3251,6 +3215,7 @@ export namespace alloydb_v1alpha {
3251
3215
  '$1'
3252
3216
  ),
3253
3217
  method: 'POST',
3218
+ apiVersion: '',
3254
3219
  },
3255
3220
  options
3256
3221
  ),
@@ -3504,6 +3469,7 @@ export namespace alloydb_v1alpha {
3504
3469
  '$1'
3505
3470
  ),
3506
3471
  method: 'POST',
3472
+ apiVersion: '',
3507
3473
  },
3508
3474
  options
3509
3475
  ),
@@ -3591,6 +3557,7 @@ export namespace alloydb_v1alpha {
3591
3557
  rootUrl + '/v1alpha/{+parent}/instances:createsecondary'
3592
3558
  ).replace(/([^:]\/)\/+/g, '$1'),
3593
3559
  method: 'POST',
3560
+ apiVersion: '',
3594
3561
  },
3595
3562
  options
3596
3563
  ),
@@ -3676,6 +3643,7 @@ export namespace alloydb_v1alpha {
3676
3643
  {
3677
3644
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3678
3645
  method: 'DELETE',
3646
+ apiVersion: '',
3679
3647
  },
3680
3648
  options
3681
3649
  ),
@@ -3764,6 +3732,7 @@ export namespace alloydb_v1alpha {
3764
3732
  '$1'
3765
3733
  ),
3766
3734
  method: 'POST',
3735
+ apiVersion: '',
3767
3736
  },
3768
3737
  options
3769
3738
  ),
@@ -3849,6 +3818,7 @@ export namespace alloydb_v1alpha {
3849
3818
  {
3850
3819
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3851
3820
  method: 'GET',
3821
+ apiVersion: '',
3852
3822
  },
3853
3823
  options
3854
3824
  ),
@@ -3939,6 +3909,7 @@ export namespace alloydb_v1alpha {
3939
3909
  '$1'
3940
3910
  ),
3941
3911
  method: 'GET',
3912
+ apiVersion: '',
3942
3913
  },
3943
3914
  options
3944
3915
  ),
@@ -4027,6 +3998,7 @@ export namespace alloydb_v1alpha {
4027
3998
  '$1'
4028
3999
  ),
4029
4000
  method: 'POST',
4001
+ apiVersion: '',
4030
4002
  },
4031
4003
  options
4032
4004
  ),
@@ -4120,6 +4092,7 @@ export namespace alloydb_v1alpha {
4120
4092
  '$1'
4121
4093
  ),
4122
4094
  method: 'GET',
4095
+ apiVersion: '',
4123
4096
  },
4124
4097
  options
4125
4098
  ),
@@ -4205,6 +4178,7 @@ export namespace alloydb_v1alpha {
4205
4178
  {
4206
4179
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4207
4180
  method: 'PATCH',
4181
+ apiVersion: '',
4208
4182
  },
4209
4183
  options
4210
4184
  ),
@@ -4293,6 +4267,7 @@ export namespace alloydb_v1alpha {
4293
4267
  '$1'
4294
4268
  ),
4295
4269
  method: 'POST',
4270
+ apiVersion: '',
4296
4271
  },
4297
4272
  options
4298
4273
  ),
@@ -4564,6 +4539,7 @@ export namespace alloydb_v1alpha {
4564
4539
  '$1'
4565
4540
  ),
4566
4541
  method: 'POST',
4542
+ apiVersion: '',
4567
4543
  },
4568
4544
  options
4569
4545
  ),
@@ -4648,6 +4624,7 @@ export namespace alloydb_v1alpha {
4648
4624
  {
4649
4625
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4650
4626
  method: 'DELETE',
4627
+ apiVersion: '',
4651
4628
  },
4652
4629
  options
4653
4630
  ),
@@ -4732,6 +4709,7 @@ export namespace alloydb_v1alpha {
4732
4709
  {
4733
4710
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4734
4711
  method: 'GET',
4712
+ apiVersion: '',
4735
4713
  },
4736
4714
  options
4737
4715
  ),
@@ -4822,6 +4800,7 @@ export namespace alloydb_v1alpha {
4822
4800
  '$1'
4823
4801
  ),
4824
4802
  method: 'GET',
4803
+ apiVersion: '',
4825
4804
  },
4826
4805
  options
4827
4806
  ),
@@ -4906,6 +4885,7 @@ export namespace alloydb_v1alpha {
4906
4885
  {
4907
4886
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4908
4887
  method: 'PATCH',
4888
+ apiVersion: '',
4909
4889
  },
4910
4890
  options
4911
4891
  ),
@@ -5098,6 +5078,7 @@ export namespace alloydb_v1alpha {
5098
5078
  '$1'
5099
5079
  ),
5100
5080
  method: 'POST',
5081
+ apiVersion: '',
5101
5082
  },
5102
5083
  options
5103
5084
  ),
@@ -5182,6 +5163,7 @@ export namespace alloydb_v1alpha {
5182
5163
  {
5183
5164
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
5184
5165
  method: 'DELETE',
5166
+ apiVersion: '',
5185
5167
  },
5186
5168
  options
5187
5169
  ),
@@ -5266,6 +5248,7 @@ export namespace alloydb_v1alpha {
5266
5248
  {
5267
5249
  url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'),
5268
5250
  method: 'GET',
5251
+ apiVersion: '',
5269
5252
  },
5270
5253
  options
5271
5254
  ),
@@ -5358,6 +5341,7 @@ export namespace alloydb_v1alpha {
5358
5341
  '$1'
5359
5342
  ),
5360
5343
  method: 'GET',
5344
+ apiVersion: '',
5361
5345
  },
5362
5346
  options
5363
5347
  ),
@@ -5505,6 +5489,7 @@ export namespace alloydb_v1alpha {
5505
5489
  rootUrl + '/v1alpha/{+parent}/supportedDatabaseFlags'
5506
5490
  ).replace(/([^:]\/)\/+/g, '$1'),
5507
5491
  method: 'GET',
5492
+ apiVersion: '',
5508
5493
  },
5509
5494
  options
5510
5495
  ),