Skip to content

Commit 067bc09

Browse files
feat(alloydb): update the api
#### alloydb:v1alpha The following keys were added: - schemas.Cluster.properties.subscriptionType.type (Total Keys: 1) - schemas.Cluster.properties.trialMetadata (Total Keys: 2) - schemas.TrialMetadata (Total Keys: 8) #### alloydb:v1beta The following keys were added: - schemas.Cluster.properties.subscriptionType.type (Total Keys: 1) - schemas.Cluster.properties.trialMetadata (Total Keys: 2) - schemas.TrialMetadata (Total Keys: 8)
1 parent 32b4ce5 commit 067bc09

File tree

5 files changed

+199
-15
lines changed

5 files changed

+199
-15
lines changed

docs/dyn/alloydb_v1alpha.projects.locations.clusters.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ <h3>Method Details</h3>
258258
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
259259
},
260260
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
261+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
262+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
263+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
264+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
265+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
266+
},
261267
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
262268
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
263269
}
@@ -432,6 +438,12 @@ <h3>Method Details</h3>
432438
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
433439
},
434440
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
441+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
442+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
443+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
444+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
445+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
446+
},
435447
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
436448
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
437449
}
@@ -655,6 +667,12 @@ <h3>Method Details</h3>
655667
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
656668
},
657669
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
670+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
671+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
672+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
673+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
674+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
675+
},
658676
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
659677
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
660678
}</pre>
@@ -809,6 +827,12 @@ <h3>Method Details</h3>
809827
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
810828
},
811829
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
830+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
831+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
832+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
833+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
834+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
835+
},
812836
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
813837
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
814838
},
@@ -972,6 +996,12 @@ <h3>Method Details</h3>
972996
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
973997
},
974998
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
999+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
1000+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
1001+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
1002+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
1003+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
1004+
},
9751005
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
9761006
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
9771007
}
@@ -1196,6 +1226,12 @@ <h3>Method Details</h3>
11961226
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
11971227
},
11981228
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
1229+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
1230+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
1231+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
1232+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
1233+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
1234+
},
11991235
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
12001236
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
12011237
},

docs/dyn/alloydb_v1beta.projects.locations.clusters.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,12 @@ <h3>Method Details</h3>
257257
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
258258
},
259259
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
260+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
261+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
262+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
263+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
264+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
265+
},
260266
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
261267
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
262268
}
@@ -430,6 +436,12 @@ <h3>Method Details</h3>
430436
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
431437
},
432438
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
439+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
440+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
441+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
442+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
443+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
444+
},
433445
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
434446
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
435447
}
@@ -652,6 +664,12 @@ <h3>Method Details</h3>
652664
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
653665
},
654666
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
667+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
668+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
669+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
670+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
671+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
672+
},
655673
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
656674
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
657675
}</pre>
@@ -805,6 +823,12 @@ <h3>Method Details</h3>
805823
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
806824
},
807825
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
826+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
827+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
828+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
829+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
830+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
831+
},
808832
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
809833
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
810834
},
@@ -967,6 +991,12 @@ <h3>Method Details</h3>
967991
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
968992
},
969993
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
994+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
995+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
996+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
997+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
998+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
999+
},
9701000
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
9711001
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
9721002
}
@@ -1190,6 +1220,12 @@ <h3>Method Details</h3>
11901220
&quot;sslMode&quot;: &quot;A String&quot;, # Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
11911221
},
11921222
&quot;state&quot;: &quot;A String&quot;, # Output only. The current serving state of the cluster.
1223+
&quot;subscriptionType&quot;: &quot;A String&quot;, # Optional. Subscription type of the cluster.
1224+
&quot;trialMetadata&quot;: { # Contains information and all metadata related to TRIAL clusters. # Output only. Metadata for free trial clusters
1225+
&quot;endTime&quot;: &quot;A String&quot;, # End time of the trial cluster.
1226+
&quot;startTime&quot;: &quot;A String&quot;, # start time of the trial cluster.
1227+
&quot;upgradeTime&quot;: &quot;A String&quot;, # Upgrade time of trial cluster to Standard cluster.
1228+
},
11931229
&quot;uid&quot;: &quot;A String&quot;, # Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
11941230
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
11951231
},

