Skip to content

Commit 720f50b

Browse files
1 parent b266e7e commit 720f50b

File tree

10 files changed

+72
-72
lines changed

10 files changed

+72
-72
lines changed

clients/google-api-services-spanner/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-spanner</artifactId>
25-
<version>v1-rev20240719-2.0.0</version>
25+
<version>v1-rev20240731-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-spanner:v1-rev20240719-2.0.0'
38+
implementation 'com.google.apis:google-api-services-spanner:v1-rev20240731-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/Spanner.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7074,19 +7074,19 @@ public Databases databases() {
70747074
public class Databases {
70757075

70767076
/**
7077-
* ChangeQuorum is strictly restricted to databases that use dual region instance configurations.
7078-
* Initiates a background operation to change quorum a database from dual-region mode to single-
7079-
* region mode and vice versa. The returned long-running operation will have a name of the format
7077+
* `ChangeQuorum` is strictly restricted to databases that use dual-region instance configurations.
7078+
* Initiates a background operation to change the quorum of a database from dual-region mode to
7079+
* single-region mode or vice versa. The returned long-running operation has a name of the format
70807080
* `projects//instances//databases//operations/` and can be used to track execution of the
7081-
* ChangeQuorum. The metadata field type is ChangeQuorumMetadata. Authorization requires
7081+
* `ChangeQuorum`. The metadata field type is ChangeQuorumMetadata. Authorization requires
70827082
* `spanner.databases.changequorum` permission on the resource database.
70837083
*
70847084
* Create a request for the method "databases.changequorum".
70857085
*
70867086
* This request holds the parameters needed by the spanner server. After setting any optional
70877087
* parameters, call the {@link Changequorum#execute()} method to invoke the remote operation.
70887088
*
7089-
* @param name Required. Name of the database in which to apply the ChangeQuorum. Values are of the form
7089+
* @param name Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
70907090
* `projects//instances//databases/`.
70917091
* @param content the {@link com.google.api.services.spanner.v1.model.ChangeQuorumRequest}
70927092
* @return the request
@@ -7105,11 +7105,11 @@ public class Changequorum extends SpannerRequest<com.google.api.services.spanner
71057105
java.util.regex.Pattern.compile("^projects/[^/]+/instances/[^/]+/databases/[^/]+$");
71067106

71077107
/**
7108-
* ChangeQuorum is strictly restricted to databases that use dual region instance configurations.
7109-
* Initiates a background operation to change quorum a database from dual-region mode to single-
7110-
* region mode and vice versa. The returned long-running operation will have a name of the format
7111-
* `projects//instances//databases//operations/` and can be used to track execution of the
7112-
* ChangeQuorum. The metadata field type is ChangeQuorumMetadata. Authorization requires
7108+
* `ChangeQuorum` is strictly restricted to databases that use dual-region instance
7109+
* configurations. Initiates a background operation to change the quorum of a database from dual-
7110+
* region mode to single-region mode or vice versa. The returned long-running operation has a name
7111+
* of the format `projects//instances//databases//operations/` and can be used to track execution
7112+
* of the `ChangeQuorum`. The metadata field type is ChangeQuorumMetadata. Authorization requires
71137113
* `spanner.databases.changequorum` permission on the resource database.
71147114
*
71157115
* Create a request for the method "databases.changequorum".
@@ -7120,7 +7120,7 @@ public class Changequorum extends SpannerRequest<com.google.api.services.spanner
71207120
* Changequorum#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
71217121
* must be called to initialize this instance immediately after invoking the constructor. </p>
71227122
*
7123-
* @param name Required. Name of the database in which to apply the ChangeQuorum. Values are of the form
7123+
* @param name Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
71247124
* `projects//instances//databases/`.
71257125
* @param content the {@link com.google.api.services.spanner.v1.model.ChangeQuorumRequest}
71267126
* @since 1.13
@@ -7191,22 +7191,22 @@ public Changequorum setUploadProtocol(java.lang.String uploadProtocol) {
71917191
}
71927192

71937193
/**
7194-
* Required. Name of the database in which to apply the ChangeQuorum. Values are of the
7195-
* form `projects//instances//databases/`.
7194+
* Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
7195+
* `projects//instances//databases/`.
71967196
*/
71977197
@com.google.api.client.util.Key
71987198
private java.lang.String name;
71997199

7200-
/** Required. Name of the database in which to apply the ChangeQuorum. Values are of the form
7200+
/** Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
72017201
`projects//instances//databases/`.
72027202
*/
72037203
public java.lang.String getName() {
72047204
return name;
72057205
}
72067206

72077207
/**
7208-
* Required. Name of the database in which to apply the ChangeQuorum. Values are of the
7209-
* form `projects//instances//databases/`.
7208+
* Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
7209+
* `projects//instances//databases/`.
72107210
*/
72117211
public Changequorum setName(java.lang.String name) {
72127212
if (!getSuppressPatternChecks()) {

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/ChangeQuorumRequest.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
public final class ChangeQuorumRequest extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation will only be
34-
* performed if the etag matches that of the QuorumInfo in the current database resource.
35-
* Otherwise the API will return an `ABORTED` error. The etag is used for optimistic concurrency
33+
* Optional. The etag is the hash of the `QuorumInfo`. The `ChangeQuorum` operation is only
34+
* performed if the etag matches that of the `QuorumInfo` in the current database resource.
35+
* Otherwise the API returns an `ABORTED` error. The etag is used for optimistic concurrency
3636
* control as a way to help prevent simultaneous change quorum requests that could create a race
3737
* condition.
3838
* The value may be {@code null}.
@@ -41,24 +41,24 @@ public final class ChangeQuorumRequest extends com.google.api.client.json.Generi
4141
private java.lang.String etag;
4242

4343
/**
44-
* Required. Name of the database in which to apply the ChangeQuorum. Values are of the form
44+
* Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
4545
* `projects//instances//databases/`.
4646
* The value may be {@code null}.
4747
*/
4848
@com.google.api.client.util.Key
4949
private java.lang.String name;
5050

5151
/**
52-
* Required. The type of this Quorum.
52+
* Required. The type of this quorum.
5353
* The value may be {@code null}.
5454
*/
5555
@com.google.api.client.util.Key
5656
private QuorumType quorumType;
5757

5858
/**
59-
* Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation will only be
60-
* performed if the etag matches that of the QuorumInfo in the current database resource.
61-
* Otherwise the API will return an `ABORTED` error. The etag is used for optimistic concurrency
59+
* Optional. The etag is the hash of the `QuorumInfo`. The `ChangeQuorum` operation is only
60+
* performed if the etag matches that of the `QuorumInfo` in the current database resource.
61+
* Otherwise the API returns an `ABORTED` error. The etag is used for optimistic concurrency
6262
* control as a way to help prevent simultaneous change quorum requests that could create a race
6363
* condition.
6464
* @return value or {@code null} for none
@@ -68,9 +68,9 @@ public java.lang.String getEtag() {
6868
}
6969

7070
/**
71-
* Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation will only be
72-
* performed if the etag matches that of the QuorumInfo in the current database resource.
73-
* Otherwise the API will return an `ABORTED` error. The etag is used for optimistic concurrency
71+
* Optional. The etag is the hash of the `QuorumInfo`. The `ChangeQuorum` operation is only
72+
* performed if the etag matches that of the `QuorumInfo` in the current database resource.
73+
* Otherwise the API returns an `ABORTED` error. The etag is used for optimistic concurrency
7474
* control as a way to help prevent simultaneous change quorum requests that could create a race
7575
* condition.
7676
* @param etag etag or {@code null} for none
@@ -81,7 +81,7 @@ public ChangeQuorumRequest setEtag(java.lang.String etag) {
8181
}
8282

8383
/**
84-
* Required. Name of the database in which to apply the ChangeQuorum. Values are of the form
84+
* Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
8585
* `projects//instances//databases/`.
8686
* @return value or {@code null} for none
8787
*/
@@ -90,7 +90,7 @@ public java.lang.String getName() {
9090
}
9191

9292
/**
93-
* Required. Name of the database in which to apply the ChangeQuorum. Values are of the form
93+
* Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form
9494
* `projects//instances//databases/`.
9595
* @param name name or {@code null} for none
9696
*/
@@ -100,15 +100,15 @@ public ChangeQuorumRequest setName(java.lang.String name) {
100100
}
101101

102102
/**
103-
* Required. The type of this Quorum.
103+
* Required. The type of this quorum.
104104
* @return value or {@code null} for none
105105
*/
106106
public QuorumType getQuorumType() {
107107
return quorumType;
108108
}
109109

110110
/**
111-
* Required. The type of this Quorum.
111+
* Required. The type of this quorum.
112112
* @param quorumType quorumType or {@code null} for none
113113
*/
114114
public ChangeQuorumRequest setQuorumType(QuorumType quorumType) {

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/Database.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public final class Database extends com.google.api.client.json.GenericJson {
102102
private java.lang.String name;
103103

104104
/**
105-
* Output only. Applicable only for databases that use dual region instance configurations.
105+
* Output only. Applicable only for databases that use dual-region instance configurations.
106106
* Contains information about the quorum.
107107
* The value may be {@code null}.
108108
*/
@@ -310,7 +310,7 @@ public Database setName(java.lang.String name) {
310310
}
311311

312312
/**
313-
* Output only. Applicable only for databases that use dual region instance configurations.
313+
* Output only. Applicable only for databases that use dual-region instance configurations.
314314
* Contains information about the quorum.
315315
* @return value or {@code null} for none
316316
*/
@@ -319,7 +319,7 @@ public QuorumInfo getQuorumInfo() {
319319
}
320320

321321
/**
322-
* Output only. Applicable only for databases that use dual region instance configurations.
322+
* Output only. Applicable only for databases that use dual-region instance configurations.
323323
* Contains information about the quorum.
324324
* @param quorumInfo quorumInfo or {@code null} for none
325325
*/

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/InstancePartition.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ
9696
private java.lang.Integer processingUnits;
9797

9898
/**
99-
* Output only. The names of the backups that reference this instance partition. Referencing
100-
* backups should share the parent instance. The existence of any referencing backup prevents the
101-
* instance partition from being deleted.
99+
* Output only. Deprecated: This field is not populated. Output only. The names of the backups
100+
* that reference this instance partition. Referencing backups should share the parent instance.
101+
* The existence of any referencing backup prevents the instance partition from being deleted.
102102
* The value may be {@code null}.
103103
*/
104104
@com.google.api.client.util.Key
@@ -281,19 +281,19 @@ public InstancePartition setProcessingUnits(java.lang.Integer processingUnits) {
281281
}
282282

283283
/**
284-
* Output only. The names of the backups that reference this instance partition. Referencing
285-
* backups should share the parent instance. The existence of any referencing backup prevents the
286-
* instance partition from being deleted.
284+
* Output only. Deprecated: This field is not populated. Output only. The names of the backups
285+
* that reference this instance partition. Referencing backups should share the parent instance.
286+
* The existence of any referencing backup prevents the instance partition from being deleted.
287287
* @return value or {@code null} for none
288288
*/
289289
public java.util.List<java.lang.String> getReferencingBackups() {
290290
return referencingBackups;
291291
}
292292

293293
/**
294-
* Output only. The names of the backups that reference this instance partition. Referencing
295-
* backups should share the parent instance. The existence of any referencing backup prevents the
296-
* instance partition from being deleted.
294+
* Output only. Deprecated: This field is not populated. Output only. The names of the backups
295+
* that reference this instance partition. Referencing backups should share the parent instance.
296+
* The existence of any referencing backup prevents the instance partition from being deleted.
297297
* @param referencingBackups referencingBackups or {@code null} for none
298298
*/
299299
public InstancePartition setReferencingBackups(java.util.List<java.lang.String> referencingBackups) {

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/QuorumInfo.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.spanner.v1.model;
1818

1919
/**
20-
* Information about the dual region quorum.
20+
* Information about the dual-region quorum.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see:
@@ -31,14 +31,14 @@ public final class QuorumInfo extends com.google.api.client.json.GenericJson {
3131

3232
/**
3333
* Output only. The etag is used for optimistic concurrency control as a way to help prevent
34-
* simultaneous ChangeQuorum requests that could create a race condition.
34+
* simultaneous `ChangeQuorum` requests that might create a race condition.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String etag;
3939

4040
/**
41-
* Output only. Whether this ChangeQuorum is a Google or User initiated.
41+
* Output only. Whether this `ChangeQuorum` is Google or User initiated.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -61,7 +61,7 @@ public final class QuorumInfo extends com.google.api.client.json.GenericJson {
6161

6262
/**
6363
* Output only. The etag is used for optimistic concurrency control as a way to help prevent
64-
* simultaneous ChangeQuorum requests that could create a race condition.
64+
* simultaneous `ChangeQuorum` requests that might create a race condition.
6565
* @return value or {@code null} for none
6666
*/
6767
public java.lang.String getEtag() {
@@ -70,7 +70,7 @@ public java.lang.String getEtag() {
7070

7171
/**
7272
* Output only. The etag is used for optimistic concurrency control as a way to help prevent
73-
* simultaneous ChangeQuorum requests that could create a race condition.
73+
* simultaneous `ChangeQuorum` requests that might create a race condition.
7474
* @param etag etag or {@code null} for none
7575
*/
7676
public QuorumInfo setEtag(java.lang.String etag) {
@@ -79,15 +79,15 @@ public QuorumInfo setEtag(java.lang.String etag) {
7979
}
8080

8181
/**
82-
* Output only. Whether this ChangeQuorum is a Google or User initiated.
82+
* Output only. Whether this `ChangeQuorum` is Google or User initiated.
8383
* @return value or {@code null} for none
8484
*/
8585
public java.lang.String getInitiator() {
8686
return initiator;
8787
}
8888

8989
/**
90-
* Output only. Whether this ChangeQuorum is a Google or User initiated.
90+
* Output only. Whether this `ChangeQuorum` is Google or User initiated.
9191
* @param initiator initiator or {@code null} for none
9292
*/
9393
public QuorumInfo setInitiator(java.lang.String initiator) {

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/QuorumType.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.spanner.v1.model;
1818

1919
/**
20-
* Information about the database quorum type. this applies only for dual region instance configs.
20+
* Information about the database quorum type. This only applies to dual-region instance configs.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see:
@@ -30,29 +30,29 @@
3030
public final class QuorumType extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Dual region quorum type.
33+
* Dual-region quorum type.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
3737
private DualRegionQuorum dualRegion;
3838

3939
/**
40-
* Single region quorum type.
40+
* Single-region quorum type.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
4444
private SingleRegionQuorum singleRegion;
4545

4646
/**
47-
* Dual region quorum type.
47+
* Dual-region quorum type.
4848
* @return value or {@code null} for none
4949
*/
5050
public DualRegionQuorum getDualRegion() {
5151
return dualRegion;
5252
}
5353

5454
/**
55-
* Dual region quorum type.
55+
* Dual-region quorum type.
5656
* @param dualRegion dualRegion or {@code null} for none
5757
*/
5858
public QuorumType setDualRegion(DualRegionQuorum dualRegion) {
@@ -61,15 +61,15 @@ public QuorumType setDualRegion(DualRegionQuorum dualRegion) {
6161
}
6262

6363
/**
64-
* Single region quorum type.
64+
* Single-region quorum type.
6565
* @return value or {@code null} for none
6666
*/
6767
public SingleRegionQuorum getSingleRegion() {
6868
return singleRegion;
6969
}
7070

7171
/**
72-
* Single region quorum type.
72+
* Single-region quorum type.
7373
* @param singleRegion singleRegion or {@code null} for none
7474
*/
7575
public QuorumType setSingleRegion(SingleRegionQuorum singleRegion) {

0 commit comments

Comments
 (0)