google-cloud-ai_platform-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +1364 -0
  7. data/lib/google/cloud/ai_platform/v1/dataset_service/credentials.rb +47 -0
  8. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +767 -0
  9. data/lib/google/cloud/ai_platform/v1/dataset_service/paths.rb +111 -0
  10. data/lib/google/cloud/ai_platform/v1/dataset_service.rb +51 -0
  11. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +1076 -0
  12. data/lib/google/cloud/ai_platform/v1/endpoint_service/credentials.rb +47 -0
  13. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +767 -0
  14. data/lib/google/cloud/ai_platform/v1/endpoint_service/paths.rb +124 -0
  15. data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +50 -0
  16. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +508 -0
  17. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/credentials.rb +47 -0
  18. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/paths.rb +54 -0
  19. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +49 -0
  20. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2707 -0
  21. data/lib/google/cloud/ai_platform/v1/featurestore_service/credentials.rb +47 -0
  22. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +767 -0
  23. data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +113 -0
  24. data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +50 -0
  25. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +1146 -0
  26. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/credentials.rb +47 -0
  27. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +767 -0
  28. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/paths.rb +88 -0
  29. data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +50 -0
  30. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +823 -0
  31. data/lib/google/cloud/ai_platform/v1/index_service/credentials.rb +47 -0
  32. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +767 -0
  33. data/lib/google/cloud/ai_platform/v1/index_service/paths.rb +88 -0
  34. data/lib/google/cloud/ai_platform/v1/index_service.rb +50 -0
  35. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +3236 -0
  36. data/lib/google/cloud/ai_platform/v1/job_service/credentials.rb +47 -0
  37. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +767 -0
  38. data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +259 -0
  39. data/lib/google/cloud/ai_platform/v1/job_service.rb +50 -0
  40. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +3654 -0
  41. data/lib/google/cloud/ai_platform/v1/metadata_service/credentials.rb +47 -0
  42. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +767 -0
  43. data/lib/google/cloud/ai_platform/v1/metadata_service/paths.rb +153 -0
  44. data/lib/google/cloud/ai_platform/v1/metadata_service.rb +50 -0
  45. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +538 -0
  46. data/lib/google/cloud/ai_platform/v1/migration_service/credentials.rb +47 -0
  47. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +767 -0
  48. data/lib/google/cloud/ai_platform/v1/migration_service/paths.rb +148 -0
  49. data/lib/google/cloud/ai_platform/v1/migration_service.rb +51 -0
  50. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +1355 -0
  51. data/lib/google/cloud/ai_platform/v1/model_service/credentials.rb +47 -0
  52. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +767 -0
  53. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +151 -0
  54. data/lib/google/cloud/ai_platform/v1/model_service.rb +50 -0
  55. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +1384 -0
  56. data/lib/google/cloud/ai_platform/v1/pipeline_service/credentials.rb +47 -0
  57. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +767 -0
  58. data/lib/google/cloud/ai_platform/v1/pipeline_service/paths.rb +225 -0
  59. data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +52 -0
  60. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +650 -0
  61. data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +47 -0
  62. data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +52 -0
  63. data/lib/google/cloud/ai_platform/v1/prediction_service.rb +49 -0
  64. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +826 -0
  65. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/credentials.rb +47 -0
  66. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +767 -0
  67. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/paths.rb +69 -0
  68. data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +55 -0
  69. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +3224 -0
  70. data/lib/google/cloud/ai_platform/v1/tensorboard_service/credentials.rb +48 -0
  71. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +767 -0
  72. data/lib/google/cloud/ai_platform/v1/tensorboard_service/paths.rb +138 -0
  73. data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +50 -0
  74. data/lib/google/cloud/ai_platform/v1/version.rb +28 -0
  75. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +1793 -0
  76. data/lib/google/cloud/ai_platform/v1/vizier_service/credentials.rb +47 -0
  77. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +767 -0
  78. data/lib/google/cloud/ai_platform/v1/vizier_service/paths.rb +109 -0
  79. data/lib/google/cloud/ai_platform/v1/vizier_service.rb +54 -0
  80. data/lib/google/cloud/ai_platform/v1.rb +52 -0
  81. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +29 -0
  82. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +35 -0
  83. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +30 -0
  84. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +45 -0
  85. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +83 -0
  86. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +27 -0
  87. data/lib/google/cloud/aiplatform/v1/context_pb.rb +38 -0
  88. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +84 -0
  89. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +32 -0
  90. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +78 -0
  91. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +53 -0
  92. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +126 -0
  93. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +64 -0
  94. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +26 -0
  95. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +26 -0
  96. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -0
  97. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +67 -0
  98. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +90 -0
  99. data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +58 -0
  100. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +32 -0
  101. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +25 -0
  102. data/lib/google/cloud/aiplatform/v1/event_pb.rb +36 -0
  103. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +48 -0
  104. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +107 -0
  105. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +106 -0
  106. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +30 -0
  107. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +46 -0
  108. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +28 -0
  109. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +86 -0
  110. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_services_pb.rb +51 -0
  111. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +44 -0
  112. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +280 -0
  113. data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +109 -0
  114. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +46 -0
  115. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +66 -0
  116. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +101 -0
  117. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_services_pb.rb +62 -0
  118. data/lib/google/cloud/aiplatform/v1/index_pb.rb +38 -0
  119. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +98 -0
  120. data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +55 -0
  121. data/lib/google/cloud/aiplatform/v1/io_pb.rb +56 -0
  122. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +217 -0
  123. data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +134 -0
  124. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +32 -0
  125. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +28 -0
  126. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +59 -0
  127. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -0
  128. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +38 -0
  129. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +272 -0
  130. data/lib/google/cloud/aiplatform/v1/metadata_service_services_pb.rb +119 -0
  131. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +36 -0
  132. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +59 -0
  133. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +106 -0
  134. data/lib/google/cloud/aiplatform/v1/migration_service_services_pb.rb +51 -0
  135. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +111 -0
  136. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +33 -0
  137. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +36 -0
  138. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +93 -0
  139. data/lib/google/cloud/aiplatform/v1/model_pb.rb +88 -0
  140. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +129 -0
  141. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +69 -0
  142. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +32 -0
  143. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +115 -0
  144. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +88 -0
  145. data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +84 -0
  146. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +31 -0
  147. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +57 -0
  148. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +66 -0
  149. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +30 -0
  150. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +66 -0
  151. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_services_pb.rb +58 -0
  152. data/lib/google/cloud/aiplatform/v1/study_pb.rb +191 -0
  153. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +56 -0
  154. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +33 -0
  155. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +36 -0
  156. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +32 -0
  157. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +244 -0
  158. data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +115 -0
  159. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +48 -0
  160. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +95 -0
  161. data/lib/google/cloud/aiplatform/v1/types_pb.rb +35 -0
  162. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +27 -0
  163. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +27 -0
  164. data/lib/google/cloud/aiplatform/v1/value_pb.rb +27 -0
  165. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +136 -0
  166. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +90 -0
  167. data/lib/google-cloud-ai_platform-v1.rb +21 -0
  168. data/proto_docs/README.md +4 -0
  169. data/proto_docs/google/api/field_behavior.rb +71 -0
  170. data/proto_docs/google/api/httpbody.rb +80 -0
  171. data/proto_docs/google/api/resource.rb +222 -0
  172. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +50 -0
  173. data/proto_docs/google/cloud/aiplatform/v1/annotation.rb +92 -0
  174. data/proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb +50 -0
  175. data/proto_docs/google/cloud/aiplatform/v1/artifact.rb +112 -0
  176. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +278 -0
  177. data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +46 -0
  178. data/proto_docs/google/cloud/aiplatform/v1/context.rb +92 -0
  179. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +272 -0
  180. data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +73 -0
  181. data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +207 -0
  182. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +154 -0
  183. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +301 -0
  184. data/proto_docs/google/cloud/aiplatform/v1/deployed_index_ref.rb +38 -0
  185. data/proto_docs/google/cloud/aiplatform/v1/deployed_model_ref.rb +38 -0
  186. data/proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb +40 -0
  187. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +227 -0
  188. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +258 -0
  189. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +79 -0
  190. data/proto_docs/google/cloud/aiplatform/v1/env_var.rb +44 -0
  191. data/proto_docs/google/cloud/aiplatform/v1/event.rb +79 -0
  192. data/proto_docs/google/cloud/aiplatform/v1/execution.rb +118 -0
  193. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +445 -0
  194. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +419 -0
  195. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +115 -0
  196. data/proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb +88 -0
  197. data/proto_docs/google/cloud/aiplatform/v1/feature_selector.rb +49 -0
  198. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +115 -0
  199. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +203 -0
  200. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +978 -0
  201. data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +109 -0
  202. data/proto_docs/google/cloud/aiplatform/v1/index.rb +98 -0
  203. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +252 -0
  204. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +240 -0
  205. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +220 -0
  206. data/proto_docs/google/cloud/aiplatform/v1/io.rb +134 -0
  207. data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +660 -0
  208. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +60 -0
  209. data/proto_docs/google/cloud/aiplatform/v1/lineage_subgraph.rb +42 -0
  210. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +194 -0
  211. data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +41 -0
  212. data/proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb +74 -0
  213. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +912 -0
  214. data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +62 -0
  215. data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +133 -0
  216. data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +260 -0
  217. data/proto_docs/google/cloud/aiplatform/v1/model.rb +562 -0
  218. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +293 -0
  219. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +60 -0
  220. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +68 -0
  221. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +257 -0
  222. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +329 -0
  223. data/proto_docs/google/cloud/aiplatform/v1/operation.rb +55 -0
  224. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +347 -0
  225. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +258 -0
  226. data/proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb +59 -0
  227. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +165 -0
  228. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb +52 -0
  229. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb +52 -0
  230. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.rb +47 -0
  231. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.rb +46 -0
  232. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.rb +53 -0
  233. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.rb +46 -0
  234. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.rb +59 -0
  235. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.rb +59 -0
  236. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.rb +59 -0
  237. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_classification.rb +47 -0
  238. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.rb +47 -0
  239. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.rb +44 -0
  240. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.rb +47 -0
  241. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb +72 -0
  242. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.rb +51 -0
  243. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/classification.rb +49 -0
  244. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb +58 -0
  245. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.rb +53 -0
  246. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.rb +47 -0
  247. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.rb +47 -0
  248. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb +60 -0
  249. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.rb +45 -0
  250. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.rb +60 -0
  251. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb +73 -0
  252. data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.rb +91 -0
  253. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.rb +142 -0
  254. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.rb +134 -0
  255. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.rb +120 -0
  256. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.rb +315 -0
  257. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.rb +48 -0
  258. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.rb +46 -0
  259. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.rb +55 -0
  260. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.rb +73 -0
  261. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.rb +67 -0
  262. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.rb +78 -0
  263. data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.rb +51 -0
  264. data/proto_docs/google/cloud/aiplatform/v1/specialist_pool.rb +58 -0
  265. data/proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb +136 -0
  266. data/proto_docs/google/cloud/aiplatform/v1/study.rb +543 -0
  267. data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +89 -0
  268. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +110 -0
  269. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +82 -0
  270. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_run.rb +85 -0
  271. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +706 -0
  272. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_time_series.rb +101 -0
  273. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +381 -0
  274. data/proto_docs/google/cloud/aiplatform/v1/types.rb +62 -0
  275. data/proto_docs/google/cloud/aiplatform/v1/unmanaged_container_model.rb +44 -0
  276. data/proto_docs/google/cloud/aiplatform/v1/user_action_reference.rb +49 -0
  277. data/proto_docs/google/cloud/aiplatform/v1/value.rb +41 -0
  278. data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +332 -0
  279. data/proto_docs/google/longrunning/operations.rb +164 -0
  280. data/proto_docs/google/protobuf/any.rb +141 -0
  281. data/proto_docs/google/protobuf/duration.rb +98 -0
  282. data/proto_docs/google/protobuf/empty.rb +36 -0
  283. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  284. data/proto_docs/google/protobuf/struct.rb +96 -0
  285. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  286. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  287. data/proto_docs/google/rpc/status.rb +46 -0
  288. data/proto_docs/google/type/money.rb +43 -0
  289. metadata +479 -0
