Skip to content

Commit 7a54244

Browse files
yoshi-automationchingor13
authored andcommitted
Regenerate ml client (googleapis#2808)
1 parent b7ccb7f commit 7a54244

File tree

18 files changed

+5264
-5051
lines changed

18 files changed

+5264
-5051
lines changed

clients/google-api-services-ml/v1.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-ml",
5-
"version": "v1-rev20190910-1.30.3"
5+
"version": "v1-rev20190913-1.30.3"
66
}
77
}

clients/google-api-services-ml/v1/1.28.0/com/google/api/services/ml/v1/CloudMachineLearningEngine.java

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,22 +1001,34 @@ public GetIamPolicy setResource(java.lang.String resource) {
10011001
}
10021002

10031003
/**
1004-
* Optional. The policy format version to be returned. Acceptable values are 0, 1, and 3. If
1005-
* the value is 0, or the field is omitted, policy format version 1 will be returned.
1004+
* Optional. The policy format version to be returned.
1005+
*
1006+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
1007+
*
1008+
* Requests for policies with any conditional bindings must specify version 3. Policies
1009+
* without any conditional bindings may specify any valid value or leave the field unset.
10061010
*/
10071011
@com.google.api.client.util.Key("options.requestedPolicyVersion")
10081012
private java.lang.Integer optionsRequestedPolicyVersion;
10091013

1010-
/** Optional. The policy format version to be returned. Acceptable values are 0, 1, and 3. If the value
1011-
is 0, or the field is omitted, policy format version 1 will be returned.
1014+
/** Optional. The policy format version to be returned.
1015+
1016+
Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
1017+
1018+
Requests for policies with any conditional bindings must specify version 3. Policies without any
1019+
conditional bindings may specify any valid value or leave the field unset.
10121020
*/
10131021
public java.lang.Integer getOptionsRequestedPolicyVersion() {
10141022
return optionsRequestedPolicyVersion;
10151023
}
10161024

10171025
/**
1018-
* Optional. The policy format version to be returned. Acceptable values are 0, 1, and 3. If
1019-
* the value is 0, or the field is omitted, policy format version 1 will be returned.
1026+
* Optional. The policy format version to be returned.
1027+
*
1028+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
1029+
*
1030+
* Requests for policies with any conditional bindings must specify version 3. Policies
1031+
* without any conditional bindings may specify any valid value or leave the field unset.
10201032
*/
10211033
public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
10221034
this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
@@ -2696,22 +2708,34 @@ public GetIamPolicy setResource(java.lang.String resource) {
26962708
}
26972709

26982710
/**
2699-
* Optional. The policy format version to be returned. Acceptable values are 0, 1, and 3. If
2700-
* the value is 0, or the field is omitted, policy format version 1 will be returned.
2711+
* Optional. The policy format version to be returned.
2712+
*
2713+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
2714+
*
2715+
* Requests for policies with any conditional bindings must specify version 3. Policies
2716+
* without any conditional bindings may specify any valid value or leave the field unset.
27012717
*/
27022718
@com.google.api.client.util.Key("options.requestedPolicyVersion")
27032719
private java.lang.Integer optionsRequestedPolicyVersion;
27042720

2705-
/** Optional. The policy format version to be returned. Acceptable values are 0, 1, and 3. If the value
2706-
is 0, or the field is omitted, policy format version 1 will be returned.
2721+
/** Optional. The policy format version to be returned.
2722+
2723+
Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
2724+
2725+
Requests for policies with any conditional bindings must specify version 3. Policies without any
2726+
conditional bindings may specify any valid value or leave the field unset.
27072727
*/
27082728
public java.lang.Integer getOptionsRequestedPolicyVersion() {
27092729
return optionsRequestedPolicyVersion;
27102730
}
27112731

27122732
/**
2713-
* Optional. The policy format version to be returned. Acceptable values are 0, 1, and 3. If
2714-
* the value is 0, or the field is omitted, policy format version 1 will be returned.
2733+
* Optional. The policy format version to be returned.
2734+
*
2735+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
2736+
*
2737+
* Requests for policies with any conditional bindings must specify version 3. Policies
2738+
* without any conditional bindings may specify any valid value or leave the field unset.
27152739
*/
27162740
public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
27172741
this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;

