Skip to content

Commit 69d69a3

Browse files
1 parent bee1959 commit 69d69a3

File tree

5 files changed

+196
-12
lines changed

5 files changed

+196
-12
lines changed

clients/google-api-services-file/v1beta1/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-file</artifactId>
25-
<version>v1beta1-rev20250810-2.0.0</version>
25+
<version>v1beta1-rev20250819-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-file:v1beta1-rev20250810-2.0.0'
38+
implementation 'com.google.apis:google-api-services-file:v1beta1-rev20250819-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-file/v1beta1/2.0.0/com/google/api/services/file/v1beta1/CloudFilestore.java

Lines changed: 148 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,22 +445,22 @@ public List setName(java.lang.String name) {
445445
}
446446

447447
/**
448-
* Optional. A list of extra location types that should be used as conditions for
449-
* controlling the visibility of the locations.
448+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
449+
* documented otherwise. This is primarily for internal usage.
450450
*/
451451
@com.google.api.client.util.Key
452452
private java.util.List<java.lang.String> extraLocationTypes;
453453

454-
/** Optional. A list of extra location types that should be used as conditions for controlling the
455-
visibility of the locations.
454+
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented
455+
otherwise. This is primarily for internal usage.
456456
*/
457457
public java.util.List<java.lang.String> getExtraLocationTypes() {
458458
return extraLocationTypes;
459459
}
460460

