Skip to content

Commit c43cdd3

Browse files
1 parent aa91dfc commit c43cdd3

File tree

11 files changed

+72
-18
lines changed

11 files changed

+72
-18
lines changed

clients/google-api-services-language/v1/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-language</artifactId>
25-
<version>v1-rev20240303-2.0.0</version>
25+
<version>v1-rev20240929-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-language:v1-rev20240303-2.0.0'
38+
implementation 'com.google.apis:google-api-services-language:v1-rev20240929-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-language/v1/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-language</artifactId>
11-
<version>v1-rev20240303-2.0.0</version>
12-
<name>Cloud Natural Language API v1-rev20240303-2.0.0</name>
11+
<version>v1-rev20240929-2.0.0</version>
12+
<name>Cloud Natural Language API v1-rev20240929-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-language/v1/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-language</artifactId>
25-
<version>v1-rev20240303-2.0.0</version>
25+
<version>v1-rev20240929-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-language:v1-rev20240303-2.0.0'
38+
implementation 'com.google.apis:google-api-services-language:v1-rev20240929-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-language/v1beta2/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-language</artifactId>
25-
<version>v1beta2-rev20240303-2.0.0</version>
25+
<version>v1beta2-rev20240929-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-language:v1beta2-rev20240303-2.0.0'
38+
implementation 'com.google.apis:google-api-services-language:v1beta2-rev20240929-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-language/v1beta2/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-language</artifactId>
11-
<version>v1beta2-rev20240303-2.0.0</version>
12-
<name>Cloud Natural Language API v1beta2-rev20240303-2.0.0</name>
11+
<version>v1beta2-rev20240929-2.0.0</version>
12+
<name>Cloud Natural Language API v1beta2-rev20240929-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-language/v1beta2/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-language</artifactId>
25-
<version>v1beta2-rev20240303-2.0.0</version>
25+
<version>v1beta2-rev20240929-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-language:v1beta2-rev20240303-2.0.0'
38+
implementation 'com.google.apis:google-api-services-language:v1beta2-rev20240929-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-language/v2/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-language</artifactId>
25-
<version>v2-rev20240713-2.0.0</version>
25+
<version>v2-rev20240929-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-language:v2-rev20240713-2.0.0'
38+
implementation 'com.google.apis:google-api-services-language:v2-rev20240929-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-language/v2/2.0.0/com/google/api/services/language/v2/model/ClassificationCategory.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ public final class ClassificationCategory extends com.google.api.client.json.Gen
4545
@com.google.api.client.util.Key
4646
private java.lang.String name;
4747

48+
/**
49+
* Optional. The classifier's severity of the category. This is only present when the
50+
* ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the corresponding category has
51+
* a severity score.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.Float severity;
56+
4857
/**
4958
* The classifier's confidence of the category. Number represents how certain the classifier is
5059
* that this category represents the given text.
@@ -81,6 +90,27 @@ public ClassificationCategory setName(java.lang.String name) {
8190
return this;
8291
}
8392

93+
/**
94+
* Optional. The classifier's severity of the category. This is only present when the
95+
* ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the corresponding category has
96+
* a severity score.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.Float getSeverity() {
100+
return severity;
101+
}
102+
103+
/**
104+
* Optional. The classifier's severity of the category. This is only present when the
105+
* ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the corresponding category has
106+
* a severity score.
107+
* @param severity severity or {@code null} for none
108+
*/
109+
public ClassificationCategory setSeverity(java.lang.Float severity) {
110+
this.severity = severity;
111+
return this;
112+
}
113+
84114
@Override
85115
public ClassificationCategory set(String fieldName, Object value) {
86116
return (ClassificationCategory) super.set(fieldName, value);

clients/google-api-services-language/v2/2.0.0/com/google/api/services/language/v2/model/ModerateTextRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class ModerateTextRequest extends com.google.api.client.json.Generi
3737
@com.google.api.client.util.Key
3838
private Document document;
3939

40+
/**
41+
* Optional. The model version to use for ModerateText.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String modelVersion;
46+
4047
/**
4148
* Required. Input document.
4249
* @return value or {@code null} for none
@@ -54,6 +61,23 @@ public ModerateTextRequest setDocument(Document document) {
5461
return this;
5562
}
5663

64+
/**
65+
* Optional. The model version to use for ModerateText.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getModelVersion() {
69+
return modelVersion;
70+
}
71+
72+
/**
73+
* Optional. The model version to use for ModerateText.
74+
* @param modelVersion modelVersion or {@code null} for none
75+
*/
76+
public ModerateTextRequest setModelVersion(java.lang.String modelVersion) {
77+
this.modelVersion = modelVersion;
78+
return this;
79+
}
80+
5781
@Override
5882
public ModerateTextRequest set(String fieldName, Object value) {
5983
return (ModerateTextRequest) super.set(fieldName, value);

clients/google-api-services-language/v2/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-language</artifactId>
11-
<version>v2-rev20240713-2.0.0</version>
12-
<name>Cloud Natural Language API v2-rev20240713-2.0.0</name>
11+
<version>v2-rev20240929-2.0.0</version>
12+
<name>Cloud Natural Language API v2-rev20240929-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)