Skip to content

Commit c6d7c9e

Browse files
Regenerate translate client (googleapis#7281)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-03-16 04:04:43,791 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-translate nothing to commit, working tree clean 2021-03-16 04:04:44,278 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-03-16 04:04:44,683 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-03-16 04:04:44,686 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-03-16 04:04:46,497 synthtool [INFO] > Generating translate v2. INFO:synthtool:Generating translate v2. 2021-03-16 04:04:46,497 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 Writing json metadata to clients/google-api-services-translate/v2.metadata.json 2021-03-16 04:04:47,025 synthtool [INFO] > Generating translate v3beta1. INFO:synthtool:Generating translate v3beta1. 2021-03-16 04:04:47,025 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties CancelOperationRequest: OrderedDict([(u'description', u'The request message for Operations.CancelOperation.'), (u'id', u'CancelOperationRequest'), (u'properties', OrderedDict()), (u'type', u'object')]) WARNING:root:object without properties Empty: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'id', u'Empty')]) Writing json metadata to clients/google-api-services-translate/v3beta1.metadata.json 2021-03-16 04:04:47,819 synthtool [INFO] > Generating translate v3. INFO:synthtool:Generating translate v3. 2021-03-16 04:04:47,819 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties CancelOperationRequest: OrderedDict([(u'type', u'object'), (u'description', u'The request message for Operations.CancelOperation.'), (u'id', u'CancelOperationRequest'), (u'properties', OrderedDict())]) WARNING:root:object without properties Empty: OrderedDict([(u'id', u'Empty'), (u'properties', OrderedDict()), (u'type', u'object'), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.')]) Writing json metadata to clients/google-api-services-translate/v3.metadata.json 2021-03-16 04:04:48,615 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-translate/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-translate/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/9889e448-469a-4f87-b218-ab2c23c55bfe/targets - [ ] To automatically regenerate this PR, check this box.
1 parent 6a70a99 commit c6d7c9e

File tree

12 files changed

+1974
-1934
lines changed

12 files changed

+1974
-1934
lines changed

clients/google-api-services-translate/v3.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-translate",
5-
"version": "v3-rev20210219-1.31.0"
5+
"version": "v3-rev20210312-1.31.0"
66
}
77
}

clients/google-api-services-translate/v3/1.31.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-translate</artifactId>
25-
<version>v3-rev20210219-1.31.0</version>
25+
<version>v3-rev20210312-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-translate:v3-rev20210219-1.31.0'
38+
compile 'com.google.apis:google-api-services-translate:v3-rev20210312-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-translate/v3/1.31.0/com/google/api/services/translate/v3/Translate.java

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,49 +1528,69 @@ public List setName(java.lang.String name) {
15281528
return this;
15291529
}
15301530

1531-
/** The standard list filter. */
1531+
/**
1532+
* A filter to narrow down results to a preferred subset. The filtering language accepts
1533+
* strings like "displayName=tokyo", and is documented in more detail in
1534+
* [AIP-160](https://google.aip.dev/160).
1535+
*/
15321536
@com.google.api.client.util.Key
15331537
private java.lang.String filter;
15341538

1535-
/** The standard list filter.
1539+
/** A filter to narrow down results to a preferred subset. The filtering language accepts strings like
1540+
"displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
15361541
*/
15371542
public java.lang.String getFilter() {
15381543
return filter;
15391544
}
15401545

1541-
/** The standard list filter. */
1546+
/**
1547+
* A filter to narrow down results to a preferred subset. The filtering language accepts
1548+
* strings like "displayName=tokyo", and is documented in more detail in
1549+
* [AIP-160](https://google.aip.dev/160).
1550+
*/
15421551
public List setFilter(java.lang.String filter) {
15431552
this.filter = filter;
15441553
return this;
15451554
}
15461555

1547-
/** The standard list page size. */
1556+
/**
1557+
* The maximum number of results to return. If not set, the service will select a default.
1558+
*/
15481559
@com.google.api.client.util.Key
15491560
private java.lang.Integer pageSize;
15501561

1551-
/** The standard list page size.
1562+
/** The maximum number of results to return. If not set, the service will select a default.
15521563
*/
15531564
public java.lang.Integer getPageSize() {
15541565
return pageSize;
15551566
}
15561567

1557-
/** The standard list page size. */
1568+
/**
1569+
* The maximum number of results to return. If not set, the service will select a default.
1570+
*/
15581571
public List setPageSize(java.lang.Integer pageSize) {
15591572
this.pageSize = pageSize;
15601573
return this;
15611574
}
15621575

1563-
/** The standard list page token. */
1576+
/**
1577+
* A page token received from the `next_page_token` field in the response. Send that page
1578+
* token to receive the subsequent page.
1579+
*/
15641580
@com.google.api.client.util.Key
15651581
private java.lang.String pageToken;
15661582

1567-
/** The standard list page token.
1583+
/** A page token received from the `next_page_token` field in the response. Send that page token to
1584+
receive the subsequent page.
15681585
*/
15691586
public java.lang.String getPageToken() {
15701587
return pageToken;
15711588
}
15721589