clients/google-api-services-ml/v1/1.28.0/com/google/api/services/ml/v1/model/GoogleCloudMlV1RequestLoggingConfig.java

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@
1717
package com.google.api.services.ml.v1.model;
1818

1919
/**
20-
* Configurations for logging request-response pairs. Currently only BigQuery logging is supported.
21-
* The request and response will be converted to raw string and stored within the specified BigQuery
22-
* table. The schema is: model: STRING version: STRING time: Timestamp raw_data: STRING
23-
* raw_prediction: STRING ground_truth: STRING
20+
* Configuration for logging request-response pairs to a BigQuery table. Online prediction requests
21+
* to a model version and the responses to these requests are converted to raw strings and saved to
22+
* the specified BigQuery table. Logging is constrained by [BigQuery quotas and
23+
* limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits, AI Platform
24+
* Prediction does not log request-response pairs, but it continues to serve predictions.
25+
*
26+
* If you are using [continuous evaluation](/ml-engine/docs/continuous-evaluation/), you do not need
27+
* to specify this configuration manually. Setting up continuous evaluation automatically enables
28+
* logging of request-response pairs.
2429
*
2530
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2631
* transmitted over HTTP when working with the Cloud Machine Learning Engine. For a detailed
@@ -34,33 +39,58 @@
3439
public final class GoogleCloudMlV1RequestLoggingConfig extends com.google.api.client.json.GenericJson {
3540

3641
/**
37-
* Fully qualified BigQuery table name in the format of
38-
* "[project_id].[dataset_name].[table_name]".
42+
* Required. Fully qualified BigQuery table name in the following format:
43+
* "project_id.dataset_name.table_name"
44+
*
45+
* The specifcied table must already exist, and the "Cloud ML Service Agent" for your project must
46+
* have permission to write to it. The table must have the following
47+
* [schema](/bigquery/docs/schemas):
48+
*
49+
* Field nameType Mode modelSTRINGREQUIRED model_versionSTRINGREQUIRED
50+
* timeTIMESTAMPREQUIRED raw_dataSTRINGREQUIRED raw_predictionSTRINGNULLABLE
51+
* groundtruthSTRINGNULLABLE
3952
* The value may be {@code null}.
4053
*/
4154
@com.google.api.client.util.Key
4255
private java.lang.String bigqueryTableName;
4356

4457
/**
45-
* Percentage of the request being logged. The sampling window is the lifetime of the Version.
46-
* Defaults to 0.
58+
* Percentage of requests to be logged, expressed as a fraction from 0 to 1. For example, if you
59+
* want to log 10% of requests, enter `0.1`. The sampling window is the lifetime of the model
60+
* version. Defaults to 0.
4761
* The value may be {@code null}.
4862
*/
4963
@com.google.api.client.util.Key
5064
private java.lang.Double samplingPercentage;
5165

5266
/**
53-
* Fully qualified BigQuery table name in the format of
54-
* "[project_id].[dataset_name].[table_name]".
67+
* Required. Fully qualified BigQuery table name in the following format:
68+
* "project_id.dataset_name.table_name"
69+
*
70+
* The specifcied table must already exist, and the "Cloud ML Service Agent" for your project must
71+
* have permission to write to it. The table must have the following
72+
* [schema](/bigquery/docs/schemas):
73+
*
74+
* Field nameType Mode modelSTRINGREQUIRED model_versionSTRINGREQUIRED
75+
* timeTIMESTAMPREQUIRED raw_dataSTRINGREQUIRED raw_predictionSTRINGNULLABLE
76+
* groundtruthSTRINGNULLABLE
5577
* @return value or {@code null} for none
5678
*/
5779
public java.lang.String getBigqueryTableName() {
5880
return bigqueryTableName;
5981
}
6082

