File tree Expand file tree Collapse file tree 5 files changed +38
-8
lines changed
clients/google-api-services-file
com/google/api/services/file/v1/model Expand file tree Collapse file tree 5 files changed +38
-8
lines changed Original file line number Diff line number Diff 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-file</artifactId >
25- <version >v1-rev20250129 -2.0.0</version >
25+ <version >v1-rev20250205 -2.0.0</version >
2626 </dependency >
2727 </dependencies >
2828</project >
@@ -35,7 +35,7 @@ repositories {
3535 mavenCentral()
3636}
3737dependencies {
38- implementation 'com.google.apis:google-api-services-file:v1-rev20250129 -2.0.0'
38+ implementation 'com.google.apis:google-api-services-file:v1-rev20250205 -2.0.0'
3939}
4040```
4141
Original file line number Diff line number Diff line change 2929@ SuppressWarnings ("javadoc" )
3030public final class PromoteReplicaRequest extends com .google .api .client .json .GenericJson {
3131
32+ /**
33+ * Optional. The resource name of the peer instance to promote, in the format
34+ * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is
35+ * required if the operation is called on an active instance.
36+ * The value may be {@code null}.
37+ */
38+ @ com .google .api .client .util .Key
39+ private java .lang .String peerInstance ;
40+
41+ /**
42+ * Optional. The resource name of the peer instance to promote, in the format
43+ * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is
44+ * required if the operation is called on an active instance.
45+ * @return value or {@code null} for none
46+ */
47+ public java .lang .String getPeerInstance () {
48+ return peerInstance ;
49+ }
50+
51+ /**
52+ * Optional. The resource name of the peer instance to promote, in the format
53+ * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is
54+ * required if the operation is called on an active instance.
55+ * @param peerInstance peerInstance or {@code null} for none
56+ */
57+ public PromoteReplicaRequest setPeerInstance (java .lang .String peerInstance ) {
58+ this .peerInstance = peerInstance ;
59+ return this ;
60+ }
61+
3262 @ Override
3363 public PromoteReplicaRequest set (String fieldName , Object value ) {
3464 return (PromoteReplicaRequest ) super .set (fieldName , value );
Original file line number Diff line number Diff line change 88
99 <groupId >com.google.apis</groupId >
1010 <artifactId >google-api-services-file</artifactId >
11- <version >v1-rev20250129 -2.0.0</version >
12- <name >Cloud Filestore API v1-rev20250129 -2.0.0</name >
11+ <version >v1-rev20250205 -2.0.0</version >
12+ <name >Cloud Filestore API v1-rev20250205 -2.0.0</name >
1313 <packaging >jar</packaging >
1414
1515 <inceptionYear >2011</inceptionYear >
9191 <links >
9292 <link >http://docs.oracle.com/javase/7/docs/api</link >
9393 <link >https://googleapis.dev/java/google-http-client/1.46.1/</link >
94- <link >https://googleapis.dev/java/google-oauth-client/1.37 .0/</link >
94+ <link >https://googleapis.dev/java/google-oauth-client/1.38 .0/</link >
9595 <link >https://googleapis.dev/java/google-api-client/2.7.2/</link >
9696 </links >
9797 </configuration >
Original file line number Diff line number Diff 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-file</artifactId >
25- <version >v1-rev20250129 -2.0.0</version >
25+ <version >v1-rev20250205 -2.0.0</version >
2626 </dependency >
2727 </dependencies >
2828</project >
@@ -35,7 +35,7 @@ repositories {
3535 mavenCentral()
3636}
3737dependencies {
38- implementation 'com.google.apis:google-api-services-file:v1-rev20250129 -2.0.0'
38+ implementation 'com.google.apis:google-api-services-file:v1-rev20250205 -2.0.0'
3939}
4040```
4141
Original file line number Diff line number Diff line change 9191 <links >
9292 <link >http://docs.oracle.com/javase/7/docs/api</link >
9393 <link >https://googleapis.dev/java/google-http-client/1.46.1/</link >
94- <link >https://googleapis.dev/java/google-oauth-client/1.37 .0/</link >
94+ <link >https://googleapis.dev/java/google-oauth-client/1.38 .0/</link >
9595 <link >https://googleapis.dev/java/google-api-client/2.7.2/</link >
9696 </links >
9797 </configuration >
You can’t perform that action at this time.
0 commit comments