Skip to content

Commit

Permalink
chore: regenerate servicemanagement client (#23517)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 27, 2024
1 parent f2b2305 commit 4855803
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-servicemanagement</artifactId>
<version>v1-rev20240823-2.0.0</version>
<version>v1-rev20240920-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20240823-2.0.0'
implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20240920-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ public final class CommonLanguageSettings extends com.google.api.client.json.Gen
@com.google.api.client.util.Key
private java.lang.String referenceDocsUri;

/**
* Configuration for which RPCs should be generated in the GAPIC client.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private SelectiveGapicGeneration selectiveGapicGeneration;

/**
* The destination where API teams want this client library to be published.
* @return value or {@code null} for none
Expand Down Expand Up @@ -81,6 +88,23 @@ public CommonLanguageSettings setReferenceDocsUri(java.lang.String referenceDocs
return this;
}

/**
* Configuration for which RPCs should be generated in the GAPIC client.
* @return value or {@code null} for none
*/
public SelectiveGapicGeneration getSelectiveGapicGeneration() {
return selectiveGapicGeneration;
}

/**
* Configuration for which RPCs should be generated in the GAPIC client.
* @param selectiveGapicGeneration selectiveGapicGeneration or {@code null} for none
*/
public CommonLanguageSettings setSelectiveGapicGeneration(SelectiveGapicGeneration selectiveGapicGeneration) {
this.selectiveGapicGeneration = selectiveGapicGeneration;
return this;
}

@Override
public CommonLanguageSettings set(String fieldName, Object value) {
return (CommonLanguageSettings) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.servicemanagement.model;

/**
* This message is used to configure the generation of a subset of the RPCs in a service for client
* libraries.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Service Management API. For a detailed explanation
* see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class SelectiveGapicGeneration extends com.google.api.client.json.GenericJson {

/**
* An allowlist of the fully qualified names of RPCs that should be included on public client
* surfaces.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> methods;

/**
* An allowlist of the fully qualified names of RPCs that should be included on public client
* surfaces.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getMethods() {
return methods;
}

/**
* An allowlist of the fully qualified names of RPCs that should be included on public client
* surfaces.
* @param methods methods or {@code null} for none
*/
public SelectiveGapicGeneration setMethods(java.util.List<java.lang.String> methods) {
this.methods = methods;
return this;
}

@Override
public SelectiveGapicGeneration set(String fieldName, Object value) {
return (SelectiveGapicGeneration) super.set(fieldName, value);
}

@Override
public SelectiveGapicGeneration clone() {
return (SelectiveGapicGeneration) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-servicemanagement</artifactId>
<version>v1-rev20240823-2.0.0</version>
<name>Service Management API v1-rev20240823-2.0.0</name>
<version>v1-rev20240920-2.0.0</version>
<name>Service Management API v1-rev20240920-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-servicemanagement/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-servicemanagement</artifactId>
<version>v1-rev20240823-2.0.0</version>
<version>v1-rev20240920-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20240823-2.0.0'
implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20240920-2.0.0'
}
```

Expand Down

0 comments on commit 4855803

Please sign in to comment.