1573-
/** The standard list page token. */
1590+
/**
1591+
* A page token received from the `next_page_token` field in the response. Send that page
1592+
* token to receive the subsequent page.
1593+
*/
15741594
public List setPageToken(java.lang.String pageToken) {
15751595
this.pageToken = pageToken;
15761596
return this;

clients/google-api-services-translate/v3/1.31.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-translate</artifactId>
11-
<version>v3-rev20210219-1.31.0</version>
12-
<name>Cloud Translation API v3-rev20210219-1.31.0</name>
11+
<version>v3-rev20210312-1.31.0</version>
12+
<name>Cloud Translation API v3-rev20210312-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-translate/v3/1.31.0/resources/translate.v3.json

Lines changed: 1032 additions & 1032 deletions
Large diffs are not rendered by default.

clients/google-api-services-translate/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-translate</artifactId>
25-
<version>v3-rev20210219-1.31.0</version>
25+
<version>v3-rev20210312-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-translate:v3-rev20210219-1.31.0'
38+
compile 'com.google.apis:google-api-services-translate:v3-rev20210312-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-translate/v3beta1.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-translate",
5-
"version": "v3beta1-rev20210219-1.31.0"
5+
"version": "v3beta1-rev20210312-1.31.0"
66
}
77
}

clients/google-api-services-translate/v3beta1/1.31.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-translate</artifactId>
25-
<version>v3beta1-rev20210219-1.31.0</version>
25+
<version>v3beta1-rev20210312-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-translate:v3beta1-rev20210219-1.31.0'
38+
compile 'com.google.apis:google-api-services-translate:v3beta1-rev20210312-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-translate/v3beta1/1.31.0/com/google/api/services/translate/v3beta1/Translate.java

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,49 +1528,69 @@ public List setName(java.lang.String name) {
15281528
return this;
15291529
}
15301530

1531-
/** The standard list filter. */
1531+
/**
1532+
* A filter to narrow down results to a preferred subset. The filtering language accepts
1533+
* strings like "displayName=tokyo", and is documented in more detail in
1534+
* [AIP-160](https://google.aip.dev/160).
1535+
*/
15321536
@com.google.api.client.util.Key
15331537
private java.lang.String filter;
15341538

1535-
/** The standard list filter.
1539+
/** A filter to narrow down results to a preferred subset. The filtering language accepts strings like
1540+
"displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
15361541
*/
15371542
public java.lang.String getFilter() {
15381543
return filter;
15391544
}
15401545

1541-
/** The standard list filter. */
1546+
/**
1547+
* A filter to narrow down results to a preferred subset. The filtering language accepts
1548+
* strings like "displayName=tokyo", and is documented in more detail in
1549+
* [AIP-160](https://google.aip.dev/160).
1550+
*/
15421551
public List setFilter(java.lang.String filter) {
15431552
this.filter = filter;
15441553
return this;
15451554
}
15461555

1547-
/** The standard list page size. */
1556+
/**
1557+
* The maximum number of results to return. If not set, the service will select a default.
1558+
*/
15481559
@com.google.api.client.util.Key
15491560
private java.lang.Integer pageSize;
15501561

1551-
/** The standard list page size.
1562+
/** The maximum number of results to return. If not set, the service will select a default.
15521563
*/
15531564
public java.lang.Integer getPageSize() {
15541565
return pageSize;
15551566
}
15561567

1557-
/** The standard list page size. */
1568+
/**
1569+
* The maximum number of results to return. If not set, the service will select a default.
1570+
*/
15581571
public List setPageSize(java.lang.Integer pageSize) {
15591572
this.pageSize = pageSize;
15601573
return this;
15611574
}
15621575

1563-
/** The standard list page token. */
1576+
/**
1577+
* A page token received from the `next_page_token` field in the response. Send that page
1578+
* token to receive the subsequent page.
1579+
*/
15641580
@com.google.api.client.util.Key
15651581
private java.lang.String pageToken;
15661582

1567-
/** The standard list page token.
1583+
/** A page token received from the `next_page_token` field in the response. Send that page token to
1584+
receive the subsequent page.
15681585
*/
15691586
public java.lang.String getPageToken() {
15701587
return pageToken;
15711588
}
15721589

1573-
/** The standard list page token. */
1590+
/**
1591+
* A page token received from the `next_page_token` field in the response. Send that page
1592+
* token to receive the subsequent page.
1593+
*/
15741594
public List setPageToken(java.lang.String pageToken) {
15751595
this.pageToken = pageToken;
15761596
return this;

clients/google-api-services-translate/v3beta1/1.31.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-translate</artifactId>
11-
<version>v3beta1-rev20210219-1.31.0</version>
12-
<name>Cloud Translation API v3beta1-rev20210219-1.31.0</name>
11+
<version>v3beta1-rev20210312-1.31.0</version>
12+
<name>Cloud Translation API v3beta1-rev20210312-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)