@@ -0,0 +1,272 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # Represents a job that runs custom workloads such as a Docker container or a
25
+ # Python package. A CustomJob can have multiple worker pools and each worker
26
+ # pool can have its own machine and input spec. A CustomJob will be cleaned up
27
+ # once the job enters terminal state (failed or succeeded).
28
+ # @!attribute [r] name
29
+ # @return [::String]
30
+ # Output only. Resource name of a CustomJob.
31
+ # @!attribute [rw] display_name
32
+ # @return [::String]
33
+ # Required. The display name of the CustomJob.
34
+ # The name can be up to 128 characters long and can be consist of any UTF-8
35
+ # characters.
36
+ # @!attribute [rw] job_spec
37
+ # @return [::Google::Cloud::AIPlatform::V1::CustomJobSpec]
38
+ # Required. Job spec.
39
+ # @!attribute [r] state
40
+ # @return [::Google::Cloud::AIPlatform::V1::JobState]
41
+ # Output only. The detailed state of the job.
42
+ # @!attribute [r] create_time
43
+ # @return [::Google::Protobuf::Timestamp]
44
+ # Output only. Time when the CustomJob was created.
45
+ # @!attribute [r] start_time
46
+ # @return [::Google::Protobuf::Timestamp]
47
+ # Output only. Time when the CustomJob for the first time entered the
48
+ # `JOB_STATE_RUNNING` state.
49
+ # @!attribute [r] end_time
50
+ # @return [::Google::Protobuf::Timestamp]
51
+ # Output only. Time when the CustomJob entered any of the following states:
52
+ # `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
53
+ # @!attribute [r] update_time
54
+ # @return [::Google::Protobuf::Timestamp]
55
+ # Output only. Time when the CustomJob was most recently updated.
56
+ # @!attribute [r] error
57
+ # @return [::Google::Rpc::Status]
58
+ # Output only. Only populated when job's state is `JOB_STATE_FAILED` or
59
+ # `JOB_STATE_CANCELLED`.
60
+ # @!attribute [rw] labels
61
+ # @return [::Google::Protobuf::Map{::String => ::String}]
62
+ # The labels with user-defined metadata to organize CustomJobs.
63
+ #
64
+ # Label keys and values can be no longer than 64 characters
65
+ # (Unicode codepoints), can only contain lowercase letters, numeric
66
+ # characters, underscores and dashes. International characters are allowed.
67
+ #
68
+ # See https://goo.gl/xmQnxf for more information and examples of labels.
69
+ # @!attribute [rw] encryption_spec
70
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
71
+ # Customer-managed encryption key options for a CustomJob. If this is set,
72
+ # then all resources created by the CustomJob will be encrypted with the
73
+ # provided encryption key.
74
+ # @!attribute [r] web_access_uris
75
+ # @return [::Google::Protobuf::Map{::String => ::String}]
76
+ # Output only. URIs for accessing [interactive
77
+ # shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
78
+ # (one URI for each training node). Only available if
79
+ # {::Google::Cloud::AIPlatform::V1::CustomJobSpec#enable_web_access job_spec.enable_web_access} is `true`.
80
+ #
81
+ # The keys are names of each node in the training job; for example,
82
+ # `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
83
+ # the second worker pool, and `workerpool1-1` for the second node in the
84
+ # second worker pool.
85
+ #
86
+ # The values are the URIs for each node's interactive shell.
87
+ class CustomJob
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+
91
+ # @!attribute [rw] key
92
+ # @return [::String]
93
+ # @!attribute [rw] value
94
+ # @return [::String]
95
+ class LabelsEntry
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+ end
99
+
100
+ # @!attribute [rw] key
101
+ # @return [::String]
102
+ # @!attribute [rw] value
103
+ # @return [::String]
104
+ class WebAccessUrisEntry
105
+ include ::Google::Protobuf::MessageExts
106
+ extend ::Google::Protobuf::MessageExts::ClassMethods
107
+ end
108
+ end
109
+
110
+ # Represents the spec of a CustomJob.
111
+ # Next Id: 14
112
+ # @!attribute [rw] worker_pool_specs
113
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::WorkerPoolSpec>]
114
+ # Required. The spec of the worker pools including machine type and Docker image.
115
+ # All worker pools except the first one are optional and can be skipped by
116
+ # providing an empty value.
117
+ # @!attribute [rw] scheduling
118
+ # @return [::Google::Cloud::AIPlatform::V1::Scheduling]
119
+ # Scheduling options for a CustomJob.
120
+ # @!attribute [rw] service_account
121
+ # @return [::String]
122
+ # Specifies the service account for workload run-as account.
123
+ # Users submitting jobs must have act-as permission on this run-as account.
124
+ # If unspecified, the [Vertex AI Custom Code Service
125
+ # Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
126
+ # for the CustomJob's project is used.
127
+ # @!attribute [rw] network
128
+ # @return [::String]
129
+ # The full name of the Compute Engine
130
+ # [network](/compute/docs/networks-and-firewalls#networks) to which the Job
131
+ # should be peered. For example, `projects/12345/global/networks/myVPC`.
132
+ # [Format](/compute/docs/reference/rest/v1/networks/insert)
133
+ # is of the form `projects/{project}/global/networks/{network}`.
134
+ # Where \\{project} is a project number, as in `12345`, and \\{network} is a
135
+ # network name.
136
+ #
137
+ # To specify this field, you must have already [configured VPC Network
138
+ # Peering for Vertex
139
+ # AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
140
+ #
141
+ # If this field is left unspecified, the job is not peered with any network.
142
+ # @!attribute [rw] base_output_directory
143
+ # @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
144
+ # The Cloud Storage location to store the output of this CustomJob or
145
+ # HyperparameterTuningJob. For HyperparameterTuningJob,
146
+ # the baseOutputDirectory of
147
+ # each child CustomJob backing a Trial is set to a subdirectory of name
148
+ # {::Google::Cloud::AIPlatform::V1::Trial#id id} under its parent HyperparameterTuningJob's
149
+ # baseOutputDirectory.
150
+ #
151
+ # The following Vertex AI environment variables will be passed to
152
+ # containers or python modules when this field is set:
153
+ #
154
+ # For CustomJob:
155
+ #
156
+ # * AIP_MODEL_DIR = `<base_output_directory>/model/`
157
+ # * AIP_CHECKPOINT_DIR = `<base_output_directory>/checkpoints/`
158
+ # * AIP_TENSORBOARD_LOG_DIR = `<base_output_directory>/logs/`
159
+ #
160
+ # For CustomJob backing a Trial of HyperparameterTuningJob:
161
+ #
162
+ # * AIP_MODEL_DIR = `<base_output_directory>/<trial_id>/model/`
163
+ # * AIP_CHECKPOINT_DIR = `<base_output_directory>/<trial_id>/checkpoints/`
164
+ # * AIP_TENSORBOARD_LOG_DIR = `<base_output_directory>/<trial_id>/logs/`
165
+ # @!attribute [rw] tensorboard
166
+ # @return [::String]
167
+ # Optional. The name of a Vertex AI {::Google::Cloud::AIPlatform::V1::Tensorboard Tensorboard} resource to which this CustomJob
168
+ # will upload Tensorboard logs.
169
+ # Format:
170
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
171
+ # @!attribute [rw] enable_web_access
172
+ # @return [::Boolean]
173
+ # Optional. Whether you want Vertex AI to enable [interactive shell
174
+ # access](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
175
+ # to training containers.
176
+ #
177
+ # If set to `true`, you can access interactive shells at the URIs given
178
+ # by {::Google::Cloud::AIPlatform::V1::CustomJob#web_access_uris CustomJob.web_access_uris} or {::Google::Cloud::AIPlatform::V1::Trial#web_access_uris Trial.web_access_uris} (within
179
+ # {::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob#trials HyperparameterTuningJob.trials}).
180
+ class CustomJobSpec
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
+ end
184
+
185
+ # Represents the spec of a worker pool in a job.
186
+ # @!attribute [rw] container_spec
187
+ # @return [::Google::Cloud::AIPlatform::V1::ContainerSpec]
188
+ # The custom container task.
189
+ # @!attribute [rw] python_package_spec
190
+ # @return [::Google::Cloud::AIPlatform::V1::PythonPackageSpec]
191
+ # The Python packaged task.
192
+ # @!attribute [rw] machine_spec
193
+ # @return [::Google::Cloud::AIPlatform::V1::MachineSpec]
194
+ # Optional. Immutable. The specification of a single machine.
195
+ # @!attribute [rw] replica_count
196
+ # @return [::Integer]
197
+ # Optional. The number of worker replicas to use for this worker pool.
198
+ # @!attribute [rw] disk_spec
199
+ # @return [::Google::Cloud::AIPlatform::V1::DiskSpec]
200
+ # Disk spec.
201
+ class WorkerPoolSpec
202
+ include ::Google::Protobuf::MessageExts
203
+ extend ::Google::Protobuf::MessageExts::ClassMethods
204
+ end
205
+
206
+ # The spec of a Container.
207
+ # @!attribute [rw] image_uri
208
+ # @return [::String]
209
+ # Required. The URI of a container image in the Container Registry that is to be run on
210
+ # each worker replica.
211
+ # @!attribute [rw] command
212
+ # @return [::Array<::String>]
213
+ # The command to be invoked when the container is started.
214
+ # It overrides the entrypoint instruction in Dockerfile when provided.
215
+ # @!attribute [rw] args
216
+ # @return [::Array<::String>]
217
+ # The arguments to be passed when starting the container.
218
+ # @!attribute [rw] env
219
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::EnvVar>]
220
+ # Environment variables to be passed to the container.
221
+ # Maximum limit is 100.
222
+ class ContainerSpec
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
+ end
226
+
227
+ # The spec of a Python packaged code.
228
+ # @!attribute [rw] executor_image_uri
229
+ # @return [::String]
230
+ # Required. The URI of a container image in Artifact Registry that will run the
231
+ # provided Python package. Vertex AI provides a wide range of executor
232
+ # images with pre-installed packages to meet users' various use cases. See
233
+ # the list of [pre-built containers for
234
+ # training](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
235
+ # You must use an image from this list.
236
+ # @!attribute [rw] package_uris
237
+ # @return [::Array<::String>]
238
+ # Required. The Google Cloud Storage location of the Python package files which are
239
+ # the training program and its dependent packages.
240
+ # The maximum number of package URIs is 100.
241
+ # @!attribute [rw] python_module
242
+ # @return [::String]
243
+ # Required. The Python module name to run after installing the packages.
244
+ # @!attribute [rw] args
245
+ # @return [::Array<::String>]
246
+ # Command line arguments to be passed to the Python task.
247
+ # @!attribute [rw] env
248
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::EnvVar>]
249
+ # Environment variables to be passed to the python module.
250
+ # Maximum limit is 100.
251
+ class PythonPackageSpec
252
+ include ::Google::Protobuf::MessageExts
253
+ extend ::Google::Protobuf::MessageExts::ClassMethods
254
+ end
255
+
256
+ # All parameters related to queuing and scheduling of custom jobs.
257
+ # @!attribute [rw] timeout
258
+ # @return [::Google::Protobuf::Duration]
259
+ # The maximum job running time. The default is 7 days.
260
+ # @!attribute [rw] restart_job_on_worker_restart
261
+ # @return [::Boolean]
262
+ # Restarts the entire CustomJob if a worker gets restarted.
263
+ # This feature can be used by distributed training jobs that are not
264
+ # resilient to workers leaving and joining a job.
265
+ class Scheduling
266
+ include ::Google::Protobuf::MessageExts
267
+ extend ::Google::Protobuf::MessageExts::ClassMethods
268
+ end
269
+ end
270
+ end
271
+ end
272
+ end
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # A piece of data in a Dataset. Could be an image, a video, a document or plain
25
+ # text.
26
+ # @!attribute [r] name
27
+ # @return [::String]
28
+ # Output only. The resource name of the DataItem.
29
+ # @!attribute [r] create_time
30
+ # @return [::Google::Protobuf::Timestamp]
31
+ # Output only. Timestamp when this DataItem was created.
32
+ # @!attribute [r] update_time
33
+ # @return [::Google::Protobuf::Timestamp]
34
+ # Output only. Timestamp when this DataItem was last updated.
35
+ # @!attribute [rw] labels
36
+ # @return [::Google::Protobuf::Map{::String => ::String}]
37
+ # Optional. The labels with user-defined metadata to organize your DataItems.
38
+ #
39
+ # Label keys and values can be no longer than 64 characters
40
+ # (Unicode codepoints), can only contain lowercase letters, numeric
41
+ # characters, underscores and dashes. International characters are allowed.
42
+ # No more than 64 user labels can be associated with one DataItem(System
43
+ # labels are excluded).
44
+ #
45
+ # See https://goo.gl/xmQnxf for more information and examples of labels.
46
+ # System reserved label keys are prefixed with "aiplatform.googleapis.com/"
47
+ # and are immutable.
48
+ # @!attribute [rw] payload
49
+ # @return [::Google::Protobuf::Value]
50
+ # Required. The data that the DataItem represents (for example, an image or a text
51
+ # snippet). The schema of the payload is stored in the parent Dataset's
52
+ # [metadata schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] dataItemSchemaUri field.
53
+ # @!attribute [rw] etag
54
+ # @return [::String]
55
+ # Optional. Used to perform consistent read-modify-write updates. If not set, a blind
56
+ # "overwrite" update happens.
57
+ class DataItem
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+
61
+ # @!attribute [rw] key
62
+ # @return [::String]
63
+ # @!attribute [rw] value
64
+ # @return [::String]
65
+ class LabelsEntry
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,207 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # DataLabelingJob is used to trigger a human labeling job on unlabeled data
25
+ # from the following Dataset:
26
+ # @!attribute [r] name
27
+ # @return [::String]
28
+ # Output only. Resource name of the DataLabelingJob.
29
+ # @!attribute [rw] display_name
30
+ # @return [::String]
31
+ # Required. The user-defined name of the DataLabelingJob.
32
+ # The name can be up to 128 characters long and can be consist of any UTF-8
33
+ # characters.
34
+ # Display name of a DataLabelingJob.
35
+ # @!attribute [rw] datasets
36
+ # @return [::Array<::String>]
37
+ # Required. Dataset resource names. Right now we only support labeling from a single
38
+ # Dataset.
39
+ # Format:
40
+ # `projects/{project}/locations/{location}/datasets/{dataset}`
41
+ # @!attribute [rw] annotation_labels
42
+ # @return [::Google::Protobuf::Map{::String => ::String}]
43
+ # Labels to assign to annotations generated by this DataLabelingJob.
44
+ #
45
+ # Label keys and values can be no longer than 64 characters
46
+ # (Unicode codepoints), can only contain lowercase letters, numeric
47
+ # characters, underscores and dashes. International characters are allowed.
48
+ # See https://goo.gl/xmQnxf for more information and examples of labels.
49
+ # System reserved label keys are prefixed with "aiplatform.googleapis.com/"
50
+ # and are immutable.
51
+ # @!attribute [rw] labeler_count
52
+ # @return [::Integer]
53
+ # Required. Number of labelers to work on each DataItem.
54
+ # @!attribute [rw] instruction_uri
55
+ # @return [::String]
56
+ # Required. The Google Cloud Storage location of the instruction pdf. This pdf is
57
+ # shared with labelers, and provides detailed description on how to label
58
+ # DataItems in Datasets.
59
+ # @!attribute [rw] inputs_schema_uri
60
+ # @return [::String]
61
+ # Required. Points to a YAML file stored on Google Cloud Storage describing the
62
+ # config for a specific type of DataLabelingJob.
63
+ # The schema files that can be used here are found in the
64
+ # https://storage.googleapis.com/google-cloud-aiplatform bucket in the
65
+ # /schema/datalabelingjob/inputs/ folder.
66
+ # @!attribute [rw] inputs
67
+ # @return [::Google::Protobuf::Value]
68
+ # Required. Input config parameters for the DataLabelingJob.
69
+ # @!attribute [r] state
70
+ # @return [::Google::Cloud::AIPlatform::V1::JobState]
71
+ # Output only. The detailed state of the job.
72
+ # @!attribute [r] labeling_progress
73
+ # @return [::Integer]
74
+ # Output only. Current labeling job progress percentage scaled in interval [0, 100],
75
+ # indicating the percentage of DataItems that has been finished.
76
+ # @!attribute [r] current_spend
77
+ # @return [::Google::Type::Money]
78
+ # Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to
79
+ # date.
80
+ # @!attribute [r] create_time
81
+ # @return [::Google::Protobuf::Timestamp]
82
+ # Output only. Timestamp when this DataLabelingJob was created.
83
+ # @!attribute [r] update_time
84
+ # @return [::Google::Protobuf::Timestamp]
85
+ # Output only. Timestamp when this DataLabelingJob was updated most recently.
86
+ # @!attribute [r] error
87
+ # @return [::Google::Rpc::Status]
88
+ # Output only. DataLabelingJob errors. It is only populated when job's state is
89
+ # `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
90
+ # @!attribute [rw] labels
91
+ # @return [::Google::Protobuf::Map{::String => ::String}]
92
+ # The labels with user-defined metadata to organize your DataLabelingJobs.
93
+ #
94
+ # Label keys and values can be no longer than 64 characters
95
+ # (Unicode codepoints), can only contain lowercase letters, numeric
96
+ # characters, underscores and dashes. International characters are allowed.
97
+ #
98
+ # See https://goo.gl/xmQnxf for more information and examples of labels.
99
+ # System reserved label keys are prefixed with "aiplatform.googleapis.com/"
100
+ # and are immutable. Following system labels exist for each DataLabelingJob:
101
+ #
102
+ # * "aiplatform.googleapis.com/schema": output only, its value is the
103
+ # {::Google::Cloud::AIPlatform::V1::DataLabelingJob#inputs_schema_uri inputs_schema}'s title.
104
+ # @!attribute [rw] specialist_pools
105
+ # @return [::Array<::String>]
106
+ # The SpecialistPools' resource names associated with this job.
107
+ # @!attribute [rw] encryption_spec
108
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
109
+ # Customer-managed encryption key spec for a DataLabelingJob. If set, this
110
+ # DataLabelingJob will be secured by this key.
111
+ #
112
+ # Note: Annotations created in the DataLabelingJob are associated with
113
+ # the EncryptionSpec of the Dataset they are exported to.
114
+ # @!attribute [rw] active_learning_config
115
+ # @return [::Google::Cloud::AIPlatform::V1::ActiveLearningConfig]
116
+ # Parameters that configure the active learning pipeline. Active learning
117
+ # will label the data incrementally via several iterations. For every
118
+ # iteration, it will select a batch of data based on the sampling strategy.
119
+ class DataLabelingJob
120
+ include ::Google::Protobuf::MessageExts
121
+ extend ::Google::Protobuf::MessageExts::ClassMethods
122
+
123
+ # @!attribute [rw] key
124
+ # @return [::String]
125
+ # @!attribute [rw] value
126
+ # @return [::String]
127
+ class AnnotationLabelsEntry
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # @!attribute [rw] key
133
+ # @return [::String]
134
+ # @!attribute [rw] value
135
+ # @return [::String]
136
+ class LabelsEntry
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
+ end
140
+ end
141
+
142
+ # Parameters that configure the active learning pipeline. Active learning will
143
+ # label the data incrementally by several iterations. For every iteration, it
144
+ # will select a batch of data based on the sampling strategy.
145
+ # @!attribute [rw] max_data_item_count
146
+ # @return [::Integer]
147
+ # Max number of human labeled DataItems.
148
+ # @!attribute [rw] max_data_item_percentage
149
+ # @return [::Integer]
150
+ # Max percent of total DataItems for human labeling.
151
+ # @!attribute [rw] sample_config
152
+ # @return [::Google::Cloud::AIPlatform::V1::SampleConfig]
153
+ # Active learning data sampling config. For every active learning labeling
154
+ # iteration, it will select a batch of data based on the sampling strategy.
155
+ # @!attribute [rw] training_config
156
+ # @return [::Google::Cloud::AIPlatform::V1::TrainingConfig]
157
+ # CMLE training config. For every active learning labeling iteration, system
158
+ # will train a machine learning model on CMLE. The trained model will be used
159
+ # by data sampling algorithm to select DataItems.
160
+ class ActiveLearningConfig
161
+ include ::Google::Protobuf::MessageExts
162
+ extend ::Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+
165
+ # Active learning data sampling config. For every active learning labeling
166
+ # iteration, it will select a batch of data based on the sampling strategy.
167
+ # @!attribute [rw] initial_batch_sample_percentage
168
+ # @return [::Integer]
169
+ # The percentage of data needed to be labeled in the first batch.
170
+ # @!attribute [rw] following_batch_sample_percentage
171
+ # @return [::Integer]
172
+ # The percentage of data needed to be labeled in each following batch
173
+ # (except the first batch).
174
+ # @!attribute [rw] sample_strategy
175
+ # @return [::Google::Cloud::AIPlatform::V1::SampleConfig::SampleStrategy]
176
+ # Field to choose sampling strategy. Sampling strategy will decide which data
177
+ # should be selected for human labeling in every batch.
178
+ class SampleConfig
179
+ include ::Google::Protobuf::MessageExts
180
+ extend ::Google::Protobuf::MessageExts::ClassMethods
181
+
182
+ # Sample strategy decides which subset of DataItems should be selected for
183
+ # human labeling in every batch.
184
+ module SampleStrategy
185
+ # Default will be treated as UNCERTAINTY.
186
+ SAMPLE_STRATEGY_UNSPECIFIED = 0
187
+
188
+ # Sample the most uncertain data to label.
189
+ UNCERTAINTY = 1
190
+ end
191
+ end
192
+
193
+ # CMLE training config. For every active learning labeling iteration, system
194
+ # will train a machine learning model on CMLE. The trained model will be used
195
+ # by data sampling algorithm to select DataItems.
196
+ # @!attribute [rw] timeout_training_milli_hours
197
+ # @return [::Integer]
198
+ # The timeout hours for the CMLE training job, expressed in milli hours
199
+ # i.e. 1,000 value in this field means 1 hour.
200
+ class TrainingConfig
201
+ include ::Google::Protobuf::MessageExts
202
+ extend ::Google::Protobuf::MessageExts::ClassMethods
203
+ end
204
+ end
205
+ end
206
+ end
207
+ end