Skip to content

Commit 8a5c5a7

Browse files
1 parent c3db8e1 commit 8a5c5a7

File tree

5 files changed

+270
-6
lines changed

5 files changed

+270
-6
lines changed

clients/google-api-services-androidpublisher/v3/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-androidpublisher</artifactId>
25-
<version>v3-rev20231107-2.0.0</version>
25+
<version>v3-rev20231111-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-androidpublisher:v3-rev20231107-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20231111-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-androidpublisher/v3/2.0.0/com/google/api/services/androidpublisher/AndroidPublisher.java

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6231,6 +6231,143 @@ public Tracks tracks() {
62316231
*/
62326232
public class Tracks {
62336233

6234+
/**
6235+
* Creates a new track.
6236+
*
6237+
* Create a request for the method "tracks.create".
6238+
*
6239+
* This request holds the parameters needed by the androidpublisher server. After setting any
6240+
* optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
6241+
*
6242+
* @param packageName Required. Package name of the app.
6243+
* @param editId Required. Identifier of the edit.
6244+
* @param content the {@link com.google.api.services.androidpublisher.model.TrackConfig}
6245+
* @return the request
6246+
*/
6247+
public Create create(java.lang.String packageName, java.lang.String editId, com.google.api.services.androidpublisher.model.TrackConfig content) throws java.io.IOException {
6248+
Create result = new Create(packageName, editId, content);
6249+
initialize(result);
6250+
return result;
6251+
}
6252+
6253+
public class Create extends AndroidPublisherRequest<com.google.api.services.androidpublisher.model.Track> {
6254+
6255+
private static final String REST_PATH = "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks";
6256+
6257+
/**
6258+
* Creates a new track.
6259+
*
6260+
* Create a request for the method "tracks.create".
6261+
*
6262+
* This request holds the parameters needed by the the androidpublisher server. After setting any
6263+
* optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
6264+
* <p> {@link
6265+
* Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
6266+
* be called to initialize this instance immediately after invoking the constructor. </p>
6267+
*
6268+
* @param packageName Required. Package name of the app.
6269+
* @param editId Required. Identifier of the edit.
6270+
* @param content the {@link com.google.api.services.androidpublisher.model.TrackConfig}
6271+
* @since 1.13
6272+
*/
6273+
protected Create(java.lang.String packageName, java.lang.String editId, com.google.api.services.androidpublisher.model.TrackConfig content) {
6274+
super(AndroidPublisher.this, "POST", REST_PATH, content, com.google.api.services.androidpublisher.model.Track.class);
6275+
this.packageName = com.google.api.client.util.Preconditions.checkNotNull(packageName, "Required parameter packageName must be specified.");
6276+
this.editId = com.google.api.client.util.Preconditions.checkNotNull(editId, "Required parameter editId must be specified.");
6277+
}
6278+
6279+
@Override
6280+
public Create set$Xgafv(java.lang.String $Xgafv) {
6281+
return (Create) super.set$Xgafv($Xgafv);
6282+
}
6283+
6284+
@Override
6285+
public Create setAccessToken(java.lang.String accessToken) {
6286+
return (Create) super.setAccessToken(accessToken);
6287+
}
6288+
6289+
@Override
6290+
public Create setAlt(java.lang.String alt) {
6291+
return (Create) super.setAlt(alt);
6292+
}
6293+
6294+
@Override
6295+
public Create setCallback(java.lang.String callback) {
6296+
return (Create) super.setCallback(callback);
6297+
}
6298+
6299+
@Override
6300+
public Create setFields(java.lang.String fields) {
6301+
return (Create) super.setFields(fields);
6302+
}
6303+
6304+
@Override
6305+
public Create setKey(java.lang.String key) {
6306+
return (Create) super.setKey(key);
6307+
}
6308+
6309+
@Override
6310+
public Create setOauthToken(java.lang.String oauthToken) {
6311+
return (Create) super.setOauthToken(oauthToken);
6312+
}
6313+
6314+
@Override
6315+
public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
6316+
return (Create) super.setPrettyPrint(prettyPrint);
6317+
}
6318+
6319+
@Override
6320+
public Create setQuotaUser(java.lang.String quotaUser) {
6321+
return (Create) super.setQuotaUser(quotaUser);
6322+
}
6323+
6324+
@Override
6325+
public Create setUploadType(java.lang.String uploadType) {
6326+
return (Create) super.setUploadType(uploadType);
6327+
}
6328+
6329+
@Override
6330+
public Create setUploadProtocol(java.lang.String uploadProtocol) {
6331+
return (Create) super.setUploadProtocol(uploadProtocol);
6332+
}
6333+
6334+
/** Required. Package name of the app. */
6335+
@com.google.api.client.util.Key
6336+
private java.lang.String packageName;
6337+
6338+
/** Required. Package name of the app.
6339+
*/
6340+
public java.lang.String getPackageName() {
6341+
return packageName;
6342+
}
6343+
6344+
/** Required. Package name of the app. */
6345+
public Create setPackageName(java.lang.String packageName) {
6346+
this.packageName = packageName;
6347+
return this;
6348+
}
6349+
6350+
/** Required. Identifier of the edit. */
6351+
@com.google.api.client.util.Key
6352+
private java.lang.String editId;
6353+
6354+
/** Required. Identifier of the edit.
6355+
*/
6356+
public java.lang.String getEditId() {
6357+
return editId;
6358+
}
6359+
6360+
/** Required. Identifier of the edit. */
6361+
public Create setEditId(java.lang.String editId) {
6362+
this.editId = editId;
6363+
return this;
6364+
}
6365+
6366+
@Override
6367+
public Create set(String parameterName, Object value) {
6368+
return (Create) super.set(parameterName, value);
6369+
}
6370+
}
62346371
/**
62356372
* Gets a track.
62366373
*
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
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.androidpublisher.model;
18+
19+
/**
20+
* Configurations of the new track.
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 Google Play Android Developer API. For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class TrackConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Form factor of the new track. Defaults to the default track.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String formFactor;
39+
40+
/**
41+
* Required. Identifier of the new track. For default tracks, this field consists of the track
42+
* alias only. Form factor tracks have a special prefix as an identifier, for example
43+
* `wear:production`, `automotive:production`. This prefix must match the value of the
44+
* `form_factor` field, if it is not a default track. [More on track
45+
* name](https://developers.google.com/android-publisher/tracks#ff-track-name)
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String track;
50+
51+
/**
52+
* Required. Type of the new track. Currently, the only supported value is closedTesting.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String type;
57+
58+
/**
59+
* Required. Form factor of the new track. Defaults to the default track.
60+
* @return value or {@code null} for none
61+
*/
62+
public java.lang.String getFormFactor() {
63+
return formFactor;
64+
}
65+
66+
/**
67+
* Required. Form factor of the new track. Defaults to the default track.
68+
* @param formFactor formFactor or {@code null} for none
69+
*/
70+
public TrackConfig setFormFactor(java.lang.String formFactor) {
71+
this.formFactor = formFactor;
72+
return this;
73+
}
74+
75+
/**
76+
* Required. Identifier of the new track. For default tracks, this field consists of the track
77+
* alias only. Form factor tracks have a special prefix as an identifier, for example
78+
* `wear:production`, `automotive:production`. This prefix must match the value of the
79+
* `form_factor` field, if it is not a default track. [More on track
80+
* name](https://developers.google.com/android-publisher/tracks#ff-track-name)
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.String getTrack() {
84+
return track;
85+
}
86+
87+
/**
88+
* Required. Identifier of the new track. For default tracks, this field consists of the track
89+
* alias only. Form factor tracks have a special prefix as an identifier, for example
90+
* `wear:production`, `automotive:production`. This prefix must match the value of the
91+
* `form_factor` field, if it is not a default track. [More on track
92+
* name](https://developers.google.com/android-publisher/tracks#ff-track-name)
93+
* @param track track or {@code null} for none
94+
*/
95+
public TrackConfig setTrack(java.lang.String track) {
96+
this.track = track;
97+
return this;
98+
}
99+
100+
/**
101+
* Required. Type of the new track. Currently, the only supported value is closedTesting.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.lang.String getType() {
105+
return type;
106+
}
107+
108+
/**
109+
* Required. Type of the new track. Currently, the only supported value is closedTesting.
110+
* @param type type or {@code null} for none
111+
*/
112+
public TrackConfig setType(java.lang.String type) {
113+
this.type = type;
114+
return this;
115+
}
116+
117+
@Override
118+
public TrackConfig set(String fieldName, Object value) {
119+
return (TrackConfig) super.set(fieldName, value);
120+
}
121+
122+
@Override
123+
public TrackConfig clone() {
124+
return (TrackConfig) super.clone();
125+
}
126+
127+
}

clients/google-api-services-androidpublisher/v3/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-androidpublisher</artifactId>
11-
<version>v3-rev20231107-2.0.0</version>
12-
<name>Google Play Android Developer API v3-rev20231107-2.0.0</name>
11+
<version>v3-rev20231111-2.0.0</version>
12+
<name>Google Play Android Developer API v3-rev20231111-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-androidpublisher/v3/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-androidpublisher</artifactId>
25-
<version>v3-rev20231107-2.0.0</version>
25+
<version>v3-rev20231111-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-androidpublisher:v3-rev20231107-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20231111-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)