You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/InstancePartition.java
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,10 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ
87
87
88
88
/**
89
89
* The number of nodes allocated to this instance partition. Users can set the `node_count` field
90
-
* to specify the target number of nodes allocated to the instance partition. This may be zero in
91
-
* API responses for instance partitions that are not yet in state `READY`.
90
+
* to specify the target number of nodes allocated to the instance partition. If autoscaling is
91
+
* enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes
92
+
* allocated to the instance partition. This may be zero in API responses for instance partitions
93
+
* that are not yet in state `READY`.
92
94
* The value may be {@code null}.
93
95
*/
94
96
@com.google.api.client.util.Key
@@ -97,8 +99,10 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ
97
99
/**
98
100
* The number of processing units allocated to this instance partition. Users can set the
99
101
* `processing_units` field to specify the target number of processing units allocated to the
100
-
* instance partition. This might be zero in API responses for instance partitions that are not
101
-
* yet in the `READY` state.
102
+
* instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY
103
+
* field and reflects the current number of processing units allocated to the instance partition.
104
+
* This might be zero in API responses for instance partitions that are not yet in the `READY`
105
+
* state.
102
106
* The value may be {@code null}.
103
107
*/
104
108
@com.google.api.client.util.Key
@@ -268,8 +272,10 @@ public InstancePartition setName(java.lang.String name) {
268
272
269
273
/**
270
274
* The number of nodes allocated to this instance partition. Users can set the `node_count` field
271
-
* to specify the target number of nodes allocated to the instance partition. This may be zero in
272
-
* API responses for instance partitions that are not yet in state `READY`.
275
+
* to specify the target number of nodes allocated to the instance partition. If autoscaling is
276
+
* enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes
277
+
* allocated to the instance partition. This may be zero in API responses for instance partitions
278
+
* that are not yet in state `READY`.
273
279
* @return value or {@code null} for none
274
280
*/
275
281
publicjava.lang.IntegergetNodeCount() {
@@ -278,8 +284,10 @@ public java.lang.Integer getNodeCount() {
278
284
279
285
/**
280
286
* The number of nodes allocated to this instance partition. Users can set the `node_count` field
281
-
* to specify the target number of nodes allocated to the instance partition. This may be zero in
282
-
* API responses for instance partitions that are not yet in state `READY`.
287
+
* to specify the target number of nodes allocated to the instance partition. If autoscaling is
288
+
* enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes
289
+
* allocated to the instance partition. This may be zero in API responses for instance partitions
290
+
* that are not yet in state `READY`.
283
291
* @param nodeCount nodeCount or {@code null} for none
0 commit comments