6183
/**
62-
* Fully qualified BigQuery table name in the format of
63-
* "[project_id].[dataset_name].[table_name]".
84+
* Required. Fully qualified BigQuery table name in the following format:
85+
* "project_id.dataset_name.table_name"
86+
*
87+
* The specifcied table must already exist, and the "Cloud ML Service Agent" for your project must
88+
* have permission to write to it. The table must have the following
89+
* [schema](/bigquery/docs/schemas):
90+
*
91+
* Field nameType Mode modelSTRINGREQUIRED model_versionSTRINGREQUIRED
92+
* timeTIMESTAMPREQUIRED raw_dataSTRINGREQUIRED raw_predictionSTRINGNULLABLE
93+
* groundtruthSTRINGNULLABLE
6494
* @param bigqueryTableName bigqueryTableName or {@code null} for none
6595
*/
6696
public GoogleCloudMlV1RequestLoggingConfig setBigqueryTableName(java.lang.String bigqueryTableName) {
@@ -69,17 +99,19 @@ public GoogleCloudMlV1RequestLoggingConfig setBigqueryTableName(java.lang.String
6999
}
70100

71101
/**
72-
* Percentage of the request being logged. The sampling window is the lifetime of the Version.
73-
* Defaults to 0.
102+
* Percentage of requests to be logged, expressed as a fraction from 0 to 1. For example, if you
103+
* want to log 10% of requests, enter `0.1`. The sampling window is the lifetime of the model
104+
* version. Defaults to 0.
74105
* @return value or {@code null} for none
75106
*/
76107
public java.lang.Double getSamplingPercentage() {
77108
return samplingPercentage;
78109
}
79110

80111
/**
81-
* Percentage of the request being logged. The sampling window is the lifetime of the Version.
82-
* Defaults to 0.
112+
* Percentage of requests to be logged, expressed as a fraction from 0 to 1. For example, if you
113+
* want to log 10% of requests, enter `0.1`. The sampling window is the lifetime of the model
114+
* version. Defaults to 0.
83115
* @param samplingPercentage samplingPercentage or {@code null} for none
84116
*/
85117
public GoogleCloudMlV1RequestLoggingConfig setSamplingPercentage(java.lang.Double samplingPercentage) {

clients/google-api-services-ml/v1/1.28.0/com/google/api/services/ml/v1/model/GoogleIamV1Policy.java

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ public final class GoogleIamV1Policy extends com.google.api.client.json.GenericJ
9393
private java.lang.String etag;
9494

9595
/**
96-
* Deprecated.
96+
* Specifies the format of the policy.
97+
*
98+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
99+
*
100+
* Policies with any conditional bindings must specify version 3. Policies without any conditional
101+
* bindings may specify any valid value or leave the field unset.
97102
* The value may be {@code null}.
98103
*/
99104
@com.google.api.client.util.Key
@@ -211,15 +216,25 @@ public GoogleIamV1Policy encodeEtag(byte[] etag) {
211216
}
212217

213218
/**
214-
* Deprecated.
219+
* Specifies the format of the policy.
220+
*
221+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
222+
*
223+
* Policies with any conditional bindings must specify version 3. Policies without any conditional
224+
* bindings may specify any valid value or leave the field unset.
215225
* @return value or {@code null} for none
216226
*/
217227
public java.lang.Integer getVersion() {
218228
return version;
219229
}
220230

221231
/**
222-
* Deprecated.
232+
* Specifies the format of the policy.
233+
*
234+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
235+
*
236+
* Policies with any conditional bindings must specify version 3. Policies without any conditional
237+
* bindings may specify any valid value or leave the field unset.
223238
* @param version version or {@code null} for none
224239
*/
225240
public GoogleIamV1Policy setVersion(java.lang.Integer version) {

clients/google-api-services-ml/v1/1.28.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-ml</artifactId>
11-
<version>v1-rev20190910-1.28.0</version>
12-
<name>Cloud Machine Learning Engine v1-rev20190910-1.28.0</name>
11+
<version>v1-rev20190913-1.28.0</version>
12+
<name>Cloud Machine Learning Engine v1-rev20190913-1.28.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)