job_service.proto 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033
  1. // Copyright 2022 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.cloud.aiplatform.v1beta1;
  16. import "google/api/annotations.proto";
  17. import "google/api/client.proto";
  18. import "google/api/field_behavior.proto";
  19. import "google/api/resource.proto";
  20. import "google/cloud/aiplatform/v1beta1/batch_prediction_job.proto";
  21. import "google/cloud/aiplatform/v1beta1/custom_job.proto";
  22. import "google/cloud/aiplatform/v1beta1/data_labeling_job.proto";
  23. import "google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto";
  24. import "google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto";
  25. import "google/cloud/aiplatform/v1beta1/operation.proto";
  26. import "google/longrunning/operations.proto";
  27. import "google/protobuf/empty.proto";
  28. import "google/protobuf/field_mask.proto";
  29. import "google/protobuf/timestamp.proto";
  30. option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
  31. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
  32. option java_multiple_files = true;
  33. option java_outer_classname = "JobServiceProto";
  34. option java_package = "com.google.cloud.aiplatform.v1beta1";
  35. option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
  36. option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
  37. // A service for creating and managing Vertex AI's jobs.
  38. service JobService {
  39. option (google.api.default_host) = "aiplatform.googleapis.com";
  40. option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
  41. // Creates a CustomJob. A created CustomJob right away
  42. // will be attempted to be run.
  43. rpc CreateCustomJob(CreateCustomJobRequest) returns (CustomJob) {
  44. option (google.api.http) = {
  45. post: "/v1beta1/{parent=projects/*/locations/*}/customJobs"
  46. body: "custom_job"
  47. };
  48. option (google.api.method_signature) = "parent,custom_job";
  49. }
  50. // Gets a CustomJob.
  51. rpc GetCustomJob(GetCustomJobRequest) returns (CustomJob) {
  52. option (google.api.http) = {
  53. get: "/v1beta1/{name=projects/*/locations/*/customJobs/*}"
  54. };
  55. option (google.api.method_signature) = "name";
  56. }
  57. // Lists CustomJobs in a Location.
  58. rpc ListCustomJobs(ListCustomJobsRequest) returns (ListCustomJobsResponse) {
  59. option (google.api.http) = {
  60. get: "/v1beta1/{parent=projects/*/locations/*}/customJobs"
  61. };
  62. option (google.api.method_signature) = "parent";
  63. }
  64. // Deletes a CustomJob.
  65. rpc DeleteCustomJob(DeleteCustomJobRequest) returns (google.longrunning.Operation) {
  66. option (google.api.http) = {
  67. delete: "/v1beta1/{name=projects/*/locations/*/customJobs/*}"
  68. };
  69. option (google.api.method_signature) = "name";
  70. option (google.longrunning.operation_info) = {
  71. response_type: "google.protobuf.Empty"
  72. metadata_type: "DeleteOperationMetadata"
  73. };
  74. }
  75. // Cancels a CustomJob.
  76. // Starts asynchronous cancellation on the CustomJob. The server
  77. // makes a best effort to cancel the job, but success is not
  78. // guaranteed. Clients can use [JobService.GetCustomJob][google.cloud.aiplatform.v1beta1.JobService.GetCustomJob] or
  79. // other methods to check whether the cancellation succeeded or whether the
  80. // job completed despite cancellation. On successful cancellation,
  81. // the CustomJob is not deleted; instead it becomes a job with
  82. // a [CustomJob.error][google.cloud.aiplatform.v1beta1.CustomJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
  83. // corresponding to `Code.CANCELLED`, and [CustomJob.state][google.cloud.aiplatform.v1beta1.CustomJob.state] is set to
  84. // `CANCELLED`.
  85. rpc CancelCustomJob(CancelCustomJobRequest) returns (google.protobuf.Empty) {
  86. option (google.api.http) = {
  87. post: "/v1beta1/{name=projects/*/locations/*/customJobs/*}:cancel"
  88. body: "*"
  89. };
  90. option (google.api.method_signature) = "name";
  91. }
  92. // Creates a DataLabelingJob.
  93. rpc CreateDataLabelingJob(CreateDataLabelingJobRequest) returns (DataLabelingJob) {
  94. option (google.api.http) = {
  95. post: "/v1beta1/{parent=projects/*/locations/*}/dataLabelingJobs"
  96. body: "data_labeling_job"
  97. };
  98. option (google.api.method_signature) = "parent,data_labeling_job";
  99. }
  100. // Gets a DataLabelingJob.
  101. rpc GetDataLabelingJob(GetDataLabelingJobRequest) returns (DataLabelingJob) {
  102. option (google.api.http) = {
  103. get: "/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*}"
  104. };
  105. option (google.api.method_signature) = "name";
  106. }
  107. // Lists DataLabelingJobs in a Location.
  108. rpc ListDataLabelingJobs(ListDataLabelingJobsRequest) returns (ListDataLabelingJobsResponse) {
  109. option (google.api.http) = {
  110. get: "/v1beta1/{parent=projects/*/locations/*}/dataLabelingJobs"
  111. };
  112. option (google.api.method_signature) = "parent";
  113. }
  114. // Deletes a DataLabelingJob.
  115. rpc DeleteDataLabelingJob(DeleteDataLabelingJobRequest) returns (google.longrunning.Operation) {
  116. option (google.api.http) = {
  117. delete: "/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*}"
  118. };
  119. option (google.api.method_signature) = "name";
  120. option (google.longrunning.operation_info) = {
  121. response_type: "google.protobuf.Empty"
  122. metadata_type: "DeleteOperationMetadata"
  123. };
  124. }
  125. // Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
  126. rpc CancelDataLabelingJob(CancelDataLabelingJobRequest) returns (google.protobuf.Empty) {
  127. option (google.api.http) = {
  128. post: "/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*}:cancel"
  129. body: "*"
  130. };
  131. option (google.api.method_signature) = "name";
  132. }
  133. // Creates a HyperparameterTuningJob
  134. rpc CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest) returns (HyperparameterTuningJob) {
  135. option (google.api.http) = {
  136. post: "/v1beta1/{parent=projects/*/locations/*}/hyperparameterTuningJobs"
  137. body: "hyperparameter_tuning_job"
  138. };
  139. option (google.api.method_signature) = "parent,hyperparameter_tuning_job";
  140. }
  141. // Gets a HyperparameterTuningJob
  142. rpc GetHyperparameterTuningJob(GetHyperparameterTuningJobRequest) returns (HyperparameterTuningJob) {
  143. option (google.api.http) = {
  144. get: "/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}"
  145. };
  146. option (google.api.method_signature) = "name";
  147. }
  148. // Lists HyperparameterTuningJobs in a Location.
  149. rpc ListHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest) returns (ListHyperparameterTuningJobsResponse) {
  150. option (google.api.http) = {
  151. get: "/v1beta1/{parent=projects/*/locations/*}/hyperparameterTuningJobs"
  152. };
  153. option (google.api.method_signature) = "parent";
  154. }
  155. // Deletes a HyperparameterTuningJob.
  156. rpc DeleteHyperparameterTuningJob(DeleteHyperparameterTuningJobRequest) returns (google.longrunning.Operation) {
  157. option (google.api.http) = {
  158. delete: "/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}"
  159. };
  160. option (google.api.method_signature) = "name";
  161. option (google.longrunning.operation_info) = {
  162. response_type: "google.protobuf.Empty"
  163. metadata_type: "DeleteOperationMetadata"
  164. };
  165. }
  166. // Cancels a HyperparameterTuningJob.
  167. // Starts asynchronous cancellation on the HyperparameterTuningJob. The server
  168. // makes a best effort to cancel the job, but success is not
  169. // guaranteed. Clients can use [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob] or
  170. // other methods to check whether the cancellation succeeded or whether the
  171. // job completed despite cancellation. On successful cancellation,
  172. // the HyperparameterTuningJob is not deleted; instead it becomes a job with
  173. // a [HyperparameterTuningJob.error][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code]
  174. // of 1, corresponding to `Code.CANCELLED`, and
  175. // [HyperparameterTuningJob.state][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.state] is set to `CANCELLED`.
  176. rpc CancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest) returns (google.protobuf.Empty) {
  177. option (google.api.http) = {
  178. post: "/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}:cancel"
  179. body: "*"
  180. };
  181. option (google.api.method_signature) = "name";
  182. }
  183. // Creates a BatchPredictionJob. A BatchPredictionJob once created will
  184. // right away be attempted to start.
  185. rpc CreateBatchPredictionJob(CreateBatchPredictionJobRequest) returns (BatchPredictionJob) {
  186. option (google.api.http) = {
  187. post: "/v1beta1/{parent=projects/*/locations/*}/batchPredictionJobs"
  188. body: "batch_prediction_job"
  189. };
  190. option (google.api.method_signature) = "parent,batch_prediction_job";
  191. }
  192. // Gets a BatchPredictionJob
  193. rpc GetBatchPredictionJob(GetBatchPredictionJobRequest) returns (BatchPredictionJob) {
  194. option (google.api.http) = {
  195. get: "/v1beta1/{name=projects/*/locations/*/batchPredictionJobs/*}"
  196. };
  197. option (google.api.method_signature) = "name";
  198. }
  199. // Lists BatchPredictionJobs in a Location.
  200. rpc ListBatchPredictionJobs(ListBatchPredictionJobsRequest) returns (ListBatchPredictionJobsResponse) {
  201. option (google.api.http) = {
  202. get: "/v1beta1/{parent=projects/*/locations/*}/batchPredictionJobs"
  203. };
  204. option (google.api.method_signature) = "parent";
  205. }
  206. // Deletes a BatchPredictionJob. Can only be called on jobs that already
  207. // finished.
  208. rpc DeleteBatchPredictionJob(DeleteBatchPredictionJobRequest) returns (google.longrunning.Operation) {
  209. option (google.api.http) = {
  210. delete: "/v1beta1/{name=projects/*/locations/*/batchPredictionJobs/*}"
  211. };
  212. option (google.api.method_signature) = "name";
  213. option (google.longrunning.operation_info) = {
  214. response_type: "google.protobuf.Empty"
  215. metadata_type: "DeleteOperationMetadata"
  216. };
  217. }
  218. // Cancels a BatchPredictionJob.
  219. //
  220. // Starts asynchronous cancellation on the BatchPredictionJob. The server
  221. // makes the best effort to cancel the job, but success is not
  222. // guaranteed. Clients can use [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob] or
  223. // other methods to check whether the cancellation succeeded or whether the
  224. // job completed despite cancellation. On a successful cancellation,
  225. // the BatchPredictionJob is not deleted;instead its
  226. // [BatchPredictionJob.state][google.cloud.aiplatform.v1beta1.BatchPredictionJob.state] is set to `CANCELLED`. Any files already
  227. // outputted by the job are not deleted.
  228. rpc CancelBatchPredictionJob(CancelBatchPredictionJobRequest) returns (google.protobuf.Empty) {
  229. option (google.api.http) = {
  230. post: "/v1beta1/{name=projects/*/locations/*/batchPredictionJobs/*}:cancel"
  231. body: "*"
  232. };
  233. option (google.api.method_signature) = "name";
  234. }
  235. // Creates a ModelDeploymentMonitoringJob. It will run periodically on a
  236. // configured interval.
  237. rpc CreateModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest) returns (ModelDeploymentMonitoringJob) {
  238. option (google.api.http) = {
  239. post: "/v1beta1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs"
  240. body: "model_deployment_monitoring_job"
  241. };
  242. option (google.api.method_signature) = "parent,model_deployment_monitoring_job";
  243. }
  244. // Searches Model Monitoring Statistics generated within a given time window.
  245. rpc SearchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest) returns (SearchModelDeploymentMonitoringStatsAnomaliesResponse) {
  246. option (google.api.http) = {
  247. post: "/v1beta1/{model_deployment_monitoring_job=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:searchModelDeploymentMonitoringStatsAnomalies"
  248. body: "*"
  249. };
  250. option (google.api.method_signature) = "model_deployment_monitoring_job,deployed_model_id";
  251. }
  252. // Gets a ModelDeploymentMonitoringJob.
  253. rpc GetModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest) returns (ModelDeploymentMonitoringJob) {
  254. option (google.api.http) = {
  255. get: "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}"
  256. };
  257. option (google.api.method_signature) = "name";
  258. }
  259. // Lists ModelDeploymentMonitoringJobs in a Location.
  260. rpc ListModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest) returns (ListModelDeploymentMonitoringJobsResponse) {
  261. option (google.api.http) = {
  262. get: "/v1beta1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs"
  263. };
  264. option (google.api.method_signature) = "parent";
  265. }
  266. // Updates a ModelDeploymentMonitoringJob.
  267. rpc UpdateModelDeploymentMonitoringJob(UpdateModelDeploymentMonitoringJobRequest) returns (google.longrunning.Operation) {
  268. option (google.api.http) = {
  269. patch: "/v1beta1/{model_deployment_monitoring_job.name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}"
  270. body: "model_deployment_monitoring_job"
  271. };
  272. option (google.api.method_signature) = "model_deployment_monitoring_job,update_mask";
  273. option (google.longrunning.operation_info) = {
  274. response_type: "ModelDeploymentMonitoringJob"
  275. metadata_type: "UpdateModelDeploymentMonitoringJobOperationMetadata"
  276. };
  277. }
  278. // Deletes a ModelDeploymentMonitoringJob.
  279. rpc DeleteModelDeploymentMonitoringJob(DeleteModelDeploymentMonitoringJobRequest) returns (google.longrunning.Operation) {
  280. option (google.api.http) = {
  281. delete: "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}"
  282. };
  283. option (google.api.method_signature) = "name";
  284. option (google.longrunning.operation_info) = {
  285. response_type: "google.protobuf.Empty"
  286. metadata_type: "DeleteOperationMetadata"
  287. };
  288. }
  289. // Pauses a ModelDeploymentMonitoringJob. If the job is running, the server
  290. // makes a best effort to cancel the job. Will mark
  291. // [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.
  292. rpc PauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest) returns (google.protobuf.Empty) {
  293. option (google.api.http) = {
  294. post: "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:pause"
  295. body: "*"
  296. };
  297. option (google.api.method_signature) = "name";
  298. }
  299. // Resumes a paused ModelDeploymentMonitoringJob. It will start to run from
  300. // next scheduled time. A deleted ModelDeploymentMonitoringJob can't be
  301. // resumed.
  302. rpc ResumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest) returns (google.protobuf.Empty) {
  303. option (google.api.http) = {
  304. post: "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:resume"
  305. body: "*"
  306. };
  307. option (google.api.method_signature) = "name";
  308. }
  309. }
  310. // Request message for [JobService.CreateCustomJob][google.cloud.aiplatform.v1beta1.JobService.CreateCustomJob].
  311. message CreateCustomJobRequest {
  312. // Required. The resource name of the Location to create the CustomJob in.
  313. // Format: `projects/{project}/locations/{location}`
  314. string parent = 1 [
  315. (google.api.field_behavior) = REQUIRED,
  316. (google.api.resource_reference) = {
  317. type: "locations.googleapis.com/Location"
  318. }
  319. ];
  320. // Required. The CustomJob to create.
  321. CustomJob custom_job = 2 [(google.api.field_behavior) = REQUIRED];
  322. }
  323. // Request message for [JobService.GetCustomJob][google.cloud.aiplatform.v1beta1.JobService.GetCustomJob].
  324. message GetCustomJobRequest {
  325. // Required. The name of the CustomJob resource.
  326. // Format:
  327. // `projects/{project}/locations/{location}/customJobs/{custom_job}`
  328. string name = 1 [
  329. (google.api.field_behavior) = REQUIRED,
  330. (google.api.resource_reference) = {
  331. type: "aiplatform.googleapis.com/CustomJob"
  332. }
  333. ];
  334. }
  335. // Request message for [JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs].
  336. message ListCustomJobsRequest {
  337. // Required. The resource name of the Location to list the CustomJobs from.
  338. // Format: `projects/{project}/locations/{location}`
  339. string parent = 1 [
  340. (google.api.field_behavior) = REQUIRED,
  341. (google.api.resource_reference) = {
  342. type: "locations.googleapis.com/Location"
  343. }
  344. ];
  345. // The standard list filter.
  346. //
  347. // Supported fields:
  348. //
  349. // * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  350. // * `state` supports `=`, `!=` comparisons.
  351. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
  352. // `create_time` must be in RFC 3339 format.
  353. // * `labels` supports general map functions that is:
  354. // `labels.key=value` - key:value equality
  355. // `labels.key:* - key existence
  356. //
  357. // Some examples of using the filter are:
  358. //
  359. // * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  360. // * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  361. // * `NOT display_name="my_job"`
  362. // * `create_time>"2021-05-18T00:00:00Z"`
  363. // * `labels.keyA=valueA`
  364. // * `labels.keyB:*`
  365. string filter = 2;
  366. // The standard list page size.
  367. int32 page_size = 3;
  368. // The standard list page token.
  369. // Typically obtained via
  370. // [ListCustomJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListCustomJobsResponse.next_page_token] of the previous
  371. // [JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs] call.
  372. string page_token = 4;
  373. // Mask specifying which fields to read.
  374. google.protobuf.FieldMask read_mask = 5;
  375. }
  376. // Response message for [JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs]
  377. message ListCustomJobsResponse {
  378. // List of CustomJobs in the requested page.
  379. repeated CustomJob custom_jobs = 1;
  380. // A token to retrieve the next page of results.
  381. // Pass to [ListCustomJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListCustomJobsRequest.page_token] to obtain that page.
  382. string next_page_token = 2;
  383. }
  384. // Request message for [JobService.DeleteCustomJob][google.cloud.aiplatform.v1beta1.JobService.DeleteCustomJob].
  385. message DeleteCustomJobRequest {
  386. // Required. The name of the CustomJob resource to be deleted.
  387. // Format:
  388. // `projects/{project}/locations/{location}/customJobs/{custom_job}`
  389. string name = 1 [
  390. (google.api.field_behavior) = REQUIRED,
  391. (google.api.resource_reference) = {
  392. type: "aiplatform.googleapis.com/CustomJob"
  393. }
  394. ];
  395. }
  396. // Request message for [JobService.CancelCustomJob][google.cloud.aiplatform.v1beta1.JobService.CancelCustomJob].
  397. message CancelCustomJobRequest {
  398. // Required. The name of the CustomJob to cancel.
  399. // Format:
  400. // `projects/{project}/locations/{location}/customJobs/{custom_job}`
  401. string name = 1 [
  402. (google.api.field_behavior) = REQUIRED,
  403. (google.api.resource_reference) = {
  404. type: "aiplatform.googleapis.com/CustomJob"
  405. }
  406. ];
  407. }
  408. // Request message for [JobService.CreateDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.CreateDataLabelingJob].
  409. message CreateDataLabelingJobRequest {
  410. // Required. The parent of the DataLabelingJob.
  411. // Format: `projects/{project}/locations/{location}`
  412. string parent = 1 [
  413. (google.api.field_behavior) = REQUIRED,
  414. (google.api.resource_reference) = {
  415. type: "locations.googleapis.com/Location"
  416. }
  417. ];
  418. // Required. The DataLabelingJob to create.
  419. DataLabelingJob data_labeling_job = 2 [(google.api.field_behavior) = REQUIRED];
  420. }
  421. // Request message for [JobService.GetDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.GetDataLabelingJob].
  422. message GetDataLabelingJobRequest {
  423. // Required. The name of the DataLabelingJob.
  424. // Format:
  425. // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
  426. string name = 1 [
  427. (google.api.field_behavior) = REQUIRED,
  428. (google.api.resource_reference) = {
  429. type: "aiplatform.googleapis.com/DataLabelingJob"
  430. }
  431. ];
  432. }
  433. // Request message for [JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs].
  434. message ListDataLabelingJobsRequest {
  435. // Required. The parent of the DataLabelingJob.
  436. // Format: `projects/{project}/locations/{location}`
  437. string parent = 1 [
  438. (google.api.field_behavior) = REQUIRED,
  439. (google.api.resource_reference) = {
  440. type: "locations.googleapis.com/Location"
  441. }
  442. ];
  443. // The standard list filter.
  444. //
  445. // Supported fields:
  446. //
  447. // * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  448. // * `state` supports `=`, `!=` comparisons.
  449. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
  450. // `create_time` must be in RFC 3339 format.
  451. // * `labels` supports general map functions that is:
  452. // `labels.key=value` - key:value equality
  453. // `labels.key:* - key existence
  454. //
  455. // Some examples of using the filter are:
  456. //
  457. // * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  458. // * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  459. // * `NOT display_name="my_job"`
  460. // * `create_time>"2021-05-18T00:00:00Z"`
  461. // * `labels.keyA=valueA`
  462. // * `labels.keyB:*`
  463. string filter = 2;
  464. // The standard list page size.
  465. int32 page_size = 3;
  466. // The standard list page token.
  467. string page_token = 4;
  468. // Mask specifying which fields to read. FieldMask represents a set of
  469. // symbolic field paths. For example, the mask can be `paths: "name"`. The
  470. // "name" here is a field in DataLabelingJob.
  471. // If this field is not set, all fields of the DataLabelingJob are returned.
  472. google.protobuf.FieldMask read_mask = 5;
  473. // A comma-separated list of fields to order by, sorted in ascending order by
  474. // default.
  475. // Use `desc` after a field name for descending.
  476. string order_by = 6;
  477. }
  478. // Response message for [JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs].
  479. message ListDataLabelingJobsResponse {
  480. // A list of DataLabelingJobs that matches the specified filter in the
  481. // request.
  482. repeated DataLabelingJob data_labeling_jobs = 1;
  483. // The standard List next-page token.
  484. string next_page_token = 2;
  485. }
  486. // Request message for [JobService.DeleteDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.DeleteDataLabelingJob].
  487. message DeleteDataLabelingJobRequest {
  488. // Required. The name of the DataLabelingJob to be deleted.
  489. // Format:
  490. // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
  491. string name = 1 [
  492. (google.api.field_behavior) = REQUIRED,
  493. (google.api.resource_reference) = {
  494. type: "aiplatform.googleapis.com/DataLabelingJob"
  495. }
  496. ];
  497. }
  498. // Request message for [JobService.CancelDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.CancelDataLabelingJob].
  499. message CancelDataLabelingJobRequest {
  500. // Required. The name of the DataLabelingJob.
  501. // Format:
  502. // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
  503. string name = 1 [
  504. (google.api.field_behavior) = REQUIRED,
  505. (google.api.resource_reference) = {
  506. type: "aiplatform.googleapis.com/DataLabelingJob"
  507. }
  508. ];
  509. }
  510. // Request message for [JobService.CreateHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.CreateHyperparameterTuningJob].
  511. message CreateHyperparameterTuningJobRequest {
  512. // Required. The resource name of the Location to create the HyperparameterTuningJob in.
  513. // Format: `projects/{project}/locations/{location}`
  514. string parent = 1 [
  515. (google.api.field_behavior) = REQUIRED,
  516. (google.api.resource_reference) = {
  517. type: "locations.googleapis.com/Location"
  518. }
  519. ];
  520. // Required. The HyperparameterTuningJob to create.
  521. HyperparameterTuningJob hyperparameter_tuning_job = 2 [(google.api.field_behavior) = REQUIRED];
  522. }
  523. // Request message for [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob].
  524. message GetHyperparameterTuningJobRequest {
  525. // Required. The name of the HyperparameterTuningJob resource.
  526. // Format:
  527. // `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`
  528. string name = 1 [
  529. (google.api.field_behavior) = REQUIRED,
  530. (google.api.resource_reference) = {
  531. type: "aiplatform.googleapis.com/HyperparameterTuningJob"
  532. }
  533. ];
  534. }
  535. // Request message for [JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs].
  536. message ListHyperparameterTuningJobsRequest {
  537. // Required. The resource name of the Location to list the HyperparameterTuningJobs
  538. // from. Format: `projects/{project}/locations/{location}`
  539. string parent = 1 [
  540. (google.api.field_behavior) = REQUIRED,
  541. (google.api.resource_reference) = {
  542. type: "locations.googleapis.com/Location"
  543. }
  544. ];
  545. // The standard list filter.
  546. //
  547. // Supported fields:
  548. //
  549. // * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  550. // * `state` supports `=`, `!=` comparisons.
  551. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
  552. // `create_time` must be in RFC 3339 format.
  553. // * `labels` supports general map functions that is:
  554. // `labels.key=value` - key:value equality
  555. // `labels.key:* - key existence
  556. //
  557. // Some examples of using the filter are:
  558. //
  559. // * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  560. // * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  561. // * `NOT display_name="my_job"`
  562. // * `create_time>"2021-05-18T00:00:00Z"`
  563. // * `labels.keyA=valueA`
  564. // * `labels.keyB:*`
  565. string filter = 2;
  566. // The standard list page size.
  567. int32 page_size = 3;
  568. // The standard list page token.
  569. // Typically obtained via
  570. // [ListHyperparameterTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsResponse.next_page_token] of the previous
  571. // [JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs] call.
  572. string page_token = 4;
  573. // Mask specifying which fields to read.
  574. google.protobuf.FieldMask read_mask = 5;
  575. }
  576. // Response message for [JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs]
  577. message ListHyperparameterTuningJobsResponse {
  578. // List of HyperparameterTuningJobs in the requested page.
  579. // [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.trials] of the jobs will be not be returned.
  580. repeated HyperparameterTuningJob hyperparameter_tuning_jobs = 1;
  581. // A token to retrieve the next page of results.
  582. // Pass to [ListHyperparameterTuningJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsRequest.page_token] to obtain that
  583. // page.
  584. string next_page_token = 2;
  585. }
  586. // Request message for [JobService.DeleteHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.DeleteHyperparameterTuningJob].
  587. message DeleteHyperparameterTuningJobRequest {
  588. // Required. The name of the HyperparameterTuningJob resource to be deleted.
  589. // Format:
  590. // `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`
  591. string name = 1 [
  592. (google.api.field_behavior) = REQUIRED,
  593. (google.api.resource_reference) = {
  594. type: "aiplatform.googleapis.com/HyperparameterTuningJob"
  595. }
  596. ];
  597. }
  598. // Request message for [JobService.CancelHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.CancelHyperparameterTuningJob].
  599. message CancelHyperparameterTuningJobRequest {
  600. // Required. The name of the HyperparameterTuningJob to cancel.
  601. // Format:
  602. // `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`
  603. string name = 1 [
  604. (google.api.field_behavior) = REQUIRED,
  605. (google.api.resource_reference) = {
  606. type: "aiplatform.googleapis.com/HyperparameterTuningJob"
  607. }
  608. ];
  609. }
  610. // Request message for [JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.CreateBatchPredictionJob].
  611. message CreateBatchPredictionJobRequest {
  612. // Required. The resource name of the Location to create the BatchPredictionJob in.
  613. // Format: `projects/{project}/locations/{location}`
  614. string parent = 1 [
  615. (google.api.field_behavior) = REQUIRED,
  616. (google.api.resource_reference) = {
  617. type: "locations.googleapis.com/Location"
  618. }
  619. ];
  620. // Required. The BatchPredictionJob to create.
  621. BatchPredictionJob batch_prediction_job = 2 [(google.api.field_behavior) = REQUIRED];
  622. }
  623. // Request message for [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob].
  624. message GetBatchPredictionJobRequest {
  625. // Required. The name of the BatchPredictionJob resource.
  626. // Format:
  627. // `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`
  628. string name = 1 [
  629. (google.api.field_behavior) = REQUIRED,
  630. (google.api.resource_reference) = {
  631. type: "aiplatform.googleapis.com/BatchPredictionJob"
  632. }
  633. ];
  634. }
  635. // Request message for [JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs].
  636. message ListBatchPredictionJobsRequest {
  637. // Required. The resource name of the Location to list the BatchPredictionJobs
  638. // from. Format: `projects/{project}/locations/{location}`
  639. string parent = 1 [
  640. (google.api.field_behavior) = REQUIRED,
  641. (google.api.resource_reference) = {
  642. type: "locations.googleapis.com/Location"
  643. }
  644. ];
  645. // The standard list filter.
  646. //
  647. // Supported fields:
  648. //
  649. // * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  650. // * `model_display_name` supports `=`, `!=` comparisons.
  651. // * `state` supports `=`, `!=` comparisons.
  652. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
  653. // `create_time` must be in RFC 3339 format.
  654. // * `labels` supports general map functions that is:
  655. // `labels.key=value` - key:value equality
  656. // `labels.key:* - key existence
  657. //
  658. // Some examples of using the filter are:
  659. //
  660. // * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  661. // * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  662. // * `NOT display_name="my_job"`
  663. // * `create_time>"2021-05-18T00:00:00Z"`
  664. // * `labels.keyA=valueA`
  665. // * `labels.keyB:*`
  666. string filter = 2;
  667. // The standard list page size.
  668. int32 page_size = 3;
  669. // The standard list page token.
  670. // Typically obtained via
  671. // [ListBatchPredictionJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsResponse.next_page_token] of the previous
  672. // [JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs] call.
  673. string page_token = 4;
  674. // Mask specifying which fields to read.
  675. google.protobuf.FieldMask read_mask = 5;
  676. }
  677. // Response message for [JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs]
  678. message ListBatchPredictionJobsResponse {
  679. // List of BatchPredictionJobs in the requested page.
  680. repeated BatchPredictionJob batch_prediction_jobs = 1;
  681. // A token to retrieve the next page of results.
  682. // Pass to [ListBatchPredictionJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsRequest.page_token] to obtain that
  683. // page.
  684. string next_page_token = 2;
  685. }
  686. // Request message for [JobService.DeleteBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.DeleteBatchPredictionJob].
  687. message DeleteBatchPredictionJobRequest {
  688. // Required. The name of the BatchPredictionJob resource to be deleted.
  689. // Format:
  690. // `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`
  691. string name = 1 [
  692. (google.api.field_behavior) = REQUIRED,
  693. (google.api.resource_reference) = {
  694. type: "aiplatform.googleapis.com/BatchPredictionJob"
  695. }
  696. ];
  697. }
  698. // Request message for [JobService.CancelBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.CancelBatchPredictionJob].
  699. message CancelBatchPredictionJobRequest {
  700. // Required. The name of the BatchPredictionJob to cancel.
  701. // Format:
  702. // `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`
  703. string name = 1 [
  704. (google.api.field_behavior) = REQUIRED,
  705. (google.api.resource_reference) = {
  706. type: "aiplatform.googleapis.com/BatchPredictionJob"
  707. }
  708. ];
  709. }
  710. // Request message for
  711. // [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.CreateModelDeploymentMonitoringJob].
  712. message CreateModelDeploymentMonitoringJobRequest {
  713. // Required. The parent of the ModelDeploymentMonitoringJob.
  714. // Format: `projects/{project}/locations/{location}`
  715. string parent = 1 [
  716. (google.api.field_behavior) = REQUIRED,
  717. (google.api.resource_reference) = {
  718. type: "locations.googleapis.com/Location"
  719. }
  720. ];
  721. // Required. The ModelDeploymentMonitoringJob to create
  722. ModelDeploymentMonitoringJob model_deployment_monitoring_job = 2 [(google.api.field_behavior) = REQUIRED];
  723. }
  724. // Request message for
  725. // [JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies].
  726. message SearchModelDeploymentMonitoringStatsAnomaliesRequest {
  727. // Stats requested for specific objective.
  728. message StatsAnomaliesObjective {
  729. ModelDeploymentMonitoringObjectiveType type = 1;
  730. // If set, all attribution scores between
  731. // [SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time][google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time] and
  732. // [SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time][google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time] are
  733. // fetched, and page token doesn't take affect in this case.
  734. // Only used to retrieve attribution score for the top Features which has
  735. // the highest attribution score in the latest monitoring run.
  736. int32 top_feature_count = 4;
  737. }
  738. // Required. ModelDeploymentMonitoring Job resource name.
  739. // Format:
  740. // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
  741. string model_deployment_monitoring_job = 1 [
  742. (google.api.field_behavior) = REQUIRED,
  743. (google.api.resource_reference) = {
  744. type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob"
  745. }
  746. ];
  747. // Required. The DeployedModel ID of the
  748. // [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id].
  749. string deployed_model_id = 2 [(google.api.field_behavior) = REQUIRED];
  750. // The feature display name. If specified, only return the stats belonging to
  751. // this feature. Format:
  752. // [ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name][google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name],
  753. // example: "user_destination".
  754. string feature_display_name = 3;
  755. // Required. Objectives of the stats to retrieve.
  756. repeated StatsAnomaliesObjective objectives = 4 [(google.api.field_behavior) = REQUIRED];
  757. // The standard list page size.
  758. int32 page_size = 5;
  759. // A page token received from a previous
  760. // [JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies]
  761. // call.
  762. string page_token = 6;
  763. // The earliest timestamp of stats being generated.
  764. // If not set, indicates fetching stats till the earliest possible one.
  765. google.protobuf.Timestamp start_time = 7;
  766. // The latest timestamp of stats being generated.
  767. // If not set, indicates feching stats till the latest possible one.
  768. google.protobuf.Timestamp end_time = 8;
  769. }
  770. // Response message for
  771. // [JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies].
  772. message SearchModelDeploymentMonitoringStatsAnomaliesResponse {
  773. // Stats retrieved for requested objectives.
  774. // There are at most 1000
  775. // [ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats][google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats]
  776. // in the response.
  777. repeated ModelMonitoringStatsAnomalies monitoring_stats = 1;
  778. // The page token that can be used by the next
  779. // [JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies]
  780. // call.
  781. string next_page_token = 2;
  782. }
  783. // Request message for
  784. // [JobService.GetModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.GetModelDeploymentMonitoringJob].
  785. message GetModelDeploymentMonitoringJobRequest {
  786. // Required. The resource name of the ModelDeploymentMonitoringJob.
  787. // Format:
  788. // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
  789. string name = 1 [
  790. (google.api.field_behavior) = REQUIRED,
  791. (google.api.resource_reference) = {
  792. type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob"
  793. }
  794. ];
  795. }
  796. // Request message for
  797. // [JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs].
  798. message ListModelDeploymentMonitoringJobsRequest {
  799. // Required. The parent of the ModelDeploymentMonitoringJob.
  800. // Format: `projects/{project}/locations/{location}`
  801. string parent = 1 [
  802. (google.api.field_behavior) = REQUIRED,
  803. (google.api.resource_reference) = {
  804. type: "locations.googleapis.com/Location"
  805. }
  806. ];
  807. // The standard list filter.
  808. //
  809. // Supported fields:
  810. //
  811. // * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  812. // * `state` supports `=`, `!=` comparisons.
  813. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
  814. // `create_time` must be in RFC 3339 format.
  815. // * `labels` supports general map functions that is:
  816. // `labels.key=value` - key:value equality
  817. // `labels.key:* - key existence
  818. //
  819. // Some examples of using the filter are:
  820. //
  821. // * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  822. // * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  823. // * `NOT display_name="my_job"`
  824. // * `create_time>"2021-05-18T00:00:00Z"`
  825. // * `labels.keyA=valueA`
  826. // * `labels.keyB:*`
  827. string filter = 2;
  828. // The standard list page size.
  829. int32 page_size = 3;
  830. // The standard list page token.
  831. string page_token = 4;
  832. // Mask specifying which fields to read
  833. google.protobuf.FieldMask read_mask = 5;
  834. }
  835. // Response message for
  836. // [JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs].
  837. message ListModelDeploymentMonitoringJobsResponse {
  838. // A list of ModelDeploymentMonitoringJobs that matches the specified filter
  839. // in the request.
  840. repeated ModelDeploymentMonitoringJob model_deployment_monitoring_jobs = 1;
  841. // The standard List next-page token.
  842. string next_page_token = 2;
  843. }
  844. // Request message for
  845. // [JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob].
  846. message UpdateModelDeploymentMonitoringJobRequest {
  847. // Required. The model monitoring configuration which replaces the resource on the
  848. // server.
  849. ModelDeploymentMonitoringJob model_deployment_monitoring_job = 1 [(google.api.field_behavior) = REQUIRED];
  850. // Required. The update mask is used to specify the fields to be overwritten in the
  851. // ModelDeploymentMonitoringJob resource by the update.
  852. // The fields specified in the update_mask are relative to the resource, not
  853. // the full request. A field will be overwritten if it is in the mask. If the
  854. // user does not provide a mask then only the non-empty fields present in the
  855. // request will be overwritten. Set the update_mask to `*` to override all
  856. // fields.
  857. // For the objective config, the user can either provide the update mask for
  858. // model_deployment_monitoring_objective_configs or any combination of its
  859. // nested fields, such as:
  860. // model_deployment_monitoring_objective_configs.objective_config.training_dataset.
  861. //
  862. // Updatable fields:
  863. //
  864. // * `display_name`
  865. // * `model_deployment_monitoring_schedule_config`
  866. // * `model_monitoring_alert_config`
  867. // * `logging_sampling_strategy`
  868. // * `labels`
  869. // * `log_ttl`
  870. // * `enable_monitoring_pipeline_logs`
  871. // . and
  872. // * `model_deployment_monitoring_objective_configs`
  873. // . or
  874. // * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
  875. // * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
  876. // * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
  877. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
  878. }
  879. // Request message for
  880. // [JobService.DeleteModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.DeleteModelDeploymentMonitoringJob].
  881. message DeleteModelDeploymentMonitoringJobRequest {
  882. // Required. The resource name of the model monitoring job to delete.
  883. // Format:
  884. // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
  885. string name = 1 [
  886. (google.api.field_behavior) = REQUIRED,
  887. (google.api.resource_reference) = {
  888. type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob"
  889. }
  890. ];
  891. }
  892. // Request message for
  893. // [JobService.PauseModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.PauseModelDeploymentMonitoringJob].
  894. message PauseModelDeploymentMonitoringJobRequest {
  895. // Required. The resource name of the ModelDeploymentMonitoringJob to pause.
  896. // Format:
  897. // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
  898. string name = 1 [
  899. (google.api.field_behavior) = REQUIRED,
  900. (google.api.resource_reference) = {
  901. type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob"
  902. }
  903. ];
  904. }
  905. // Request message for
  906. // [JobService.ResumeModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.ResumeModelDeploymentMonitoringJob].
  907. message ResumeModelDeploymentMonitoringJobRequest {
  908. // Required. The resource name of the ModelDeploymentMonitoringJob to resume.
  909. // Format:
  910. // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
  911. string name = 1 [
  912. (google.api.field_behavior) = REQUIRED,
  913. (google.api.resource_reference) = {
  914. type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob"
  915. }
  916. ];
  917. }
  918. // Runtime operation information for
  919. // [JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob].
  920. message UpdateModelDeploymentMonitoringJobOperationMetadata {
  921. // The operation generic information.
  922. GenericOperationMetadata generic_metadata = 1;
  923. }