@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/v1.ts CHANGED
@@ -370,6 +370,14 @@ export namespace alloydb_v1 {
370
370
  * Labels as key value pairs
371
371
  */
372
372
  labels?: {[key: string]: string} | null;
373
+ /**
374
+ * Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.
375
+ */
376
+ maintenanceSchedule?: Schema$MaintenanceSchedule;
377
+ /**
378
+ * Optional. The maintenance update policy determines when to allow or deny updates.
379
+ */
380
+ maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy;
373
381
  /**
374
382
  * Output only. Cluster created via DMS migration.
375
383
  */
@@ -387,6 +395,10 @@ export namespace alloydb_v1 {
387
395
  * Output only. Cross Region replication config specific to PRIMARY cluster.
388
396
  */
389
397
  primaryConfig?: Schema$PrimaryConfig;
398
+ /**
399
+ * Optional. The configuration for Private Service Connect (PSC) for the cluster.
400
+ */
401
+ pscConfig?: Schema$PscConfig;
390
402
  /**
391
403
  * 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.
392
404
  */
@@ -671,6 +683,10 @@ export namespace alloydb_v1 {
671
683
  * Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
672
684
  */
673
685
  nodes?: Schema$Node[];
686
+ /**
687
+ * Optional. The configuration for Private Service Connect (PSC) for the instance.
688
+ */
689
+ pscInstanceConfig?: Schema$PscInstanceConfig;
674
690
  /**
675
691
  * 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.
676
692
  */
@@ -837,6 +853,37 @@ export namespace alloydb_v1 {
837
853
  */
838
854
  cpuCount?: number | null;
839
855
  }
856
+ /**
857
+ * 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.
858
+ */
859
+ export interface Schema$MaintenanceSchedule {
860
+ /**
861
+ * Output only. The scheduled start time for the maintenance.
862
+ */
863
+ startTime?: string | null;
864
+ }
865
+ /**
866
+ * MaintenanceUpdatePolicy defines the policy for system updates.
867
+ */
868
+ export interface Schema$MaintenanceUpdatePolicy {
869
+ /**
870
+ * Preferred windows to perform maintenance. Currently limited to 1.
871
+ */
872
+ maintenanceWindows?: Schema$MaintenanceWindow[];
873
+ }
874
+ /**
875
+ * MaintenanceWindow specifies a preferred day and time for maintenance.
876
+ */
877
+ export interface Schema$MaintenanceWindow {
878
+ /**
879
+ * Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
880
+ */
881
+ day?: string | null;
882
+ /**
883
+ * Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
884
+ */
885
+ startTime?: Schema$GoogleTypeTimeOfDay;
886
+ }
840
887
  /**
841
888
  * Subset of the source instance configuration that is available when reading the cluster resource.
842
889
  */
@@ -972,6 +1019,32 @@ export namespace alloydb_v1 {
972
1019
  */
973
1020
  validateOnly?: boolean | null;
974
1021
  }
1022
+ /**
1023
+ * PscConfig contains PSC related configuration at a cluster level.
1024
+ */
1025
+ export interface Schema$PscConfig {
1026
+ /**
1027
+ * Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.
1028
+ */
1029
+ pscEnabled?: boolean | null;
1030
+ }
1031
+ /**
1032
+ * PscInstanceConfig contains PSC related configuration at an instance level.
1033
+ */
1034
+ export interface Schema$PscInstanceConfig {
1035
+ /**
1036
+ * Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
1037
+ */
1038
+ allowedConsumerProjects?: string[] | null;
1039
+ /**
1040
+ * Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
1041
+ */
1042
+ pscDnsName?: string | null;
1043
+ /**
1044
+ * 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/`
1045
+ */
1046
+ serviceAttachmentLink?: string | null;
1047
+ }
975
1048
  /**
976
1049
  * 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)
977
1050
  */
@@ -1110,6 +1183,10 @@ export namespace alloydb_v1 {
1110
1183
  * 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).
1111
1184
  */
1112
1185
  availabilityType?: string | null;
1186
+ /**
1187
+ * Checks for resources that are configured to have redundancy, and ongoing replication across regions
1188
+ */
1189
+ crossRegionReplicaConfigured?: boolean | null;
1113
1190
  externalReplicaConfigured?: boolean | null;
1114
1191
  promotableReplicaConfigured?: boolean | null;
1115
1192
  }
@@ -1658,6 +1735,7 @@ export namespace alloydb_v1 {
1658
1735
  {
1659
1736
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
1660
1737
  method: 'GET',
1738
+ apiVersion: '',
1661
1739
  },
1662
1740
  options
1663
1741
  ),
@@ -1752,6 +1830,7 @@ export namespace alloydb_v1 {
1752
1830
  '$1'
1753
1831
  ),
1754
1832
  method: 'GET',
1833
+ apiVersion: '',
1755
1834
  },
1756
1835
  options
1757
1836
  ),
