Skip to content

Commit cf2d4e8

Browse files
chore(spanner): update the api
1 parent d4d1bfd commit cf2d4e8

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/dyn/spanner_v1.projects.instances.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ <h3>Method Details</h3>
155155
&quot;a_key&quot;: &quot;A String&quot;,
156156
},
157157
&quot;name&quot;: &quot;A String&quot;, # Required. A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length.
158-
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/instances#node_count) for more information about nodes.
159-
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`.
158+
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
159+
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
160160
&quot;state&quot;: &quot;A String&quot;, # Output only. The current instance state. For CreateInstance, the state must be either omitted or set to `CREATING`. For UpdateInstance, the state must be either omitted or set to `READY`.
161161
},
162162
&quot;instanceId&quot;: &quot;A String&quot;, # Required. The ID of the instance to create. Valid identifiers are of the form `a-z*[a-z0-9]` and must be between 2 and 64 characters in length.
@@ -234,8 +234,8 @@ <h3>Method Details</h3>
234234
&quot;a_key&quot;: &quot;A String&quot;,
235235
},
236236
&quot;name&quot;: &quot;A String&quot;, # Required. A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length.
237-
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/instances#node_count) for more information about nodes.
238-
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`.
237+
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
238+
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
239239
&quot;state&quot;: &quot;A String&quot;, # Output only. The current instance state. For CreateInstance, the state must be either omitted or set to `CREATING`. For UpdateInstance, the state must be either omitted or set to `READY`.
240240
}</pre>
241241
</div>
@@ -313,8 +313,8 @@ <h3>Method Details</h3>
313313
&quot;a_key&quot;: &quot;A String&quot;,
314314
},
315315
&quot;name&quot;: &quot;A String&quot;, # Required. A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length.
316-
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/instances#node_count) for more information about nodes.
317-
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`.
316+
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
317+
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
318318
&quot;state&quot;: &quot;A String&quot;, # Output only. The current instance state. For CreateInstance, the state must be either omitted or set to `CREATING`. For UpdateInstance, the state must be either omitted or set to `READY`.
319319
},
320320
],
@@ -360,8 +360,8 @@ <h3>Method Details</h3>
360360
&quot;a_key&quot;: &quot;A String&quot;,
361361
},
362362
&quot;name&quot;: &quot;A String&quot;, # Required. A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length.
363-
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/instances#node_count) for more information about nodes.
364-
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`.
363+
&quot;nodeCount&quot;: 42, # The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
364+
&quot;processingUnits&quot;: 42, # The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.
365365
&quot;state&quot;: &quot;A String&quot;, # Output only. The current instance state. For CreateInstance, the state must be either omitted or set to `CREATING`. For UpdateInstance, the state must be either omitted or set to `READY`.
366366
},
367367
}

googleapiclient/discovery_cache/documents/spanner.v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@
20372037
}
20382038
}
20392039
},
2040-
"revision": "20210713",
2040+
"revision": "20210723",
20412041
"rootUrl": "https://spanner.googleapis.com/",
20422042
"schemas": {
20432043
"Backup": {
@@ -2858,12 +2858,12 @@
28582858
"type": "string"
28592859
},
28602860
"nodeCount": {
2861-
"description": "The number of nodes allocated to this instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/instances#node_count) for more information about nodes.",
2861+
"description": "The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.",
28622862
"format": "int32",
28632863
"type": "integer"
28642864
},
28652865
"processingUnits": {
2866-
"description": "The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`.",
2866+
"description": "The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.",
28672867
"format": "int32",
28682868
"type": "integer"
28692869
},

0 commit comments

Comments
 (0)