@maxim_mazurok/gapi.client.ml-v1 0.4.20261107 → 0.5.20261107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1425 -1433
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ declare namespace gapi.client {
|
|
|
79
79
|
interface GoogleCloudMlV1__CancelJobRequest {}
|
|
80
80
|
interface GoogleCloudMlV1__Capability {
|
|
81
81
|
/** Available accelerators for the capability. */
|
|
82
|
-
availableAccelerators?:
|
|
82
|
+
availableAccelerators?: (
|
|
83
83
|
| 'ACCELERATOR_TYPE_UNSPECIFIED'
|
|
84
84
|
| 'NVIDIA_TESLA_K80'
|
|
85
85
|
| 'NVIDIA_TESLA_P100'
|
|
@@ -91,7 +91,8 @@ declare namespace gapi.client {
|
|
|
91
91
|
| 'TPU_V3'
|
|
92
92
|
| 'TPU_V2_POD'
|
|
93
93
|
| 'TPU_V3_POD'
|
|
94
|
-
| 'TPU_V4_POD'
|
|
94
|
+
| 'TPU_V4_POD'
|
|
95
|
+
)[];
|
|
95
96
|
type?:
|
|
96
97
|
| 'TYPE_UNSPECIFIED'
|
|
97
98
|
| 'TRAINING'
|
|
@@ -885,9 +886,10 @@ declare namespace gapi.client {
|
|
|
885
886
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
886
887
|
title?: string;
|
|
887
888
|
}
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
889
|
+
|
|
890
|
+
const projects: {
|
|
891
|
+
/** Performs explanation on the data in the request. {% dynamic include "/ai-platform/includes/___explain-request" %} */
|
|
892
|
+
explain(request: {
|
|
891
893
|
/** V1 error format. */
|
|
892
894
|
'$.xgafv'?: '1' | '2';
|
|
893
895
|
/** OAuth access token. */
|
|
@@ -900,7 +902,7 @@ declare namespace gapi.client {
|
|
|
900
902
|
fields?: string;
|
|
901
903
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
902
904
|
key?: string;
|
|
903
|
-
/** Required. The name of the
|
|
905
|
+
/** Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. */
|
|
904
906
|
name: string;
|
|
905
907
|
/** OAuth 2.0 token for the current user. */
|
|
906
908
|
oauth_token?: string;
|
|
@@ -913,9 +915,9 @@ declare namespace gapi.client {
|
|
|
913
915
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
914
916
|
uploadType?: string;
|
|
915
917
|
/** Request body */
|
|
916
|
-
resource:
|
|
917
|
-
}): Request<
|
|
918
|
-
|
|
918
|
+
resource: GoogleCloudMlV1__ExplainRequest;
|
|
919
|
+
}): Request<GoogleApi__HttpBody>;
|
|
920
|
+
explain(
|
|
919
921
|
request: {
|
|
920
922
|
/** V1 error format. */
|
|
921
923
|
'$.xgafv'?: '1' | '2';
|
|
@@ -929,7 +931,7 @@ declare namespace gapi.client {
|
|
|
929
931
|
fields?: string;
|
|
930
932
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
931
933
|
key?: string;
|
|
932
|
-
/** Required. The name of the
|
|
934
|
+
/** Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. */
|
|
933
935
|
name: string;
|
|
934
936
|
/** OAuth 2.0 token for the current user. */
|
|
935
937
|
oauth_token?: string;
|
|
@@ -942,10 +944,10 @@ declare namespace gapi.client {
|
|
|
942
944
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
943
945
|
uploadType?: string;
|
|
944
946
|
},
|
|
945
|
-
body:
|
|
946
|
-
): Request<
|
|
947
|
-
/**
|
|
948
|
-
|
|
947
|
+
body: GoogleCloudMlV1__ExplainRequest,
|
|
948
|
+
): Request<GoogleApi__HttpBody>;
|
|
949
|
+
/** Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning. */
|
|
950
|
+
getConfig(request?: {
|
|
949
951
|
/** V1 error format. */
|
|
950
952
|
'$.xgafv'?: '1' | '2';
|
|
951
953
|
/** OAuth access token. */
|
|
@@ -958,65 +960,7 @@ declare namespace gapi.client {
|
|
|
958
960
|
fields?: string;
|
|
959
961
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
960
962
|
key?: string;
|
|
961
|
-
/** OAuth 2.0 token for the current user. */
|
|
962
|
-
oauth_token?: string;
|
|
963
963
|
/** Required. The project name. */
|
|
964
|
-
parent: string;
|
|
965
|
-
/** Returns response with indentations and line breaks. */
|
|
966
|
-
prettyPrint?: boolean;
|
|
967
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
968
|
-
quotaUser?: string;
|
|
969
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
970
|
-
upload_protocol?: string;
|
|
971
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
972
|
-
uploadType?: string;
|
|
973
|
-
/** Request body */
|
|
974
|
-
resource: GoogleCloudMlV1__Job;
|
|
975
|
-
}): Request<GoogleCloudMlV1__Job>;
|
|
976
|
-
create(
|
|
977
|
-
request: {
|
|
978
|
-
/** V1 error format. */
|
|
979
|
-
'$.xgafv'?: '1' | '2';
|
|
980
|
-
/** OAuth access token. */
|
|
981
|
-
access_token?: string;
|
|
982
|
-
/** Data format for response. */
|
|
983
|
-
alt?: 'json' | 'media' | 'proto';
|
|
984
|
-
/** JSONP */
|
|
985
|
-
callback?: string;
|
|
986
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
987
|
-
fields?: string;
|
|
988
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
989
|
-
key?: string;
|
|
990
|
-
/** OAuth 2.0 token for the current user. */
|
|
991
|
-
oauth_token?: string;
|
|
992
|
-
/** Required. The project name. */
|
|
993
|
-
parent: string;
|
|
994
|
-
/** Returns response with indentations and line breaks. */
|
|
995
|
-
prettyPrint?: boolean;
|
|
996
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
997
|
-
quotaUser?: string;
|
|
998
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
999
|
-
upload_protocol?: string;
|
|
1000
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1001
|
-
uploadType?: string;
|
|
1002
|
-
},
|
|
1003
|
-
body: GoogleCloudMlV1__Job,
|
|
1004
|
-
): Request<GoogleCloudMlV1__Job>;
|
|
1005
|
-
/** Describes a job. */
|
|
1006
|
-
get(request?: {
|
|
1007
|
-
/** V1 error format. */
|
|
1008
|
-
'$.xgafv'?: '1' | '2';
|
|
1009
|
-
/** OAuth access token. */
|
|
1010
|
-
access_token?: string;
|
|
1011
|
-
/** Data format for response. */
|
|
1012
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1013
|
-
/** JSONP */
|
|
1014
|
-
callback?: string;
|
|
1015
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1016
|
-
fields?: string;
|
|
1017
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1018
|
-
key?: string;
|
|
1019
|
-
/** Required. The name of the job to get the description of. */
|
|
1020
964
|
name: string;
|
|
1021
965
|
/** OAuth 2.0 token for the current user. */
|
|
1022
966
|
oauth_token?: string;
|
|
@@ -1028,71 +972,9 @@ declare namespace gapi.client {
|
|
|
1028
972
|
upload_protocol?: string;
|
|
1029
973
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1030
974
|
uploadType?: string;
|
|
1031
|
-
}): Request<
|
|
1032
|
-
/**
|
|
1033
|
-
|
|
1034
|
-
/** V1 error format. */
|
|
1035
|
-
'$.xgafv'?: '1' | '2';
|
|
1036
|
-
/** OAuth access token. */
|
|
1037
|
-
access_token?: string;
|
|
1038
|
-
/** Data format for response. */
|
|
1039
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1040
|
-
/** JSONP */
|
|
1041
|
-
callback?: string;
|
|
1042
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1043
|
-
fields?: string;
|
|
1044
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1045
|
-
key?: string;
|
|
1046
|
-
/** OAuth 2.0 token for the current user. */
|
|
1047
|
-
oauth_token?: string;
|
|
1048
|
-
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
1049
|
-
'options.requestedPolicyVersion'?: number;
|
|
1050
|
-
/** Returns response with indentations and line breaks. */
|
|
1051
|
-
prettyPrint?: boolean;
|
|
1052
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1053
|
-
quotaUser?: string;
|
|
1054
|
-
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1055
|
-
resource: string;
|
|
1056
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1057
|
-
upload_protocol?: string;
|
|
1058
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1059
|
-
uploadType?: string;
|
|
1060
|
-
}): Request<GoogleIamV1__Policy>;
|
|
1061
|
-
/** Lists the jobs in the project. If there are no jobs that match the request parameters, the list request returns an empty response body: {}. */
|
|
1062
|
-
list(request?: {
|
|
1063
|
-
/** V1 error format. */
|
|
1064
|
-
'$.xgafv'?: '1' | '2';
|
|
1065
|
-
/** OAuth access token. */
|
|
1066
|
-
access_token?: string;
|
|
1067
|
-
/** Data format for response. */
|
|
1068
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1069
|
-
/** JSONP */
|
|
1070
|
-
callback?: string;
|
|
1071
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1072
|
-
fields?: string;
|
|
1073
|
-
/** Optional. Specifies the subset of jobs to retrieve. You can filter on the value of one or more attributes of the job object. For example, retrieve jobs with a job identifier that starts with 'census': gcloud ai-platform jobs list --filter='jobId:census*' List all failed jobs with names that start with 'rnn': gcloud ai-platform jobs list --filter='jobId:rnn* AND state:FAILED' For more examples, see the guide to monitoring jobs. */
|
|
1074
|
-
filter?: string;
|
|
1075
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1076
|
-
key?: string;
|
|
1077
|
-
/** OAuth 2.0 token for the current user. */
|
|
1078
|
-
oauth_token?: string;
|
|
1079
|
-
/** Optional. The number of jobs to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
1080
|
-
pageSize?: number;
|
|
1081
|
-
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
1082
|
-
pageToken?: string;
|
|
1083
|
-
/** Required. The name of the project for which to list jobs. */
|
|
1084
|
-
parent: string;
|
|
1085
|
-
/** Returns response with indentations and line breaks. */
|
|
1086
|
-
prettyPrint?: boolean;
|
|
1087
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1088
|
-
quotaUser?: string;
|
|
1089
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1090
|
-
upload_protocol?: string;
|
|
1091
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1092
|
-
uploadType?: string;
|
|
1093
|
-
}): Request<GoogleCloudMlV1__ListJobsResponse>;
|
|
1094
|
-
/** Updates a specific job resource. Currently the only supported fields to update are `labels`. */
|
|
1095
|
-
patch(request: {
|
|
975
|
+
}): Request<GoogleCloudMlV1__GetConfigResponse>;
|
|
976
|
+
/** Performs online prediction on the data in the request. {% dynamic include "/ai-platform/includes/___predict-request" %} */
|
|
977
|
+
predict(request: {
|
|
1096
978
|
/** V1 error format. */
|
|
1097
979
|
'$.xgafv'?: '1' | '2';
|
|
1098
980
|
/** OAuth access token. */
|
|
@@ -1105,7 +987,7 @@ declare namespace gapi.client {
|
|
|
1105
987
|
fields?: string;
|
|
1106
988
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1107
989
|
key?: string;
|
|
1108
|
-
/** Required. The
|
|
990
|
+
/** Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. */
|
|
1109
991
|
name: string;
|
|
1110
992
|
/** OAuth 2.0 token for the current user. */
|
|
1111
993
|
oauth_token?: string;
|
|
@@ -1113,16 +995,14 @@ declare namespace gapi.client {
|
|
|
1113
995
|
prettyPrint?: boolean;
|
|
1114
996
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1115
997
|
quotaUser?: string;
|
|
1116
|
-
/** Required. Specifies the path, relative to `Job`, of the field to update. To adopt etag mechanism, include `etag` field in the mask, and include the `etag` value in your job resource. For example, to change the labels of a job, the `update_mask` parameter would be specified as `labels`, `etag`, and the `PATCH` request body would specify the new value, as follows: { "labels": { "owner": "Google", "color": "Blue" } "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4" } If `etag` matches the one on the server, the labels of the job will be replaced with the given ones, and the server end `etag` will be recalculated. Currently the only supported update masks are `labels` and `etag`. */
|
|
1117
|
-
updateMask?: string;
|
|
1118
998
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1119
999
|
upload_protocol?: string;
|
|
1120
1000
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1121
1001
|
uploadType?: string;
|
|
1122
1002
|
/** Request body */
|
|
1123
|
-
resource:
|
|
1124
|
-
}): Request<
|
|
1125
|
-
|
|
1003
|
+
resource: GoogleCloudMlV1__PredictRequest;
|
|
1004
|
+
}): Request<GoogleApi__HttpBody>;
|
|
1005
|
+
predict(
|
|
1126
1006
|
request: {
|
|
1127
1007
|
/** V1 error format. */
|
|
1128
1008
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1136,7 +1016,7 @@ declare namespace gapi.client {
|
|
|
1136
1016
|
fields?: string;
|
|
1137
1017
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1138
1018
|
key?: string;
|
|
1139
|
-
/** Required. The
|
|
1019
|
+
/** Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. */
|
|
1140
1020
|
name: string;
|
|
1141
1021
|
/** OAuth 2.0 token for the current user. */
|
|
1142
1022
|
oauth_token?: string;
|
|
@@ -1144,18 +1024,16 @@ declare namespace gapi.client {
|
|
|
1144
1024
|
prettyPrint?: boolean;
|
|
1145
1025
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1146
1026
|
quotaUser?: string;
|
|
1147
|
-
/** Required. Specifies the path, relative to `Job`, of the field to update. To adopt etag mechanism, include `etag` field in the mask, and include the `etag` value in your job resource. For example, to change the labels of a job, the `update_mask` parameter would be specified as `labels`, `etag`, and the `PATCH` request body would specify the new value, as follows: { "labels": { "owner": "Google", "color": "Blue" } "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4" } If `etag` matches the one on the server, the labels of the job will be replaced with the given ones, and the server end `etag` will be recalculated. Currently the only supported update masks are `labels` and `etag`. */
|
|
1148
|
-
updateMask?: string;
|
|
1149
1027
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1150
1028
|
upload_protocol?: string;
|
|
1151
1029
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1152
1030
|
uploadType?: string;
|
|
1153
1031
|
},
|
|
1154
|
-
body:
|
|
1155
|
-
): Request<
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
request: {
|
|
1032
|
+
body: GoogleCloudMlV1__PredictRequest,
|
|
1033
|
+
): Request<GoogleApi__HttpBody>;
|
|
1034
|
+
jobs: {
|
|
1035
|
+
/** Cancels a running job. */
|
|
1036
|
+
cancel(request: {
|
|
1159
1037
|
/** V1 error format. */
|
|
1160
1038
|
'$.xgafv'?: '1' | '2';
|
|
1161
1039
|
/** OAuth access token. */
|
|
@@ -1168,24 +1046,52 @@ declare namespace gapi.client {
|
|
|
1168
1046
|
fields?: string;
|
|
1169
1047
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1170
1048
|
key?: string;
|
|
1049
|
+
/** Required. The name of the job to cancel. */
|
|
1050
|
+
name: string;
|
|
1171
1051
|
/** OAuth 2.0 token for the current user. */
|
|
1172
1052
|
oauth_token?: string;
|
|
1173
1053
|
/** Returns response with indentations and line breaks. */
|
|
1174
1054
|
prettyPrint?: boolean;
|
|
1175
1055
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1176
1056
|
quotaUser?: string;
|
|
1177
|
-
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1178
|
-
resource: string;
|
|
1179
1057
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1180
1058
|
upload_protocol?: string;
|
|
1181
1059
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1182
1060
|
uploadType?: string;
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1061
|
+
/** Request body */
|
|
1062
|
+
resource: GoogleCloudMlV1__CancelJobRequest;
|
|
1063
|
+
}): Request<{}>;
|
|
1064
|
+
cancel(
|
|
1065
|
+
request: {
|
|
1066
|
+
/** V1 error format. */
|
|
1067
|
+
'$.xgafv'?: '1' | '2';
|
|
1068
|
+
/** OAuth access token. */
|
|
1069
|
+
access_token?: string;
|
|
1070
|
+
/** Data format for response. */
|
|
1071
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1072
|
+
/** JSONP */
|
|
1073
|
+
callback?: string;
|
|
1074
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1075
|
+
fields?: string;
|
|
1076
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1077
|
+
key?: string;
|
|
1078
|
+
/** Required. The name of the job to cancel. */
|
|
1079
|
+
name: string;
|
|
1080
|
+
/** OAuth 2.0 token for the current user. */
|
|
1081
|
+
oauth_token?: string;
|
|
1082
|
+
/** Returns response with indentations and line breaks. */
|
|
1083
|
+
prettyPrint?: boolean;
|
|
1084
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1085
|
+
quotaUser?: string;
|
|
1086
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1087
|
+
upload_protocol?: string;
|
|
1088
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1089
|
+
uploadType?: string;
|
|
1090
|
+
},
|
|
1091
|
+
body: GoogleCloudMlV1__CancelJobRequest,
|
|
1092
|
+
): Request<{}>;
|
|
1093
|
+
/** Creates a training or a batch prediction job. */
|
|
1094
|
+
create(request: {
|
|
1189
1095
|
/** V1 error format. */
|
|
1190
1096
|
'$.xgafv'?: '1' | '2';
|
|
1191
1097
|
/** OAuth access token. */
|
|
@@ -1200,108 +1106,50 @@ declare namespace gapi.client {
|
|
|
1200
1106
|
key?: string;
|
|
1201
1107
|
/** OAuth 2.0 token for the current user. */
|
|
1202
1108
|
oauth_token?: string;
|
|
1109
|
+
/** Required. The project name. */
|
|
1110
|
+
parent: string;
|
|
1203
1111
|
/** Returns response with indentations and line breaks. */
|
|
1204
1112
|
prettyPrint?: boolean;
|
|
1205
1113
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1206
1114
|
quotaUser?: string;
|
|
1207
|
-
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1208
|
-
resource: string;
|
|
1209
1115
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1210
1116
|
upload_protocol?: string;
|
|
1211
1117
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1212
1118
|
uploadType?: string;
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
/** V1 error format. */
|
|
1248
|
-
'$.xgafv'?: '1' | '2';
|
|
1249
|
-
/** OAuth access token. */
|
|
1250
|
-
access_token?: string;
|
|
1251
|
-
/** Data format for response. */
|
|
1252
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1253
|
-
/** JSONP */
|
|
1254
|
-
callback?: string;
|
|
1255
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1256
|
-
fields?: string;
|
|
1257
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1258
|
-
key?: string;
|
|
1259
|
-
/** The name of the operation resource. */
|
|
1260
|
-
name: string;
|
|
1261
|
-
/** OAuth 2.0 token for the current user. */
|
|
1262
|
-
oauth_token?: string;
|
|
1263
|
-
/** Returns response with indentations and line breaks. */
|
|
1264
|
-
prettyPrint?: boolean;
|
|
1265
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1266
|
-
quotaUser?: string;
|
|
1267
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1268
|
-
upload_protocol?: string;
|
|
1269
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1270
|
-
uploadType?: string;
|
|
1271
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
1272
|
-
}
|
|
1273
|
-
interface TrialsResource {
|
|
1274
|
-
/** Adds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken before the trial is complete. */
|
|
1275
|
-
addMeasurement(request: {
|
|
1276
|
-
/** V1 error format. */
|
|
1277
|
-
'$.xgafv'?: '1' | '2';
|
|
1278
|
-
/** OAuth access token. */
|
|
1279
|
-
access_token?: string;
|
|
1280
|
-
/** Data format for response. */
|
|
1281
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1282
|
-
/** JSONP */
|
|
1283
|
-
callback?: string;
|
|
1284
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1285
|
-
fields?: string;
|
|
1286
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1287
|
-
key?: string;
|
|
1288
|
-
/** Required. The trial name. */
|
|
1289
|
-
name: string;
|
|
1290
|
-
/** OAuth 2.0 token for the current user. */
|
|
1291
|
-
oauth_token?: string;
|
|
1292
|
-
/** Returns response with indentations and line breaks. */
|
|
1293
|
-
prettyPrint?: boolean;
|
|
1294
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1295
|
-
quotaUser?: string;
|
|
1296
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1297
|
-
upload_protocol?: string;
|
|
1298
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1299
|
-
uploadType?: string;
|
|
1300
|
-
/** Request body */
|
|
1301
|
-
resource: GoogleCloudMlV1__AddTrialMeasurementRequest;
|
|
1302
|
-
}): Request<GoogleCloudMlV1__Trial>;
|
|
1303
|
-
addMeasurement(
|
|
1304
|
-
request: {
|
|
1119
|
+
/** Request body */
|
|
1120
|
+
resource: GoogleCloudMlV1__Job;
|
|
1121
|
+
}): Request<GoogleCloudMlV1__Job>;
|
|
1122
|
+
create(
|
|
1123
|
+
request: {
|
|
1124
|
+
/** V1 error format. */
|
|
1125
|
+
'$.xgafv'?: '1' | '2';
|
|
1126
|
+
/** OAuth access token. */
|
|
1127
|
+
access_token?: string;
|
|
1128
|
+
/** Data format for response. */
|
|
1129
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1130
|
+
/** JSONP */
|
|
1131
|
+
callback?: string;
|
|
1132
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1133
|
+
fields?: string;
|
|
1134
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1135
|
+
key?: string;
|
|
1136
|
+
/** OAuth 2.0 token for the current user. */
|
|
1137
|
+
oauth_token?: string;
|
|
1138
|
+
/** Required. The project name. */
|
|
1139
|
+
parent: string;
|
|
1140
|
+
/** Returns response with indentations and line breaks. */
|
|
1141
|
+
prettyPrint?: boolean;
|
|
1142
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1143
|
+
quotaUser?: string;
|
|
1144
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1145
|
+
upload_protocol?: string;
|
|
1146
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1147
|
+
uploadType?: string;
|
|
1148
|
+
},
|
|
1149
|
+
body: GoogleCloudMlV1__Job,
|
|
1150
|
+
): Request<GoogleCloudMlV1__Job>;
|
|
1151
|
+
/** Describes a job. */
|
|
1152
|
+
get(request?: {
|
|
1305
1153
|
/** V1 error format. */
|
|
1306
1154
|
'$.xgafv'?: '1' | '2';
|
|
1307
1155
|
/** OAuth access token. */
|
|
@@ -1314,7 +1162,7 @@ declare namespace gapi.client {
|
|
|
1314
1162
|
fields?: string;
|
|
1315
1163
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1316
1164
|
key?: string;
|
|
1317
|
-
/** Required. The
|
|
1165
|
+
/** Required. The name of the job to get the description of. */
|
|
1318
1166
|
name: string;
|
|
1319
1167
|
/** OAuth 2.0 token for the current user. */
|
|
1320
1168
|
oauth_token?: string;
|
|
@@ -1326,40 +1174,9 @@ declare namespace gapi.client {
|
|
|
1326
1174
|
upload_protocol?: string;
|
|
1327
1175
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1328
1176
|
uploadType?: string;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
/** Checks whether a trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse. */
|
|
1333
|
-
checkEarlyStoppingState(request: {
|
|
1334
|
-
/** V1 error format. */
|
|
1335
|
-
'$.xgafv'?: '1' | '2';
|
|
1336
|
-
/** OAuth access token. */
|
|
1337
|
-
access_token?: string;
|
|
1338
|
-
/** Data format for response. */
|
|
1339
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1340
|
-
/** JSONP */
|
|
1341
|
-
callback?: string;
|
|
1342
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1343
|
-
fields?: string;
|
|
1344
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1345
|
-
key?: string;
|
|
1346
|
-
/** Required. The trial name. */
|
|
1347
|
-
name: string;
|
|
1348
|
-
/** OAuth 2.0 token for the current user. */
|
|
1349
|
-
oauth_token?: string;
|
|
1350
|
-
/** Returns response with indentations and line breaks. */
|
|
1351
|
-
prettyPrint?: boolean;
|
|
1352
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1353
|
-
quotaUser?: string;
|
|
1354
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1355
|
-
upload_protocol?: string;
|
|
1356
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1357
|
-
uploadType?: string;
|
|
1358
|
-
/** Request body */
|
|
1359
|
-
resource: GoogleCloudMlV1__CheckTrialEarlyStoppingStateRequest;
|
|
1360
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
1361
|
-
checkEarlyStoppingState(
|
|
1362
|
-
request: {
|
|
1177
|
+
}): Request<GoogleCloudMlV1__Job>;
|
|
1178
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1179
|
+
getIamPolicy(request?: {
|
|
1363
1180
|
/** V1 error format. */
|
|
1364
1181
|
'$.xgafv'?: '1' | '2';
|
|
1365
1182
|
/** OAuth access token. */
|
|
@@ -1372,52 +1189,23 @@ declare namespace gapi.client {
|
|
|
1372
1189
|
fields?: string;
|
|
1373
1190
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1374
1191
|
key?: string;
|
|
1375
|
-
/** Required. The trial name. */
|
|
1376
|
-
name: string;
|
|
1377
1192
|
/** OAuth 2.0 token for the current user. */
|
|
1378
1193
|
oauth_token?: string;
|
|
1194
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
1195
|
+
'options.requestedPolicyVersion'?: number;
|
|
1379
1196
|
/** Returns response with indentations and line breaks. */
|
|
1380
1197
|
prettyPrint?: boolean;
|
|
1381
1198
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1382
1199
|
quotaUser?: string;
|
|
1200
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1201
|
+
resource: string;
|
|
1383
1202
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1384
1203
|
upload_protocol?: string;
|
|
1385
1204
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1386
1205
|
uploadType?: string;
|
|
1387
|
-
}
|
|
1388
|
-
body:
|
|
1389
|
-
|
|
1390
|
-
/** Marks a trial as complete. */
|
|
1391
|
-
complete(request: {
|
|
1392
|
-
/** V1 error format. */
|
|
1393
|
-
'$.xgafv'?: '1' | '2';
|
|
1394
|
-
/** OAuth access token. */
|
|
1395
|
-
access_token?: string;
|
|
1396
|
-
/** Data format for response. */
|
|
1397
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1398
|
-
/** JSONP */
|
|
1399
|
-
callback?: string;
|
|
1400
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1401
|
-
fields?: string;
|
|
1402
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1403
|
-
key?: string;
|
|
1404
|
-
/** Required. The trial name.metat */
|
|
1405
|
-
name: string;
|
|
1406
|
-
/** OAuth 2.0 token for the current user. */
|
|
1407
|
-
oauth_token?: string;
|
|
1408
|
-
/** Returns response with indentations and line breaks. */
|
|
1409
|
-
prettyPrint?: boolean;
|
|
1410
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1411
|
-
quotaUser?: string;
|
|
1412
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1413
|
-
upload_protocol?: string;
|
|
1414
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1415
|
-
uploadType?: string;
|
|
1416
|
-
/** Request body */
|
|
1417
|
-
resource: GoogleCloudMlV1__CompleteTrialRequest;
|
|
1418
|
-
}): Request<GoogleCloudMlV1__Trial>;
|
|
1419
|
-
complete(
|
|
1420
|
-
request: {
|
|
1206
|
+
}): Request<GoogleIamV1__Policy>;
|
|
1207
|
+
/** Lists the jobs in the project. If there are no jobs that match the request parameters, the list request returns an empty response body: {}. */
|
|
1208
|
+
list(request?: {
|
|
1421
1209
|
/** V1 error format. */
|
|
1422
1210
|
'$.xgafv'?: '1' | '2';
|
|
1423
1211
|
/** OAuth access token. */
|
|
@@ -1428,9 +1216,42 @@ declare namespace gapi.client {
|
|
|
1428
1216
|
callback?: string;
|
|
1429
1217
|
/** Selector specifying which fields to include in a partial response. */
|
|
1430
1218
|
fields?: string;
|
|
1219
|
+
/** Optional. Specifies the subset of jobs to retrieve. You can filter on the value of one or more attributes of the job object. For example, retrieve jobs with a job identifier that starts with 'census': gcloud ai-platform jobs list --filter='jobId:census*' List all failed jobs with names that start with 'rnn': gcloud ai-platform jobs list --filter='jobId:rnn* AND state:FAILED' For more examples, see the guide to monitoring jobs. */
|
|
1220
|
+
filter?: string;
|
|
1431
1221
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1432
1222
|
key?: string;
|
|
1433
|
-
/**
|
|
1223
|
+
/** OAuth 2.0 token for the current user. */
|
|
1224
|
+
oauth_token?: string;
|
|
1225
|
+
/** Optional. The number of jobs to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
1226
|
+
pageSize?: number;
|
|
1227
|
+
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
1228
|
+
pageToken?: string;
|
|
1229
|
+
/** Required. The name of the project for which to list jobs. */
|
|
1230
|
+
parent: string;
|
|
1231
|
+
/** Returns response with indentations and line breaks. */
|
|
1232
|
+
prettyPrint?: boolean;
|
|
1233
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1234
|
+
quotaUser?: string;
|
|
1235
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1236
|
+
upload_protocol?: string;
|
|
1237
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1238
|
+
uploadType?: string;
|
|
1239
|
+
}): Request<GoogleCloudMlV1__ListJobsResponse>;
|
|
1240
|
+
/** Updates a specific job resource. Currently the only supported fields to update are `labels`. */
|
|
1241
|
+
patch(request: {
|
|
1242
|
+
/** V1 error format. */
|
|
1243
|
+
'$.xgafv'?: '1' | '2';
|
|
1244
|
+
/** OAuth access token. */
|
|
1245
|
+
access_token?: string;
|
|
1246
|
+
/** Data format for response. */
|
|
1247
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1248
|
+
/** JSONP */
|
|
1249
|
+
callback?: string;
|
|
1250
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1251
|
+
fields?: string;
|
|
1252
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1253
|
+
key?: string;
|
|
1254
|
+
/** Required. The job name. */
|
|
1434
1255
|
name: string;
|
|
1435
1256
|
/** OAuth 2.0 token for the current user. */
|
|
1436
1257
|
oauth_token?: string;
|
|
@@ -1438,44 +1259,137 @@ declare namespace gapi.client {
|
|
|
1438
1259
|
prettyPrint?: boolean;
|
|
1439
1260
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1440
1261
|
quotaUser?: string;
|
|
1262
|
+
/** Required. Specifies the path, relative to `Job`, of the field to update. To adopt etag mechanism, include `etag` field in the mask, and include the `etag` value in your job resource. For example, to change the labels of a job, the `update_mask` parameter would be specified as `labels`, `etag`, and the `PATCH` request body would specify the new value, as follows: { "labels": { "owner": "Google", "color": "Blue" } "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4" } If `etag` matches the one on the server, the labels of the job will be replaced with the given ones, and the server end `etag` will be recalculated. Currently the only supported update masks are `labels` and `etag`. */
|
|
1263
|
+
updateMask?: string;
|
|
1441
1264
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1442
1265
|
upload_protocol?: string;
|
|
1443
1266
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1444
1267
|
uploadType?: string;
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1268
|
+
/** Request body */
|
|
1269
|
+
resource: GoogleCloudMlV1__Job;
|
|
1270
|
+
}): Request<GoogleCloudMlV1__Job>;
|
|
1271
|
+
patch(
|
|
1272
|
+
request: {
|
|
1273
|
+
/** V1 error format. */
|
|
1274
|
+
'$.xgafv'?: '1' | '2';
|
|
1275
|
+
/** OAuth access token. */
|
|
1276
|
+
access_token?: string;
|
|
1277
|
+
/** Data format for response. */
|
|
1278
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1279
|
+
/** JSONP */
|
|
1280
|
+
callback?: string;
|
|
1281
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1282
|
+
fields?: string;
|
|
1283
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1284
|
+
key?: string;
|
|
1285
|
+
/** Required. The job name. */
|
|
1286
|
+
name: string;
|
|
1287
|
+
/** OAuth 2.0 token for the current user. */
|
|
1288
|
+
oauth_token?: string;
|
|
1289
|
+
/** Returns response with indentations and line breaks. */
|
|
1290
|
+
prettyPrint?: boolean;
|
|
1291
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1292
|
+
quotaUser?: string;
|
|
1293
|
+
/** Required. Specifies the path, relative to `Job`, of the field to update. To adopt etag mechanism, include `etag` field in the mask, and include the `etag` value in your job resource. For example, to change the labels of a job, the `update_mask` parameter would be specified as `labels`, `etag`, and the `PATCH` request body would specify the new value, as follows: { "labels": { "owner": "Google", "color": "Blue" } "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4" } If `etag` matches the one on the server, the labels of the job will be replaced with the given ones, and the server end `etag` will be recalculated. Currently the only supported update masks are `labels` and `etag`. */
|
|
1294
|
+
updateMask?: string;
|
|
1295
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1296
|
+
upload_protocol?: string;
|
|
1297
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1298
|
+
uploadType?: string;
|
|
1299
|
+
},
|
|
1300
|
+
body: GoogleCloudMlV1__Job,
|
|
1301
|
+
): Request<GoogleCloudMlV1__Job>;
|
|
1302
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1303
|
+
setIamPolicy(
|
|
1304
|
+
request: {
|
|
1305
|
+
/** V1 error format. */
|
|
1306
|
+
'$.xgafv'?: '1' | '2';
|
|
1307
|
+
/** OAuth access token. */
|
|
1308
|
+
access_token?: string;
|
|
1309
|
+
/** Data format for response. */
|
|
1310
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1311
|
+
/** JSONP */
|
|
1312
|
+
callback?: string;
|
|
1313
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1314
|
+
fields?: string;
|
|
1315
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1316
|
+
key?: string;
|
|
1317
|
+
/** OAuth 2.0 token for the current user. */
|
|
1318
|
+
oauth_token?: string;
|
|
1319
|
+
/** Returns response with indentations and line breaks. */
|
|
1320
|
+
prettyPrint?: boolean;
|
|
1321
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1322
|
+
quotaUser?: string;
|
|
1323
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1324
|
+
resource: string;
|
|
1325
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1326
|
+
upload_protocol?: string;
|
|
1327
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1328
|
+
uploadType?: string;
|
|
1329
|
+
},
|
|
1330
|
+
body: GoogleIamV1__SetIamPolicyRequest,
|
|
1331
|
+
): Request<GoogleIamV1__Policy>;
|
|
1332
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1333
|
+
testIamPermissions(
|
|
1334
|
+
request: {
|
|
1335
|
+
/** V1 error format. */
|
|
1336
|
+
'$.xgafv'?: '1' | '2';
|
|
1337
|
+
/** OAuth access token. */
|
|
1338
|
+
access_token?: string;
|
|
1339
|
+
/** Data format for response. */
|
|
1340
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1341
|
+
/** JSONP */
|
|
1342
|
+
callback?: string;
|
|
1343
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1344
|
+
fields?: string;
|
|
1345
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1346
|
+
key?: string;
|
|
1347
|
+
/** OAuth 2.0 token for the current user. */
|
|
1348
|
+
oauth_token?: string;
|
|
1349
|
+
/** Returns response with indentations and line breaks. */
|
|
1350
|
+
prettyPrint?: boolean;
|
|
1351
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1352
|
+
quotaUser?: string;
|
|
1353
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1354
|
+
resource: string;
|
|
1355
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1356
|
+
upload_protocol?: string;
|
|
1357
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1358
|
+
uploadType?: string;
|
|
1359
|
+
},
|
|
1360
|
+
body: GoogleIamV1__TestIamPermissionsRequest,
|
|
1361
|
+
): Request<GoogleIamV1__TestIamPermissionsResponse>;
|
|
1362
|
+
};
|
|
1363
|
+
locations: {
|
|
1364
|
+
/** Get the complete list of CMLE capabilities in a location, along with their location-specific properties. */
|
|
1365
|
+
get(request?: {
|
|
1366
|
+
/** V1 error format. */
|
|
1367
|
+
'$.xgafv'?: '1' | '2';
|
|
1368
|
+
/** OAuth access token. */
|
|
1369
|
+
access_token?: string;
|
|
1370
|
+
/** Data format for response. */
|
|
1371
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1372
|
+
/** JSONP */
|
|
1373
|
+
callback?: string;
|
|
1374
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1375
|
+
fields?: string;
|
|
1376
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1377
|
+
key?: string;
|
|
1378
|
+
/** Required. The name of the location. */
|
|
1379
|
+
name: string;
|
|
1380
|
+
/** OAuth 2.0 token for the current user. */
|
|
1381
|
+
oauth_token?: string;
|
|
1382
|
+
/** Returns response with indentations and line breaks. */
|
|
1383
|
+
prettyPrint?: boolean;
|
|
1384
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1385
|
+
quotaUser?: string;
|
|
1386
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1387
|
+
upload_protocol?: string;
|
|
1388
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1389
|
+
uploadType?: string;
|
|
1390
|
+
}): Request<GoogleCloudMlV1__Location>;
|
|
1391
|
+
/** List all locations that provides at least one type of CMLE capability. */
|
|
1392
|
+
list(request?: {
|
|
1479
1393
|
/** V1 error format. */
|
|
1480
1394
|
'$.xgafv'?: '1' | '2';
|
|
1481
1395
|
/** OAuth access token. */
|
|
@@ -1490,7 +1404,11 @@ declare namespace gapi.client {
|
|
|
1490
1404
|
key?: string;
|
|
1491
1405
|
/** OAuth 2.0 token for the current user. */
|
|
1492
1406
|
oauth_token?: string;
|
|
1493
|
-
/**
|
|
1407
|
+
/** Optional. The number of locations to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
1408
|
+
pageSize?: number;
|
|
1409
|
+
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
1410
|
+
pageToken?: string;
|
|
1411
|
+
/** Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific projects). */
|
|
1494
1412
|
parent: string;
|
|
1495
1413
|
/** Returns response with indentations and line breaks. */
|
|
1496
1414
|
prettyPrint?: boolean;
|
|
@@ -1500,121 +1418,701 @@ declare namespace gapi.client {
|
|
|
1500
1418
|
upload_protocol?: string;
|
|
1501
1419
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1502
1420
|
uploadType?: string;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1421
|
+
}): Request<GoogleCloudMlV1__ListLocationsResponse>;
|
|
1422
|
+
operations: {
|
|
1423
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
1424
|
+
cancel(request?: {
|
|
1425
|
+
/** V1 error format. */
|
|
1426
|
+
'$.xgafv'?: '1' | '2';
|
|
1427
|
+
/** OAuth access token. */
|
|
1428
|
+
access_token?: string;
|
|
1429
|
+
/** Data format for response. */
|
|
1430
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1431
|
+
/** JSONP */
|
|
1432
|
+
callback?: string;
|
|
1433
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1434
|
+
fields?: string;
|
|
1435
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1436
|
+
key?: string;
|
|
1437
|
+
/** The name of the operation resource to be cancelled. */
|
|
1438
|
+
name: string;
|
|
1439
|
+
/** OAuth 2.0 token for the current user. */
|
|
1440
|
+
oauth_token?: string;
|
|
1441
|
+
/** Returns response with indentations and line breaks. */
|
|
1442
|
+
prettyPrint?: boolean;
|
|
1443
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1444
|
+
quotaUser?: string;
|
|
1445
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1446
|
+
upload_protocol?: string;
|
|
1447
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1448
|
+
uploadType?: string;
|
|
1449
|
+
}): Request<{}>;
|
|
1450
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1451
|
+
get(request?: {
|
|
1452
|
+
/** V1 error format. */
|
|
1453
|
+
'$.xgafv'?: '1' | '2';
|
|
1454
|
+
/** OAuth access token. */
|
|
1455
|
+
access_token?: string;
|
|
1456
|
+
/** Data format for response. */
|
|
1457
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1458
|
+
/** JSONP */
|
|
1459
|
+
callback?: string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?: string;
|
|
1462
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1463
|
+
key?: string;
|
|
1464
|
+
/** The name of the operation resource. */
|
|
1465
|
+
name: string;
|
|
1466
|
+
/** OAuth 2.0 token for the current user. */
|
|
1467
|
+
oauth_token?: string;
|
|
1468
|
+
/** Returns response with indentations and line breaks. */
|
|
1469
|
+
prettyPrint?: boolean;
|
|
1470
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1471
|
+
quotaUser?: string;
|
|
1472
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1473
|
+
upload_protocol?: string;
|
|
1474
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1475
|
+
uploadType?: string;
|
|
1476
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
1477
|
+
};
|
|
1478
|
+
studies: {
|
|
1479
|
+
/** Creates a study. */
|
|
1480
|
+
create(request: {
|
|
1481
|
+
/** V1 error format. */
|
|
1482
|
+
'$.xgafv'?: '1' | '2';
|
|
1483
|
+
/** OAuth access token. */
|
|
1484
|
+
access_token?: string;
|
|
1485
|
+
/** Data format for response. */
|
|
1486
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1487
|
+
/** JSONP */
|
|
1488
|
+
callback?: string;
|
|
1489
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1490
|
+
fields?: string;
|
|
1491
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1492
|
+
key?: string;
|
|
1493
|
+
/** OAuth 2.0 token for the current user. */
|
|
1494
|
+
oauth_token?: string;
|
|
1495
|
+
/** Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} */
|
|
1496
|
+
parent: string;
|
|
1497
|
+
/** Returns response with indentations and line breaks. */
|
|
1498
|
+
prettyPrint?: boolean;
|
|
1499
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1500
|
+
quotaUser?: string;
|
|
1501
|
+
/** Required. The ID to use for the study, which will become the final component of the study's resource name. */
|
|
1502
|
+
studyId?: string;
|
|
1503
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1504
|
+
upload_protocol?: string;
|
|
1505
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1506
|
+
uploadType?: string;
|
|
1507
|
+
/** Request body */
|
|
1508
|
+
resource: GoogleCloudMlV1__Study;
|
|
1509
|
+
}): Request<GoogleCloudMlV1__Study>;
|
|
1510
|
+
create(
|
|
1511
|
+
request: {
|
|
1512
|
+
/** V1 error format. */
|
|
1513
|
+
'$.xgafv'?: '1' | '2';
|
|
1514
|
+
/** OAuth access token. */
|
|
1515
|
+
access_token?: string;
|
|
1516
|
+
/** Data format for response. */
|
|
1517
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1518
|
+
/** JSONP */
|
|
1519
|
+
callback?: string;
|
|
1520
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1521
|
+
fields?: string;
|
|
1522
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1523
|
+
key?: string;
|
|
1524
|
+
/** OAuth 2.0 token for the current user. */
|
|
1525
|
+
oauth_token?: string;
|
|
1526
|
+
/** Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} */
|
|
1527
|
+
parent: string;
|
|
1528
|
+
/** Returns response with indentations and line breaks. */
|
|
1529
|
+
prettyPrint?: boolean;
|
|
1530
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1531
|
+
quotaUser?: string;
|
|
1532
|
+
/** Required. The ID to use for the study, which will become the final component of the study's resource name. */
|
|
1533
|
+
studyId?: string;
|
|
1534
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1535
|
+
upload_protocol?: string;
|
|
1536
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1537
|
+
uploadType?: string;
|
|
1538
|
+
},
|
|
1539
|
+
body: GoogleCloudMlV1__Study,
|
|
1540
|
+
): Request<GoogleCloudMlV1__Study>;
|
|
1541
|
+
/** Deletes a study. */
|
|
1542
|
+
delete(request?: {
|
|
1543
|
+
/** V1 error format. */
|
|
1544
|
+
'$.xgafv'?: '1' | '2';
|
|
1545
|
+
/** OAuth access token. */
|
|
1546
|
+
access_token?: string;
|
|
1547
|
+
/** Data format for response. */
|
|
1548
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1549
|
+
/** JSONP */
|
|
1550
|
+
callback?: string;
|
|
1551
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1552
|
+
fields?: string;
|
|
1553
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1554
|
+
key?: string;
|
|
1555
|
+
/** Required. The study name. */
|
|
1556
|
+
name: string;
|
|
1557
|
+
/** OAuth 2.0 token for the current user. */
|
|
1558
|
+
oauth_token?: string;
|
|
1559
|
+
/** Returns response with indentations and line breaks. */
|
|
1560
|
+
prettyPrint?: boolean;
|
|
1561
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1562
|
+
quotaUser?: string;
|
|
1563
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1564
|
+
upload_protocol?: string;
|
|
1565
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1566
|
+
uploadType?: string;
|
|
1567
|
+
}): Request<{}>;
|
|
1568
|
+
/** Gets a study. */
|
|
1569
|
+
get(request?: {
|
|
1570
|
+
/** V1 error format. */
|
|
1571
|
+
'$.xgafv'?: '1' | '2';
|
|
1572
|
+
/** OAuth access token. */
|
|
1573
|
+
access_token?: string;
|
|
1574
|
+
/** Data format for response. */
|
|
1575
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1576
|
+
/** JSONP */
|
|
1577
|
+
callback?: string;
|
|
1578
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1579
|
+
fields?: string;
|
|
1580
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1581
|
+
key?: string;
|
|
1582
|
+
/** Required. The study name. */
|
|
1583
|
+
name: string;
|
|
1584
|
+
/** OAuth 2.0 token for the current user. */
|
|
1585
|
+
oauth_token?: string;
|
|
1586
|
+
/** Returns response with indentations and line breaks. */
|
|
1587
|
+
prettyPrint?: boolean;
|
|
1588
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1589
|
+
quotaUser?: string;
|
|
1590
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1591
|
+
upload_protocol?: string;
|
|
1592
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1593
|
+
uploadType?: string;
|
|
1594
|
+
}): Request<GoogleCloudMlV1__Study>;
|
|
1595
|
+
/** Lists all the studies in a region for an associated project. */
|
|
1596
|
+
list(request?: {
|
|
1597
|
+
/** V1 error format. */
|
|
1598
|
+
'$.xgafv'?: '1' | '2';
|
|
1599
|
+
/** OAuth access token. */
|
|
1600
|
+
access_token?: string;
|
|
1601
|
+
/** Data format for response. */
|
|
1602
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1603
|
+
/** JSONP */
|
|
1604
|
+
callback?: string;
|
|
1605
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1606
|
+
fields?: string;
|
|
1607
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1608
|
+
key?: string;
|
|
1609
|
+
/** OAuth 2.0 token for the current user. */
|
|
1610
|
+
oauth_token?: string;
|
|
1611
|
+
/** Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} */
|
|
1612
|
+
parent: string;
|
|
1613
|
+
/** Returns response with indentations and line breaks. */
|
|
1614
|
+
prettyPrint?: boolean;
|
|
1615
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1616
|
+
quotaUser?: string;
|
|
1617
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1618
|
+
upload_protocol?: string;
|
|
1619
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1620
|
+
uploadType?: string;
|
|
1621
|
+
}): Request<GoogleCloudMlV1__ListStudiesResponse>;
|
|
1622
|
+
trials: {
|
|
1623
|
+
/** Adds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken before the trial is complete. */
|
|
1624
|
+
addMeasurement(request: {
|
|
1625
|
+
/** V1 error format. */
|
|
1626
|
+
'$.xgafv'?: '1' | '2';
|
|
1627
|
+
/** OAuth access token. */
|
|
1628
|
+
access_token?: string;
|
|
1629
|
+
/** Data format for response. */
|
|
1630
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1631
|
+
/** JSONP */
|
|
1632
|
+
callback?: string;
|
|
1633
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1634
|
+
fields?: string;
|
|
1635
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1636
|
+
key?: string;
|
|
1637
|
+
/** Required. The trial name. */
|
|
1638
|
+
name: string;
|
|
1639
|
+
/** OAuth 2.0 token for the current user. */
|
|
1640
|
+
oauth_token?: string;
|
|
1641
|
+
/** Returns response with indentations and line breaks. */
|
|
1642
|
+
prettyPrint?: boolean;
|
|
1643
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1644
|
+
quotaUser?: string;
|
|
1645
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1646
|
+
upload_protocol?: string;
|
|
1647
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1648
|
+
uploadType?: string;
|
|
1649
|
+
/** Request body */
|
|
1650
|
+
resource: GoogleCloudMlV1__AddTrialMeasurementRequest;
|
|
1651
|
+
}): Request<GoogleCloudMlV1__Trial>;
|
|
1652
|
+
addMeasurement(
|
|
1653
|
+
request: {
|
|
1654
|
+
/** V1 error format. */
|
|
1655
|
+
'$.xgafv'?: '1' | '2';
|
|
1656
|
+
/** OAuth access token. */
|
|
1657
|
+
access_token?: string;
|
|
1658
|
+
/** Data format for response. */
|
|
1659
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1660
|
+
/** JSONP */
|
|
1661
|
+
callback?: string;
|
|
1662
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1663
|
+
fields?: string;
|
|
1664
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1665
|
+
key?: string;
|
|
1666
|
+
/** Required. The trial name. */
|
|
1667
|
+
name: string;
|
|
1668
|
+
/** OAuth 2.0 token for the current user. */
|
|
1669
|
+
oauth_token?: string;
|
|
1670
|
+
/** Returns response with indentations and line breaks. */
|
|
1671
|
+
prettyPrint?: boolean;
|
|
1672
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1673
|
+
quotaUser?: string;
|
|
1674
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1675
|
+
upload_protocol?: string;
|
|
1676
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1677
|
+
uploadType?: string;
|
|
1678
|
+
},
|
|
1679
|
+
body: GoogleCloudMlV1__AddTrialMeasurementRequest,
|
|
1680
|
+
): Request<GoogleCloudMlV1__Trial>;
|
|
1681
|
+
/** Checks whether a trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse. */
|
|
1682
|
+
checkEarlyStoppingState(request: {
|
|
1683
|
+
/** V1 error format. */
|
|
1684
|
+
'$.xgafv'?: '1' | '2';
|
|
1685
|
+
/** OAuth access token. */
|
|
1686
|
+
access_token?: string;
|
|
1687
|
+
/** Data format for response. */
|
|
1688
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1689
|
+
/** JSONP */
|
|
1690
|
+
callback?: string;
|
|
1691
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1692
|
+
fields?: string;
|
|
1693
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1694
|
+
key?: string;
|
|
1695
|
+
/** Required. The trial name. */
|
|
1696
|
+
name: string;
|
|
1697
|
+
/** OAuth 2.0 token for the current user. */
|
|
1698
|
+
oauth_token?: string;
|
|
1699
|
+
/** Returns response with indentations and line breaks. */
|
|
1700
|
+
prettyPrint?: boolean;
|
|
1701
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1702
|
+
quotaUser?: string;
|
|
1703
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1704
|
+
upload_protocol?: string;
|
|
1705
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1706
|
+
uploadType?: string;
|
|
1707
|
+
/** Request body */
|
|
1708
|
+
resource: GoogleCloudMlV1__CheckTrialEarlyStoppingStateRequest;
|
|
1709
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
1710
|
+
checkEarlyStoppingState(
|
|
1711
|
+
request: {
|
|
1712
|
+
/** V1 error format. */
|
|
1713
|
+
'$.xgafv'?: '1' | '2';
|
|
1714
|
+
/** OAuth access token. */
|
|
1715
|
+
access_token?: string;
|
|
1716
|
+
/** Data format for response. */
|
|
1717
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1718
|
+
/** JSONP */
|
|
1719
|
+
callback?: string;
|
|
1720
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1721
|
+
fields?: string;
|
|
1722
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1723
|
+
key?: string;
|
|
1724
|
+
/** Required. The trial name. */
|
|
1725
|
+
name: string;
|
|
1726
|
+
/** OAuth 2.0 token for the current user. */
|
|
1727
|
+
oauth_token?: string;
|
|
1728
|
+
/** Returns response with indentations and line breaks. */
|
|
1729
|
+
prettyPrint?: boolean;
|
|
1730
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1731
|
+
quotaUser?: string;
|
|
1732
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1733
|
+
upload_protocol?: string;
|
|
1734
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1735
|
+
uploadType?: string;
|
|
1736
|
+
},
|
|
1737
|
+
body: GoogleCloudMlV1__CheckTrialEarlyStoppingStateRequest,
|
|
1738
|
+
): Request<GoogleLongrunning__Operation>;
|
|
1739
|
+
/** Marks a trial as complete. */
|
|
1740
|
+
complete(request: {
|
|
1741
|
+
/** V1 error format. */
|
|
1742
|
+
'$.xgafv'?: '1' | '2';
|
|
1743
|
+
/** OAuth access token. */
|
|
1744
|
+
access_token?: string;
|
|
1745
|
+
/** Data format for response. */
|
|
1746
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1747
|
+
/** JSONP */
|
|
1748
|
+
callback?: string;
|
|
1749
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1750
|
+
fields?: string;
|
|
1751
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1752
|
+
key?: string;
|
|
1753
|
+
/** Required. The trial name.metat */
|
|
1754
|
+
name: string;
|
|
1755
|
+
/** OAuth 2.0 token for the current user. */
|
|
1756
|
+
oauth_token?: string;
|
|
1757
|
+
/** Returns response with indentations and line breaks. */
|
|
1758
|
+
prettyPrint?: boolean;
|
|
1759
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1760
|
+
quotaUser?: string;
|
|
1761
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1762
|
+
upload_protocol?: string;
|
|
1763
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1764
|
+
uploadType?: string;
|
|
1765
|
+
/** Request body */
|
|
1766
|
+
resource: GoogleCloudMlV1__CompleteTrialRequest;
|
|
1767
|
+
}): Request<GoogleCloudMlV1__Trial>;
|
|
1768
|
+
complete(
|
|
1769
|
+
request: {
|
|
1770
|
+
/** V1 error format. */
|
|
1771
|
+
'$.xgafv'?: '1' | '2';
|
|
1772
|
+
/** OAuth access token. */
|
|
1773
|
+
access_token?: string;
|
|
1774
|
+
/** Data format for response. */
|
|
1775
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1776
|
+
/** JSONP */
|
|
1777
|
+
callback?: string;
|
|
1778
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1779
|
+
fields?: string;
|
|
1780
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1781
|
+
key?: string;
|
|
1782
|
+
/** Required. The trial name.metat */
|
|
1783
|
+
name: string;
|
|
1784
|
+
/** OAuth 2.0 token for the current user. */
|
|
1785
|
+
oauth_token?: string;
|
|
1786
|
+
/** Returns response with indentations and line breaks. */
|
|
1787
|
+
prettyPrint?: boolean;
|
|
1788
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1789
|
+
quotaUser?: string;
|
|
1790
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1791
|
+
upload_protocol?: string;
|
|
1792
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1793
|
+
uploadType?: string;
|
|
1794
|
+
},
|
|
1795
|
+
body: GoogleCloudMlV1__CompleteTrialRequest,
|
|
1796
|
+
): Request<GoogleCloudMlV1__Trial>;
|
|
1797
|
+
/** Adds a user provided trial to a study. */
|
|
1798
|
+
create(request: {
|
|
1799
|
+
/** V1 error format. */
|
|
1800
|
+
'$.xgafv'?: '1' | '2';
|
|
1801
|
+
/** OAuth access token. */
|
|
1802
|
+
access_token?: string;
|
|
1803
|
+
/** Data format for response. */
|
|
1804
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1805
|
+
/** JSONP */
|
|
1806
|
+
callback?: string;
|
|
1807
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1808
|
+
fields?: string;
|
|
1809
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1810
|
+
key?: string;
|
|
1811
|
+
/** OAuth 2.0 token for the current user. */
|
|
1812
|
+
oauth_token?: string;
|
|
1813
|
+
/** Required. The name of the study that the trial belongs to. */
|
|
1814
|
+
parent: string;
|
|
1815
|
+
/** Returns response with indentations and line breaks. */
|
|
1816
|
+
prettyPrint?: boolean;
|
|
1817
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1818
|
+
quotaUser?: string;
|
|
1819
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1820
|
+
upload_protocol?: string;
|
|
1821
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1822
|
+
uploadType?: string;
|
|
1823
|
+
/** Request body */
|
|
1824
|
+
resource: GoogleCloudMlV1__Trial;
|
|
1825
|
+
}): Request<GoogleCloudMlV1__Trial>;
|
|
1826
|
+
create(
|
|
1827
|
+
request: {
|
|
1828
|
+
/** V1 error format. */
|
|
1829
|
+
'$.xgafv'?: '1' | '2';
|
|
1830
|
+
/** OAuth access token. */
|
|
1831
|
+
access_token?: string;
|
|
1832
|
+
/** Data format for response. */
|
|
1833
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1834
|
+
/** JSONP */
|
|
1835
|
+
callback?: string;
|
|
1836
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1837
|
+
fields?: string;
|
|
1838
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1839
|
+
key?: string;
|
|
1840
|
+
/** OAuth 2.0 token for the current user. */
|
|
1841
|
+
oauth_token?: string;
|
|
1842
|
+
/** Required. The name of the study that the trial belongs to. */
|
|
1843
|
+
parent: string;
|
|
1844
|
+
/** Returns response with indentations and line breaks. */
|
|
1845
|
+
prettyPrint?: boolean;
|
|
1846
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1847
|
+
quotaUser?: string;
|
|
1848
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1849
|
+
upload_protocol?: string;
|
|
1850
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1851
|
+
uploadType?: string;
|
|
1852
|
+
},
|
|
1853
|
+
body: GoogleCloudMlV1__Trial,
|
|
1854
|
+
): Request<GoogleCloudMlV1__Trial>;
|
|
1855
|
+
/** Deletes a trial. */
|
|
1856
|
+
delete(request?: {
|
|
1857
|
+
/** V1 error format. */
|
|
1858
|
+
'$.xgafv'?: '1' | '2';
|
|
1859
|
+
/** OAuth access token. */
|
|
1860
|
+
access_token?: string;
|
|
1861
|
+
/** Data format for response. */
|
|
1862
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1863
|
+
/** JSONP */
|
|
1864
|
+
callback?: string;
|
|
1865
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1866
|
+
fields?: string;
|
|
1867
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1868
|
+
key?: string;
|
|
1869
|
+
/** Required. The trial name. */
|
|
1870
|
+
name: string;
|
|
1871
|
+
/** OAuth 2.0 token for the current user. */
|
|
1872
|
+
oauth_token?: string;
|
|
1873
|
+
/** Returns response with indentations and line breaks. */
|
|
1874
|
+
prettyPrint?: boolean;
|
|
1875
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1876
|
+
quotaUser?: string;
|
|
1877
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1878
|
+
upload_protocol?: string;
|
|
1879
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1880
|
+
uploadType?: string;
|
|
1881
|
+
}): Request<{}>;
|
|
1882
|
+
/** Gets a trial. */
|
|
1883
|
+
get(request?: {
|
|
1884
|
+
/** V1 error format. */
|
|
1885
|
+
'$.xgafv'?: '1' | '2';
|
|
1886
|
+
/** OAuth access token. */
|
|
1887
|
+
access_token?: string;
|
|
1888
|
+
/** Data format for response. */
|
|
1889
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1890
|
+
/** JSONP */
|
|
1891
|
+
callback?: string;
|
|
1892
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1893
|
+
fields?: string;
|
|
1894
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1895
|
+
key?: string;
|
|
1896
|
+
/** Required. The trial name. */
|
|
1897
|
+
name: string;
|
|
1898
|
+
/** OAuth 2.0 token for the current user. */
|
|
1899
|
+
oauth_token?: string;
|
|
1900
|
+
/** Returns response with indentations and line breaks. */
|
|
1901
|
+
prettyPrint?: boolean;
|
|
1902
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1903
|
+
quotaUser?: string;
|
|
1904
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1905
|
+
upload_protocol?: string;
|
|
1906
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1907
|
+
uploadType?: string;
|
|
1908
|
+
}): Request<GoogleCloudMlV1__Trial>;
|
|
1909
|
+
/** Lists the trials associated with a study. */
|
|
1910
|
+
list(request?: {
|
|
1911
|
+
/** V1 error format. */
|
|
1912
|
+
'$.xgafv'?: '1' | '2';
|
|
1913
|
+
/** OAuth access token. */
|
|
1914
|
+
access_token?: string;
|
|
1915
|
+
/** Data format for response. */
|
|
1916
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1917
|
+
/** JSONP */
|
|
1918
|
+
callback?: string;
|
|
1919
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1920
|
+
fields?: string;
|
|
1921
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1922
|
+
key?: string;
|
|
1923
|
+
/** OAuth 2.0 token for the current user. */
|
|
1924
|
+
oauth_token?: string;
|
|
1925
|
+
/** Required. The name of the study that the trial belongs to. */
|
|
1926
|
+
parent: string;
|
|
1927
|
+
/** Returns response with indentations and line breaks. */
|
|
1928
|
+
prettyPrint?: boolean;
|
|
1929
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1930
|
+
quotaUser?: string;
|
|
1931
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1932
|
+
upload_protocol?: string;
|
|
1933
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1934
|
+
uploadType?: string;
|
|
1935
|
+
}): Request<GoogleCloudMlV1__ListTrialsResponse>;
|
|
1936
|
+
/** Lists the pareto-optimal trials for multi-objective study or the optimal trials for single-objective study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency */
|
|
1937
|
+
listOptimalTrials(request: {
|
|
1938
|
+
/** V1 error format. */
|
|
1939
|
+
'$.xgafv'?: '1' | '2';
|
|
1940
|
+
/** OAuth access token. */
|
|
1941
|
+
access_token?: string;
|
|
1942
|
+
/** Data format for response. */
|
|
1943
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1944
|
+
/** JSONP */
|
|
1945
|
+
callback?: string;
|
|
1946
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1947
|
+
fields?: string;
|
|
1948
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1949
|
+
key?: string;
|
|
1950
|
+
/** OAuth 2.0 token for the current user. */
|
|
1951
|
+
oauth_token?: string;
|
|
1952
|
+
/** Required. The name of the study that the pareto-optimal trial belongs to. */
|
|
1953
|
+
parent: string;
|
|
1954
|
+
/** Returns response with indentations and line breaks. */
|
|
1955
|
+
prettyPrint?: boolean;
|
|
1956
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1957
|
+
quotaUser?: string;
|
|
1958
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1959
|
+
upload_protocol?: string;
|
|
1960
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1961
|
+
uploadType?: string;
|
|
1962
|
+
/** Request body */
|
|
1963
|
+
resource: GoogleCloudMlV1__ListOptimalTrialsRequest;
|
|
1964
|
+
}): Request<GoogleCloudMlV1__ListOptimalTrialsResponse>;
|
|
1965
|
+
listOptimalTrials(
|
|
1966
|
+
request: {
|
|
1967
|
+
/** V1 error format. */
|
|
1968
|
+
'$.xgafv'?: '1' | '2';
|
|
1969
|
+
/** OAuth access token. */
|
|
1970
|
+
access_token?: string;
|
|
1971
|
+
/** Data format for response. */
|
|
1972
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1973
|
+
/** JSONP */
|
|
1974
|
+
callback?: string;
|
|
1975
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1976
|
+
fields?: string;
|
|
1977
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1978
|
+
key?: string;
|
|
1979
|
+
/** OAuth 2.0 token for the current user. */
|
|
1980
|
+
oauth_token?: string;
|
|
1981
|
+
/** Required. The name of the study that the pareto-optimal trial belongs to. */
|
|
1982
|
+
parent: string;
|
|
1983
|
+
/** Returns response with indentations and line breaks. */
|
|
1984
|
+
prettyPrint?: boolean;
|
|
1985
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1986
|
+
quotaUser?: string;
|
|
1987
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1988
|
+
upload_protocol?: string;
|
|
1989
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1990
|
+
uploadType?: string;
|
|
1991
|
+
},
|
|
1992
|
+
body: GoogleCloudMlV1__ListOptimalTrialsRequest,
|
|
1993
|
+
): Request<GoogleCloudMlV1__ListOptimalTrialsResponse>;
|
|
1994
|
+
/** Stops a trial. */
|
|
1995
|
+
stop(request: {
|
|
1996
|
+
/** V1 error format. */
|
|
1997
|
+
'$.xgafv'?: '1' | '2';
|
|
1998
|
+
/** OAuth access token. */
|
|
1999
|
+
access_token?: string;
|
|
2000
|
+
/** Data format for response. */
|
|
2001
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2002
|
+
/** JSONP */
|
|
2003
|
+
callback?: string;
|
|
2004
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2005
|
+
fields?: string;
|
|
2006
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2007
|
+
key?: string;
|
|
2008
|
+
/** Required. The trial name. */
|
|
2009
|
+
name: string;
|
|
2010
|
+
/** OAuth 2.0 token for the current user. */
|
|
2011
|
+
oauth_token?: string;
|
|
2012
|
+
/** Returns response with indentations and line breaks. */
|
|
2013
|
+
prettyPrint?: boolean;
|
|
2014
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2015
|
+
quotaUser?: string;
|
|
2016
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2017
|
+
upload_protocol?: string;
|
|
2018
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2019
|
+
uploadType?: string;
|
|
2020
|
+
/** Request body */
|
|
2021
|
+
resource: GoogleCloudMlV1__StopTrialRequest;
|
|
2022
|
+
}): Request<GoogleCloudMlV1__Trial>;
|
|
2023
|
+
stop(
|
|
2024
|
+
request: {
|
|
2025
|
+
/** V1 error format. */
|
|
2026
|
+
'$.xgafv'?: '1' | '2';
|
|
2027
|
+
/** OAuth access token. */
|
|
2028
|
+
access_token?: string;
|
|
2029
|
+
/** Data format for response. */
|
|
2030
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2031
|
+
/** JSONP */
|
|
2032
|
+
callback?: string;
|
|
2033
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2034
|
+
fields?: string;
|
|
2035
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2036
|
+
key?: string;
|
|
2037
|
+
/** Required. The trial name. */
|
|
2038
|
+
name: string;
|
|
2039
|
+
/** OAuth 2.0 token for the current user. */
|
|
2040
|
+
oauth_token?: string;
|
|
2041
|
+
/** Returns response with indentations and line breaks. */
|
|
2042
|
+
prettyPrint?: boolean;
|
|
2043
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2044
|
+
quotaUser?: string;
|
|
2045
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2046
|
+
upload_protocol?: string;
|
|
2047
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2048
|
+
uploadType?: string;
|
|
2049
|
+
},
|
|
2050
|
+
body: GoogleCloudMlV1__StopTrialRequest,
|
|
2051
|
+
): Request<GoogleCloudMlV1__Trial>;
|
|
2052
|
+
/** Adds one or more trials to a study, with parameter values suggested by AI Platform Vizier. Returns a long-running operation associated with the generation of trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse. */
|
|
2053
|
+
suggest(request: {
|
|
2054
|
+
/** V1 error format. */
|
|
2055
|
+
'$.xgafv'?: '1' | '2';
|
|
2056
|
+
/** OAuth access token. */
|
|
2057
|
+
access_token?: string;
|
|
2058
|
+
/** Data format for response. */
|
|
2059
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2060
|
+
/** JSONP */
|
|
2061
|
+
callback?: string;
|
|
2062
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2063
|
+
fields?: string;
|
|
2064
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2065
|
+
key?: string;
|
|
2066
|
+
/** OAuth 2.0 token for the current user. */
|
|
2067
|
+
oauth_token?: string;
|
|
2068
|
+
/** Required. The name of the study that the trial belongs to. */
|
|
2069
|
+
parent: string;
|
|
2070
|
+
/** Returns response with indentations and line breaks. */
|
|
2071
|
+
prettyPrint?: boolean;
|
|
2072
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2073
|
+
quotaUser?: string;
|
|
2074
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2075
|
+
upload_protocol?: string;
|
|
2076
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2077
|
+
uploadType?: string;
|
|
2078
|
+
/** Request body */
|
|
2079
|
+
resource: GoogleCloudMlV1__SuggestTrialsRequest;
|
|
2080
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
2081
|
+
suggest(
|
|
2082
|
+
request: {
|
|
2083
|
+
/** V1 error format. */
|
|
2084
|
+
'$.xgafv'?: '1' | '2';
|
|
2085
|
+
/** OAuth access token. */
|
|
2086
|
+
access_token?: string;
|
|
2087
|
+
/** Data format for response. */
|
|
2088
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2089
|
+
/** JSONP */
|
|
2090
|
+
callback?: string;
|
|
2091
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2092
|
+
fields?: string;
|
|
2093
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2094
|
+
key?: string;
|
|
2095
|
+
/** OAuth 2.0 token for the current user. */
|
|
2096
|
+
oauth_token?: string;
|
|
2097
|
+
/** Required. The name of the study that the trial belongs to. */
|
|
2098
|
+
parent: string;
|
|
2099
|
+
/** Returns response with indentations and line breaks. */
|
|
2100
|
+
prettyPrint?: boolean;
|
|
2101
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2102
|
+
quotaUser?: string;
|
|
2103
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2104
|
+
upload_protocol?: string;
|
|
2105
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2106
|
+
uploadType?: string;
|
|
2107
|
+
},
|
|
2108
|
+
body: GoogleCloudMlV1__SuggestTrialsRequest,
|
|
2109
|
+
): Request<GoogleLongrunning__Operation>;
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2113
|
+
models: {
|
|
2114
|
+
/** Creates a model which will later contain one or more versions. You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create. */
|
|
2115
|
+
create(request: {
|
|
1618
2116
|
/** V1 error format. */
|
|
1619
2117
|
'$.xgafv'?: '1' | '2';
|
|
1620
2118
|
/** OAuth access token. */
|
|
@@ -1629,7 +2127,7 @@ declare namespace gapi.client {
|
|
|
1629
2127
|
key?: string;
|
|
1630
2128
|
/** OAuth 2.0 token for the current user. */
|
|
1631
2129
|
oauth_token?: string;
|
|
1632
|
-
/** Required. The name
|
|
2130
|
+
/** Required. The project name. */
|
|
1633
2131
|
parent: string;
|
|
1634
2132
|
/** Returns response with indentations and line breaks. */
|
|
1635
2133
|
prettyPrint?: boolean;
|
|
@@ -1639,40 +2137,40 @@ declare namespace gapi.client {
|
|
|
1639
2137
|
upload_protocol?: string;
|
|
1640
2138
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1641
2139
|
uploadType?: string;
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
request
|
|
2140
|
+
/** Request body */
|
|
2141
|
+
resource: GoogleCloudMlV1__Model;
|
|
2142
|
+
}): Request<GoogleCloudMlV1__Model>;
|
|
2143
|
+
create(
|
|
2144
|
+
request: {
|
|
2145
|
+
/** V1 error format. */
|
|
2146
|
+
'$.xgafv'?: '1' | '2';
|
|
2147
|
+
/** OAuth access token. */
|
|
2148
|
+
access_token?: string;
|
|
2149
|
+
/** Data format for response. */
|
|
2150
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2151
|
+
/** JSONP */
|
|
2152
|
+
callback?: string;
|
|
2153
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2154
|
+
fields?: string;
|
|
2155
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2156
|
+
key?: string;
|
|
2157
|
+
/** OAuth 2.0 token for the current user. */
|
|
2158
|
+
oauth_token?: string;
|
|
2159
|
+
/** Required. The project name. */
|
|
2160
|
+
parent: string;
|
|
2161
|
+
/** Returns response with indentations and line breaks. */
|
|
2162
|
+
prettyPrint?: boolean;
|
|
2163
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2164
|
+
quotaUser?: string;
|
|
2165
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2166
|
+
upload_protocol?: string;
|
|
2167
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2168
|
+
uploadType?: string;
|
|
2169
|
+
},
|
|
2170
|
+
body: GoogleCloudMlV1__Model,
|
|
2171
|
+
): Request<GoogleCloudMlV1__Model>;
|
|
2172
|
+
/** Deletes a model. You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete. */
|
|
2173
|
+
delete(request?: {
|
|
1676
2174
|
/** V1 error format. */
|
|
1677
2175
|
'$.xgafv'?: '1' | '2';
|
|
1678
2176
|
/** OAuth access token. */
|
|
@@ -1685,7 +2183,7 @@ declare namespace gapi.client {
|
|
|
1685
2183
|
fields?: string;
|
|
1686
2184
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1687
2185
|
key?: string;
|
|
1688
|
-
/** Required. The
|
|
2186
|
+
/** Required. The name of the model. */
|
|
1689
2187
|
name: string;
|
|
1690
2188
|
/** OAuth 2.0 token for the current user. */
|
|
1691
2189
|
oauth_token?: string;
|
|
@@ -1697,40 +2195,9 @@ declare namespace gapi.client {
|
|
|
1697
2195
|
upload_protocol?: string;
|
|
1698
2196
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1699
2197
|
uploadType?: string;
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
/** Adds one or more trials to a study, with parameter values suggested by AI Platform Vizier. Returns a long-running operation associated with the generation of trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse. */
|
|
1704
|
-
suggest(request: {
|
|
1705
|
-
/** V1 error format. */
|
|
1706
|
-
'$.xgafv'?: '1' | '2';
|
|
1707
|
-
/** OAuth access token. */
|
|
1708
|
-
access_token?: string;
|
|
1709
|
-
/** Data format for response. */
|
|
1710
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1711
|
-
/** JSONP */
|
|
1712
|
-
callback?: string;
|
|
1713
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1714
|
-
fields?: string;
|
|
1715
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1716
|
-
key?: string;
|
|
1717
|
-
/** OAuth 2.0 token for the current user. */
|
|
1718
|
-
oauth_token?: string;
|
|
1719
|
-
/** Required. The name of the study that the trial belongs to. */
|
|
1720
|
-
parent: string;
|
|
1721
|
-
/** Returns response with indentations and line breaks. */
|
|
1722
|
-
prettyPrint?: boolean;
|
|
1723
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1724
|
-
quotaUser?: string;
|
|
1725
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1726
|
-
upload_protocol?: string;
|
|
1727
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1728
|
-
uploadType?: string;
|
|
1729
|
-
/** Request body */
|
|
1730
|
-
resource: GoogleCloudMlV1__SuggestTrialsRequest;
|
|
1731
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
1732
|
-
suggest(
|
|
1733
|
-
request: {
|
|
2198
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
2199
|
+
/** Gets information about a model, including its name, the description (if set), and the default version (if at least one version of the model has been deployed). */
|
|
2200
|
+
get(request?: {
|
|
1734
2201
|
/** V1 error format. */
|
|
1735
2202
|
'$.xgafv'?: '1' | '2';
|
|
1736
2203
|
/** OAuth access token. */
|
|
@@ -1743,10 +2210,10 @@ declare namespace gapi.client {
|
|
|
1743
2210
|
fields?: string;
|
|
1744
2211
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1745
2212
|
key?: string;
|
|
2213
|
+
/** Required. The name of the model. */
|
|
2214
|
+
name: string;
|
|
1746
2215
|
/** OAuth 2.0 token for the current user. */
|
|
1747
2216
|
oauth_token?: string;
|
|
1748
|
-
/** Required. The name of the study that the trial belongs to. */
|
|
1749
|
-
parent: string;
|
|
1750
2217
|
/** Returns response with indentations and line breaks. */
|
|
1751
2218
|
prettyPrint?: boolean;
|
|
1752
2219
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1755,44 +2222,9 @@ declare namespace gapi.client {
|
|
|
1755
2222
|
upload_protocol?: string;
|
|
1756
2223
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1757
2224
|
uploadType?: string;
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
}
|
|
1762
|
-
interface StudiesResource {
|
|
1763
|
-
/** Creates a study. */
|
|
1764
|
-
create(request: {
|
|
1765
|
-
/** V1 error format. */
|
|
1766
|
-
'$.xgafv'?: '1' | '2';
|
|
1767
|
-
/** OAuth access token. */
|
|
1768
|
-
access_token?: string;
|
|
1769
|
-
/** Data format for response. */
|
|
1770
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1771
|
-
/** JSONP */
|
|
1772
|
-
callback?: string;
|
|
1773
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1774
|
-
fields?: string;
|
|
1775
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1776
|
-
key?: string;
|
|
1777
|
-
/** OAuth 2.0 token for the current user. */
|
|
1778
|
-
oauth_token?: string;
|
|
1779
|
-
/** Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} */
|
|
1780
|
-
parent: string;
|
|
1781
|
-
/** Returns response with indentations and line breaks. */
|
|
1782
|
-
prettyPrint?: boolean;
|
|
1783
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1784
|
-
quotaUser?: string;
|
|
1785
|
-
/** Required. The ID to use for the study, which will become the final component of the study's resource name. */
|
|
1786
|
-
studyId?: string;
|
|
1787
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1788
|
-
upload_protocol?: string;
|
|
1789
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1790
|
-
uploadType?: string;
|
|
1791
|
-
/** Request body */
|
|
1792
|
-
resource: GoogleCloudMlV1__Study;
|
|
1793
|
-
}): Request<GoogleCloudMlV1__Study>;
|
|
1794
|
-
create(
|
|
1795
|
-
request: {
|
|
2225
|
+
}): Request<GoogleCloudMlV1__Model>;
|
|
2226
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2227
|
+
getIamPolicy(request?: {
|
|
1796
2228
|
/** V1 error format. */
|
|
1797
2229
|
'$.xgafv'?: '1' | '2';
|
|
1798
2230
|
/** OAuth access token. */
|
|
@@ -1807,641 +2239,21 @@ declare namespace gapi.client {
|
|
|
1807
2239
|
key?: string;
|
|
1808
2240
|
/** OAuth 2.0 token for the current user. */
|
|
1809
2241
|
oauth_token?: string;
|
|
1810
|
-
/**
|
|
1811
|
-
|
|
2242
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
2243
|
+
'options.requestedPolicyVersion'?: number;
|
|
1812
2244
|
/** Returns response with indentations and line breaks. */
|
|
1813
2245
|
prettyPrint?: boolean;
|
|
1814
2246
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1815
2247
|
quotaUser?: string;
|
|
1816
|
-
/**
|
|
1817
|
-
|
|
2248
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2249
|
+
resource: string;
|
|
1818
2250
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1819
2251
|
upload_protocol?: string;
|
|
1820
2252
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1821
2253
|
uploadType?: string;
|
|
1822
|
-
}
|
|
1823
|
-
body:
|
|
1824
|
-
|
|
1825
|
-
/** Deletes a study. */
|
|
1826
|
-
delete(request?: {
|
|
1827
|
-
/** V1 error format. */
|
|
1828
|
-
'$.xgafv'?: '1' | '2';
|
|
1829
|
-
/** OAuth access token. */
|
|
1830
|
-
access_token?: string;
|
|
1831
|
-
/** Data format for response. */
|
|
1832
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1833
|
-
/** JSONP */
|
|
1834
|
-
callback?: string;
|
|
1835
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1836
|
-
fields?: string;
|
|
1837
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1838
|
-
key?: string;
|
|
1839
|
-
/** Required. The study name. */
|
|
1840
|
-
name: string;
|
|
1841
|
-
/** OAuth 2.0 token for the current user. */
|
|
1842
|
-
oauth_token?: string;
|
|
1843
|
-
/** Returns response with indentations and line breaks. */
|
|
1844
|
-
prettyPrint?: boolean;
|
|
1845
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1846
|
-
quotaUser?: string;
|
|
1847
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1848
|
-
upload_protocol?: string;
|
|
1849
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1850
|
-
uploadType?: string;
|
|
1851
|
-
}): Request<{}>;
|
|
1852
|
-
/** Gets a study. */
|
|
1853
|
-
get(request?: {
|
|
1854
|
-
/** V1 error format. */
|
|
1855
|
-
'$.xgafv'?: '1' | '2';
|
|
1856
|
-
/** OAuth access token. */
|
|
1857
|
-
access_token?: string;
|
|
1858
|
-
/** Data format for response. */
|
|
1859
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1860
|
-
/** JSONP */
|
|
1861
|
-
callback?: string;
|
|
1862
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1863
|
-
fields?: string;
|
|
1864
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1865
|
-
key?: string;
|
|
1866
|
-
/** Required. The study name. */
|
|
1867
|
-
name: string;
|
|
1868
|
-
/** OAuth 2.0 token for the current user. */
|
|
1869
|
-
oauth_token?: string;
|
|
1870
|
-
/** Returns response with indentations and line breaks. */
|
|
1871
|
-
prettyPrint?: boolean;
|
|
1872
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1873
|
-
quotaUser?: string;
|
|
1874
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1875
|
-
upload_protocol?: string;
|
|
1876
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1877
|
-
uploadType?: string;
|
|
1878
|
-
}): Request<GoogleCloudMlV1__Study>;
|
|
1879
|
-
/** Lists all the studies in a region for an associated project. */
|
|
1880
|
-
list(request?: {
|
|
1881
|
-
/** V1 error format. */
|
|
1882
|
-
'$.xgafv'?: '1' | '2';
|
|
1883
|
-
/** OAuth access token. */
|
|
1884
|
-
access_token?: string;
|
|
1885
|
-
/** Data format for response. */
|
|
1886
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1887
|
-
/** JSONP */
|
|
1888
|
-
callback?: string;
|
|
1889
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1890
|
-
fields?: string;
|
|
1891
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1892
|
-
key?: string;
|
|
1893
|
-
/** OAuth 2.0 token for the current user. */
|
|
1894
|
-
oauth_token?: string;
|
|
1895
|
-
/** Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} */
|
|
1896
|
-
parent: string;
|
|
1897
|
-
/** Returns response with indentations and line breaks. */
|
|
1898
|
-
prettyPrint?: boolean;
|
|
1899
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1900
|
-
quotaUser?: string;
|
|
1901
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1902
|
-
upload_protocol?: string;
|
|
1903
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1904
|
-
uploadType?: string;
|
|
1905
|
-
}): Request<GoogleCloudMlV1__ListStudiesResponse>;
|
|
1906
|
-
trials: TrialsResource;
|
|
1907
|
-
}
|
|
1908
|
-
interface LocationsResource {
|
|
1909
|
-
/** Get the complete list of CMLE capabilities in a location, along with their location-specific properties. */
|
|
1910
|
-
get(request?: {
|
|
1911
|
-
/** V1 error format. */
|
|
1912
|
-
'$.xgafv'?: '1' | '2';
|
|
1913
|
-
/** OAuth access token. */
|
|
1914
|
-
access_token?: string;
|
|
1915
|
-
/** Data format for response. */
|
|
1916
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1917
|
-
/** JSONP */
|
|
1918
|
-
callback?: string;
|
|
1919
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1920
|
-
fields?: string;
|
|
1921
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1922
|
-
key?: string;
|
|
1923
|
-
/** Required. The name of the location. */
|
|
1924
|
-
name: string;
|
|
1925
|
-
/** OAuth 2.0 token for the current user. */
|
|
1926
|
-
oauth_token?: string;
|
|
1927
|
-
/** Returns response with indentations and line breaks. */
|
|
1928
|
-
prettyPrint?: boolean;
|
|
1929
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1930
|
-
quotaUser?: string;
|
|
1931
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1932
|
-
upload_protocol?: string;
|
|
1933
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1934
|
-
uploadType?: string;
|
|
1935
|
-
}): Request<GoogleCloudMlV1__Location>;
|
|
1936
|
-
/** List all locations that provides at least one type of CMLE capability. */
|
|
1937
|
-
list(request?: {
|
|
1938
|
-
/** V1 error format. */
|
|
1939
|
-
'$.xgafv'?: '1' | '2';
|
|
1940
|
-
/** OAuth access token. */
|
|
1941
|
-
access_token?: string;
|
|
1942
|
-
/** Data format for response. */
|
|
1943
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1944
|
-
/** JSONP */
|
|
1945
|
-
callback?: string;
|
|
1946
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1947
|
-
fields?: string;
|
|
1948
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1949
|
-
key?: string;
|
|
1950
|
-
/** OAuth 2.0 token for the current user. */
|
|
1951
|
-
oauth_token?: string;
|
|
1952
|
-
/** Optional. The number of locations to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
1953
|
-
pageSize?: number;
|
|
1954
|
-
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
1955
|
-
pageToken?: string;
|
|
1956
|
-
/** Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific projects). */
|
|
1957
|
-
parent: string;
|
|
1958
|
-
/** Returns response with indentations and line breaks. */
|
|
1959
|
-
prettyPrint?: boolean;
|
|
1960
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1961
|
-
quotaUser?: string;
|
|
1962
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1963
|
-
upload_protocol?: string;
|
|
1964
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1965
|
-
uploadType?: string;
|
|
1966
|
-
}): Request<GoogleCloudMlV1__ListLocationsResponse>;
|
|
1967
|
-
operations: OperationsResource;
|
|
1968
|
-
studies: StudiesResource;
|
|
1969
|
-
}
|
|
1970
|
-
interface VersionsResource {
|
|
1971
|
-
/** Creates a new version of a model from a trained TensorFlow model. If the version created in the cloud by this call is the first deployed version of the specified model, it will be made the default version of the model. When you add a version to a model that already has one or more versions, the default version does not automatically change. If you want a new version to be the default, you must call projects.models.versions.setDefault. */
|
|
1972
|
-
create(request: {
|
|
1973
|
-
/** V1 error format. */
|
|
1974
|
-
'$.xgafv'?: '1' | '2';
|
|
1975
|
-
/** OAuth access token. */
|
|
1976
|
-
access_token?: string;
|
|
1977
|
-
/** Data format for response. */
|
|
1978
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1979
|
-
/** JSONP */
|
|
1980
|
-
callback?: string;
|
|
1981
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1982
|
-
fields?: string;
|
|
1983
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1984
|
-
key?: string;
|
|
1985
|
-
/** OAuth 2.0 token for the current user. */
|
|
1986
|
-
oauth_token?: string;
|
|
1987
|
-
/** Required. The name of the model. */
|
|
1988
|
-
parent: string;
|
|
1989
|
-
/** Returns response with indentations and line breaks. */
|
|
1990
|
-
prettyPrint?: boolean;
|
|
1991
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1992
|
-
quotaUser?: string;
|
|
1993
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1994
|
-
upload_protocol?: string;
|
|
1995
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1996
|
-
uploadType?: string;
|
|
1997
|
-
/** Request body */
|
|
1998
|
-
resource: GoogleCloudMlV1__Version;
|
|
1999
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
2000
|
-
create(
|
|
2001
|
-
request: {
|
|
2002
|
-
/** V1 error format. */
|
|
2003
|
-
'$.xgafv'?: '1' | '2';
|
|
2004
|
-
/** OAuth access token. */
|
|
2005
|
-
access_token?: string;
|
|
2006
|
-
/** Data format for response. */
|
|
2007
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2008
|
-
/** JSONP */
|
|
2009
|
-
callback?: string;
|
|
2010
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2011
|
-
fields?: string;
|
|
2012
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2013
|
-
key?: string;
|
|
2014
|
-
/** OAuth 2.0 token for the current user. */
|
|
2015
|
-
oauth_token?: string;
|
|
2016
|
-
/** Required. The name of the model. */
|
|
2017
|
-
parent: string;
|
|
2018
|
-
/** Returns response with indentations and line breaks. */
|
|
2019
|
-
prettyPrint?: boolean;
|
|
2020
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2021
|
-
quotaUser?: string;
|
|
2022
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2023
|
-
upload_protocol?: string;
|
|
2024
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2025
|
-
uploadType?: string;
|
|
2026
|
-
},
|
|
2027
|
-
body: GoogleCloudMlV1__Version,
|
|
2028
|
-
): Request<GoogleLongrunning__Operation>;
|
|
2029
|
-
/** Deletes a model version. Each model can have multiple versions deployed and in use at any given time. Use this method to remove a single version. Note: You cannot delete the version that is set as the default version of the model unless it is the only remaining version. */
|
|
2030
|
-
delete(request?: {
|
|
2031
|
-
/** V1 error format. */
|
|
2032
|
-
'$.xgafv'?: '1' | '2';
|
|
2033
|
-
/** OAuth access token. */
|
|
2034
|
-
access_token?: string;
|
|
2035
|
-
/** Data format for response. */
|
|
2036
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2037
|
-
/** JSONP */
|
|
2038
|
-
callback?: string;
|
|
2039
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2040
|
-
fields?: string;
|
|
2041
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2042
|
-
key?: string;
|
|
2043
|
-
/** Required. The name of the version. You can get the names of all the versions of a model by calling projects.models.versions.list. */
|
|
2044
|
-
name: string;
|
|
2045
|
-
/** OAuth 2.0 token for the current user. */
|
|
2046
|
-
oauth_token?: string;
|
|
2047
|
-
/** Returns response with indentations and line breaks. */
|
|
2048
|
-
prettyPrint?: boolean;
|
|
2049
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2050
|
-
quotaUser?: string;
|
|
2051
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2052
|
-
upload_protocol?: string;
|
|
2053
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2054
|
-
uploadType?: string;
|
|
2055
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
2056
|
-
/** Gets information about a model version. Models can have multiple versions. You can call projects.models.versions.list to get the same information that this method returns for all of the versions of a model. */
|
|
2057
|
-
get(request?: {
|
|
2058
|
-
/** V1 error format. */
|
|
2059
|
-
'$.xgafv'?: '1' | '2';
|
|
2060
|
-
/** OAuth access token. */
|
|
2061
|
-
access_token?: string;
|
|
2062
|
-
/** Data format for response. */
|
|
2063
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2064
|
-
/** JSONP */
|
|
2065
|
-
callback?: string;
|
|
2066
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2067
|
-
fields?: string;
|
|
2068
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2069
|
-
key?: string;
|
|
2070
|
-
/** Required. The name of the version. */
|
|
2071
|
-
name: string;
|
|
2072
|
-
/** OAuth 2.0 token for the current user. */
|
|
2073
|
-
oauth_token?: string;
|
|
2074
|
-
/** Returns response with indentations and line breaks. */
|
|
2075
|
-
prettyPrint?: boolean;
|
|
2076
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2077
|
-
quotaUser?: string;
|
|
2078
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2079
|
-
upload_protocol?: string;
|
|
2080
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2081
|
-
uploadType?: string;
|
|
2082
|
-
}): Request<GoogleCloudMlV1__Version>;
|
|
2083
|
-
/** Gets basic information about all the versions of a model. If you expect that a model has many versions, or if you need to handle only a limited number of results at a time, you can request that the list be retrieved in batches (called pages). If there are no versions that match the request parameters, the list request returns an empty response body: {}. */
|
|
2084
|
-
list(request?: {
|
|
2085
|
-
/** V1 error format. */
|
|
2086
|
-
'$.xgafv'?: '1' | '2';
|
|
2087
|
-
/** OAuth access token. */
|
|
2088
|
-
access_token?: string;
|
|
2089
|
-
/** Data format for response. */
|
|
2090
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2091
|
-
/** JSONP */
|
|
2092
|
-
callback?: string;
|
|
2093
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2094
|
-
fields?: string;
|
|
2095
|
-
/** Optional. Specifies the subset of versions to retrieve. */
|
|
2096
|
-
filter?: string;
|
|
2097
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2098
|
-
key?: string;
|
|
2099
|
-
/** OAuth 2.0 token for the current user. */
|
|
2100
|
-
oauth_token?: string;
|
|
2101
|
-
/** Optional. The number of versions to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
2102
|
-
pageSize?: number;
|
|
2103
|
-
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
2104
|
-
pageToken?: string;
|
|
2105
|
-
/** Required. The name of the model for which to list the version. */
|
|
2106
|
-
parent: string;
|
|
2107
|
-
/** Returns response with indentations and line breaks. */
|
|
2108
|
-
prettyPrint?: boolean;
|
|
2109
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2110
|
-
quotaUser?: string;
|
|
2111
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2112
|
-
upload_protocol?: string;
|
|
2113
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2114
|
-
uploadType?: string;
|
|
2115
|
-
}): Request<GoogleCloudMlV1__ListVersionsResponse>;
|
|
2116
|
-
/** Updates the specified Version resource. Currently the only update-able fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`. */
|
|
2117
|
-
patch(request: {
|
|
2118
|
-
/** V1 error format. */
|
|
2119
|
-
'$.xgafv'?: '1' | '2';
|
|
2120
|
-
/** OAuth access token. */
|
|
2121
|
-
access_token?: string;
|
|
2122
|
-
/** Data format for response. */
|
|
2123
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2124
|
-
/** JSONP */
|
|
2125
|
-
callback?: string;
|
|
2126
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2127
|
-
fields?: string;
|
|
2128
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2129
|
-
key?: string;
|
|
2130
|
-
/** Required. The name of the model. */
|
|
2131
|
-
name: string;
|
|
2132
|
-
/** OAuth 2.0 token for the current user. */
|
|
2133
|
-
oauth_token?: string;
|
|
2134
|
-
/** Returns response with indentations and line breaks. */
|
|
2135
|
-
prettyPrint?: boolean;
|
|
2136
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2137
|
-
quotaUser?: string;
|
|
2138
|
-
/** Required. Specifies the path, relative to `Version`, of the field to update. Must be present and non-empty. For example, to change the description of a version to "foo", the `update_mask` parameter would be specified as `description`, and the `PATCH` request body would specify the new value, as follows: ``` { "description": "foo" } ``` Currently the only supported update mask fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`. However, you can only update `manualScaling.nodes` if the version uses a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction). */
|
|
2139
|
-
updateMask?: string;
|
|
2140
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2141
|
-
upload_protocol?: string;
|
|
2142
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2143
|
-
uploadType?: string;
|
|
2144
|
-
/** Request body */
|
|
2145
|
-
resource: GoogleCloudMlV1__Version;
|
|
2146
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
2147
|
-
patch(
|
|
2148
|
-
request: {
|
|
2149
|
-
/** V1 error format. */
|
|
2150
|
-
'$.xgafv'?: '1' | '2';
|
|
2151
|
-
/** OAuth access token. */
|
|
2152
|
-
access_token?: string;
|
|
2153
|
-
/** Data format for response. */
|
|
2154
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2155
|
-
/** JSONP */
|
|
2156
|
-
callback?: string;
|
|
2157
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2158
|
-
fields?: string;
|
|
2159
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2160
|
-
key?: string;
|
|
2161
|
-
/** Required. The name of the model. */
|
|
2162
|
-
name: string;
|
|
2163
|
-
/** OAuth 2.0 token for the current user. */
|
|
2164
|
-
oauth_token?: string;
|
|
2165
|
-
/** Returns response with indentations and line breaks. */
|
|
2166
|
-
prettyPrint?: boolean;
|
|
2167
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2168
|
-
quotaUser?: string;
|
|
2169
|
-
/** Required. Specifies the path, relative to `Version`, of the field to update. Must be present and non-empty. For example, to change the description of a version to "foo", the `update_mask` parameter would be specified as `description`, and the `PATCH` request body would specify the new value, as follows: ``` { "description": "foo" } ``` Currently the only supported update mask fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`. However, you can only update `manualScaling.nodes` if the version uses a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction). */
|
|
2170
|
-
updateMask?: string;
|
|
2171
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2172
|
-
upload_protocol?: string;
|
|
2173
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2174
|
-
uploadType?: string;
|
|
2175
|
-
},
|
|
2176
|
-
body: GoogleCloudMlV1__Version,
|
|
2177
|
-
): Request<GoogleLongrunning__Operation>;
|
|
2178
|
-
/** Designates a version to be the default for the model. The default version is used for prediction requests made against the model that don't specify a version. The first version to be created for a model is automatically set as the default. You must make any subsequent changes to the default version setting manually using this method. */
|
|
2179
|
-
setDefault(request: {
|
|
2180
|
-
/** V1 error format. */
|
|
2181
|
-
'$.xgafv'?: '1' | '2';
|
|
2182
|
-
/** OAuth access token. */
|
|
2183
|
-
access_token?: string;
|
|
2184
|
-
/** Data format for response. */
|
|
2185
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2186
|
-
/** JSONP */
|
|
2187
|
-
callback?: string;
|
|
2188
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2189
|
-
fields?: string;
|
|
2190
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2191
|
-
key?: string;
|
|
2192
|
-
/** Required. The name of the version to make the default for the model. You can get the names of all the versions of a model by calling projects.models.versions.list. */
|
|
2193
|
-
name: string;
|
|
2194
|
-
/** OAuth 2.0 token for the current user. */
|
|
2195
|
-
oauth_token?: string;
|
|
2196
|
-
/** Returns response with indentations and line breaks. */
|
|
2197
|
-
prettyPrint?: boolean;
|
|
2198
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2199
|
-
quotaUser?: string;
|
|
2200
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2201
|
-
upload_protocol?: string;
|
|
2202
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2203
|
-
uploadType?: string;
|
|
2204
|
-
/** Request body */
|
|
2205
|
-
resource: GoogleCloudMlV1__SetDefaultVersionRequest;
|
|
2206
|
-
}): Request<GoogleCloudMlV1__Version>;
|
|
2207
|
-
setDefault(
|
|
2208
|
-
request: {
|
|
2209
|
-
/** V1 error format. */
|
|
2210
|
-
'$.xgafv'?: '1' | '2';
|
|
2211
|
-
/** OAuth access token. */
|
|
2212
|
-
access_token?: string;
|
|
2213
|
-
/** Data format for response. */
|
|
2214
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2215
|
-
/** JSONP */
|
|
2216
|
-
callback?: string;
|
|
2217
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2218
|
-
fields?: string;
|
|
2219
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2220
|
-
key?: string;
|
|
2221
|
-
/** Required. The name of the version to make the default for the model. You can get the names of all the versions of a model by calling projects.models.versions.list. */
|
|
2222
|
-
name: string;
|
|
2223
|
-
/** OAuth 2.0 token for the current user. */
|
|
2224
|
-
oauth_token?: string;
|
|
2225
|
-
/** Returns response with indentations and line breaks. */
|
|
2226
|
-
prettyPrint?: boolean;
|
|
2227
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2228
|
-
quotaUser?: string;
|
|
2229
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2230
|
-
upload_protocol?: string;
|
|
2231
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2232
|
-
uploadType?: string;
|
|
2233
|
-
},
|
|
2234
|
-
body: GoogleCloudMlV1__SetDefaultVersionRequest,
|
|
2235
|
-
): Request<GoogleCloudMlV1__Version>;
|
|
2236
|
-
}
|
|
2237
|
-
interface ModelsResource {
|
|
2238
|
-
/** Creates a model which will later contain one or more versions. You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create. */
|
|
2239
|
-
create(request: {
|
|
2240
|
-
/** V1 error format. */
|
|
2241
|
-
'$.xgafv'?: '1' | '2';
|
|
2242
|
-
/** OAuth access token. */
|
|
2243
|
-
access_token?: string;
|
|
2244
|
-
/** Data format for response. */
|
|
2245
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2246
|
-
/** JSONP */
|
|
2247
|
-
callback?: string;
|
|
2248
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2249
|
-
fields?: string;
|
|
2250
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2251
|
-
key?: string;
|
|
2252
|
-
/** OAuth 2.0 token for the current user. */
|
|
2253
|
-
oauth_token?: string;
|
|
2254
|
-
/** Required. The project name. */
|
|
2255
|
-
parent: string;
|
|
2256
|
-
/** Returns response with indentations and line breaks. */
|
|
2257
|
-
prettyPrint?: boolean;
|
|
2258
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2259
|
-
quotaUser?: string;
|
|
2260
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2261
|
-
upload_protocol?: string;
|
|
2262
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2263
|
-
uploadType?: string;
|
|
2264
|
-
/** Request body */
|
|
2265
|
-
resource: GoogleCloudMlV1__Model;
|
|
2266
|
-
}): Request<GoogleCloudMlV1__Model>;
|
|
2267
|
-
create(
|
|
2268
|
-
request: {
|
|
2269
|
-
/** V1 error format. */
|
|
2270
|
-
'$.xgafv'?: '1' | '2';
|
|
2271
|
-
/** OAuth access token. */
|
|
2272
|
-
access_token?: string;
|
|
2273
|
-
/** Data format for response. */
|
|
2274
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2275
|
-
/** JSONP */
|
|
2276
|
-
callback?: string;
|
|
2277
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2278
|
-
fields?: string;
|
|
2279
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2280
|
-
key?: string;
|
|
2281
|
-
/** OAuth 2.0 token for the current user. */
|
|
2282
|
-
oauth_token?: string;
|
|
2283
|
-
/** Required. The project name. */
|
|
2284
|
-
parent: string;
|
|
2285
|
-
/** Returns response with indentations and line breaks. */
|
|
2286
|
-
prettyPrint?: boolean;
|
|
2287
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2288
|
-
quotaUser?: string;
|
|
2289
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2290
|
-
upload_protocol?: string;
|
|
2291
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2292
|
-
uploadType?: string;
|
|
2293
|
-
},
|
|
2294
|
-
body: GoogleCloudMlV1__Model,
|
|
2295
|
-
): Request<GoogleCloudMlV1__Model>;
|
|
2296
|
-
/** Deletes a model. You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete. */
|
|
2297
|
-
delete(request?: {
|
|
2298
|
-
/** V1 error format. */
|
|
2299
|
-
'$.xgafv'?: '1' | '2';
|
|
2300
|
-
/** OAuth access token. */
|
|
2301
|
-
access_token?: string;
|
|
2302
|
-
/** Data format for response. */
|
|
2303
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2304
|
-
/** JSONP */
|
|
2305
|
-
callback?: string;
|
|
2306
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2307
|
-
fields?: string;
|
|
2308
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2309
|
-
key?: string;
|
|
2310
|
-
/** Required. The name of the model. */
|
|
2311
|
-
name: string;
|
|
2312
|
-
/** OAuth 2.0 token for the current user. */
|
|
2313
|
-
oauth_token?: string;
|
|
2314
|
-
/** Returns response with indentations and line breaks. */
|
|
2315
|
-
prettyPrint?: boolean;
|
|
2316
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2317
|
-
quotaUser?: string;
|
|
2318
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2319
|
-
upload_protocol?: string;
|
|
2320
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2321
|
-
uploadType?: string;
|
|
2322
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
2323
|
-
/** Gets information about a model, including its name, the description (if set), and the default version (if at least one version of the model has been deployed). */
|
|
2324
|
-
get(request?: {
|
|
2325
|
-
/** V1 error format. */
|
|
2326
|
-
'$.xgafv'?: '1' | '2';
|
|
2327
|
-
/** OAuth access token. */
|
|
2328
|
-
access_token?: string;
|
|
2329
|
-
/** Data format for response. */
|
|
2330
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2331
|
-
/** JSONP */
|
|
2332
|
-
callback?: string;
|
|
2333
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2334
|
-
fields?: string;
|
|
2335
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2336
|
-
key?: string;
|
|
2337
|
-
/** Required. The name of the model. */
|
|
2338
|
-
name: string;
|
|
2339
|
-
/** OAuth 2.0 token for the current user. */
|
|
2340
|
-
oauth_token?: string;
|
|
2341
|
-
/** Returns response with indentations and line breaks. */
|
|
2342
|
-
prettyPrint?: boolean;
|
|
2343
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2344
|
-
quotaUser?: string;
|
|
2345
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2346
|
-
upload_protocol?: string;
|
|
2347
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2348
|
-
uploadType?: string;
|
|
2349
|
-
}): Request<GoogleCloudMlV1__Model>;
|
|
2350
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2351
|
-
getIamPolicy(request?: {
|
|
2352
|
-
/** V1 error format. */
|
|
2353
|
-
'$.xgafv'?: '1' | '2';
|
|
2354
|
-
/** OAuth access token. */
|
|
2355
|
-
access_token?: string;
|
|
2356
|
-
/** Data format for response. */
|
|
2357
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2358
|
-
/** JSONP */
|
|
2359
|
-
callback?: string;
|
|
2360
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2361
|
-
fields?: string;
|
|
2362
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2363
|
-
key?: string;
|
|
2364
|
-
/** OAuth 2.0 token for the current user. */
|
|
2365
|
-
oauth_token?: string;
|
|
2366
|
-
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
2367
|
-
'options.requestedPolicyVersion'?: number;
|
|
2368
|
-
/** Returns response with indentations and line breaks. */
|
|
2369
|
-
prettyPrint?: boolean;
|
|
2370
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2371
|
-
quotaUser?: string;
|
|
2372
|
-
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2373
|
-
resource: string;
|
|
2374
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2375
|
-
upload_protocol?: string;
|
|
2376
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2377
|
-
uploadType?: string;
|
|
2378
|
-
}): Request<GoogleIamV1__Policy>;
|
|
2379
|
-
/** Lists the models in a project. Each project can contain multiple models, and each model can have multiple versions. If there are no models that match the request parameters, the list request returns an empty response body: {}. */
|
|
2380
|
-
list(request?: {
|
|
2381
|
-
/** V1 error format. */
|
|
2382
|
-
'$.xgafv'?: '1' | '2';
|
|
2383
|
-
/** OAuth access token. */
|
|
2384
|
-
access_token?: string;
|
|
2385
|
-
/** Data format for response. */
|
|
2386
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2387
|
-
/** JSONP */
|
|
2388
|
-
callback?: string;
|
|
2389
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2390
|
-
fields?: string;
|
|
2391
|
-
/** Optional. Specifies the subset of models to retrieve. */
|
|
2392
|
-
filter?: string;
|
|
2393
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2394
|
-
key?: string;
|
|
2395
|
-
/** OAuth 2.0 token for the current user. */
|
|
2396
|
-
oauth_token?: string;
|
|
2397
|
-
/** Optional. The number of models to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
2398
|
-
pageSize?: number;
|
|
2399
|
-
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
2400
|
-
pageToken?: string;
|
|
2401
|
-
/** Required. The name of the project whose models are to be listed. */
|
|
2402
|
-
parent: string;
|
|
2403
|
-
/** Returns response with indentations and line breaks. */
|
|
2404
|
-
prettyPrint?: boolean;
|
|
2405
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2406
|
-
quotaUser?: string;
|
|
2407
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2408
|
-
upload_protocol?: string;
|
|
2409
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2410
|
-
uploadType?: string;
|
|
2411
|
-
}): Request<GoogleCloudMlV1__ListModelsResponse>;
|
|
2412
|
-
/** Updates a specific model resource. Currently the only supported fields to update are `description` and `default_version.name`. */
|
|
2413
|
-
patch(request: {
|
|
2414
|
-
/** V1 error format. */
|
|
2415
|
-
'$.xgafv'?: '1' | '2';
|
|
2416
|
-
/** OAuth access token. */
|
|
2417
|
-
access_token?: string;
|
|
2418
|
-
/** Data format for response. */
|
|
2419
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2420
|
-
/** JSONP */
|
|
2421
|
-
callback?: string;
|
|
2422
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2423
|
-
fields?: string;
|
|
2424
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2425
|
-
key?: string;
|
|
2426
|
-
/** Required. The project name. */
|
|
2427
|
-
name: string;
|
|
2428
|
-
/** OAuth 2.0 token for the current user. */
|
|
2429
|
-
oauth_token?: string;
|
|
2430
|
-
/** Returns response with indentations and line breaks. */
|
|
2431
|
-
prettyPrint?: boolean;
|
|
2432
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2433
|
-
quotaUser?: string;
|
|
2434
|
-
/** Required. Specifies the path, relative to `Model`, of the field to update. For example, to change the description of a model to "foo" and set its default version to "version_1", the `update_mask` parameter would be specified as `description`, `default_version.name`, and the `PATCH` request body would specify the new value, as follows: { "description": "foo", "defaultVersion": { "name":"version_1" } } Currently the supported update masks are `description` and `default_version.name`. */
|
|
2435
|
-
updateMask?: string;
|
|
2436
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2437
|
-
upload_protocol?: string;
|
|
2438
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2439
|
-
uploadType?: string;
|
|
2440
|
-
/** Request body */
|
|
2441
|
-
resource: GoogleCloudMlV1__Model;
|
|
2442
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
2443
|
-
patch(
|
|
2444
|
-
request: {
|
|
2254
|
+
}): Request<GoogleIamV1__Policy>;
|
|
2255
|
+
/** Lists the models in a project. Each project can contain multiple models, and each model can have multiple versions. If there are no models that match the request parameters, the list request returns an empty response body: {}. */
|
|
2256
|
+
list(request?: {
|
|
2445
2257
|
/** V1 error format. */
|
|
2446
2258
|
'$.xgafv'?: '1' | '2';
|
|
2447
2259
|
/** OAuth access token. */
|
|
@@ -2452,28 +2264,29 @@ declare namespace gapi.client {
|
|
|
2452
2264
|
callback?: string;
|
|
2453
2265
|
/** Selector specifying which fields to include in a partial response. */
|
|
2454
2266
|
fields?: string;
|
|
2267
|
+
/** Optional. Specifies the subset of models to retrieve. */
|
|
2268
|
+
filter?: string;
|
|
2455
2269
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2456
2270
|
key?: string;
|
|
2457
|
-
/** Required. The project name. */
|
|
2458
|
-
name: string;
|
|
2459
2271
|
/** OAuth 2.0 token for the current user. */
|
|
2460
2272
|
oauth_token?: string;
|
|
2273
|
+
/** Optional. The number of models to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
2274
|
+
pageSize?: number;
|
|
2275
|
+
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
2276
|
+
pageToken?: string;
|
|
2277
|
+
/** Required. The name of the project whose models are to be listed. */
|
|
2278
|
+
parent: string;
|
|
2461
2279
|
/** Returns response with indentations and line breaks. */
|
|
2462
2280
|
prettyPrint?: boolean;
|
|
2463
2281
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2464
2282
|
quotaUser?: string;
|
|
2465
|
-
/** Required. Specifies the path, relative to `Model`, of the field to update. For example, to change the description of a model to "foo" and set its default version to "version_1", the `update_mask` parameter would be specified as `description`, `default_version.name`, and the `PATCH` request body would specify the new value, as follows: { "description": "foo", "defaultVersion": { "name":"version_1" } } Currently the supported update masks are `description` and `default_version.name`. */
|
|
2466
|
-
updateMask?: string;
|
|
2467
2283
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2468
2284
|
upload_protocol?: string;
|
|
2469
2285
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2470
2286
|
uploadType?: string;
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2475
|
-
setIamPolicy(
|
|
2476
|
-
request: {
|
|
2287
|
+
}): Request<GoogleCloudMlV1__ListModelsResponse>;
|
|
2288
|
+
/** Updates a specific model resource. Currently the only supported fields to update are `description` and `default_version.name`. */
|
|
2289
|
+
patch(request: {
|
|
2477
2290
|
/** V1 error format. */
|
|
2478
2291
|
'$.xgafv'?: '1' | '2';
|
|
2479
2292
|
/** OAuth access token. */
|
|
@@ -2486,24 +2299,385 @@ declare namespace gapi.client {
|
|
|
2486
2299
|
fields?: string;
|
|
2487
2300
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2488
2301
|
key?: string;
|
|
2302
|
+
/** Required. The project name. */
|
|
2303
|
+
name: string;
|
|
2489
2304
|
/** OAuth 2.0 token for the current user. */
|
|
2490
2305
|
oauth_token?: string;
|
|
2491
2306
|
/** Returns response with indentations and line breaks. */
|
|
2492
2307
|
prettyPrint?: boolean;
|
|
2493
2308
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2494
2309
|
quotaUser?: string;
|
|
2495
|
-
/**
|
|
2496
|
-
|
|
2310
|
+
/** Required. Specifies the path, relative to `Model`, of the field to update. For example, to change the description of a model to "foo" and set its default version to "version_1", the `update_mask` parameter would be specified as `description`, `default_version.name`, and the `PATCH` request body would specify the new value, as follows: { "description": "foo", "defaultVersion": { "name":"version_1" } } Currently the supported update masks are `description` and `default_version.name`. */
|
|
2311
|
+
updateMask?: string;
|
|
2497
2312
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2498
2313
|
upload_protocol?: string;
|
|
2499
2314
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2500
2315
|
uploadType?: string;
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2316
|
+
/** Request body */
|
|
2317
|
+
resource: GoogleCloudMlV1__Model;
|
|
2318
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
2319
|
+
patch(
|
|
2320
|
+
request: {
|
|
2321
|
+
/** V1 error format. */
|
|
2322
|
+
'$.xgafv'?: '1' | '2';
|
|
2323
|
+
/** OAuth access token. */
|
|
2324
|
+
access_token?: string;
|
|
2325
|
+
/** Data format for response. */
|
|
2326
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2327
|
+
/** JSONP */
|
|
2328
|
+
callback?: string;
|
|
2329
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2330
|
+
fields?: string;
|
|
2331
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2332
|
+
key?: string;
|
|
2333
|
+
/** Required. The project name. */
|
|
2334
|
+
name: string;
|
|
2335
|
+
/** OAuth 2.0 token for the current user. */
|
|
2336
|
+
oauth_token?: string;
|
|
2337
|
+
/** Returns response with indentations and line breaks. */
|
|
2338
|
+
prettyPrint?: boolean;
|
|
2339
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2340
|
+
quotaUser?: string;
|
|
2341
|
+
/** Required. Specifies the path, relative to `Model`, of the field to update. For example, to change the description of a model to "foo" and set its default version to "version_1", the `update_mask` parameter would be specified as `description`, `default_version.name`, and the `PATCH` request body would specify the new value, as follows: { "description": "foo", "defaultVersion": { "name":"version_1" } } Currently the supported update masks are `description` and `default_version.name`. */
|
|
2342
|
+
updateMask?: string;
|
|
2343
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2344
|
+
upload_protocol?: string;
|
|
2345
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2346
|
+
uploadType?: string;
|
|
2347
|
+
},
|
|
2348
|
+
body: GoogleCloudMlV1__Model,
|
|
2349
|
+
): Request<GoogleLongrunning__Operation>;
|
|
2350
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2351
|
+
setIamPolicy(
|
|
2352
|
+
request: {
|
|
2353
|
+
/** V1 error format. */
|
|
2354
|
+
'$.xgafv'?: '1' | '2';
|
|
2355
|
+
/** OAuth access token. */
|
|
2356
|
+
access_token?: string;
|
|
2357
|
+
/** Data format for response. */
|
|
2358
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2359
|
+
/** JSONP */
|
|
2360
|
+
callback?: string;
|
|
2361
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2362
|
+
fields?: string;
|
|
2363
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2364
|
+
key?: string;
|
|
2365
|
+
/** OAuth 2.0 token for the current user. */
|
|
2366
|
+
oauth_token?: string;
|
|
2367
|
+
/** Returns response with indentations and line breaks. */
|
|
2368
|
+
prettyPrint?: boolean;
|
|
2369
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2370
|
+
quotaUser?: string;
|
|
2371
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2372
|
+
resource: string;
|
|
2373
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2374
|
+
upload_protocol?: string;
|
|
2375
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2376
|
+
uploadType?: string;
|
|
2377
|
+
},
|
|
2378
|
+
body: GoogleIamV1__SetIamPolicyRequest,
|
|
2379
|
+
): Request<GoogleIamV1__Policy>;
|
|
2380
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
2381
|
+
testIamPermissions(
|
|
2382
|
+
request: {
|
|
2383
|
+
/** V1 error format. */
|
|
2384
|
+
'$.xgafv'?: '1' | '2';
|
|
2385
|
+
/** OAuth access token. */
|
|
2386
|
+
access_token?: string;
|
|
2387
|
+
/** Data format for response. */
|
|
2388
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2389
|
+
/** JSONP */
|
|
2390
|
+
callback?: string;
|
|
2391
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2392
|
+
fields?: string;
|
|
2393
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2394
|
+
key?: string;
|
|
2395
|
+
/** OAuth 2.0 token for the current user. */
|
|
2396
|
+
oauth_token?: string;
|
|
2397
|
+
/** Returns response with indentations and line breaks. */
|
|
2398
|
+
prettyPrint?: boolean;
|
|
2399
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2400
|
+
quotaUser?: string;
|
|
2401
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2402
|
+
resource: string;
|
|
2403
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2404
|
+
upload_protocol?: string;
|
|
2405
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2406
|
+
uploadType?: string;
|
|
2407
|
+
},
|
|
2408
|
+
body: GoogleIamV1__TestIamPermissionsRequest,
|
|
2409
|
+
): Request<GoogleIamV1__TestIamPermissionsResponse>;
|
|
2410
|
+
versions: {
|
|
2411
|
+
/** Creates a new version of a model from a trained TensorFlow model. If the version created in the cloud by this call is the first deployed version of the specified model, it will be made the default version of the model. When you add a version to a model that already has one or more versions, the default version does not automatically change. If you want a new version to be the default, you must call projects.models.versions.setDefault. */
|
|
2412
|
+
create(request: {
|
|
2413
|
+
/** V1 error format. */
|
|
2414
|
+
'$.xgafv'?: '1' | '2';
|
|
2415
|
+
/** OAuth access token. */
|
|
2416
|
+
access_token?: string;
|
|
2417
|
+
/** Data format for response. */
|
|
2418
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2419
|
+
/** JSONP */
|
|
2420
|
+
callback?: string;
|
|
2421
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2422
|
+
fields?: string;
|
|
2423
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2424
|
+
key?: string;
|
|
2425
|
+
/** OAuth 2.0 token for the current user. */
|
|
2426
|
+
oauth_token?: string;
|
|
2427
|
+
/** Required. The name of the model. */
|
|
2428
|
+
parent: string;
|
|
2429
|
+
/** Returns response with indentations and line breaks. */
|
|
2430
|
+
prettyPrint?: boolean;
|
|
2431
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2432
|
+
quotaUser?: string;
|
|
2433
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2434
|
+
upload_protocol?: string;
|
|
2435
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2436
|
+
uploadType?: string;
|
|
2437
|
+
/** Request body */
|
|
2438
|
+
resource: GoogleCloudMlV1__Version;
|
|
2439
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
2440
|
+
create(
|
|
2441
|
+
request: {
|
|
2442
|
+
/** V1 error format. */
|
|
2443
|
+
'$.xgafv'?: '1' | '2';
|
|
2444
|
+
/** OAuth access token. */
|
|
2445
|
+
access_token?: string;
|
|
2446
|
+
/** Data format for response. */
|
|
2447
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2448
|
+
/** JSONP */
|
|
2449
|
+
callback?: string;
|
|
2450
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2451
|
+
fields?: string;
|
|
2452
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2453
|
+
key?: string;
|
|
2454
|
+
/** OAuth 2.0 token for the current user. */
|
|
2455
|
+
oauth_token?: string;
|
|
2456
|
+
/** Required. The name of the model. */
|
|
2457
|
+
parent: string;
|
|
2458
|
+
/** Returns response with indentations and line breaks. */
|
|
2459
|
+
prettyPrint?: boolean;
|
|
2460
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2461
|
+
quotaUser?: string;
|
|
2462
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2463
|
+
upload_protocol?: string;
|
|
2464
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2465
|
+
uploadType?: string;
|
|
2466
|
+
},
|
|
2467
|
+
body: GoogleCloudMlV1__Version,
|
|
2468
|
+
): Request<GoogleLongrunning__Operation>;
|
|
2469
|
+
/** Deletes a model version. Each model can have multiple versions deployed and in use at any given time. Use this method to remove a single version. Note: You cannot delete the version that is set as the default version of the model unless it is the only remaining version. */
|
|
2470
|
+
delete(request?: {
|
|
2471
|
+
/** V1 error format. */
|
|
2472
|
+
'$.xgafv'?: '1' | '2';
|
|
2473
|
+
/** OAuth access token. */
|
|
2474
|
+
access_token?: string;
|
|
2475
|
+
/** Data format for response. */
|
|
2476
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2477
|
+
/** JSONP */
|
|
2478
|
+
callback?: string;
|
|
2479
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2480
|
+
fields?: string;
|
|
2481
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2482
|
+
key?: string;
|
|
2483
|
+
/** Required. The name of the version. You can get the names of all the versions of a model by calling projects.models.versions.list. */
|
|
2484
|
+
name: string;
|
|
2485
|
+
/** OAuth 2.0 token for the current user. */
|
|
2486
|
+
oauth_token?: string;
|
|
2487
|
+
/** Returns response with indentations and line breaks. */
|
|
2488
|
+
prettyPrint?: boolean;
|
|
2489
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2490
|
+
quotaUser?: string;
|
|
2491
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2492
|
+
upload_protocol?: string;
|
|
2493
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2494
|
+
uploadType?: string;
|
|
2495
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
2496
|
+
/** Gets information about a model version. Models can have multiple versions. You can call projects.models.versions.list to get the same information that this method returns for all of the versions of a model. */
|
|
2497
|
+
get(request?: {
|
|
2498
|
+
/** V1 error format. */
|
|
2499
|
+
'$.xgafv'?: '1' | '2';
|
|
2500
|
+
/** OAuth access token. */
|
|
2501
|
+
access_token?: string;
|
|
2502
|
+
/** Data format for response. */
|
|
2503
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2504
|
+
/** JSONP */
|
|
2505
|
+
callback?: string;
|
|
2506
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2507
|
+
fields?: string;
|
|
2508
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2509
|
+
key?: string;
|
|
2510
|
+
/** Required. The name of the version. */
|
|
2511
|
+
name: string;
|
|
2512
|
+
/** OAuth 2.0 token for the current user. */
|
|
2513
|
+
oauth_token?: string;
|
|
2514
|
+
/** Returns response with indentations and line breaks. */
|
|
2515
|
+
prettyPrint?: boolean;
|
|
2516
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2517
|
+
quotaUser?: string;
|
|
2518
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2519
|
+
upload_protocol?: string;
|
|
2520
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2521
|
+
uploadType?: string;
|
|
2522
|
+
}): Request<GoogleCloudMlV1__Version>;
|
|
2523
|
+
/** Gets basic information about all the versions of a model. If you expect that a model has many versions, or if you need to handle only a limited number of results at a time, you can request that the list be retrieved in batches (called pages). If there are no versions that match the request parameters, the list request returns an empty response body: {}. */
|
|
2524
|
+
list(request?: {
|
|
2525
|
+
/** V1 error format. */
|
|
2526
|
+
'$.xgafv'?: '1' | '2';
|
|
2527
|
+
/** OAuth access token. */
|
|
2528
|
+
access_token?: string;
|
|
2529
|
+
/** Data format for response. */
|
|
2530
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2531
|
+
/** JSONP */
|
|
2532
|
+
callback?: string;
|
|
2533
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2534
|
+
fields?: string;
|
|
2535
|
+
/** Optional. Specifies the subset of versions to retrieve. */
|
|
2536
|
+
filter?: string;
|
|
2537
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2538
|
+
key?: string;
|
|
2539
|
+
/** OAuth 2.0 token for the current user. */
|
|
2540
|
+
oauth_token?: string;
|
|
2541
|
+
/** Optional. The number of versions to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100. */
|
|
2542
|
+
pageSize?: number;
|
|
2543
|
+
/** Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call. */
|
|
2544
|
+
pageToken?: string;
|
|
2545
|
+
/** Required. The name of the model for which to list the version. */
|
|
2546
|
+
parent: string;
|
|
2547
|
+
/** Returns response with indentations and line breaks. */
|
|
2548
|
+
prettyPrint?: boolean;
|
|
2549
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2550
|
+
quotaUser?: string;
|
|
2551
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2552
|
+
upload_protocol?: string;
|
|
2553
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2554
|
+
uploadType?: string;
|
|
2555
|
+
}): Request<GoogleCloudMlV1__ListVersionsResponse>;
|
|
2556
|
+
/** Updates the specified Version resource. Currently the only update-able fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`. */
|
|
2557
|
+
patch(request: {
|
|
2558
|
+
/** V1 error format. */
|
|
2559
|
+
'$.xgafv'?: '1' | '2';
|
|
2560
|
+
/** OAuth access token. */
|
|
2561
|
+
access_token?: string;
|
|
2562
|
+
/** Data format for response. */
|
|
2563
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2564
|
+
/** JSONP */
|
|
2565
|
+
callback?: string;
|
|
2566
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2567
|
+
fields?: string;
|
|
2568
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2569
|
+
key?: string;
|
|
2570
|
+
/** Required. The name of the model. */
|
|
2571
|
+
name: string;
|
|
2572
|
+
/** OAuth 2.0 token for the current user. */
|
|
2573
|
+
oauth_token?: string;
|
|
2574
|
+
/** Returns response with indentations and line breaks. */
|
|
2575
|
+
prettyPrint?: boolean;
|
|
2576
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2577
|
+
quotaUser?: string;
|
|
2578
|
+
/** Required. Specifies the path, relative to `Version`, of the field to update. Must be present and non-empty. For example, to change the description of a version to "foo", the `update_mask` parameter would be specified as `description`, and the `PATCH` request body would specify the new value, as follows: ``` { "description": "foo" } ``` Currently the only supported update mask fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`. However, you can only update `manualScaling.nodes` if the version uses a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction). */
|
|
2579
|
+
updateMask?: string;
|
|
2580
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2581
|
+
upload_protocol?: string;
|
|
2582
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2583
|
+
uploadType?: string;
|
|
2584
|
+
/** Request body */
|
|
2585
|
+
resource: GoogleCloudMlV1__Version;
|
|
2586
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
2587
|
+
patch(
|
|
2588
|
+
request: {
|
|
2589
|
+
/** V1 error format. */
|
|
2590
|
+
'$.xgafv'?: '1' | '2';
|
|
2591
|
+
/** OAuth access token. */
|
|
2592
|
+
access_token?: string;
|
|
2593
|
+
/** Data format for response. */
|
|
2594
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2595
|
+
/** JSONP */
|
|
2596
|
+
callback?: string;
|
|
2597
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2598
|
+
fields?: string;
|
|
2599
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2600
|
+
key?: string;
|
|
2601
|
+
/** Required. The name of the model. */
|
|
2602
|
+
name: string;
|
|
2603
|
+
/** OAuth 2.0 token for the current user. */
|
|
2604
|
+
oauth_token?: string;
|
|
2605
|
+
/** Returns response with indentations and line breaks. */
|
|
2606
|
+
prettyPrint?: boolean;
|
|
2607
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2608
|
+
quotaUser?: string;
|
|
2609
|
+
/** Required. Specifies the path, relative to `Version`, of the field to update. Must be present and non-empty. For example, to change the description of a version to "foo", the `update_mask` parameter would be specified as `description`, and the `PATCH` request body would specify the new value, as follows: ``` { "description": "foo" } ``` Currently the only supported update mask fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`. However, you can only update `manualScaling.nodes` if the version uses a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction). */
|
|
2610
|
+
updateMask?: string;
|
|
2611
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2612
|
+
upload_protocol?: string;
|
|
2613
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2614
|
+
uploadType?: string;
|
|
2615
|
+
},
|
|
2616
|
+
body: GoogleCloudMlV1__Version,
|
|
2617
|
+
): Request<GoogleLongrunning__Operation>;
|
|
2618
|
+
/** Designates a version to be the default for the model. The default version is used for prediction requests made against the model that don't specify a version. The first version to be created for a model is automatically set as the default. You must make any subsequent changes to the default version setting manually using this method. */
|
|
2619
|
+
setDefault(request: {
|
|
2620
|
+
/** V1 error format. */
|
|
2621
|
+
'$.xgafv'?: '1' | '2';
|
|
2622
|
+
/** OAuth access token. */
|
|
2623
|
+
access_token?: string;
|
|
2624
|
+
/** Data format for response. */
|
|
2625
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2626
|
+
/** JSONP */
|
|
2627
|
+
callback?: string;
|
|
2628
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2629
|
+
fields?: string;
|
|
2630
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2631
|
+
key?: string;
|
|
2632
|
+
/** Required. The name of the version to make the default for the model. You can get the names of all the versions of a model by calling projects.models.versions.list. */
|
|
2633
|
+
name: string;
|
|
2634
|
+
/** OAuth 2.0 token for the current user. */
|
|
2635
|
+
oauth_token?: string;
|
|
2636
|
+
/** Returns response with indentations and line breaks. */
|
|
2637
|
+
prettyPrint?: boolean;
|
|
2638
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2639
|
+
quotaUser?: string;
|
|
2640
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2641
|
+
upload_protocol?: string;
|
|
2642
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2643
|
+
uploadType?: string;
|
|
2644
|
+
/** Request body */
|
|
2645
|
+
resource: GoogleCloudMlV1__SetDefaultVersionRequest;
|
|
2646
|
+
}): Request<GoogleCloudMlV1__Version>;
|
|
2647
|
+
setDefault(
|
|
2648
|
+
request: {
|
|
2649
|
+
/** V1 error format. */
|
|
2650
|
+
'$.xgafv'?: '1' | '2';
|
|
2651
|
+
/** OAuth access token. */
|
|
2652
|
+
access_token?: string;
|
|
2653
|
+
/** Data format for response. */
|
|
2654
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2655
|
+
/** JSONP */
|
|
2656
|
+
callback?: string;
|
|
2657
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2658
|
+
fields?: string;
|
|
2659
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2660
|
+
key?: string;
|
|
2661
|
+
/** Required. The name of the version to make the default for the model. You can get the names of all the versions of a model by calling projects.models.versions.list. */
|
|
2662
|
+
name: string;
|
|
2663
|
+
/** OAuth 2.0 token for the current user. */
|
|
2664
|
+
oauth_token?: string;
|
|
2665
|
+
/** Returns response with indentations and line breaks. */
|
|
2666
|
+
prettyPrint?: boolean;
|
|
2667
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2668
|
+
quotaUser?: string;
|
|
2669
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2670
|
+
upload_protocol?: string;
|
|
2671
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2672
|
+
uploadType?: string;
|
|
2673
|
+
},
|
|
2674
|
+
body: GoogleCloudMlV1__SetDefaultVersionRequest,
|
|
2675
|
+
): Request<GoogleCloudMlV1__Version>;
|
|
2676
|
+
};
|
|
2677
|
+
};
|
|
2678
|
+
operations: {
|
|
2679
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
2680
|
+
cancel(request?: {
|
|
2507
2681
|
/** V1 error format. */
|
|
2508
2682
|
'$.xgafv'?: '1' | '2';
|
|
2509
2683
|
/** OAuth access token. */
|
|
@@ -2516,146 +2690,21 @@ declare namespace gapi.client {
|
|
|
2516
2690
|
fields?: string;
|
|
2517
2691
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2518
2692
|
key?: string;
|
|
2693
|
+
/** The name of the operation resource to be cancelled. */
|
|
2694
|
+
name: string;
|
|
2519
2695
|
/** OAuth 2.0 token for the current user. */
|
|
2520
2696
|
oauth_token?: string;
|
|
2521
2697
|
/** Returns response with indentations and line breaks. */
|
|
2522
2698
|
prettyPrint?: boolean;
|
|
2523
2699
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2524
2700
|
quotaUser?: string;
|
|
2525
|
-
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2526
|
-
resource: string;
|
|
2527
2701
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2528
2702
|
upload_protocol?: string;
|
|
2529
2703
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2530
2704
|
uploadType?: string;
|
|
2531
|
-
}
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
versions: VersionsResource;
|
|
2535
|
-
}
|
|
2536
|
-
interface OperationsResource {
|
|
2537
|
-
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
2538
|
-
cancel(request?: {
|
|
2539
|
-
/** V1 error format. */
|
|
2540
|
-
'$.xgafv'?: '1' | '2';
|
|
2541
|
-
/** OAuth access token. */
|
|
2542
|
-
access_token?: string;
|
|
2543
|
-
/** Data format for response. */
|
|
2544
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2545
|
-
/** JSONP */
|
|
2546
|
-
callback?: string;
|
|
2547
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2548
|
-
fields?: string;
|
|
2549
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2550
|
-
key?: string;
|
|
2551
|
-
/** The name of the operation resource to be cancelled. */
|
|
2552
|
-
name: string;
|
|
2553
|
-
/** OAuth 2.0 token for the current user. */
|
|
2554
|
-
oauth_token?: string;
|
|
2555
|
-
/** Returns response with indentations and line breaks. */
|
|
2556
|
-
prettyPrint?: boolean;
|
|
2557
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2558
|
-
quotaUser?: string;
|
|
2559
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2560
|
-
upload_protocol?: string;
|
|
2561
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2562
|
-
uploadType?: string;
|
|
2563
|
-
}): Request<{}>;
|
|
2564
|
-
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2565
|
-
get(request?: {
|
|
2566
|
-
/** V1 error format. */
|
|
2567
|
-
'$.xgafv'?: '1' | '2';
|
|
2568
|
-
/** OAuth access token. */
|
|
2569
|
-
access_token?: string;
|
|
2570
|
-
/** Data format for response. */
|
|
2571
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2572
|
-
/** JSONP */
|
|
2573
|
-
callback?: string;
|
|
2574
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2575
|
-
fields?: string;
|
|
2576
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2577
|
-
key?: string;
|
|
2578
|
-
/** The name of the operation resource. */
|
|
2579
|
-
name: string;
|
|
2580
|
-
/** OAuth 2.0 token for the current user. */
|
|
2581
|
-
oauth_token?: string;
|
|
2582
|
-
/** Returns response with indentations and line breaks. */
|
|
2583
|
-
prettyPrint?: boolean;
|
|
2584
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2585
|
-
quotaUser?: string;
|
|
2586
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2587
|
-
upload_protocol?: string;
|
|
2588
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2589
|
-
uploadType?: string;
|
|
2590
|
-
}): Request<GoogleLongrunning__Operation>;
|
|
2591
|
-
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2592
|
-
list(request?: {
|
|
2593
|
-
/** V1 error format. */
|
|
2594
|
-
'$.xgafv'?: '1' | '2';
|
|
2595
|
-
/** OAuth access token. */
|
|
2596
|
-
access_token?: string;
|
|
2597
|
-
/** Data format for response. */
|
|
2598
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2599
|
-
/** JSONP */
|
|
2600
|
-
callback?: string;
|
|
2601
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2602
|
-
fields?: string;
|
|
2603
|
-
/** The standard list filter. */
|
|
2604
|
-
filter?: string;
|
|
2605
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2606
|
-
key?: string;
|
|
2607
|
-
/** The name of the operation's parent resource. */
|
|
2608
|
-
name: string;
|
|
2609
|
-
/** OAuth 2.0 token for the current user. */
|
|
2610
|
-
oauth_token?: string;
|
|
2611
|
-
/** The standard list page size. */
|
|
2612
|
-
pageSize?: number;
|
|
2613
|
-
/** The standard list page token. */
|
|
2614
|
-
pageToken?: string;
|
|
2615
|
-
/** Returns response with indentations and line breaks. */
|
|
2616
|
-
prettyPrint?: boolean;
|
|
2617
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2618
|
-
quotaUser?: string;
|
|
2619
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
|
|
2620
|
-
returnPartialSuccess?: boolean;
|
|
2621
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2622
|
-
upload_protocol?: string;
|
|
2623
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2624
|
-
uploadType?: string;
|
|
2625
|
-
}): Request<GoogleLongrunning__ListOperationsResponse>;
|
|
2626
|
-
}
|
|
2627
|
-
interface ProjectsResource {
|
|
2628
|
-
/** Performs explanation on the data in the request. {% dynamic include "/ai-platform/includes/___explain-request" %} */
|
|
2629
|
-
explain(request: {
|
|
2630
|
-
/** V1 error format. */
|
|
2631
|
-
'$.xgafv'?: '1' | '2';
|
|
2632
|
-
/** OAuth access token. */
|
|
2633
|
-
access_token?: string;
|
|
2634
|
-
/** Data format for response. */
|
|
2635
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2636
|
-
/** JSONP */
|
|
2637
|
-
callback?: string;
|
|
2638
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2639
|
-
fields?: string;
|
|
2640
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2641
|
-
key?: string;
|
|
2642
|
-
/** Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. */
|
|
2643
|
-
name: string;
|
|
2644
|
-
/** OAuth 2.0 token for the current user. */
|
|
2645
|
-
oauth_token?: string;
|
|
2646
|
-
/** Returns response with indentations and line breaks. */
|
|
2647
|
-
prettyPrint?: boolean;
|
|
2648
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2649
|
-
quotaUser?: string;
|
|
2650
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2651
|
-
upload_protocol?: string;
|
|
2652
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2653
|
-
uploadType?: string;
|
|
2654
|
-
/** Request body */
|
|
2655
|
-
resource: GoogleCloudMlV1__ExplainRequest;
|
|
2656
|
-
}): Request<GoogleApi__HttpBody>;
|
|
2657
|
-
explain(
|
|
2658
|
-
request: {
|
|
2705
|
+
}): Request<{}>;
|
|
2706
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2707
|
+
get(request?: {
|
|
2659
2708
|
/** V1 error format. */
|
|
2660
2709
|
'$.xgafv'?: '1' | '2';
|
|
2661
2710
|
/** OAuth access token. */
|
|
@@ -2668,7 +2717,7 @@ declare namespace gapi.client {
|
|
|
2668
2717
|
fields?: string;
|
|
2669
2718
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2670
2719
|
key?: string;
|
|
2671
|
-
/**
|
|
2720
|
+
/** The name of the operation resource. */
|
|
2672
2721
|
name: string;
|
|
2673
2722
|
/** OAuth 2.0 token for the current user. */
|
|
2674
2723
|
oauth_token?: string;
|
|
@@ -2680,67 +2729,9 @@ declare namespace gapi.client {
|
|
|
2680
2729
|
upload_protocol?: string;
|
|
2681
2730
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2682
2731
|
uploadType?: string;
|
|
2683
|
-
}
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
/** Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning. */
|
|
2687
|
-
getConfig(request?: {
|
|
2688
|
-
/** V1 error format. */
|
|
2689
|
-
'$.xgafv'?: '1' | '2';
|
|
2690
|
-
/** OAuth access token. */
|
|
2691
|
-
access_token?: string;
|
|
2692
|
-
/** Data format for response. */
|
|
2693
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2694
|
-
/** JSONP */
|
|
2695
|
-
callback?: string;
|
|
2696
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2697
|
-
fields?: string;
|
|
2698
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2699
|
-
key?: string;
|
|
2700
|
-
/** Required. The project name. */
|
|
2701
|
-
name: string;
|
|
2702
|
-
/** OAuth 2.0 token for the current user. */
|
|
2703
|
-
oauth_token?: string;
|
|
2704
|
-
/** Returns response with indentations and line breaks. */
|
|
2705
|
-
prettyPrint?: boolean;
|
|
2706
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2707
|
-
quotaUser?: string;
|
|
2708
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2709
|
-
upload_protocol?: string;
|
|
2710
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2711
|
-
uploadType?: string;
|
|
2712
|
-
}): Request<GoogleCloudMlV1__GetConfigResponse>;
|
|
2713
|
-
/** Performs online prediction on the data in the request. {% dynamic include "/ai-platform/includes/___predict-request" %} */
|
|
2714
|
-
predict(request: {
|
|
2715
|
-
/** V1 error format. */
|
|
2716
|
-
'$.xgafv'?: '1' | '2';
|
|
2717
|
-
/** OAuth access token. */
|
|
2718
|
-
access_token?: string;
|
|
2719
|
-
/** Data format for response. */
|
|
2720
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2721
|
-
/** JSONP */
|
|
2722
|
-
callback?: string;
|
|
2723
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2724
|
-
fields?: string;
|
|
2725
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2726
|
-
key?: string;
|
|
2727
|
-
/** Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. */
|
|
2728
|
-
name: string;
|
|
2729
|
-
/** OAuth 2.0 token for the current user. */
|
|
2730
|
-
oauth_token?: string;
|
|
2731
|
-
/** Returns response with indentations and line breaks. */
|
|
2732
|
-
prettyPrint?: boolean;
|
|
2733
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2734
|
-
quotaUser?: string;
|
|
2735
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2736
|
-
upload_protocol?: string;
|
|
2737
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2738
|
-
uploadType?: string;
|
|
2739
|
-
/** Request body */
|
|
2740
|
-
resource: GoogleCloudMlV1__PredictRequest;
|
|
2741
|
-
}): Request<GoogleApi__HttpBody>;
|
|
2742
|
-
predict(
|
|
2743
|
-
request: {
|
|
2732
|
+
}): Request<GoogleLongrunning__Operation>;
|
|
2733
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2734
|
+
list(request?: {
|
|
2744
2735
|
/** V1 error format. */
|
|
2745
2736
|
'$.xgafv'?: '1' | '2';
|
|
2746
2737
|
/** OAuth access token. */
|
|
@@ -2751,29 +2742,30 @@ declare namespace gapi.client {
|
|
|
2751
2742
|
callback?: string;
|
|
2752
2743
|
/** Selector specifying which fields to include in a partial response. */
|
|
2753
2744
|
fields?: string;
|
|
2745
|
+
/** The standard list filter. */
|
|
2746
|
+
filter?: string;
|
|
2754
2747
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2755
2748
|
key?: string;
|
|
2756
|
-
/**
|
|
2749
|
+
/** The name of the operation's parent resource. */
|
|
2757
2750
|
name: string;
|
|
2758
2751
|
/** OAuth 2.0 token for the current user. */
|
|
2759
2752
|
oauth_token?: string;
|
|
2753
|
+
/** The standard list page size. */
|
|
2754
|
+
pageSize?: number;
|
|
2755
|
+
/** The standard list page token. */
|
|
2756
|
+
pageToken?: string;
|
|
2760
2757
|
/** Returns response with indentations and line breaks. */
|
|
2761
2758
|
prettyPrint?: boolean;
|
|
2762
2759
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2763
2760
|
quotaUser?: string;
|
|
2761
|
+
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
|
|
2762
|
+
returnPartialSuccess?: boolean;
|
|
2764
2763
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2765
2764
|
upload_protocol?: string;
|
|
2766
2765
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2767
2766
|
uploadType?: string;
|
|
2768
|
-
}
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
jobs: JobsResource;
|
|
2772
|
-
locations: LocationsResource;
|
|
2773
|
-
models: ModelsResource;
|
|
2774
|
-
operations: OperationsResource;
|
|
2775
|
-
}
|
|
2776
|
-
|
|
2777
|
-
const projects: ProjectsResource;
|
|
2767
|
+
}): Request<GoogleLongrunning__ListOperationsResponse>;
|
|
2768
|
+
};
|
|
2769
|
+
};
|
|
2778
2770
|
}
|
|
2779
2771
|
}
|