Skip to content

Commit 51a96c0

Browse files
1 parent 75d2507 commit 51a96c0

File tree

6 files changed

+135
-6
lines changed

6 files changed

+135
-6
lines changed

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

clients/google-api-services-file/v1/2.0.0/com/google/api/services/file/v1/model/NetworkConfig.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ public final class NetworkConfig extends com.google.api.client.json.GenericJson
6262
@com.google.api.client.util.Key
6363
private java.lang.String network;
6464

65+
/**
66+
* Optional. Private Service Connect configuration. Should only be set when connect_mode is
67+
* PRIVATE_SERVICE_CONNECT.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private PscConfig pscConfig;
72+
6573
/**
6674
* Optional, reserved_ip_range can have one of the following two types of values. * CIDR range
6775
* value when using DIRECT_PEERING connect mode. * [Allocated IP address
@@ -159,6 +167,25 @@ public NetworkConfig setNetwork(java.lang.String network) {
159167
return this;
160168
}
161169

170+
/**
171+
* Optional. Private Service Connect configuration. Should only be set when connect_mode is
172+
* PRIVATE_SERVICE_CONNECT.
173+
* @return value or {@code null} for none
174+
*/
175+
public PscConfig getPscConfig() {
176+
return pscConfig;
177+
}
178+
179+
/**
180+
* Optional. Private Service Connect configuration. Should only be set when connect_mode is
181+
* PRIVATE_SERVICE_CONNECT.
182+
* @param pscConfig pscConfig or {@code null} for none
183+
*/
184+
public NetworkConfig setPscConfig(PscConfig pscConfig) {
185+
this.pscConfig = pscConfig;
186+
return this;
187+
}
188+
162189
/**
163190
* Optional, reserved_ip_range can have one of the following two types of values. * CIDR range
164191
* value when using DIRECT_PEERING connect mode. * [Allocated IP address

clients/google-api-services-file/v1/2.0.0/com/google/api/services/file/v1/model/NfsExportOptions.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ public final class NfsExportOptions extends com.google.api.client.json.GenericJs
6666
@com.google.api.client.util.Key
6767
private java.util.List<java.lang.String> ipRanges;
6868

69+
/**
70+
* Optional. The source VPC network for ip_ranges. Required for instances using Private Service
71+
* Connect, optional otherwise. If provided, must be the same network specified in the
72+
* `NetworkConfig.network` field.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.lang.String network;
77+
6978
/**
7079
* Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for
7180
* not allowing root access. The default is NO_ROOT_SQUASH.
@@ -160,6 +169,27 @@ public NfsExportOptions setIpRanges(java.util.List<java.lang.String> ipRanges) {
160169
return this;
161170
}
162171

172+
/**
173+
* Optional. The source VPC network for ip_ranges. Required for instances using Private Service
174+
* Connect, optional otherwise. If provided, must be the same network specified in the
175+
* `NetworkConfig.network` field.
176+
* @return value or {@code null} for none
177+
*/
178+
public java.lang.String getNetwork() {
179+
return network;
180+
}
181+
182+
/**
183+
* Optional. The source VPC network for ip_ranges. Required for instances using Private Service
184+
* Connect, optional otherwise. If provided, must be the same network specified in the
185+
* `NetworkConfig.network` field.
186+
* @param network network or {@code null} for none
187+
*/
188+
public NfsExportOptions setNetwork(java.lang.String network) {
189+
this.network = network;
190+
return this;
191+
}
192+
163193
/**
164194
* Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for
165195
* not allowing root access. The default is NO_ROOT_SQUASH.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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.v1.model;
18+
19+
/**
20+
* Private Service Connect configuration.
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 PscConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Consumer service project in which the Private Service Connect endpoint would be set
34+
* up. This is optional, and only relevant in case the network is a shared VPC. If this is not
35+
* specified, the endpoint would be setup in the VPC host project.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String endpointProject;
40+
41+
/**
42+
* Optional. Consumer service project in which the Private Service Connect endpoint would be set
43+
* up. This is optional, and only relevant in case the network is a shared VPC. If this is not
44+
* specified, the endpoint would be setup in the VPC host project.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getEndpointProject() {
48+
return endpointProject;
49+
}
50+
51+
/**
52+
* Optional. Consumer service project in which the Private Service Connect endpoint would be set
53+
* up. This is optional, and only relevant in case the network is a shared VPC. If this is not
54+
* specified, the endpoint would be setup in the VPC host project.
55+
* @param endpointProject endpointProject or {@code null} for none
56+
*/
57+
public PscConfig setEndpointProject(java.lang.String endpointProject) {
58+
this.endpointProject = endpointProject;
59+
return this;
60+
}
61+
62+
@Override
63+
public PscConfig set(String fieldName, Object value) {
64+
return (PscConfig) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public PscConfig clone() {
69+
return (PscConfig) super.clone();
70+
}
71+
72+
}

clients/google-api-services-file/v1/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>v1-rev20250819-2.0.0</version>
12-
<name>Cloud Filestore API v1-rev20250819-2.0.0</name>
11+
<version>v1-rev20250825-2.0.0</version>
12+
<name>Cloud Filestore API v1-rev20250825-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)