Skip to content

Commit 054ce78

Browse files
1 parent 11aca2b commit 054ce78

File tree

4 files changed

+175
-6
lines changed

4 files changed

+175
-6
lines changed

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

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

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10594,6 +10594,175 @@ public List set(String parameterName, Object value) {
1059410594
return (List) super.set(parameterName, value);
1059510595
}
1059610596
}
10597+
/**
10598+
* Updates the parameters of a single ServiceBinding.
10599+
*
10600+
* Create a request for the method "serviceBindings.patch".
10601+
*
10602+
* This request holds the parameters needed by the networkservices server. After setting any
10603+
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
10604+
*
10605+
* @param name Identifier. Name of the ServiceBinding resource. It matches pattern
10606+
* `projects/locations/serviceBindings/`.
10607+
* @param content the {@link com.google.api.services.networkservices.v1beta1.model.ServiceBinding}
10608+
* @return the request
10609+
*/
10610+
public Patch patch(java.lang.String name, com.google.api.services.networkservices.v1beta1.model.ServiceBinding content) throws java.io.IOException {
10611+
Patch result = new Patch(name, content);
10612+
initialize(result);
10613+
return result;
10614+
}
10615+
10616+
public class Patch extends NetworkServicesRequest<com.google.api.services.networkservices.v1beta1.model.Operation> {
10617+
10618+
private static final String REST_PATH = "v1beta1/{+name}";
10619+
10620+
private final java.util.regex.Pattern NAME_PATTERN =
10621+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$");
10622+
10623+
/**
10624+
* Updates the parameters of a single ServiceBinding.
10625+
*
10626+
* Create a request for the method "serviceBindings.patch".
10627+
*
10628+
* This request holds the parameters needed by the the networkservices server. After setting any
10629+
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
10630+
* <p> {@link
10631+
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
10632+
* be called to initialize this instance immediately after invoking the constructor. </p>
10633+
*
10634+
* @param name Identifier. Name of the ServiceBinding resource. It matches pattern
10635+
* `projects/locations/serviceBindings/`.
10636+
* @param content the {@link com.google.api.services.networkservices.v1beta1.model.ServiceBinding}
10637+
* @since 1.13
10638+
*/
10639+
protected Patch(java.lang.String name, com.google.api.services.networkservices.v1beta1.model.ServiceBinding content) {
10640+
super(NetworkServices.this, "PATCH", REST_PATH, content, com.google.api.services.networkservices.v1beta1.model.Operation.class);
10641+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
10642+
if (!getSuppressPatternChecks()) {
10643+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
10644+
"Parameter name must conform to the pattern " +
10645+
"^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$");
10646+
}
10647+
}
10648+
10649+
@Override
10650+
public Patch set$Xgafv(java.lang.String $Xgafv) {
10651+
return (Patch) super.set$Xgafv($Xgafv);
10652+
}
10653+
10654+
@Override
10655+
public Patch setAccessToken(java.lang.String accessToken) {
10656+
return (Patch) super.setAccessToken(accessToken);
10657+
}
10658+
10659+
@Override
10660+
public Patch setAlt(java.lang.String alt) {
10661+
return (Patch) super.setAlt(alt);
10662+
}
10663+
10664+
@Override
10665+
public Patch setCallback(java.lang.String callback) {
10666+
return (Patch) super.setCallback(callback);
10667+
}
10668+
10669+
@Override
10670+
public Patch setFields(java.lang.String fields) {
10671+
return (Patch) super.setFields(fields);
10672+
}
10673+
10674+
@Override
10675+
public Patch setKey(java.lang.String key) {
10676+
return (Patch) super.setKey(key);
10677+
}
10678+
10679+
@Override
10680+
public Patch setOauthToken(java.lang.String oauthToken) {
10681+
return (Patch) super.setOauthToken(oauthToken);
10682+
}
10683+
10684+
@Override
10685+
public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
10686+
return (Patch) super.setPrettyPrint(prettyPrint);
10687+
}
10688+
10689+
@Override
10690+
public Patch setQuotaUser(java.lang.String quotaUser) {
10691+
return (Patch) super.setQuotaUser(quotaUser);
10692+
}
10693+
10694+
@Override
10695+
public Patch setUploadType(java.lang.String uploadType) {
10696+
return (Patch) super.setUploadType(uploadType);
10697+
}
10698+
10699+
@Override
10700+
public Patch setUploadProtocol(java.lang.String uploadProtocol) {
10701+
return (Patch) super.setUploadProtocol(uploadProtocol);
10702+
}
10703+
10704+
/**
10705+
* Identifier. Name of the ServiceBinding resource. It matches pattern
10706+
* `projects/locations/serviceBindings/`.
10707+
*/
10708+
@com.google.api.client.util.Key
10709+
private java.lang.String name;
10710+
10711+
/** Identifier. Name of the ServiceBinding resource. It matches pattern
10712+
`projects/locations/serviceBindings/`.
10713+
*/
10714+
public java.lang.String getName() {
10715+
return name;
10716+
}
10717+
10718+
/**
10719+
* Identifier. Name of the ServiceBinding resource. It matches pattern
10720+
* `projects/locations/serviceBindings/`.
10721+
*/
10722+
public Patch setName(java.lang.String name) {
10723+
if (!getSuppressPatternChecks()) {
10724+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
10725+
"Parameter name must conform to the pattern " +
10726+
"^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$");
10727+
}
10728+
this.name = name;
10729+
return this;
10730+
}
10731+
10732+
/**
10733+
* Optional. Field mask is used to specify the fields to be overwritten in the
10734+
* ServiceBinding resource by the update. The fields specified in the update_mask are
10735+
* relative to the resource, not the full request. A field will be overwritten if it is in
10736+
* the mask. If the user does not provide a mask then all fields will be overwritten.
10737+
*/
10738+
@com.google.api.client.util.Key
10739+
private String updateMask;
10740+
10741+
/** Optional. Field mask is used to specify the fields to be overwritten in the ServiceBinding resource
10742+
by the update. The fields specified in the update_mask are relative to the resource, not the full
10743+
request. A field will be overwritten if it is in the mask. If the user does not provide a mask then
10744+
all fields will be overwritten.
10745+
*/
10746+
public String getUpdateMask() {
10747+
return updateMask;
10748+
}
10749+
10750+
/**
10751+
* Optional. Field mask is used to specify the fields to be overwritten in the
10752+
* ServiceBinding resource by the update. The fields specified in the update_mask are
10753+
* relative to the resource, not the full request. A field will be overwritten if it is in
10754+
* the mask. If the user does not provide a mask then all fields will be overwritten.
10755+
*/
10756+
public Patch setUpdateMask(String updateMask) {
10757+
this.updateMask = updateMask;
10758+
return this;
10759+
}
10760+
10761+
@Override
10762+
public Patch set(String parameterName, Object value) {
10763+
return (Patch) super.set(parameterName, value);
10764+
}
10765+
}
1059710766

1059810767
}
1059910768
/**

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

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)