Skip to content

Commit 00cc78c

Browse files
feat(alloydb): update the api
#### alloydb:v1 The following keys were added: - schemas.Instance.properties.activationPolicy.type (Total Keys: 1) #### alloydb:v1alpha The following keys were added: - schemas.Instance.properties.activationPolicy.type (Total Keys: 1) #### alloydb:v1beta The following keys were added: - schemas.Instance.properties.activationPolicy.type (Total Keys: 1)
1 parent 04c643f commit 00cc78c

6 files changed

+201
-27
lines changed

docs/dyn/alloydb_v1.projects.locations.clusters.instances.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ <h3>Method Details</h3>
126126
The object takes the form of:
127127

128128
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
129+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
129130
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
130131
&quot;a_key&quot;: &quot;A String&quot;,
131132
},
@@ -272,6 +273,7 @@ <h3>Method Details</h3>
272273
The object takes the form of:
273274

274275
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
276+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
275277
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
276278
&quot;a_key&quot;: &quot;A String&quot;,
277279
},
@@ -509,6 +511,7 @@ <h3>Method Details</h3>
509511
An object of the form:
510512

511513
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
514+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
512515
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
513516
&quot;a_key&quot;: &quot;A String&quot;,
514517
},
@@ -702,6 +705,7 @@ <h3>Method Details</h3>
702705
{ # Message for response to listing Instances
703706
&quot;instances&quot;: [ # The list of Instance
704707
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
708+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
705709
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
706710
&quot;a_key&quot;: &quot;A String&quot;,
707711
},
@@ -837,6 +841,7 @@ <h3>Method Details</h3>
837841
The object takes the form of:
838842

839843
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
844+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
840845
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
841846
&quot;a_key&quot;: &quot;A String&quot;,
842847
},

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ <h3>Method Details</h3>
126126
The object takes the form of:
127127

128128
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
129+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
129130
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
130131
&quot;a_key&quot;: &quot;A String&quot;,
131132
},
@@ -303,6 +304,7 @@ <h3>Method Details</h3>
303304
The object takes the form of:
304305

305306
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
307+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
306308
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
307309
&quot;a_key&quot;: &quot;A String&quot;,
308310
},
@@ -571,6 +573,7 @@ <h3>Method Details</h3>
571573
An object of the form:
572574

573575
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
576+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
574577
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
575578
&quot;a_key&quot;: &quot;A String&quot;,
576579
},
@@ -799,6 +802,7 @@ <h3>Method Details</h3>
799802
{ # Message for response to listing Instances
800803
&quot;instances&quot;: [ # The list of Instance
801804
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
805+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
802806
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
803807
&quot;a_key&quot;: &quot;A String&quot;,
804808
},
@@ -965,6 +969,7 @@ <h3>Method Details</h3>
965969
The object takes the form of:
966970

967971
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
972+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
968973
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
969974
&quot;a_key&quot;: &quot;A String&quot;,
970975
},

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ <h3>Method Details</h3>
126126
The object takes the form of:
127127

128128
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
129+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
129130
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
130131
&quot;a_key&quot;: &quot;A String&quot;,
131132
},
@@ -302,6 +303,7 @@ <h3>Method Details</h3>
302303
The object takes the form of:
303304

304305
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
306+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
305307
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
306308
&quot;a_key&quot;: &quot;A String&quot;,
307309
},
@@ -569,6 +571,7 @@ <h3>Method Details</h3>
569571
An object of the form:
570572