@@ -1875,6 +1954,7 @@ export namespace alloydb_v1 {
1875
1954
  '$1'
1876
1955
  ),
1877
1956
  method: 'POST',
1957
+ apiVersion: '',
1878
1958
  },
1879
1959
  options
1880
1960
  ),
@@ -1959,6 +2039,7 @@ export namespace alloydb_v1 {
1959
2039
  {
1960
2040
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
1961
2041
  method: 'DELETE',
2042
+ apiVersion: '',
1962
2043
  },
1963
2044
  options
1964
2045
  ),
@@ -2043,6 +2124,7 @@ export namespace alloydb_v1 {
2043
2124
  {
2044
2125
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2045
2126
  method: 'GET',
2127
+ apiVersion: '',
2046
2128
  },
2047
2129
  options
2048
2130
  ),
@@ -2133,6 +2215,7 @@ export namespace alloydb_v1 {
2133
2215
  '$1'
2134
2216
  ),
2135
2217
  method: 'GET',
2218
+ apiVersion: '',
2136
2219
  },
2137
2220
  options
2138
2221
  ),
@@ -2217,6 +2300,7 @@ export namespace alloydb_v1 {
2217
2300
  {
2218
2301
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2219
2302
  method: 'PATCH',
2303
+ apiVersion: '',
2220
2304
  },
2221
2305
  options
2222
2306
  ),
@@ -2419,6 +2503,7 @@ export namespace alloydb_v1 {
2419
2503
  '$1'
2420
2504
  ),
2421
2505
  method: 'POST',
2506
+ apiVersion: '',
2422
2507
  },
2423
2508
  options
2424
2509
  ),
@@ -2507,6 +2592,7 @@ export namespace alloydb_v1 {
2507
2592
  '$1'
2508
2593
  ),
2509
2594
  method: 'POST',
2595
+ apiVersion: '',
2510
2596
  },
2511
2597
  options
2512
2598
  ),
@@ -2591,6 +2677,7 @@ export namespace alloydb_v1 {
2591
2677
  {
2592
2678
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2593
2679
  method: 'DELETE',
2680
+ apiVersion: '',
2594
2681
  },
2595
2682
  options
2596
2683
  ),
@@ -2675,6 +2762,7 @@ export namespace alloydb_v1 {
2675
2762
  {
2676
2763
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2677
2764
  method: 'GET',
2765
+ apiVersion: '',
2678
2766
  },
2679
2767
  options
2680
2768
  ),
@@ -2767,6 +2855,7 @@ export namespace alloydb_v1 {
2767
2855
  '$1'
2768
2856
  ),
2769
2857
  method: 'GET',
2858
+ apiVersion: '',
2770
2859
  },
2771
2860
  options
2772
2861
  ),
@@ -2851,6 +2940,7 @@ export namespace alloydb_v1 {
2851
2940
  {
2852
2941
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2853
2942
  method: 'PATCH',
2943
+ apiVersion: '',
2854
2944
  },
2855
2945
  options
2856
2946
  ),
@@ -2938,6 +3028,7 @@ export namespace alloydb_v1 {
2938
3028
  '$1'
2939
3029
  ),
2940
3030
  method: 'POST',
3031
+ apiVersion: '',
2941
3032
  },
2942
3033
  options
2943
3034
  ),
@@ -3025,6 +3116,7 @@ export namespace alloydb_v1 {
3025
3116
  '$1'
3026
3117
  ),
3027
3118
  method: 'POST',
3119
+ apiVersion: '',
3028
3120
  },
3029
3121
  options
3030
3122
  ),
@@ -3278,6 +3370,7 @@ export namespace alloydb_v1 {
3278
3370
  '$1'
3279
3371
  ),
3280
3372
  method: 'POST',
3373
+ apiVersion: '',
3281
3374
  },
3282
3375
  options
3283
3376
  ),
@@ -3366,6 +3459,7 @@ export namespace alloydb_v1 {
3366
3459
  '$1'
3367
3460
  ),
3368
3461
  method: 'POST',
3462
+ apiVersion: '',
3369
3463
  },
3370
3464
  options
3371
3465
  ),
@@ -3451,6 +3545,7 @@ export namespace alloydb_v1 {
3451
3545
  {
3452
3546
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3453
3547
  method: 'DELETE',
3548
+ apiVersion: '',
3454
3549
  },
3455
3550
  options
3456
3551
  ),