461461
/**
462-
* Optional. A list of extra location types that should be used as conditions for
463-
* controlling the visibility of the locations.
462+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
463+
* documented otherwise. This is primarily for internal usage.
464464
*/
465465
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
466466
this.extraLocationTypes = extraLocationTypes;
@@ -2723,6 +2723,148 @@ public Restore set(String parameterName, Object value) {
27232723
return (Restore) super.set(parameterName, value);
27242724
}
27252725
}
2726+
/**
2727+
* Resume the standby instance (replica). WARNING: Any data written to the standby instance while
2728+
* paused will be lost when the replica is resumed.
2729+
*
2730+
* Create a request for the method "instances.resumeReplica".
2731+
*
2732+
* This request holds the parameters needed by the file server. After setting any optional
2733+
* parameters, call the {@link ResumeReplica#execute()} method to invoke the remote operation.
2734+
*
2735+
* @param name Required. The resource name of the instance, in the format
2736+
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2737+
* @param content the {@link com.google.api.services.file.v1beta1.model.ResumeReplicaRequest}
2738+
* @return the request
2739+
*/
2740+
public ResumeReplica resumeReplica(java.lang.String name, com.google.api.services.file.v1beta1.model.ResumeReplicaRequest content) throws java.io.IOException {
2741+
ResumeReplica result = new ResumeReplica(name, content);
2742+
initialize(result);
2743+
return result;
2744+
}
2745+
2746+
public class ResumeReplica extends CloudFilestoreRequest<com.google.api.services.file.v1beta1.model.Operation> {
2747+
2748+
private static final String REST_PATH = "v1beta1/{+name}:resumeReplica";
2749+
2750+
private final java.util.regex.Pattern NAME_PATTERN =
2751+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
2752+
2753+
/**
2754+
* Resume the standby instance (replica). WARNING: Any data written to the standby instance while
2755+
* paused will be lost when the replica is resumed.
2756+
*
2757+
* Create a request for the method "instances.resumeReplica".
2758+
*
2759+
* This request holds the parameters needed by the the file server. After setting any optional
2760+
* parameters, call the {@link ResumeReplica#execute()} method to invoke the remote operation. <p>
2761+
* {@link ResumeReplica#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
2762+
* equest)} must be called to initialize this instance immediately after invoking the constructor.
2763+
* </p>
2764+
*
2765+
* @param name Required. The resource name of the instance, in the format
2766+
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2767+
* @param content the {@link com.google.api.services.file.v1beta1.model.ResumeReplicaRequest}
2768+
* @since 1.13
2769+
*/
2770+
protected ResumeReplica(java.lang.String name, com.google.api.services.file.v1beta1.model.ResumeReplicaRequest content) {
2771+
super(CloudFilestore.this, "POST", REST_PATH, content, com.google.api.services.file.v1beta1.model.Operation.class);
2772+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
2773+
if (!getSuppressPatternChecks()) {
2774+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2775+
"Parameter name must conform to the pattern " +
2776+
"^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
2777+
}
2778+
}
2779+
2780+
@Override
2781+
public ResumeReplica set$Xgafv(java.lang.String $Xgafv) {
2782+
return (ResumeReplica) super.set$Xgafv($Xgafv);
2783+
}
2784+
2785+
@Override
2786+
public ResumeReplica setAccessToken(java.lang.String accessToken) {
2787+
return (ResumeReplica) super.setAccessToken(accessToken);
2788+
}
2789+
2790+
@Override
2791+
public ResumeReplica setAlt(java.lang.String alt) {
2792+
return (ResumeReplica) super.setAlt(alt);
2793+
}
2794+
2795+
@Override
2796+
public ResumeReplica setCallback(java.lang.String callback) {
2797+
return (ResumeReplica) super.setCallback(callback);
2798+
}
2799+
2800+
@Override
2801+
public ResumeReplica setFields(java.lang.String fields) {
2802+
return (ResumeReplica) super.setFields(fields);
2803+
}
2804+
2805+
@Override
2806+
public ResumeReplica setKey(java.lang.String key) {
2807+
return (ResumeReplica) super.setKey(key);
2808+
}
2809+
2810+
@Override
2811+
public ResumeReplica setOauthToken(java.lang.String oauthToken) {
2812+
return (ResumeReplica) super.setOauthToken(oauthToken);
2813+
}
2814+
2815+
@Override
2816+
public ResumeReplica setPrettyPrint(java.lang.Boolean prettyPrint) {
2817+
return (ResumeReplica) super.setPrettyPrint(prettyPrint);
2818+
}
2819+
2820+
@Override
2821+
public ResumeReplica setQuotaUser(java.lang.String quotaUser) {
2822+
return (ResumeReplica) super.setQuotaUser(quotaUser);
2823+
}
2824+
2825+
@Override
2826+
public ResumeReplica setUploadType(java.lang.String uploadType) {
2827+
return (ResumeReplica) super.setUploadType(uploadType);
2828+
}
2829+
2830+
@Override
2831+
public ResumeReplica setUploadProtocol(java.lang.String uploadProtocol) {
2832+
return (ResumeReplica) super.setUploadProtocol(uploadProtocol);
2833+
}
2834+
2835+
/**
2836+
* Required. The resource name of the instance, in the format
2837+
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2838+
*/
2839+
@com.google.api.client.util.Key
2840+
private java.lang.String name;
2841+
2842+
/** Required. The resource name of the instance, in the format
2843+
`projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2844+
*/
2845+
public java.lang.String getName() {
2846+
return name;
2847+
}
2848+
2849+
/**
2850+
* Required. The resource name of the instance, in the format
2851+
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2852+
*/
2853+
public ResumeReplica setName(java.lang.String name) {
2854+
if (!getSuppressPatternChecks()) {
2855+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2856+
"Parameter name must conform to the pattern " +
2857+
"^projects/[^/]+/locations/[^/]+/instances/[^/]+$");
2858+
}
2859+
this.name = name;
2860+
return this;
2861+
}
2862+
2863+
@Override
2864+
public ResumeReplica set(String parameterName, Object value) {
2865+
return (ResumeReplica) super.set(parameterName, value);
2866+
}
2867+
}
27262868
/**
27272869
* Revert an existing instance's file system to a specified snapshot.
27282870
*
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.file.v1beta1.model;
18+
19+
/**
20+
* ResumeReplicaRequest resumes a Filestore standby instance (replica).
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Filestore API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ResumeReplicaRequest extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public ResumeReplicaRequest set(String fieldName, Object value) {
34+
return (ResumeReplicaRequest) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public ResumeReplicaRequest clone() {
39+
return (ResumeReplicaRequest) super.clone();
40+
}
41+
42+
}

clients/google-api-services-file/v1beta1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-file</artifactId>
11-
<version>v1beta1-rev20250810-2.0.0</version>
12-
<name>Cloud Filestore API v1beta1-rev20250810-2.0.0</name>
11+
<version>v1beta1-rev20250819-2.0.0</version>
12+
<name>Cloud Filestore API v1beta1-rev20250819-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-file/v1beta1/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-file</artifactId>
25-
<version>v1beta1-rev20250810-2.0.0</version>
25+
<version>v1beta1-rev20250819-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-file:v1beta1-rev20250810-2.0.0'
38+
implementation 'com.google.apis:google-api-services-file:v1beta1-rev20250819-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)