Skip to content

Commit 8245363

Browse files
1 parent d37b93c commit 8245363

File tree

11 files changed

+26
-287
lines changed

11 files changed

+26
-287
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-rev20241015-2.0.0</version>
25+
<version>v1-rev20241018-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-rev20241015-2.0.0'
38+
implementation 'com.google.apis:google-api-services-spanner:v1-rev20241018-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: 20 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5229,8 +5229,7 @@ public Get set(String parameterName, Object value) {
52295229
* Gets the access control policy for a database or backup resource. Returns an empty policy if a
52305230
* database or backup exists but does not have a policy set. Authorization requires
52315231
* `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires
5232-
* `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization
5233-
* requires `spanner.backupSchedules.getIamPolicy` permission on resource.
5232+
* `spanner.backups.getIamPolicy` permission on resource.
52345233
*
52355234
* Create a request for the method "backups.getIamPolicy".
52365235
*
@@ -5260,8 +5259,7 @@ public class GetIamPolicy extends SpannerRequest<com.google.api.services.spanner
52605259
* Gets the access control policy for a database or backup resource. Returns an empty policy if a
52615260
* database or backup exists but does not have a policy set. Authorization requires
52625261
* `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires
5263-
* `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization
5264-
* requires `spanner.backupSchedules.getIamPolicy` permission on resource.
5262+
* `spanner.backups.getIamPolicy` permission on resource.
52655263
*
52665264
* Create a request for the method "backups.getIamPolicy".
52675265
*
@@ -5835,8 +5833,7 @@ public Patch set(String parameterName, Object value) {
58355833
/**
58365834
* Sets the access control policy on a database or backup resource. Replaces any existing policy.
58375835
* Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups,
5838-
* authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup
5839-
* schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.
5836+
* authorization requires `spanner.backups.setIamPolicy` permission on resource.
58405837
*
58415838
* Create a request for the method "backups.setIamPolicy".
58425839
*
@@ -5865,9 +5862,7 @@ public class SetIamPolicy extends SpannerRequest<com.google.api.services.spanner
58655862
/**
58665863
* Sets the access control policy on a database or backup resource. Replaces any existing policy.
58675864
* Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups,
5868-
* authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup
5869-
* schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on
5870-
* resource.
5865+
* authorization requires `spanner.backups.setIamPolicy` permission on resource.
58715866
*
58725867
* Create a request for the method "backups.setIamPolicy".
58735868
*
@@ -5990,8 +5985,7 @@ public SetIamPolicy set(String parameterName, Object value) {
59905985
* has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise
59915986
* returns an empty set of permissions. Calling this method on a backup that does not exist will
59925987
* result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing
5993-
* instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND
5994-
* error if the user has `spanner.backupSchedules.list` permission on the containing database.
5988+
* instance.
59955989
*
59965990
* Create a request for the method "backups.testIamPermissions".
59975991
*
@@ -6023,9 +6017,7 @@ public class TestIamPermissions extends SpannerRequest<com.google.api.services.s
60236017
* if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance.
60246018
* Otherwise returns an empty set of permissions. Calling this method on a backup that does not
60256019
* exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the
6026-
* containing instance. Calling this method on a backup schedule that does not exist will result
6027-
* in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the
6028-
* containing database.
6020+
* containing instance.
60296021
*
60306022
* Create a request for the method "backups.testIamPermissions".
60316023
*
@@ -7816,8 +7808,7 @@ public GetDdl set(String parameterName, Object value) {
78167808
* Gets the access control policy for a database or backup resource. Returns an empty policy if a
78177809
* database or backup exists but does not have a policy set. Authorization requires
78187810
* `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires
7819-
* `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization
7820-
* requires `spanner.backupSchedules.getIamPolicy` permission on resource.
7811+
* `spanner.backups.getIamPolicy` permission on resource.
78217812
*
78227813
* Create a request for the method "databases.getIamPolicy".
78237814
*
@@ -7847,8 +7838,7 @@ public class GetIamPolicy extends SpannerRequest<com.google.api.services.spanner
78477838
* Gets the access control policy for a database or backup resource. Returns an empty policy if a
78487839
* database or backup exists but does not have a policy set. Authorization requires
78497840
* `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires
7850-
* `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization
7851-
* requires `spanner.backupSchedules.getIamPolicy` permission on resource.
7841+
* `spanner.backups.getIamPolicy` permission on resource.
78527842
*
78537843
* Create a request for the method "databases.getIamPolicy".
78547844
*
@@ -8727,8 +8717,7 @@ public Restore set(String parameterName, Object value) {
87278717
/**
87288718
* Sets the access control policy on a database or backup resource. Replaces any existing policy.
87298719
* Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups,
8730-
* authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup
8731-
* schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.
8720+
* authorization requires `spanner.backups.setIamPolicy` permission on resource.
87328721
*
87338722
* Create a request for the method "databases.setIamPolicy".
87348723
*
@@ -8757,9 +8746,7 @@ public class SetIamPolicy extends SpannerRequest<com.google.api.services.spanner
87578746
/**
87588747
* Sets the access control policy on a database or backup resource. Replaces any existing policy.
87598748
* Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups,
8760-
* authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup
8761-
* schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on
8762-
* resource.
8749+
* authorization requires `spanner.backups.setIamPolicy` permission on resource.
87638750
*
87648751
* Create a request for the method "databases.setIamPolicy".
87658752
*
@@ -8882,8 +8869,7 @@ public SetIamPolicy set(String parameterName, Object value) {
88828869
* has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise
88838870
* returns an empty set of permissions. Calling this method on a backup that does not exist will
88848871
* result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing
8885-
* instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND
8886-
* error if the user has `spanner.backupSchedules.list` permission on the containing database.
8872+
* instance.
88878873
*
88888874
* Create a request for the method "databases.testIamPermissions".
88898875
*
@@ -8915,9 +8901,7 @@ public class TestIamPermissions extends SpannerRequest<com.google.api.services.s
89158901
* if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance.
89168902
* Otherwise returns an empty set of permissions. Calling this method on a backup that does not
89178903
* exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the
8918-
* containing instance. Calling this method on a backup schedule that does not exist will result
8919-
* in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the
8920-
* containing database.
8904+
* containing instance.
89218905
*
89228906
* Create a request for the method "databases.testIamPermissions".
89238907
*
@@ -9635,8 +9619,7 @@ public Get set(String parameterName, Object value) {
96359619
* Gets the access control policy for a database or backup resource. Returns an empty policy if a
96369620
* database or backup exists but does not have a policy set. Authorization requires
96379621
* `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires
9638-
* `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization
9639-
* requires `spanner.backupSchedules.getIamPolicy` permission on resource.
9622+
* `spanner.backups.getIamPolicy` permission on resource.
96409623
*
96419624
* Create a request for the method "backupSchedules.getIamPolicy".
96429625
*
@@ -9666,8 +9649,7 @@ public class GetIamPolicy extends SpannerRequest<com.google.api.services.spanner
96669649
* Gets the access control policy for a database or backup resource. Returns an empty policy if a
96679650
* database or backup exists but does not have a policy set. Authorization requires
96689651
* `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires
9669-
* `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization
9670-
* requires `spanner.backupSchedules.getIamPolicy` permission on resource.
9652+
* `spanner.backups.getIamPolicy` permission on resource.
96719653
*
96729654
* Create a request for the method "backupSchedules.getIamPolicy".
96739655
*
@@ -10161,8 +10143,7 @@ public Patch set(String parameterName, Object value) {
1016110143
/**
1016210144
* Sets the access control policy on a database or backup resource. Replaces any existing policy.
1016310145
* Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups,
10164-
* authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup
10165-
* schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.
10146+
* authorization requires `spanner.backups.setIamPolicy` permission on resource.
1016610147
*
1016710148
* Create a request for the method "backupSchedules.setIamPolicy".
1016810149
*
@@ -10191,9 +10172,7 @@ public class SetIamPolicy extends SpannerRequest<com.google.api.services.spanner
1019110172
/**
1019210173
* Sets the access control policy on a database or backup resource. Replaces any existing policy.
1019310174
* Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups,
10194-
* authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup
10195-
* schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on
10196-
* resource.
10175+
* authorization requires `spanner.backups.setIamPolicy` permission on resource.
1019710176
*
1019810177
* Create a request for the method "backupSchedules.setIamPolicy".
1019910178
*
@@ -10316,8 +10295,7 @@ public SetIamPolicy set(String parameterName, Object value) {
1031610295
* has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise
1031710296
* returns an empty set of permissions. Calling this method on a backup that does not exist will
1031810297
* result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing
10319-
* instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND
10320-
* error if the user has `spanner.backupSchedules.list` permission on the containing database.
10298+
* instance.
1032110299
*
1032210300
* Create a request for the method "backupSchedules.testIamPermissions".
1032310301
*
@@ -10349,9 +10327,7 @@ public class TestIamPermissions extends SpannerRequest<com.google.api.services.s
1034910327
* if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance.
1035010328
* Otherwise returns an empty set of permissions. Calling this method on a backup that does not
1035110329
* exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the
10352-
* containing instance. Calling this method on a backup schedule that does not exist will result
10353-
* in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the
10354-
* containing database.
10330+
* containing instance.
1035510331
*
1035610332
* Create a request for the method "backupSchedules.testIamPermissions".
1035710333
*
@@ -10689,8 +10665,7 @@ public List set(String parameterName, Object value) {
1068910665
* has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise
1069010666
* returns an empty set of permissions. Calling this method on a backup that does not exist will
1069110667
* result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing
10692-
* instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND
10693-
* error if the user has `spanner.backupSchedules.list` permission on the containing database.
10668+
* instance.
1069410669
*
1069510670
* Create a request for the method "databaseRoles.testIamPermissions".
1069610671
*
@@ -10722,9 +10697,7 @@ public class TestIamPermissions extends SpannerRequest<com.google.api.services.s
1072210697
* if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance.
1072310698
* Otherwise returns an empty set of permissions. Calling this method on a backup that does not
1072410699
* exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the
10725-
* containing instance. Calling this method on a backup schedule that does not exist will result
10726-
* in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the
10727-
* containing database.
10700+
* containing instance.
1072810701
*
1072910702
* Create a request for the method "databaseRoles.testIamPermissions".
1073010703
*

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

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929
@SuppressWarnings("javadoc")
3030
public final class BeginTransactionRequest extends com.google.api.client.json.GenericJson {
3131

32-
/**
33-
* Optional. Required for read-write transactions on a multiplexed session that commit mutations
34-
* but do not perform any reads or queries. Clients should randomly select one of the mutations
35-
* from the mutation set and send it as a part of this request.
36-
* The value may be {@code null}.
37-
*/
38-
@com.google.api.client.util.Key
39-
private Mutation mutationKey;
40-
4132
/**
4233
* Required. Options for the new transaction.
4334
* The value may be {@code null}.
@@ -54,27 +45,6 @@ public final class BeginTransactionRequest extends com.google.api.client.json.Ge
5445
@com.google.api.client.util.Key
5546
private RequestOptions requestOptions;
5647

57-
/**
58-
* Optional. Required for read-write transactions on a multiplexed session that commit mutations
59-
* but do not perform any reads or queries. Clients should randomly select one of the mutations
60-
* from the mutation set and send it as a part of this request.
61-
* @return value or {@code null} for none
62-
*/
63-
public Mutation getMutationKey() {
64-
return mutationKey;
65-
}
66-
67-
/**
68-
* Optional. Required for read-write transactions on a multiplexed session that commit mutations
69-
* but do not perform any reads or queries. Clients should randomly select one of the mutations
70-
* from the mutation set and send it as a part of this request.
71-
* @param mutationKey mutationKey or {@code null} for none
72-
*/
73-
public BeginTransactionRequest setMutationKey(Mutation mutationKey) {
74-
this.mutationKey = mutationKey;
75-
return this;
76-
}
77-
7848
/**
7949
* Required. Options for the new transaction.
8050
* @return value or {@code null} for none

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

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson
4747
@com.google.api.client.util.Key
4848
private java.util.List<Mutation> mutations;
4949

50-
/**
51-
* Optional. If the read-write transaction was executed on a multiplexed session, the precommit
52-
* token with the highest sequence number received in this transaction attempt, should be included
53-
* here. Failing to do so will result in a FailedPrecondition error.
54-
* The value may be {@code null}.
55-
*/
56-
@com.google.api.client.util.Key
57-
private MultiplexedSessionPrecommitToken precommitToken;
58-
5950
/**
6051
* Common options for this request.
6152
* The value may be {@code null}.
@@ -131,27 +122,6 @@ public CommitRequest setMutations(java.util.List<Mutation> mutations) {
131122
return this;
132123
}
133124

134-
/**
135-
* Optional. If the read-write transaction was executed on a multiplexed session, the precommit
136-
* token with the highest sequence number received in this transaction attempt, should be included
137-
* here. Failing to do so will result in a FailedPrecondition error.
138-
* @return value or {@code null} for none
139-
*/
140-
public MultiplexedSessionPrecommitToken getPrecommitToken() {
141-
return precommitToken;
142-
}
143-
144-
/**
145-
* Optional. If the read-write transaction was executed on a multiplexed session, the precommit
146-
* token with the highest sequence number received in this transaction attempt, should be included
147-
* here. Failing to do so will result in a FailedPrecondition error.
148-
* @param precommitToken precommitToken or {@code null} for none
149-
*/
150-
public CommitRequest setPrecommitToken(MultiplexedSessionPrecommitToken precommitToken) {
151-
this.precommitToken = precommitToken;
152-
return this;
153-
}
154-
155125
/**
156126
* Common options for this request.
157127
* @return value or {@code null} for none

0 commit comments

Comments
 (0)