571573
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
574+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
572575
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
573576
&quot;a_key&quot;: &quot;A String&quot;,
574577
},
@@ -796,6 +799,7 @@ <h3>Method Details</h3>
796799
{ # Message for response to listing Instances
797800
&quot;instances&quot;: [ # The list of Instance
798801
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
802+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
799803
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
800804
&quot;a_key&quot;: &quot;A String&quot;,
801805
},
@@ -961,6 +965,7 @@ <h3>Method Details</h3>
961965
The object takes the form of:
962966

963967
{ # An Instance is a computing unit that an end customer can connect to. It&#x27;s the main unit of computing resources in AlloyDB.
968+
&quot;activationPolicy&quot;: &quot;A String&quot;, # Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.
964969
&quot;annotations&quot;: { # Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
965970
&quot;a_key&quot;: &quot;A String&quot;,
966971
},

googleapiclient/discovery_cache/documents/alloydb.v1.json

Lines changed: 62 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@
16221622
}
16231623
}
16241624
},
1625-
"revision": "20250410",
1625+
"revision": "20250417",
16261626
"rootUrl": "https://alloydb.googleapis.com/",
16271627
"schemas": {
16281628
"AuthorizedNetwork": {
@@ -2737,6 +2737,20 @@ false
27372737
"description": "An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.",
27382738
"id": "Instance",
27392739
"properties": {
2740+
"activationPolicy": {
2741+
"description": "Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.",
2742+
"enum": [
2743+
"ACTIVATION_POLICY_UNSPECIFIED",
2744+
"ALWAYS",
2745+
"NEVER"
2746+
],
2747+
"enumDescriptions": [
2748+
"The policy is not specified.",
2749+
"The instance is running.",
2750+
"The instance is not running."
2751+
],
2752+
"type": "string"
2753+
},
27402754
"annotations": {
27412755
"additionalProperties": {
27422756
"type": "string"
@@ -4352,7 +4366,13 @@ false
43524366
"SIGNAL_TYPE_NO_DELETION_PROTECTION",
43534367
"SIGNAL_TYPE_INEFFICIENT_QUERY",
43544368
"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD",
4355-
"SIGNAL_TYPE_MEMORY_LIMIT"
4369+
"SIGNAL_TYPE_MEMORY_LIMIT",
4370+
"SIGNAL_TYPE_MAX_SERVER_MEMORY",
4371+
"SIGNAL_TYPE_LARGE_ROWS",
4372+
"SIGNAL_TYPE_HIGH_WRITE_PRESSURE",
4373+
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
4374+
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
4375+
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"
43564376
],
43574377
"enumDeprecated": [
43584378
false,
@@ -4444,6 +4464,12 @@ false,
44444464
false,
44454465
false,
44464466
false,
4467+
false,
4468+
false,
4469+
false,
4470+
false,
4471+
false,
4472+
false,
44474473
false
44484474
],
44494475
"enumDescriptions": [
@@ -4536,7 +4562,13 @@ false
45364562
"Deletion Protection Disabled for the resource",
45374563
"Indicates that the instance has inefficient queries detected.",
45384564
"Indicates that the instance has read intensive workload.",
4539-
"Indicates that the instance is nearing memory limit."
4565+
"Indicates that the instance is nearing memory limit.",
4566+
"Indicates that the instance's max server memory is configured higher than the recommended value.",
4567+
"Indicates that the database has large rows beyond the recommended limit.",
4568+
"Heavy write pressure on the database rows.",
4569+
"Heavy read pressure on the database rows.",
4570+
"Encryption org policy not satisfied.",
4571+
"Location org policy not satisfied."
45404572
],
45414573
"type": "string"
45424574
},
@@ -4947,7 +4979,13 @@ false
49474979
"SIGNAL_TYPE_NO_DELETION_PROTECTION",
49484980
"SIGNAL_TYPE_INEFFICIENT_QUERY",
49494981
"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD",
4950-
"SIGNAL_TYPE_MEMORY_LIMIT"
4982+
"SIGNAL_TYPE_MEMORY_LIMIT",
4983+
"SIGNAL_TYPE_MAX_SERVER_MEMORY",
4984+
"SIGNAL_TYPE_LARGE_ROWS",
4985+
"SIGNAL_TYPE_HIGH_WRITE_PRESSURE",
4986+
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
4987+
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
4988+
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"
49514989
],
49524990
"enumDeprecated": [
49534991
false,
@@ -5039,6 +5077,12 @@ false,
50395077
false,
50405078
false,
50415079
false,
5080+
false,
5081+
false,
5082+
false,
5083+
false,
5084+
false,
5085+
false,
50425086
false
50435087
],
50445088
"enumDescriptions": [
@@ -5131,7 +5175,13 @@ false
51315175
"Deletion Protection Disabled for the resource",
51325176
"Indicates that the instance has inefficient queries detected.",
51335177
"Indicates that the instance has read intensive workload.",
5134-
"Indicates that the instance is nearing memory limit."
5178+
"Indicates that the instance is nearing memory limit.",
5179+
"Indicates that the instance's max server memory is configured higher than the recommended value.",
5180+
"Indicates that the database has large rows beyond the recommended limit.",
5181+
"Heavy write pressure on the database rows.",
5182+
"Heavy read pressure on the database rows.",
5183+
"Encryption org policy not satisfied.",
5184+
"Location org policy not satisfied."
51355185
],
51365186
"type": "string"
51375187
}
@@ -5493,8 +5543,9 @@ false
54935543
"ON_PREM",
54945544
"PRODUCT_TYPE_MEMORYSTORE",
54955545
"PRODUCT_TYPE_BIGTABLE",
5496-
"PRODUCT_TYPE_OTHER",
5497-
"PRODUCT_TYPE_FIRESTORE"
5546+
"PRODUCT_TYPE_FIRESTORE",
5547+
"PRODUCT_TYPE_COMPUTE_ENGINE",
5548+
"PRODUCT_TYPE_OTHER"
54985549
],
54995550
"enumDeprecated": [
55005551
false,
@@ -5508,6 +5559,7 @@ true,
55085559
false,
55095560
false,
55105561
false,
5562+
false,
55115563
false
55125564
],
55135565
"enumDescriptions": [
@@ -5521,8 +5573,9 @@ false
55215573
"On premises database product.",
55225574
"Memorystore product area in GCP",
55235575
"Bigtable product area in GCP",
5524-
"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum.",
5525-
"Firestore product area in GCP."
5576+
"Firestore product area in GCP.",
5577+
"Compute Engine self managed databases",
5578+
"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum."
55265579
],
55275580
"type": "string"
55285581
},

0 commit comments

Comments
 (0)