Skip to content

Commit

Permalink
chore: regenerate testing client (#23847)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Nov 11, 2024
1 parent d8d730f commit d87587d
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 9 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-testing/v1/2.0.0/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-testing</artifactId>
<version>v1-rev20240917-2.0.0</version>
<version>v1-rev20241105-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-testing:v1-rev20240917-2.0.0'
implementation 'com.google.apis:google-api-services-testing:v1-rev20241105-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,18 @@ public final class ApkManifest extends com.google.api.client.json.GenericJson {
private java.util.List<UsesFeature> usesFeature;

/**
* Permissions declared to be used by the application
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> usesPermission;

/**
* Permissions declared to be used by the application
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<UsesPermissionTag> usesPermissionTags;

/**
* Version number used internally by the app.
* The value may be {@code null}.
Expand Down Expand Up @@ -265,22 +271,37 @@ public ApkManifest setUsesFeature(java.util.List<UsesFeature> usesFeature) {
}

/**
* Permissions declared to be used by the application
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getUsesPermission() {
return usesPermission;
}

/**
* Permissions declared to be used by the application
* @param usesPermission usesPermission or {@code null} for none
*/
public ApkManifest setUsesPermission(java.util.List<java.lang.String> usesPermission) {
this.usesPermission = usesPermission;
return this;
}

/**
* Permissions declared to be used by the application
* @return value or {@code null} for none
*/
public java.util.List<UsesPermissionTag> getUsesPermissionTags() {
return usesPermissionTags;
}

/**
* Permissions declared to be used by the application
* @param usesPermissionTags usesPermissionTags or {@code null} for none
*/
public ApkManifest setUsesPermissionTags(java.util.List<UsesPermissionTag> usesPermissionTags) {
this.usesPermissionTags = usesPermissionTags;
return this;
}

/**
* Version number used internally by the app.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/*
* 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.testing.model;

/**
* The tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-permission-
* element.html
*
* <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 Cloud Testing 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 UsesPermissionTag extends com.google.api.client.json.GenericJson {

/**
* The android:name value
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxSdkVersion;

/**
* The android:name value
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* The android:name value
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxSdkVersion() {
return maxSdkVersion;
}

/**
* The android:name value
* @param maxSdkVersion maxSdkVersion or {@code null} for none
*/
public UsesPermissionTag setMaxSdkVersion(java.lang.Integer maxSdkVersion) {
this.maxSdkVersion = maxSdkVersion;
return this;
}

/**
* The android:name value
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* The android:name value
* @param name name or {@code null} for none
*/
public UsesPermissionTag setName(java.lang.String name) {
this.name = name;
return this;
}

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

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

}
4 changes: 2 additions & 2 deletions clients/google-api-services-testing/v1/2.0.0/pom.xml
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-testing</artifactId>
<version>v1-rev20240917-2.0.0</version>
<name>Cloud Testing API v1-rev20240917-2.0.0</name>
<version>v1-rev20241105-2.0.0</version>
<name>Cloud Testing API v1-rev20241105-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-testing/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-testing</artifactId>
<version>v1-rev20240917-2.0.0</version>
<version>v1-rev20241105-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-testing:v1-rev20240917-2.0.0'
implementation 'com.google.apis:google-api-services-testing:v1-rev20241105-2.0.0'
}
```

Expand Down

0 comments on commit d87587d

Please sign in to comment.