@@ -3539,6 +3634,7 @@ export namespace alloydb_v1 {
3539
3634
  '$1'
3540
3635
  ),
3541
3636
  method: 'POST',
3637
+ apiVersion: '',
3542
3638
  },
3543
3639
  options
3544
3640
  ),
@@ -3624,6 +3720,7 @@ export namespace alloydb_v1 {
3624
3720
  {
3625
3721
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3626
3722
  method: 'GET',
3723
+ apiVersion: '',
3627
3724
  },
3628
3725
  options
3629
3726
  ),
@@ -3714,6 +3811,7 @@ export namespace alloydb_v1 {
3714
3811
  '$1'
3715
3812
  ),
3716
3813
  method: 'GET',
3814
+ apiVersion: '',
3717
3815
  },
3718
3816
  options
3719
3817
  ),
@@ -3802,6 +3900,7 @@ export namespace alloydb_v1 {
3802
3900
  '$1'
3803
3901
  ),
3804
3902
  method: 'POST',
3903
+ apiVersion: '',
3805
3904
  },
3806
3905
  options
3807
3906
  ),
@@ -3895,6 +3994,7 @@ export namespace alloydb_v1 {
3895
3994
  '$1'
3896
3995
  ),
3897
3996
  method: 'GET',
3997
+ apiVersion: '',
3898
3998
  },
3899
3999
  options
3900
4000
  ),
@@ -3980,6 +4080,7 @@ export namespace alloydb_v1 {
3980
4080
  {
3981
4081
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3982
4082
  method: 'PATCH',
4083
+ apiVersion: '',
3983
4084
  },
3984
4085
  options
3985
4086
  ),
@@ -4068,6 +4169,7 @@ export namespace alloydb_v1 {
4068
4169
  '$1'
4069
4170
  ),
4070
4171
  method: 'POST',
4172
+ apiVersion: '',
4071
4173
  },
4072
4174
  options
4073
4175
  ),
@@ -4339,6 +4441,7 @@ export namespace alloydb_v1 {
4339
4441
  '$1'
4340
4442
  ),
4341
4443
  method: 'POST',
4444
+ apiVersion: '',
4342
4445
  },
4343
4446
  options
4344
4447
  ),
@@ -4423,6 +4526,7 @@ export namespace alloydb_v1 {
4423
4526
  {
4424
4527
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4425
4528
  method: 'DELETE',
4529
+ apiVersion: '',
4426
4530
  },
4427
4531
  options
4428
4532
  ),
@@ -4507,6 +4611,7 @@ export namespace alloydb_v1 {
4507
4611
  {
4508
4612
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4509
4613
  method: 'GET',
4614
+ apiVersion: '',
4510
4615
  },
4511
4616
  options
4512
4617
  ),
@@ -4597,6 +4702,7 @@ export namespace alloydb_v1 {
4597
4702
  '$1'
4598
4703
  ),
4599
4704
  method: 'GET',
4705
+ apiVersion: '',
4600
4706
  },
4601
4707
  options
4602
4708
  ),
@@ -4681,6 +4787,7 @@ export namespace alloydb_v1 {
4681
4787
  {
4682
4788
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4683
4789
  method: 'PATCH',
4790
+ apiVersion: '',
4684
4791
  },
4685
4792
  options
4686
4793
  ),
@@ -4870,6 +4977,7 @@ export namespace alloydb_v1 {
4870
4977
  {
4871
4978
  url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
4872
4979
  method: 'POST',
4980
+ apiVersion: '',
4873
4981
  },
4874
4982
  options
4875
4983
  ),
@@ -4954,6 +5062,7 @@ export namespace alloydb_v1 {
4954
5062
  {
4955
5063
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4956
5064
  method: 'DELETE',
5065
+ apiVersion: '',
4957
5066
  },
4958
5067
  options
4959
5068
  ),
@@ -5038,6 +5147,7 @@ export namespace alloydb_v1 {
5038
5147
  {
5039
5148
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
5040
5149
  method: 'GET',
5150
+ apiVersion: '',
5041
5151
  },
5042
5152
  options
5043
5153
  ),
@@ -5130,6 +5240,7 @@ export namespace alloydb_v1 {
5130
5240
  '$1'
5131
5241
  ),
5132
5242
  method: 'GET',
5243
+ apiVersion: '',
5133
5244
  },
5134
5245
  options
5135
5246
  ),
@@ -5278,6 +5389,7 @@ export namespace alloydb_v1 {
5278
5389
  '$1'
5279
5390
  ),
5280
5391
  method: 'GET',
5392
+ apiVersion: '',
5281
5393
  },
5282
5394
  options
5283
5395
  ),