Skip to content

Commit c59ffcb

Browse files
1 parent cacefd8 commit c59ffcb

File tree

4 files changed

+175
-6
lines changed

4 files changed

+175
-6
lines changed

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

clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/NetworkServices.java

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11185,6 +11185,175 @@ public List set(String parameterName, Object value) {
1118511185
return (List) super.set(parameterName, value);
1118611186
}
1118711187
}
11188+
/**
11189+
* Updates the parameters of a single ServiceBinding.
11190+
*
11191+
* Create a request for the method "serviceBindings.patch".
11192+
*
11193+
* This request holds the parameters needed by the networkservices server. After setting any
11194+
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
11195+
*
11196+
* @param name Identifier. Name of the ServiceBinding resource. It matches pattern
11197+
* `projects/locations/serviceBindings/`.
11198+
* @param content the {@link com.google.api.services.networkservices.v1.model.ServiceBinding}
11199+
* @return the request
11200+
*/
11201+
public Patch patch(java.lang.String name, com.google.api.services.networkservices.v1.model.ServiceBinding content) throws java.io.IOException {
11202+
Patch result = new Patch(name, content);
11203+
initialize(result);
11204+
return result;
11205+
}
11206+
11207+
public class Patch extends NetworkServicesRequest<com.google.api.services.networkservices.v1.model.Operation> {
11208+
11209+
private static final String REST_PATH = "v1/{+name}";
11210+
11211+
private final java.util.regex.Pattern NAME_PATTERN =
11212+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$");
11213+
11214+
/**
11215+
* Updates the parameters of a single ServiceBinding.
11216+
*
11217+
* Create a request for the method "serviceBindings.patch".
11218+
*
11219+
* This request holds the parameters needed by the the networkservices server. After setting any
11220+
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
11221+
* <p> {@link
11222+
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
11223+
* be called to initialize this instance immediately after invoking the constructor. </p>
11224+
*
11225+
* @param name Identifier. Name of the ServiceBinding resource. It matches pattern
11226+
* `projects/locations/serviceBindings/`.
11227+
* @param content the {@link com.google.api.services.networkservices.v1.model.ServiceBinding}
11228+
* @since 1.13
11229+
*/
11230+
protected Patch(java.lang.String name, com.google.api.services.networkservices.v1.model.ServiceBinding content) {
11231+
super(NetworkServices.this, "PATCH", REST_PATH, content, com.google.api.services.networkservices.v1.model.Operation.class);
11232+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
11233+
if (!getSuppressPatternChecks()) {
11234+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
11235+
"Parameter name must conform to the pattern " +
11236+
"^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$");
11237+
}
11238+
}
11239+
11240+
@Override
11241+
public Patch set$Xgafv(java.lang.String $Xgafv) {
11242+
return (Patch) super.set$Xgafv($Xgafv);
11243+
}
11244+
11245+
@Override
11246+
public Patch setAccessToken(java.lang.String accessToken) {
11247+
return (Patch) super.setAccessToken(accessToken);
11248+
}
11249+
11250+
@Override
11251+
public Patch setAlt(java.lang.String alt) {
11252+
return (Patch) super.setAlt(alt);
11253+
}
11254+
11255+
@Override
11256+
public Patch setCallback(java.lang.String callback) {
11257+
return (Patch) super.setCallback(callback);
11258+
}
11259+
11260+
@Override
11261+
public Patch setFields(java.lang.String fields) {
11262+
return (Patch) super.setFields(fields);
11263+
}
11264+
11265+
@Override
11266+
public Patch setKey(java.lang.String key) {
11267+
return (Patch) super.setKey(key);
11268+
}
11269+
11270+
@Override
11271+
public Patch setOauthToken(java.lang.String oauthToken) {
11272+
return (Patch) super.setOauthToken(oauthToken);
11273+
}
11274+
11275+
@Override
11276+
public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
11277+
return (Patch) super.setPrettyPrint(prettyPrint);
11278+
}
11279+
11280+
@Override
11281+
public Patch setQuotaUser(java.lang.String quotaUser) {
11282+
return (Patch) super.setQuotaUser(quotaUser);
11283+
}
11284+
11285+
@Override
11286+
public Patch setUploadType(java.lang.String uploadType) {
11287+
return (Patch) super.setUploadType(uploadType);
11288+
}
11289+
11290+
@Override
11291+
public Patch setUploadProtocol(java.lang.String uploadProtocol) {
11292+
return (Patch) super.setUploadProtocol(uploadProtocol);
11293+
}
11294+
11295+
/**
11296+
* Identifier. Name of the ServiceBinding resource. It matches pattern
11297+
* `projects/locations/serviceBindings/`.
11298+
*/
11299+
@com.google.api.client.util.Key
11300+
private java.lang.String name;
11301+
11302+
/** Identifier. Name of the ServiceBinding resource. It matches pattern
11303+
`projects/locations/serviceBindings/`.
11304+
*/
11305+
public java.lang.String getName() {
11306+
return name;
11307+
}
11308+
11309+
/**
11310+
* Identifier. Name of the ServiceBinding resource. It matches pattern
11311+
* `projects/locations/serviceBindings/`.
11312+
*/
11313+
public Patch setName(java.lang.String name) {
11314+
if (!getSuppressPatternChecks()) {
11315+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
11316+
"Parameter name must conform to the pattern " +
11317+
"^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$");
11318+
}
11319+
this.name = name;
11320+
return this;
11321+
}
11322+
11323+
/**
11324+
* Optional. Field mask is used to specify the fields to be overwritten in the
11325+
* ServiceBinding resource by the update. The fields specified in the update_mask are
11326+
* relative to the resource, not the full request. A field will be overwritten if it is in
11327+
* the mask. If the user does not provide a mask then all fields will be overwritten.
11328+
*/
11329+
@com.google.api.client.util.Key
11330+
private String updateMask;
11331+
11332+
/** Optional. Field mask is used to specify the fields to be overwritten in the ServiceBinding resource
11333+
by the update. The fields specified in the update_mask are relative to the resource, not the full
11334+
request. A field will be overwritten if it is in the mask. If the user does not provide a mask then
11335+
all fields will be overwritten.
11336+
*/
11337+
public String getUpdateMask() {
11338+
return updateMask;
11339+
}
11340+
11341+
/**
11342+
* Optional. Field mask is used to specify the fields to be overwritten in the
11343+
* ServiceBinding resource by the update. The fields specified in the update_mask are
11344+
* relative to the resource, not the full request. A field will be overwritten if it is in
11345+
* the mask. If the user does not provide a mask then all fields will be overwritten.
11346+
*/
11347+
public Patch setUpdateMask(String updateMask) {
11348+
this.updateMask = updateMask;
11349+
return this;
11350+
}
11351+
11352+
@Override
11353+
public Patch set(String parameterName, Object value) {
11354+
return (Patch) super.set(parameterName, value);
11355+
}
11356+
}
1118811357

1118911358
}
1119011359
/**

clients/google-api-services-networkservices/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-networkservices</artifactId>
11-
<version>v1-rev20250423-2.0.0</version>
12-
<name>Network Services API v1-rev20250423-2.0.0</name>
11+
<version>v1-rev20250508-2.0.0</version>
12+
<name>Network Services API v1-rev20250508-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)