googleapiclient/discovery_cache/documents/alloydb.v1.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@
14611461
}
14621462
}
14631463
},
1464-
"revision": "20240529",
1464+
"revision": "20240605",
14651465
"rootUrl": "https://alloydb.googleapis.com/",
14661466
"schemas": {
14671467
"AuthorizedNetwork": {
@@ -4175,11 +4175,17 @@ false
41754175
"description": "Required. Type of aggregation performed on the metric.",
41764176
"enum": [
41774177
"AGGREGATION_TYPE_UNSPECIFIED",
4178-
"MAXIMUM"
4178+
"PEAK",
4179+
"P99",
4180+
"P95",
4181+
"CURRENT"
41794182
],
41804183
"enumDescriptions": [
41814184
"Unspecified aggregation type.",
4182-
"Maximum aggregation type."
4185+
"PEAK aggregation type.",
4186+
"P99 aggregation type.",
4187+
"P95 aggregation type.",
4188+
"current aggregation type."
41834189
],
41844190
"type": "string"
41854191
},
@@ -4189,13 +4195,17 @@ false
41894195
"METRIC_TYPE_UNSPECIFIED",
41904196
"CPU_UTILIZATION",
41914197
"MEMORY_UTILIZATION",
4192-
"NETWORK_CONNECTIONS"
4198+
"NETWORK_CONNECTIONS",
4199+
"STORAGE_UTILIZATION",
4200+
"STORAGE_USED_BYTES"
41934201
],
41944202
"enumDescriptions": [
41954203
"Unspecified metric type.",
41964204
"CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
41974205
"Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
4198-
"Number of network connections for a resource."
4206+
"Number of network connections for a resource.",
4207+
"Storage utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
4208+
"Sotrage used by a resource."
41994209
],
42004210
"type": "string"
42014211
},

googleapiclient/discovery_cache/documents/alloydb.v1alpha.json

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@
14611461
}
14621462
}
14631463
},
1464-
"revision": "20240529",
1464+
"revision": "20240605",
14651465
"rootUrl": "https://alloydb.googleapis.com/",
14661466
"schemas": {
14671467
"AuthorizedNetwork": {
@@ -1954,6 +1954,25 @@ false
19541954
"readOnly": true,
19551955
"type": "string"
19561956
},
1957+
"subscriptionType": {
1958+
"description": "Optional. Subscription type of the cluster.",
1959+
"enum": [
1960+
"SUBSCRIPTION_TYPE_UNSPECIFIED",
1961+
"STANDARD",
1962+
"TRIAL"
1963+
],
1964+
"enumDescriptions": [
1965+
"This is an unknown Subscription type (By default, Subscription Type is STANDARD)",
1966+
"Standard subscription.",
1967+
"Trial subscription."
1968+
],
1969+
"type": "string"
1970+
},
1971+
"trialMetadata": {
1972+
"$ref": "TrialMetadata",
1973+
"description": "Output only. Metadata for free trial clusters",
1974+
"readOnly": true
1975+
},
19571976
"uid": {
19581977
"description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.",
19591978
"readOnly": true,
@@ -4298,11 +4317,17 @@ false
42984317
"description": "Required. Type of aggregation performed on the metric.",
42994318
"enum": [
43004319
"AGGREGATION_TYPE_UNSPECIFIED",
4301-
"MAXIMUM"
4320+
"PEAK",
4321+
"P99",
4322+
"P95",
4323+
"CURRENT"
43024324
],
43034325
"enumDescriptions": [
43044326
"Unspecified aggregation type.",
4305-
"Maximum aggregation type."
4327+
"PEAK aggregation type.",
4328+
"P99 aggregation type.",
4329+
"P95 aggregation type.",
4330+
"current aggregation type."
43064331
],
43074332
"type": "string"
43084333
},
@@ -4312,13 +4337,17 @@ false
43124337
"METRIC_TYPE_UNSPECIFIED",
43134338
"CPU_UTILIZATION",
43144339
"MEMORY_UTILIZATION",
4315-
"NETWORK_CONNECTIONS"
4340+
"NETWORK_CONNECTIONS",
4341+
"STORAGE_UTILIZATION",
4342+
"STORAGE_USED_BYTES"
43164343
],
43174344
"enumDescriptions": [
43184345
"Unspecified metric type.",
43194346
"CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
43204347
"Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
4321-
"Number of network connections for a resource."
4348+
"Number of network connections for a resource.",
4349+
"Storage utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
4350+
"Sotrage used by a resource."
43224351
],
43234352
"type": "string"
43244353
},
@@ -4647,6 +4676,28 @@ false
46474676
},
46484677
"type": "object"
46494678
},
4679+
"TrialMetadata": {
4680+
"description": "Contains information and all metadata related to TRIAL clusters.",
4681+
"id": "TrialMetadata",
4682+
"properties": {
4683+
"endTime": {
4684+
"description": "End time of the trial cluster.",
4685+
"format": "google-datetime",
4686+
"type": "string"
4687+
},
4688+
"startTime": {
4689+
"description": "start time of the trial cluster.",
4690+
"format": "google-datetime",
4691+
"type": "string"
4692+
},
4693+
"upgradeTime": {
4694+
"description": "Upgrade time of trial cluster to Standard cluster.",
4695+
"format": "google-datetime",
4696+
"type": "string"
4697+
}
4698+
},
4699+
"type": "object"
4700+
},
46504701
"UpdatePolicy": {
46514702
"description": "Policy to be used while updating the instance.",
46524703
"id": "UpdatePolicy",

0 commit comments

Comments
 (0)