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,543 @@
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 message representing a Study.
25
+ # @!attribute [r] name
26
+ # @return [::String]
27
+ # Output only. The name of a study. The study's globally unique identifier.
28
+ # Format: `projects/{project}/locations/{location}/studies/{study}`
29
+ # @!attribute [rw] display_name
30
+ # @return [::String]
31
+ # Required. Describes the Study, default value is empty string.
32
+ # @!attribute [rw] study_spec
33
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec]
34
+ # Required. Configuration of the Study.
35
+ # @!attribute [r] state
36
+ # @return [::Google::Cloud::AIPlatform::V1::Study::State]
37
+ # Output only. The detailed state of a Study.
38
+ # @!attribute [r] create_time
39
+ # @return [::Google::Protobuf::Timestamp]
40
+ # Output only. Time at which the study was created.
41
+ # @!attribute [r] inactive_reason
42
+ # @return [::String]
43
+ # Output only. A human readable reason why the Study is inactive.
44
+ # This should be empty if a study is ACTIVE or COMPLETED.
45
+ class Study
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+
49
+ # Describes the Study state.
50
+ module State
51
+ # The study state is unspecified.
52
+ STATE_UNSPECIFIED = 0
53
+
54
+ # The study is active.
55
+ ACTIVE = 1
56
+
57
+ # The study is stopped due to an internal error.
58
+ INACTIVE = 2
59
+
60
+ # The study is done when the service exhausts the parameter search space
61
+ # or max_trial_count is reached.
62
+ COMPLETED = 3
63
+ end
64
+ end
65
+
66
+ # A message representing a Trial. A Trial contains a unique set of Parameters
67
+ # that has been or will be evaluated, along with the objective metrics got by
68
+ # running the Trial.
69
+ # @!attribute [r] name
70
+ # @return [::String]
71
+ # Output only. Resource name of the Trial assigned by the service.
72
+ # @!attribute [r] id
73
+ # @return [::String]
74
+ # Output only. The identifier of the Trial assigned by the service.
75
+ # @!attribute [r] state
76
+ # @return [::Google::Cloud::AIPlatform::V1::Trial::State]
77
+ # Output only. The detailed state of the Trial.
78
+ # @!attribute [r] parameters
79
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::Trial::Parameter>]
80
+ # Output only. The parameters of the Trial.
81
+ # @!attribute [r] final_measurement
82
+ # @return [::Google::Cloud::AIPlatform::V1::Measurement]
83
+ # Output only. The final measurement containing the objective value.
84
+ # @!attribute [r] measurements
85
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::Measurement>]
86
+ # Output only. A list of measurements that are strictly lexicographically
87
+ # ordered by their induced tuples (steps, elapsed_duration).
88
+ # These are used for early stopping computations.
89
+ # @!attribute [r] start_time
90
+ # @return [::Google::Protobuf::Timestamp]
91
+ # Output only. Time when the Trial was started.
92
+ # @!attribute [r] end_time
93
+ # @return [::Google::Protobuf::Timestamp]
94
+ # Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`.
95
+ # @!attribute [r] client_id
96
+ # @return [::String]
97
+ # Output only. The identifier of the client that originally requested this Trial.
98
+ # Each client is identified by a unique client_id. When a client
99
+ # asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client
100
+ # should evaluate the Trial, complete it, and report back to Vertex AI
101
+ # Vizier. If suggestion is asked again by same client_id before the Trial is
102
+ # completed, the same Trial will be returned. Multiple clients with
103
+ # different client_ids can ask for suggestions simultaneously, each of them
104
+ # will get their own Trial.
105
+ # @!attribute [r] infeasible_reason
106
+ # @return [::String]
107
+ # Output only. A human readable string describing why the Trial is
108
+ # infeasible. This is set only if Trial state is `INFEASIBLE`.
109
+ # @!attribute [r] custom_job
110
+ # @return [::String]
111
+ # Output only. The CustomJob name linked to the Trial.
112
+ # It's set for a HyperparameterTuningJob's Trial.
113
+ # @!attribute [r] web_access_uris
114
+ # @return [::Google::Protobuf::Map{::String => ::String}]
115
+ # Output only. URIs for accessing [interactive
116
+ # shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
117
+ # (one URI for each training node). Only available if this trial is part of
118
+ # a {::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob HyperparameterTuningJob} and the job's
119
+ # {::Google::Cloud::AIPlatform::V1::CustomJobSpec#enable_web_access trial_job_spec.enable_web_access} field
120
+ # is `true`.
121
+ #
122
+ # The keys are names of each node used for the trial; for example,
123
+ # `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
124
+ # the second worker pool, and `workerpool1-1` for the second node in the
125
+ # second worker pool.
126
+ #
127
+ # The values are the URIs for each node's interactive shell.
128
+ class Trial
129
+ include ::Google::Protobuf::MessageExts
130
+ extend ::Google::Protobuf::MessageExts::ClassMethods
131
+
132
+ # A message representing a parameter to be tuned.
133
+ # @!attribute [r] parameter_id
134
+ # @return [::String]
135
+ # Output only. The ID of the parameter. The parameter should be defined in
136
+ # [StudySpec's Parameters][google.cloud.aiplatform.v1.StudySpec.parameters].
137
+ # @!attribute [r] value
138
+ # @return [::Google::Protobuf::Value]
139
+ # Output only. The value of the parameter.
140
+ # `number_value` will be set if a parameter defined in StudySpec is
141
+ # in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
142
+ # `string_value` will be set if a parameter defined in StudySpec is
143
+ # in type 'CATEGORICAL'.
144
+ class Parameter
145
+ include ::Google::Protobuf::MessageExts
146
+ extend ::Google::Protobuf::MessageExts::ClassMethods
147
+ end
148
+
149
+ # @!attribute [rw] key
150
+ # @return [::String]
151
+ # @!attribute [rw] value
152
+ # @return [::String]
153
+ class WebAccessUrisEntry
154
+ include ::Google::Protobuf::MessageExts
155
+ extend ::Google::Protobuf::MessageExts::ClassMethods
156
+ end
157
+
158
+ # Describes a Trial state.
159
+ module State
160
+ # The Trial state is unspecified.
161
+ STATE_UNSPECIFIED = 0
162
+
163
+ # Indicates that a specific Trial has been requested, but it has not yet
164
+ # been suggested by the service.
165
+ REQUESTED = 1
166
+
167
+ # Indicates that the Trial has been suggested.
168
+ ACTIVE = 2
169
+
170
+ # Indicates that the Trial should stop according to the service.
171
+ STOPPING = 3
172
+
173
+ # Indicates that the Trial is completed successfully.
174
+ SUCCEEDED = 4
175
+
176
+ # Indicates that the Trial should not be attempted again.
177
+ # The service will set a Trial to INFEASIBLE when it's done but missing
178
+ # the final_measurement.
179
+ INFEASIBLE = 5
180
+ end
181
+ end
182
+
183
+ # Represents specification of a Study.
184
+ # @!attribute [rw] decay_curve_stopping_spec
185
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::DecayCurveAutomatedStoppingSpec]
186
+ # The automated early stopping spec using decay curve rule.
187
+ # @!attribute [rw] median_automated_stopping_spec
188
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::MedianAutomatedStoppingSpec]
189
+ # The automated early stopping spec using median rule.
190
+ # @!attribute [rw] metrics
191
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec>]
192
+ # Required. Metric specs for the Study.
193
+ # @!attribute [rw] parameters
194
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec>]
195
+ # Required. The set of parameters to tune.
196
+ # @!attribute [rw] algorithm
197
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::Algorithm]
198
+ # The search algorithm specified for the Study.
199
+ # @!attribute [rw] observation_noise
200
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ObservationNoise]
201
+ # The observation noise level of the study.
202
+ # Currently only supported by the Vertex AI Vizier service. Not supported by
203
+ # HyperparamterTuningJob or TrainingPipeline.
204
+ # @!attribute [rw] measurement_selection_type
205
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::MeasurementSelectionType]
206
+ # Describe which measurement selection type will be used
207
+ class StudySpec
208
+ include ::Google::Protobuf::MessageExts
209
+ extend ::Google::Protobuf::MessageExts::ClassMethods
210
+
211
+ # Represents a metric to optimize.
212
+ # @!attribute [rw] metric_id
213
+ # @return [::String]
214
+ # Required. The ID of the metric. Must not contain whitespaces and must be unique
215
+ # amongst all MetricSpecs.
216
+ # @!attribute [rw] goal
217
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::GoalType]
218
+ # Required. The optimization goal of the metric.
219
+ class MetricSpec
220
+ include ::Google::Protobuf::MessageExts
221
+ extend ::Google::Protobuf::MessageExts::ClassMethods
222
+
223
+ # The available types of optimization goals.
224
+ module GoalType
225
+ # Goal Type will default to maximize.
226
+ GOAL_TYPE_UNSPECIFIED = 0
227
+
228
+ # Maximize the goal metric.
229
+ MAXIMIZE = 1
230
+
231
+ # Minimize the goal metric.
232
+ MINIMIZE = 2
233
+ end
234
+ end
235
+
236
+ # Represents a single parameter to optimize.
237
+ # @!attribute [rw] double_value_spec
238
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DoubleValueSpec]
239
+ # The value spec for a 'DOUBLE' parameter.
240
+ # @!attribute [rw] integer_value_spec
241
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::IntegerValueSpec]
242
+ # The value spec for an 'INTEGER' parameter.
243
+ # @!attribute [rw] categorical_value_spec
244
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::CategoricalValueSpec]
245
+ # The value spec for a 'CATEGORICAL' parameter.
246
+ # @!attribute [rw] discrete_value_spec
247
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DiscreteValueSpec]
248
+ # The value spec for a 'DISCRETE' parameter.
249
+ # @!attribute [rw] parameter_id
250
+ # @return [::String]
251
+ # Required. The ID of the parameter. Must not contain whitespaces and must be unique
252
+ # amongst all ParameterSpecs.
253
+ # @!attribute [rw] scale_type
254
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ScaleType]
255
+ # How the parameter should be scaled.
256
+ # Leave unset for `CATEGORICAL` parameters.
257
+ # @!attribute [rw] conditional_parameter_specs
258
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec>]
259
+ # A conditional parameter node is active if the parameter's value matches
260
+ # the conditional node's parent_value_condition.
261
+ #
262
+ # If two items in conditional_parameter_specs have the same name, they
263
+ # must have disjoint parent_value_condition.
264
+ class ParameterSpec
265
+ include ::Google::Protobuf::MessageExts
266
+ extend ::Google::Protobuf::MessageExts::ClassMethods
267
+
268
+ # Value specification for a parameter in `DOUBLE` type.
269
+ # @!attribute [rw] min_value
270
+ # @return [::Float]
271
+ # Required. Inclusive minimum value of the parameter.
272
+ # @!attribute [rw] max_value
273
+ # @return [::Float]
274
+ # Required. Inclusive maximum value of the parameter.
275
+ # @!attribute [rw] default_value
276
+ # @return [::Float]
277
+ # A default value for a `DOUBLE` parameter that is assumed to be a
278
+ # relatively good starting point. Unset value signals that there is no
279
+ # offered starting point.
280
+ #
281
+ # Currently only supported by the Vertex AI Vizier service. Not supported
282
+ # by HyperparamterTuningJob or TrainingPipeline.
283
+ class DoubleValueSpec
284
+ include ::Google::Protobuf::MessageExts
285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
286
+ end
287
+
288
+ # Value specification for a parameter in `INTEGER` type.
289
+ # @!attribute [rw] min_value
290
+ # @return [::Integer]
291
+ # Required. Inclusive minimum value of the parameter.
292
+ # @!attribute [rw] max_value
293
+ # @return [::Integer]
294
+ # Required. Inclusive maximum value of the parameter.
295
+ # @!attribute [rw] default_value
296
+ # @return [::Integer]
297
+ # A default value for an `INTEGER` parameter that is assumed to be a
298
+ # relatively good starting point. Unset value signals that there is no
299
+ # offered starting point.
300
+ #
301
+ # Currently only supported by the Vertex AI Vizier service. Not supported
302
+ # by HyperparamterTuningJob or TrainingPipeline.
303
+ class IntegerValueSpec
304
+ include ::Google::Protobuf::MessageExts
305
+ extend ::Google::Protobuf::MessageExts::ClassMethods
306
+ end
307
+
308
+ # Value specification for a parameter in `CATEGORICAL` type.
309
+ # @!attribute [rw] values
310
+ # @return [::Array<::String>]
311
+ # Required. The list of possible categories.
312
+ # @!attribute [rw] default_value
313
+ # @return [::String]
314
+ # A default value for a `CATEGORICAL` parameter that is assumed to be a
315
+ # relatively good starting point. Unset value signals that there is no
316
+ # offered starting point.
317
+ #
318
+ # Currently only supported by the Vizier service. Not supported by
319
+ # HyperparamterTuningJob or TrainingPipeline.
320
+ class CategoricalValueSpec
321
+ include ::Google::Protobuf::MessageExts
322
+ extend ::Google::Protobuf::MessageExts::ClassMethods
323
+ end
324
+
325
+ # Value specification for a parameter in `DISCRETE` type.
326
+ # @!attribute [rw] values
327
+ # @return [::Array<::Float>]
328
+ # Required. A list of possible values.
329
+ # The list should be in increasing order and at least 1e-10 apart.
330
+ # For instance, this parameter might have possible settings of 1.5, 2.5,
331
+ # and 4.0. This list should not contain more than 1,000 values.
332
+ # @!attribute [rw] default_value
333
+ # @return [::Float]
334
+ # A default value for a `DISCRETE` parameter that is assumed to be a
335
+ # relatively good starting point. Unset value signals that there is no
336
+ # offered starting point. It automatically rounds to the
337
+ # nearest feasible discrete point.
338
+ #
339
+ # Currently only supported by the Vizier service. Not supported by
340
+ # HyperparamterTuningJob or TrainingPipeline.
341
+ class DiscreteValueSpec
342
+ include ::Google::Protobuf::MessageExts
343
+ extend ::Google::Protobuf::MessageExts::ClassMethods
344
+ end
345
+
346
+ # Represents a parameter spec with condition from its parent parameter.
347
+ # @!attribute [rw] parent_discrete_values
348
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition]
349
+ # The spec for matching values from a parent parameter of
350
+ # `DISCRETE` type.
351
+ # @!attribute [rw] parent_int_values
352
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::IntValueCondition]
353
+ # The spec for matching values from a parent parameter of `INTEGER`
354
+ # type.
355
+ # @!attribute [rw] parent_categorical_values
356
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::CategoricalValueCondition]
357
+ # The spec for matching values from a parent parameter of
358
+ # `CATEGORICAL` type.
359
+ # @!attribute [rw] parameter_spec
360
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec]
361
+ # Required. The spec for a conditional parameter.
362
+ class ConditionalParameterSpec
363
+ include ::Google::Protobuf::MessageExts
364
+ extend ::Google::Protobuf::MessageExts::ClassMethods
365
+
366
+ # Represents the spec to match discrete values from parent parameter.
367
+ # @!attribute [rw] values
368
+ # @return [::Array<::Float>]
369
+ # Required. Matches values of the parent parameter of 'DISCRETE' type.
370
+ # All values must exist in `discrete_value_spec` of parent parameter.
371
+ #
372
+ # The Epsilon of the value matching is 1e-10.
373
+ class DiscreteValueCondition
374
+ include ::Google::Protobuf::MessageExts
375
+ extend ::Google::Protobuf::MessageExts::ClassMethods
376
+ end
377
+
378
+ # Represents the spec to match integer values from parent parameter.
379
+ # @!attribute [rw] values
380
+ # @return [::Array<::Integer>]
381
+ # Required. Matches values of the parent parameter of 'INTEGER' type.
382
+ # All values must lie in `integer_value_spec` of parent parameter.
383
+ class IntValueCondition
384
+ include ::Google::Protobuf::MessageExts
385
+ extend ::Google::Protobuf::MessageExts::ClassMethods
386
+ end
387
+
388
+ # Represents the spec to match categorical values from parent parameter.
389
+ # @!attribute [rw] values
390
+ # @return [::Array<::String>]
391
+ # Required. Matches values of the parent parameter of 'CATEGORICAL' type.
392
+ # All values must exist in `categorical_value_spec` of parent
393
+ # parameter.
394
+ class CategoricalValueCondition
395
+ include ::Google::Protobuf::MessageExts
396
+ extend ::Google::Protobuf::MessageExts::ClassMethods
397
+ end
398
+ end
399
+
400
+ # The type of scaling that should be applied to this parameter.
401
+ module ScaleType
402
+ # By default, no scaling is applied.
403
+ SCALE_TYPE_UNSPECIFIED = 0
404
+
405
+ # Scales the feasible space to (0, 1) linearly.
406
+ UNIT_LINEAR_SCALE = 1
407
+
408
+ # Scales the feasible space logarithmically to (0, 1). The entire
409
+ # feasible space must be strictly positive.
410
+ UNIT_LOG_SCALE = 2
411
+
412
+ # Scales the feasible space "reverse" logarithmically to (0, 1). The
413
+ # result is that values close to the top of the feasible space are spread
414
+ # out more than points near the bottom. The entire feasible space must be
415
+ # strictly positive.
416
+ UNIT_REVERSE_LOG_SCALE = 3
417
+ end
418
+ end
419
+
420
+ # The decay curve automated stopping rule builds a Gaussian Process
421
+ # Regressor to predict the final objective value of a Trial based on the
422
+ # already completed Trials and the intermediate measurements of the current
423
+ # Trial. Early stopping is requested for the current Trial if there is very
424
+ # low probability to exceed the optimal value found so far.
425
+ # @!attribute [rw] use_elapsed_duration
426
+ # @return [::Boolean]
427
+ # True if {::Google::Cloud::AIPlatform::V1::Measurement#elapsed_duration Measurement.elapsed_duration} is used as the x-axis of each
428
+ # Trials Decay Curve. Otherwise, {::Google::Cloud::AIPlatform::V1::Measurement#step_count Measurement.step_count} will be used
429
+ # as the x-axis.
430
+ class DecayCurveAutomatedStoppingSpec
431
+ include ::Google::Protobuf::MessageExts
432
+ extend ::Google::Protobuf::MessageExts::ClassMethods
433
+ end
434
+
435
+ # The median automated stopping rule stops a pending Trial if the Trial's
436
+ # best objective_value is strictly below the median 'performance' of all
437
+ # completed Trials reported up to the Trial's last measurement.
438
+ # Currently, 'performance' refers to the running average of the objective
439
+ # values reported by the Trial in each measurement.
440
+ # @!attribute [rw] use_elapsed_duration
441
+ # @return [::Boolean]
442
+ # True if median automated stopping rule applies on
443
+ # {::Google::Cloud::AIPlatform::V1::Measurement#elapsed_duration Measurement.elapsed_duration}. It means that elapsed_duration
444
+ # field of latest measurement of current Trial is used to compute median
445
+ # objective value for each completed Trials.
446
+ class MedianAutomatedStoppingSpec
447
+ include ::Google::Protobuf::MessageExts
448
+ extend ::Google::Protobuf::MessageExts::ClassMethods
449
+ end
450
+
451
+ # The available search algorithms for the Study.
452
+ module Algorithm
453
+ # The default algorithm used by Vertex AI for [hyperparameter
454
+ # tuning](https://cloud.google.com/vertex-ai/docs/training/hyperparameter-tuning-overview)
455
+ # and [Vertex AI Vizier](https://cloud.google.com/vertex-ai/docs/vizier).
456
+ ALGORITHM_UNSPECIFIED = 0
457
+
458
+ # Simple grid search within the feasible space. To use grid search,
459
+ # all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`.
460
+ GRID_SEARCH = 2
461
+
462
+ # Simple random search within the feasible space.
463
+ RANDOM_SEARCH = 3
464
+ end
465
+
466
+ # Describes the noise level of the repeated observations.
467
+ #
468
+ # "Noisy" means that the repeated observations with the same Trial parameters
469
+ # may lead to different metric evaluations.
470
+ module ObservationNoise
471
+ # The default noise level chosen by Vertex AI.
472
+ OBSERVATION_NOISE_UNSPECIFIED = 0
473
+
474
+ # Vertex AI assumes that the objective function is (nearly)
475
+ # perfectly reproducible, and will never repeat the same Trial
476
+ # parameters.
477
+ LOW = 1
478
+
479
+ # Vertex AI will estimate the amount of noise in metric
480
+ # evaluations, it may repeat the same Trial parameters more than once.
481
+ HIGH = 2
482
+ end
483
+
484
+ # This indicates which measurement to use if/when the service automatically
485
+ # selects the final measurement from previously reported intermediate
486
+ # measurements. Choose this based on two considerations:
487
+ # A) Do you expect your measurements to monotonically improve?
488
+ # If so, choose LAST_MEASUREMENT. On the other hand, if you're in a
489
+ # situation where your system can "over-train" and you expect the
490
+ # performance to get better for a while but then start declining,
491
+ # choose BEST_MEASUREMENT.
492
+ # B) Are your measurements significantly noisy and/or irreproducible?
493
+ # If so, BEST_MEASUREMENT will tend to be over-optimistic, and it
494
+ # may be better to choose LAST_MEASUREMENT.
495
+ # If both or neither of (A) and (B) apply, it doesn't matter which
496
+ # selection type is chosen.
497
+ module MeasurementSelectionType
498
+ # Will be treated as LAST_MEASUREMENT.
499
+ MEASUREMENT_SELECTION_TYPE_UNSPECIFIED = 0
500
+
501
+ # Use the last measurement reported.
502
+ LAST_MEASUREMENT = 1
503
+
504
+ # Use the best measurement reported.
505
+ BEST_MEASUREMENT = 2
506
+ end
507
+ end
508
+
509
+ # A message representing a Measurement of a Trial. A Measurement contains
510
+ # the Metrics got by executing a Trial using suggested hyperparameter
511
+ # values.
512
+ # @!attribute [r] elapsed_duration
513
+ # @return [::Google::Protobuf::Duration]
514
+ # Output only. Time that the Trial has been running at the point of this Measurement.
515
+ # @!attribute [r] step_count
516
+ # @return [::Integer]
517
+ # Output only. The number of steps the machine learning model has been trained for.
518
+ # Must be non-negative.
519
+ # @!attribute [r] metrics
520
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::Measurement::Metric>]
521
+ # Output only. A list of metrics got by evaluating the objective functions using suggested
522
+ # Parameter values.
523
+ class Measurement
524
+ include ::Google::Protobuf::MessageExts
525
+ extend ::Google::Protobuf::MessageExts::ClassMethods
526
+
527
+ # A message representing a metric in the measurement.
528
+ # @!attribute [r] metric_id
529
+ # @return [::String]
530
+ # Output only. The ID of the Metric. The Metric should be defined in
531
+ # [StudySpec's Metrics][google.cloud.aiplatform.v1.StudySpec.metrics].
532
+ # @!attribute [r] value
533
+ # @return [::Float]
534
+ # Output only. The value for this metric.
535
+ class Metric
536
+ include ::Google::Protobuf::MessageExts
537
+ extend ::Google::Protobuf::MessageExts::ClassMethods
538
+ end
539
+ end
540
+ end
541
+ end
542
+ end
543
+ end
@@ -0,0 +1,89 @@
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
+ # Tensorboard is a physical database that stores users' training metrics.
25
+ # A default Tensorboard is provided in each region of a GCP project.
26
+ # If needed users can also create extra Tensorboards in their projects.
27
+ # @!attribute [r] name
28
+ # @return [::String]
29
+ # Output only. Name of the Tensorboard.
30
+ # Format:
31
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
32
+ # @!attribute [rw] display_name
33
+ # @return [::String]
34
+ # Required. User provided name of this Tensorboard.
35
+ # @!attribute [rw] description
36
+ # @return [::String]
37
+ # Description of this Tensorboard.
38
+ # @!attribute [rw] encryption_spec
39
+ # @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
40
+ # Customer-managed encryption key spec for a Tensorboard. If set, this
41
+ # Tensorboard and all sub-resources of this Tensorboard will be secured by
42
+ # this key.
43
+ # @!attribute [r] blob_storage_path_prefix
44
+ # @return [::String]
45
+ # Output only. Consumer project Cloud Storage path prefix used to store blob data, which
46
+ # can either be a bucket or directory. Does not end with a '/'.
47
+ # @!attribute [r] run_count
48
+ # @return [::Integer]
49
+ # Output only. The number of Runs stored in this Tensorboard.
50
+ # @!attribute [r] create_time
51
+ # @return [::Google::Protobuf::Timestamp]
52
+ # Output only. Timestamp when this Tensorboard was created.
53
+ # @!attribute [r] update_time
54
+ # @return [::Google::Protobuf::Timestamp]
55
+ # Output only. Timestamp when this Tensorboard was last updated.
56
+ # @!attribute [rw] labels
57
+ # @return [::Google::Protobuf::Map{::String => ::String}]
58
+ # The labels with user-defined metadata to organize your Tensorboards.
59
+ #
60
+ # Label keys and values can be no longer than 64 characters
61
+ # (Unicode codepoints), can only contain lowercase letters, numeric
62
+ # characters, underscores and dashes. International characters are allowed.
63
+ # No more than 64 user labels can be associated with one Tensorboard
64
+ # (System labels are excluded).
65
+ #
66
+ # See https://goo.gl/xmQnxf for more information and examples of labels.
67
+ # System reserved label keys are prefixed with "aiplatform.googleapis.com/"
68
+ # and are immutable.
69
+ # @!attribute [rw] etag
70
+ # @return [::String]
71
+ # Used to perform a consistent read-modify-write updates. If not set, a blind
72
+ # "overwrite" update happens.
73
+ class Tensorboard
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+
77
+ # @!attribute [rw] key
78
+ # @return [::String]
79
+ # @!attribute [rw] value
80
+ # @return [::String]
81
+ class LabelsEntry
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+ end
86
+ end
87
+ end
88
+ end
89
+ end