google-cloud-ai_platform-v1 0.45.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +12 -4
  3. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +12 -4
  4. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +5 -1
  5. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +5 -1
  6. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -1
  7. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2 -1
  8. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +15 -4
  9. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +15 -4
  10. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -2
  11. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +5 -2
  12. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +434 -0
  13. data/lib/google/cloud/ai_platform/v1/notebook_service/paths.rb +38 -0
  14. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +406 -0
  15. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +237 -0
  16. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  17. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  18. data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
  19. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -1
  20. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  21. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  22. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +1 -1
  23. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +3 -1
  24. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
  25. data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +55 -0
  26. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +10 -1
  27. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +8 -0
  28. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
  29. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  30. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +1 -1
  31. data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +1 -1
  32. data/proto_docs/google/api/client.rb +14 -10
  33. data/proto_docs/google/api/resource.rb +7 -2
  34. data/proto_docs/google/cloud/aiplatform/v1/content.rb +85 -0
  35. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +19 -0
  36. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +1 -1
  37. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +1 -1
  38. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +21 -0
  39. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +12 -4
  40. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +57 -0
  41. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +3 -0
  42. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -1
  43. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +5 -1
  44. data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +144 -0
  45. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +125 -0
  46. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +12 -0
  47. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +16 -3
  48. data/proto_docs/google/cloud/aiplatform/v1/study.rb +0 -1
  49. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +2 -3
  50. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +7 -0
  51. metadata +4 -2
@@ -8,6 +8,7 @@ require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
+ require 'google/cloud/aiplatform/v1/notebook_execution_job_pb'
11
12
  require 'google/cloud/aiplatform/v1/notebook_runtime_pb'
12
13
  require 'google/cloud/aiplatform/v1/operation_pb'
13
14
  require 'google/longrunning/operations_pb'
@@ -15,7 +16,7 @@ require 'google/protobuf/empty_pb'
15
16
  require 'google/protobuf/field_mask_pb'
16
17
 
17
18
 
18
- descriptor_data = "\n1google/cloud/aiplatform/v1/notebook_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/aiplatform/v1/notebook_runtime.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe9\x01\n$CreateNotebookRuntimeTemplateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12[\n\x19notebook_runtime_template\x18\x02 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplateB\x03\xe0\x41\x02\x12)\n\x1cnotebook_runtime_template_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n.CreateNotebookRuntimeTemplateOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"l\n!GetNotebookRuntimeTemplateRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xf1\x01\n#ListNotebookRuntimeTemplatesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x98\x01\n$ListNotebookRuntimeTemplatesResponse\x12W\n\x1anotebook_runtime_templates\x18\x01 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n$DeleteNotebookRuntimeTemplateRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xb9\x01\n$UpdateNotebookRuntimeTemplateRequest\x12[\n\x19notebook_runtime_template\x18\x01 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa5\x02\n\x1c\x41ssignNotebookRuntimeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\\\n\x19notebook_runtime_template\x18\x02 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\x12J\n\x10notebook_runtime\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.NotebookRuntimeB\x03\xe0\x41\x02\x12 \n\x13notebook_runtime_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x92\x01\n&AssignNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\\\n\x19GetNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\xe9\x01\n\x1bListNotebookRuntimesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x1cListNotebookRuntimesResponse\x12\x46\n\x11notebook_runtimes\x18\x01 \x03(\x0b\x32+.google.cloud.aiplatform.v1.NotebookRuntime\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1c\x44\x65leteNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"`\n\x1dUpgradeNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\x93\x01\n\'UpgradeNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\" \n\x1eUpgradeNotebookRuntimeResponse\"^\n\x1bStartNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\x91\x01\n%StartNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\x1e\n\x1cStartNotebookRuntimeResponse2\xbc\x17\n\x0fNotebookService\x12\xee\x02\n\x1d\x43reateNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest\x1a\x1d.google.longrunning.Operation\"\xeb\x01\xca\x41I\n\x17NotebookRuntimeTemplate\x12.CreateNotebookRuntimeTemplateOperationMetadata\xda\x41=parent,notebook_runtime_template,notebook_runtime_template_id\x82\xd3\xe4\x93\x02Y\"</v1/{parent=projects/*/locations/*}/notebookRuntimeTemplates:\x19notebook_runtime_template\x12\xdd\x01\n\x1aGetNotebookRuntimeTemplate\x12=.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest\x1a\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}\x12\xf0\x01\n\x1cListNotebookRuntimeTemplates\x12?.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest\x1a@.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*}/notebookRuntimeTemplates\x12\x80\x02\n\x1d\x44\x65leteNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}\x12\xba\x02\n\x1dUpdateNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest\x1a\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\"\xa1\x01\xda\x41%notebook_runtime_template,update_mask\x82\xd3\xe4\x93\x02s2V/v1/{notebook_runtime_template.name=projects/*/locations/*/notebookRuntimeTemplates/*}:\x19notebook_runtime_template\x12\xbd\x02\n\x15\x41ssignNotebookRuntime\x12\x38.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\xca\x01\xca\x41\x39\n\x0fNotebookRuntime\x12&AssignNotebookRuntimeOperationMetadata\xda\x41\x45parent,notebook_runtime_template,notebook_runtime,notebook_runtime_id\x82\xd3\xe4\x93\x02@\";/v1/{parent=projects/*/locations/*}/notebookRuntimes:assign:\x01*\x12\xbd\x01\n\x12GetNotebookRuntime\x12\x35.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest\x1a+.google.cloud.aiplatform.v1.NotebookRuntime\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/notebookRuntimes/*}\x12\xd0\x01\n\x14ListNotebookRuntimes\x12\x37.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest\x1a\x38.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/notebookRuntimes\x12\xe8\x01\n\x15\x44\x65leteNotebookRuntime\x12\x38.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/notebookRuntimes/*}\x12\x8f\x02\n\x16UpgradeNotebookRuntime\x12\x39.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41I\n\x1eUpgradeNotebookRuntimeResponse\x12\'UpgradeNotebookRuntimeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v1/{name=projects/*/locations/*/notebookRuntimes/*}:upgrade:\x01*\x12\x85\x02\n\x14StartNotebookRuntime\x12\x37.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41\x45\n\x1cStartNotebookRuntimeResponse\x12%StartNotebookRuntimeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02?\":/v1/{name=projects/*/locations/*/notebookRuntimes/*}:start:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14NotebookServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
19
+ descriptor_data = "\n1google/cloud/aiplatform/v1/notebook_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/aiplatform/v1/notebook_execution_job.proto\x1a\x31google/cloud/aiplatform/v1/notebook_runtime.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe9\x01\n$CreateNotebookRuntimeTemplateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12[\n\x19notebook_runtime_template\x18\x02 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplateB\x03\xe0\x41\x02\x12)\n\x1cnotebook_runtime_template_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n.CreateNotebookRuntimeTemplateOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"l\n!GetNotebookRuntimeTemplateRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xf1\x01\n#ListNotebookRuntimeTemplatesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x98\x01\n$ListNotebookRuntimeTemplatesResponse\x12W\n\x1anotebook_runtime_templates\x18\x01 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n$DeleteNotebookRuntimeTemplateRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xb9\x01\n$UpdateNotebookRuntimeTemplateRequest\x12[\n\x19notebook_runtime_template\x18\x01 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa5\x02\n\x1c\x41ssignNotebookRuntimeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\\\n\x19notebook_runtime_template\x18\x02 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/NotebookRuntimeTemplate\x12J\n\x10notebook_runtime\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.NotebookRuntimeB\x03\xe0\x41\x02\x12 \n\x13notebook_runtime_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x92\x01\n&AssignNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\\\n\x19GetNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\xe9\x01\n\x1bListNotebookRuntimesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x1cListNotebookRuntimesResponse\x12\x46\n\x11notebook_runtimes\x18\x01 \x03(\x0b\x32+.google.cloud.aiplatform.v1.NotebookRuntime\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1c\x44\x65leteNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"`\n\x1dUpgradeNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\x93\x01\n\'UpgradeNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\" \n\x1eUpgradeNotebookRuntimeResponse\"^\n\x1bStartNotebookRuntimeRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/NotebookRuntime\"\x91\x01\n%StartNotebookRuntimeOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\x1e\n\x1cStartNotebookRuntimeResponse\"\xdd\x01\n!CreateNotebookExecutionJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12U\n\x16notebook_execution_job\x18\x02 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.NotebookExecutionJobB\x03\xe0\x41\x02\x12&\n\x19notebook_execution_job_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n+CreateNotebookExecutionJobOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\n\x10progress_message\x18\x02 \x01(\t\"\xaf\x01\n\x1eGetNotebookExecutionJobRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.aiplatform.googleapis.com/NotebookExecutionJob\x12G\n\x04view\x18\x06 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.NotebookExecutionJobViewB\x03\xe0\x41\x01\"\x83\x02\n ListNotebookExecutionJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12G\n\x04view\x18\x06 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.NotebookExecutionJobViewB\x03\xe0\x41\x01\"\x8f\x01\n!ListNotebookExecutionJobsResponse\x12Q\n\x17notebook_execution_jobs\x18\x01 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.NotebookExecutionJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n!DeleteNotebookExecutionJobRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.aiplatform.googleapis.com/NotebookExecutionJob*\x94\x01\n\x18NotebookExecutionJobView\x12+\n\'NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED\x10\x00\x12%\n!NOTEBOOK_EXECUTION_JOB_VIEW_BASIC\x10\x01\x12$\n NOTEBOOK_EXECUTION_JOB_VIEW_FULL\x10\x02\x32\xca\x1f\n\x0fNotebookService\x12\xee\x02\n\x1d\x43reateNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest\x1a\x1d.google.longrunning.Operation\"\xeb\x01\xca\x41I\n\x17NotebookRuntimeTemplate\x12.CreateNotebookRuntimeTemplateOperationMetadata\xda\x41=parent,notebook_runtime_template,notebook_runtime_template_id\x82\xd3\xe4\x93\x02Y\"</v1/{parent=projects/*/locations/*}/notebookRuntimeTemplates:\x19notebook_runtime_template\x12\xdd\x01\n\x1aGetNotebookRuntimeTemplate\x12=.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest\x1a\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}\x12\xf0\x01\n\x1cListNotebookRuntimeTemplates\x12?.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest\x1a@.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*}/notebookRuntimeTemplates\x12\x80\x02\n\x1d\x44\x65leteNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}\x12\xba\x02\n\x1dUpdateNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest\x1a\x33.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\"\xa1\x01\xda\x41%notebook_runtime_template,update_mask\x82\xd3\xe4\x93\x02s2V/v1/{notebook_runtime_template.name=projects/*/locations/*/notebookRuntimeTemplates/*}:\x19notebook_runtime_template\x12\xbd\x02\n\x15\x41ssignNotebookRuntime\x12\x38.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\xca\x01\xca\x41\x39\n\x0fNotebookRuntime\x12&AssignNotebookRuntimeOperationMetadata\xda\x41\x45parent,notebook_runtime_template,notebook_runtime,notebook_runtime_id\x82\xd3\xe4\x93\x02@\";/v1/{parent=projects/*/locations/*}/notebookRuntimes:assign:\x01*\x12\xbd\x01\n\x12GetNotebookRuntime\x12\x35.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest\x1a+.google.cloud.aiplatform.v1.NotebookRuntime\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/notebookRuntimes/*}\x12\xd0\x01\n\x14ListNotebookRuntimes\x12\x37.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest\x1a\x38.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/notebookRuntimes\x12\xe8\x01\n\x15\x44\x65leteNotebookRuntime\x12\x38.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/notebookRuntimes/*}\x12\x8f\x02\n\x16UpgradeNotebookRuntime\x12\x39.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41I\n\x1eUpgradeNotebookRuntimeResponse\x12\'UpgradeNotebookRuntimeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v1/{name=projects/*/locations/*/notebookRuntimes/*}:upgrade:\x01*\x12\x85\x02\n\x14StartNotebookRuntime\x12\x37.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41\x45\n\x1cStartNotebookRuntimeResponse\x12%StartNotebookRuntimeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02?\":/v1/{name=projects/*/locations/*/notebookRuntimes/*}:start:\x01*\x12\xd6\x02\n\x1a\x43reateNotebookExecutionJob\x12=.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest\x1a\x1d.google.longrunning.Operation\"\xd9\x01\xca\x41\x43\n\x14NotebookExecutionJob\x12+CreateNotebookExecutionJobOperationMetadata\xda\x41\x37parent,notebook_execution_job,notebook_execution_job_id\x82\xd3\xe4\x93\x02S\"9/v1/{parent=projects/*/locations/*}/notebookExecutionJobs:\x16notebook_execution_job\x12\xd1\x01\n\x17GetNotebookExecutionJob\x12:.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest\x1a\x30.google.cloud.aiplatform.v1.NotebookExecutionJob\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}\x12\xe4\x01\n\x19ListNotebookExecutionJobs\x12<.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest\x1a=.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*}/notebookExecutionJobs\x12\xf7\x01\n\x1a\x44\x65leteNotebookExecutionJob\x12=.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14NotebookServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
19
20
 
20
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
22
 
@@ -33,6 +34,7 @@ rescue TypeError
33
34
  ["google.cloud.aiplatform.v1.NotebookRuntimeTemplate", "google/cloud/aiplatform/v1/notebook_runtime.proto"],
34
35
  ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
35
36
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
+ ["google.cloud.aiplatform.v1.NotebookExecutionJob", "google/cloud/aiplatform/v1/notebook_execution_job.proto"],
36
38
  ]
37
39
  imports.each do |type_name, expected_filename|
38
40
  import_file = pool.lookup(type_name).file_descriptor
@@ -67,6 +69,13 @@ module Google
67
69
  StartNotebookRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StartNotebookRuntimeRequest").msgclass
68
70
  StartNotebookRuntimeOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StartNotebookRuntimeOperationMetadata").msgclass
69
71
  StartNotebookRuntimeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StartNotebookRuntimeResponse").msgclass
72
+ CreateNotebookExecutionJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest").msgclass
73
+ CreateNotebookExecutionJobOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateNotebookExecutionJobOperationMetadata").msgclass
74
+ GetNotebookExecutionJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest").msgclass
75
+ ListNotebookExecutionJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest").msgclass
76
+ ListNotebookExecutionJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse").msgclass
77
+ DeleteNotebookExecutionJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest").msgclass
78
+ NotebookExecutionJobView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NotebookExecutionJobView").enummodule
70
79
  end
71
80
  end
72
81
  end
@@ -56,6 +56,14 @@ module Google
56
56
  rpc :UpgradeNotebookRuntime, ::Google::Cloud::AIPlatform::V1::UpgradeNotebookRuntimeRequest, ::Google::Longrunning::Operation
57
57
  # Starts a NotebookRuntime.
58
58
  rpc :StartNotebookRuntime, ::Google::Cloud::AIPlatform::V1::StartNotebookRuntimeRequest, ::Google::Longrunning::Operation
59
+ # Creates a NotebookExecutionJob.
60
+ rpc :CreateNotebookExecutionJob, ::Google::Cloud::AIPlatform::V1::CreateNotebookExecutionJobRequest, ::Google::Longrunning::Operation
61
+ # Gets a NotebookExecutionJob.
62
+ rpc :GetNotebookExecutionJob, ::Google::Cloud::AIPlatform::V1::GetNotebookExecutionJobRequest, ::Google::Cloud::AIPlatform::V1::NotebookExecutionJob
63
+ # Lists NotebookExecutionJobs in a Location.
64
+ rpc :ListNotebookExecutionJobs, ::Google::Cloud::AIPlatform::V1::ListNotebookExecutionJobsRequest, ::Google::Cloud::AIPlatform::V1::ListNotebookExecutionJobsResponse
65
+ # Deletes a NotebookExecutionJob.
66
+ rpc :DeleteNotebookExecutionJob, ::Google::Cloud::AIPlatform::V1::DeleteNotebookExecutionJobRequest, ::Google::Longrunning::Operation
59
67
  end
60
68
 
61
69
  Stub = Service.rpc_stub_class
@@ -12,7 +12,7 @@ require 'google/protobuf/timestamp_pb'
12
12
  require 'google/rpc/status_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n4google/cloud/aiplatform/v1/persistent_resource.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xde\x08\n\x12PersistentResource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0eresource_pools\x18\x04 \x03(\x0b\x32(.google.cloud.aiplatform.v1.ResourcePoolB\x03\xe0\x41\x02\x12H\n\x05state\x18\x05 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.PersistentResource.StateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\n \x03(\x0b\x32:.google.cloud.aiplatform.v1.PersistentResource.LabelsEntryB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12H\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x01\x12S\n\x15resource_runtime_spec\x18\r \x01(\x0b\x32/.google.cloud.aiplatform.v1.ResourceRuntimeSpecB\x03\xe0\x41\x01\x12J\n\x10resource_runtime\x18\x0e \x01(\x0b\x32+.google.cloud.aiplatform.v1.ResourceRuntimeB\x03\xe0\x41\x03\x12\x1f\n\x12reserved_ip_ranges\x18\x0f \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"s\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\r\n\tREBOOTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07:\x85\x01\xea\x41\x81\x01\n,aiplatform.googleapis.com/PersistentResource\x12Qprojects/{project}/locations/{location}/persistentResources/{persistent_resource}\"\xdb\x03\n\x0cResourcePool\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x45\n\x0cmachine_spec\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1f\n\rreplica_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12<\n\tdisk_spec\x18\x04 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DiskSpecB\x03\xe0\x41\x01\x12\x1f\n\x12used_replica_count\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12W\n\x10\x61utoscaling_spec\x18\x07 \x01(\x0b\x32\x38.google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpecB\x03\xe0\x41\x01\x1a\x87\x01\n\x0f\x41utoscalingSpec\x12#\n\x11min_replica_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12#\n\x11max_replica_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x14\n\x12_min_replica_countB\x14\n\x12_max_replica_countB\x10\n\x0e_replica_count\"\xa4\x01\n\x13ResourceRuntimeSpec\x12Q\n\x14service_account_spec\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.ServiceAccountSpecB\x03\xe0\x41\x01\x12:\n\x08ray_spec\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.RaySpecB\x03\xe0\x41\x01\"\xae\x02\n\x07RaySpec\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12^\n\x14resource_pool_images\x18\x06 \x03(\x0b\x32;.google.cloud.aiplatform.v1.RaySpec.ResourcePoolImagesEntryB\x03\xe0\x41\x01\x12\'\n\x1ahead_node_resource_pool_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12G\n\x0fray_metric_spec\x18\x08 \x01(\x0b\x32).google.cloud.aiplatform.v1.RayMetricSpecB\x03\xe0\x41\x01\x1a\x39\n\x17ResourcePoolImagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x01\n\x0fResourceRuntime\x12U\n\x0b\x61\x63\x63\x65ss_uris\x18\x01 \x03(\x0b\x32;.google.cloud.aiplatform.v1.ResourceRuntime.AccessUrisEntryB\x03\xe0\x41\x03\x1a\x31\n\x0f\x41\x63\x63\x65ssUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\x12ServiceAccountSpec\x12*\n\x1d\x65nable_custom_service_account\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12\x1c\n\x0fservice_account\x18\x02 \x01(\tB\x03\xe0\x41\x01\"&\n\rRayMetricSpec\x12\x15\n\x08\x64isabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x42\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17PersistentResourceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
15
+ descriptor_data = "\n4google/cloud/aiplatform/v1/persistent_resource.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xde\x08\n\x12PersistentResource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0eresource_pools\x18\x04 \x03(\x0b\x32(.google.cloud.aiplatform.v1.ResourcePoolB\x03\xe0\x41\x02\x12H\n\x05state\x18\x05 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.PersistentResource.StateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\n \x03(\x0b\x32:.google.cloud.aiplatform.v1.PersistentResource.LabelsEntryB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12H\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x01\x12S\n\x15resource_runtime_spec\x18\r \x01(\x0b\x32/.google.cloud.aiplatform.v1.ResourceRuntimeSpecB\x03\xe0\x41\x01\x12J\n\x10resource_runtime\x18\x0e \x01(\x0b\x32+.google.cloud.aiplatform.v1.ResourceRuntimeB\x03\xe0\x41\x03\x12\x1f\n\x12reserved_ip_ranges\x18\x0f \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"s\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\r\n\tREBOOTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07:\x85\x01\xea\x41\x81\x01\n,aiplatform.googleapis.com/PersistentResource\x12Qprojects/{project}/locations/{location}/persistentResources/{persistent_resource}\"\xdb\x03\n\x0cResourcePool\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x45\n\x0cmachine_spec\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1f\n\rreplica_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12<\n\tdisk_spec\x18\x04 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DiskSpecB\x03\xe0\x41\x01\x12\x1f\n\x12used_replica_count\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12W\n\x10\x61utoscaling_spec\x18\x07 \x01(\x0b\x32\x38.google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpecB\x03\xe0\x41\x01\x1a\x87\x01\n\x0f\x41utoscalingSpec\x12#\n\x11min_replica_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12#\n\x11max_replica_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x14\n\x12_min_replica_countB\x14\n\x12_max_replica_countB\x10\n\x0e_replica_count\"\xa4\x01\n\x13ResourceRuntimeSpec\x12Q\n\x14service_account_spec\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.ServiceAccountSpecB\x03\xe0\x41\x01\x12:\n\x08ray_spec\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.RaySpecB\x03\xe0\x41\x01\"\xf3\x02\n\x07RaySpec\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12^\n\x14resource_pool_images\x18\x06 \x03(\x0b\x32;.google.cloud.aiplatform.v1.RaySpec.ResourcePoolImagesEntryB\x03\xe0\x41\x01\x12\'\n\x1ahead_node_resource_pool_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12G\n\x0fray_metric_spec\x18\x08 \x01(\x0b\x32).google.cloud.aiplatform.v1.RayMetricSpecB\x03\xe0\x41\x01\x12\x43\n\rray_logs_spec\x18\n \x01(\x0b\x32\'.google.cloud.aiplatform.v1.RayLogsSpecB\x03\xe0\x41\x01\x1a\x39\n\x17ResourcePoolImagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x01\n\x0fResourceRuntime\x12U\n\x0b\x61\x63\x63\x65ss_uris\x18\x01 \x03(\x0b\x32;.google.cloud.aiplatform.v1.ResourceRuntime.AccessUrisEntryB\x03\xe0\x41\x03\x1a\x31\n\x0f\x41\x63\x63\x65ssUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\x12ServiceAccountSpec\x12*\n\x1d\x65nable_custom_service_account\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12\x1c\n\x0fservice_account\x18\x02 \x01(\tB\x03\xe0\x41\x01\"&\n\rRayMetricSpec\x12\x15\n\x08\x64isabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"$\n\x0bRayLogsSpec\x12\x15\n\x08\x64isabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x42\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17PersistentResourceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
@@ -55,6 +55,7 @@ module Google
55
55
  ResourceRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourceRuntime").msgclass
56
56
  ServiceAccountSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ServiceAccountSpec").msgclass
57
57
  RayMetricSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RayMetricSpec").msgclass
58
+ RayLogsSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RayLogsSpec").msgclass
58
59
  end
59
60
  end
60
61
  end
@@ -16,7 +16,7 @@ require 'google/cloud/aiplatform/v1/types_pb'
16
16
  require 'google/protobuf/struct_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n3google/cloud/aiplatform/v1/prediction_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a&google/cloud/aiplatform/v1/types.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xaa\x01\n\x0ePredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\"\x80\x02\n\x0fPredictResponse\x12+\n\x0bpredictions\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12\x36\n\x05model\x18\x03 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12model_display_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12-\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\"z\n\x11RawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\'\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\"\x80\x01\n\x17StreamRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\'\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\"\xc0\x01\n\x14\x44irectPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x32\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x84\x01\n\x15\x44irectPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"{\n\x17\x44irectRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x13\n\x0bmethod_name\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x01(\x0c\"*\n\x18\x44irectRawPredictResponse\x12\x0e\n\x06output\x18\x01 \x01(\x0c\"\xd0\x01\n\x1aStreamDirectPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x37\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.TensorB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.TensorB\x03\xe0\x41\x01\"\x8a\x01\n\x1bStreamDirectPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x8b\x01\n\x1dStreamDirectRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x18\n\x0bmethod_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05input\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\"0\n\x1eStreamDirectRawPredictResponse\x12\x0e\n\x06output\x18\x01 \x01(\x0c\"\xc3\x01\n\x17StreamingPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x32\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x87\x01\n\x18StreamingPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"~\n\x1aStreamingRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x13\n\x0bmethod_name\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x01(\x0c\"-\n\x1bStreamingRawPredictResponse\x12\x0e\n\x06output\x18\x01 \x01(\x0c\"\x9d\x02\n\x0e\x45xplainRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x04 \x01(\x0b\x32\x16.google.protobuf.Value\x12V\n\x19\x65xplanation_spec_override\x18\x05 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.ExplanationSpecOverride\x12\x19\n\x11\x64\x65ployed_model_id\x18\x03 \x01(\t\"\x98\x01\n\x0f\x45xplainResponse\x12=\n\x0c\x65xplanations\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.Explanation\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12+\n\x0bpredictions\x18\x03 \x03(\x0b\x32\x16.google.protobuf.Value\"\xd2\x01\n\x12\x43ountTokensRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x12\n\x05model\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12:\n\x08\x63ontents\x18\x04 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x02\"N\n\x13\x43ountTokensResponse\x12\x14\n\x0ctotal_tokens\x18\x01 \x01(\x05\x12!\n\x19total_billable_characters\x18\x02 \x01(\x05\"\xd9\x03\n\x16GenerateContentRequest\x12\x12\n\x05model\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08\x63ontents\x18\x02 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x02\x12I\n\x12system_instruction\x18\x08 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x34\n\x05tools\x18\x06 \x03(\x0b\x32 .google.cloud.aiplatform.v1.ToolB\x03\xe0\x41\x01\x12@\n\x0btool_config\x18\x07 \x01(\x0b\x32&.google.cloud.aiplatform.v1.ToolConfigB\x03\xe0\x41\x01\x12G\n\x0fsafety_settings\x18\x03 \x03(\x0b\x32).google.cloud.aiplatform.v1.SafetySettingB\x03\xe0\x41\x01\x12L\n\x11generation_config\x18\x04 \x01(\x0b\x32,.google.cloud.aiplatform.v1.GenerationConfigB\x03\xe0\x41\x01\x42\x15\n\x13_system_instruction\"\xd7\x05\n\x17GenerateContentResponse\x12>\n\ncandidates\x18\x02 \x03(\x0b\x32%.google.cloud.aiplatform.v1.CandidateB\x03\xe0\x41\x03\x12`\n\x0fprompt_feedback\x18\x03 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedbackB\x03\xe0\x41\x03\x12Y\n\x0eusage_metadata\x18\x04 \x01(\x0b\x32\x41.google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata\x1a\xd6\x02\n\x0ePromptFeedback\x12k\n\x0c\x62lock_reason\x18\x01 \x01(\x0e\x32P.google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback.BlockedReasonB\x03\xe0\x41\x03\x12\x45\n\x0esafety_ratings\x18\x02 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xe0\x41\x03\x12!\n\x14\x62lock_reason_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"m\n\rBlockedReason\x12\x1e\n\x1a\x42LOCKED_REASON_UNSPECIFIED\x10\x00\x12\n\n\x06SAFETY\x10\x01\x12\t\n\x05OTHER\x10\x02\x12\r\n\tBLOCKLIST\x10\x03\x12\x16\n\x12PROHIBITED_CONTENT\x10\x04\x1a\x66\n\rUsageMetadata\x12\x1a\n\x12prompt_token_count\x18\x01 \x01(\x05\x12\x1e\n\x16\x63\x61ndidates_token_count\x18\x02 \x01(\x05\x12\x19\n\x11total_token_count\x18\x03 \x01(\x05\x32\x9a\x18\n\x11PredictionService\x12\x94\x02\n\x07Predict\x12*.google.cloud.aiplatform.v1.PredictRequest\x1a+.google.cloud.aiplatform.v1.PredictResponse\"\xaf\x01\xda\x41\x1d\x65ndpoint,instances,parameters\x82\xd3\xe4\x93\x02\x88\x01\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict:\x01*ZH\"C/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict:\x01*\x12\xfe\x01\n\nRawPredict\x12-.google.cloud.aiplatform.v1.RawPredictRequest\x1a\x14.google.api.HttpBody\"\xaa\x01\xda\x41\x12\x65ndpoint,http_body\x82\xd3\xe4\x93\x02\x8e\x01\"</v1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict:\x01*ZK\"F/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict:\x01*\x12\x98\x02\n\x10StreamRawPredict\x12\x33.google.cloud.aiplatform.v1.StreamRawPredictRequest\x1a\x14.google.api.HttpBody\"\xb6\x01\xda\x41\x12\x65ndpoint,http_body\x82\xd3\xe4\x93\x02\x9a\x01\"B/v1/{endpoint=projects/*/locations/*/endpoints/*}:streamRawPredict:\x01*ZQ\"L/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:streamRawPredict:\x01*0\x01\x12\xc0\x01\n\rDirectPredict\x12\x30.google.cloud.aiplatform.v1.DirectPredictRequest\x1a\x31.google.cloud.aiplatform.v1.DirectPredictResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:directPredict:\x01*\x12\xcc\x01\n\x10\x44irectRawPredict\x12\x33.google.cloud.aiplatform.v1.DirectRawPredictRequest\x1a\x34.google.cloud.aiplatform.v1.DirectRawPredictResponse\"M\x82\xd3\xe4\x93\x02G\"B/v1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict:\x01*\x12\x8c\x01\n\x13StreamDirectPredict\x12\x36.google.cloud.aiplatform.v1.StreamDirectPredictRequest\x1a\x37.google.cloud.aiplatform.v1.StreamDirectPredictResponse\"\x00(\x01\x30\x01\x12\x95\x01\n\x16StreamDirectRawPredict\x12\x39.google.cloud.aiplatform.v1.StreamDirectRawPredictRequest\x1a:.google.cloud.aiplatform.v1.StreamDirectRawPredictResponse\"\x00(\x01\x30\x01\x12\x83\x01\n\x10StreamingPredict\x12\x33.google.cloud.aiplatform.v1.StreamingPredictRequest\x1a\x34.google.cloud.aiplatform.v1.StreamingPredictResponse\"\x00(\x01\x30\x01\x12\xb5\x02\n\x16ServerStreamingPredict\x12\x33.google.cloud.aiplatform.v1.StreamingPredictRequest\x1a\x34.google.cloud.aiplatform.v1.StreamingPredictResponse\"\xad\x01\x82\xd3\xe4\x93\x02\xa6\x01\"H/v1/{endpoint=projects/*/locations/*/endpoints/*}:serverStreamingPredict:\x01*ZW\"R/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:serverStreamingPredict:\x01*0\x01\x12\x8c\x01\n\x13StreamingRawPredict\x12\x36.google.cloud.aiplatform.v1.StreamingRawPredictRequest\x1a\x37.google.cloud.aiplatform.v1.StreamingRawPredictResponse\"\x00(\x01\x30\x01\x12\xda\x01\n\x07\x45xplain\x12*.google.cloud.aiplatform.v1.ExplainRequest\x1a+.google.cloud.aiplatform.v1.ExplainResponse\"v\xda\x41/endpoint,instances,parameters,deployed_model_id\x82\xd3\xe4\x93\x02>\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:explain:\x01*\x12\xa7\x02\n\x0fGenerateContent\x12\x32.google.cloud.aiplatform.v1.GenerateContentRequest\x1a\x33.google.cloud.aiplatform.v1.GenerateContentResponse\"\xaa\x01\xda\x41\x0emodel,contents\x82\xd3\xe4\x93\x02\x92\x01\">/v1/{model=projects/*/locations/*/endpoints/*}:generateContent:\x01*ZM\"H/v1/{model=projects/*/locations/*/publishers/*/models/*}:generateContent:\x01*\x12\xbb\x02\n\x15StreamGenerateContent\x12\x32.google.cloud.aiplatform.v1.GenerateContentRequest\x1a\x33.google.cloud.aiplatform.v1.GenerateContentResponse\"\xb6\x01\xda\x41\x0emodel,contents\x82\xd3\xe4\x93\x02\x9e\x01\"D/v1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent:\x01*ZS\"N/v1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent:\x01*0\x01\x1a\x86\x01\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41ghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xd4\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x16PredictionServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
19
+ descriptor_data = "\n3google/cloud/aiplatform/v1/prediction_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a&google/cloud/aiplatform/v1/types.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xaa\x01\n\x0ePredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\"\x80\x02\n\x0fPredictResponse\x12+\n\x0bpredictions\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12\x36\n\x05model\x18\x03 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12model_display_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12-\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\"z\n\x11RawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\'\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\"\x80\x01\n\x17StreamRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\'\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\"\xc0\x01\n\x14\x44irectPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x32\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x84\x01\n\x15\x44irectPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"{\n\x17\x44irectRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x13\n\x0bmethod_name\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x01(\x0c\"*\n\x18\x44irectRawPredictResponse\x12\x0e\n\x06output\x18\x01 \x01(\x0c\"\xd0\x01\n\x1aStreamDirectPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x37\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.TensorB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.TensorB\x03\xe0\x41\x01\"\x8a\x01\n\x1bStreamDirectPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x8b\x01\n\x1dStreamDirectRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x18\n\x0bmethod_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05input\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\"0\n\x1eStreamDirectRawPredictResponse\x12\x0e\n\x06output\x18\x01 \x01(\x0c\"\xc3\x01\n\x17StreamingPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x32\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x87\x01\n\x18StreamingPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"~\n\x1aStreamingRawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x13\n\x0bmethod_name\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x01(\x0c\"-\n\x1bStreamingRawPredictResponse\x12\x0e\n\x06output\x18\x01 \x01(\x0c\"\x9d\x02\n\x0e\x45xplainRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x04 \x01(\x0b\x32\x16.google.protobuf.Value\x12V\n\x19\x65xplanation_spec_override\x18\x05 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.ExplanationSpecOverride\x12\x19\n\x11\x64\x65ployed_model_id\x18\x03 \x01(\t\"\x98\x01\n\x0f\x45xplainResponse\x12=\n\x0c\x65xplanations\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.Explanation\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12+\n\x0bpredictions\x18\x03 \x03(\x0b\x32\x16.google.protobuf.Value\"\xea\x02\n\x12\x43ountTokensRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x12\n\x05model\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12:\n\x08\x63ontents\x18\x04 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x01\x12I\n\x12system_instruction\x18\x05 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x34\n\x05tools\x18\x06 \x03(\x0b\x32 .google.cloud.aiplatform.v1.ToolB\x03\xe0\x41\x01\x42\x15\n\x13_system_instruction\"N\n\x13\x43ountTokensResponse\x12\x14\n\x0ctotal_tokens\x18\x01 \x01(\x05\x12!\n\x19total_billable_characters\x18\x02 \x01(\x05\"\xd9\x03\n\x16GenerateContentRequest\x12\x12\n\x05model\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08\x63ontents\x18\x02 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x02\x12I\n\x12system_instruction\x18\x08 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x34\n\x05tools\x18\x06 \x03(\x0b\x32 .google.cloud.aiplatform.v1.ToolB\x03\xe0\x41\x01\x12@\n\x0btool_config\x18\x07 \x01(\x0b\x32&.google.cloud.aiplatform.v1.ToolConfigB\x03\xe0\x41\x01\x12G\n\x0fsafety_settings\x18\x03 \x03(\x0b\x32).google.cloud.aiplatform.v1.SafetySettingB\x03\xe0\x41\x01\x12L\n\x11generation_config\x18\x04 \x01(\x0b\x32,.google.cloud.aiplatform.v1.GenerationConfigB\x03\xe0\x41\x01\x42\x15\n\x13_system_instruction\"\xd7\x05\n\x17GenerateContentResponse\x12>\n\ncandidates\x18\x02 \x03(\x0b\x32%.google.cloud.aiplatform.v1.CandidateB\x03\xe0\x41\x03\x12`\n\x0fprompt_feedback\x18\x03 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedbackB\x03\xe0\x41\x03\x12Y\n\x0eusage_metadata\x18\x04 \x01(\x0b\x32\x41.google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata\x1a\xd6\x02\n\x0ePromptFeedback\x12k\n\x0c\x62lock_reason\x18\x01 \x01(\x0e\x32P.google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback.BlockedReasonB\x03\xe0\x41\x03\x12\x45\n\x0esafety_ratings\x18\x02 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xe0\x41\x03\x12!\n\x14\x62lock_reason_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"m\n\rBlockedReason\x12\x1e\n\x1a\x42LOCKED_REASON_UNSPECIFIED\x10\x00\x12\n\n\x06SAFETY\x10\x01\x12\t\n\x05OTHER\x10\x02\x12\r\n\tBLOCKLIST\x10\x03\x12\x16\n\x12PROHIBITED_CONTENT\x10\x04\x1a\x66\n\rUsageMetadata\x12\x1a\n\x12prompt_token_count\x18\x01 \x01(\x05\x12\x1e\n\x16\x63\x61ndidates_token_count\x18\x02 \x01(\x05\x12\x19\n\x11total_token_count\x18\x03 \x01(\x05\x32\x9a\x18\n\x11PredictionService\x12\x94\x02\n\x07Predict\x12*.google.cloud.aiplatform.v1.PredictRequest\x1a+.google.cloud.aiplatform.v1.PredictResponse\"\xaf\x01\xda\x41\x1d\x65ndpoint,instances,parameters\x82\xd3\xe4\x93\x02\x88\x01\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict:\x01*ZH\"C/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict:\x01*\x12\xfe\x01\n\nRawPredict\x12-.google.cloud.aiplatform.v1.RawPredictRequest\x1a\x14.google.api.HttpBody\"\xaa\x01\xda\x41\x12\x65ndpoint,http_body\x82\xd3\xe4\x93\x02\x8e\x01\"</v1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict:\x01*ZK\"F/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict:\x01*\x12\x98\x02\n\x10StreamRawPredict\x12\x33.google.cloud.aiplatform.v1.StreamRawPredictRequest\x1a\x14.google.api.HttpBody\"\xb6\x01\xda\x41\x12\x65ndpoint,http_body\x82\xd3\xe4\x93\x02\x9a\x01\"B/v1/{endpoint=projects/*/locations/*/endpoints/*}:streamRawPredict:\x01*ZQ\"L/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:streamRawPredict:\x01*0\x01\x12\xc0\x01\n\rDirectPredict\x12\x30.google.cloud.aiplatform.v1.DirectPredictRequest\x1a\x31.google.cloud.aiplatform.v1.DirectPredictResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:directPredict:\x01*\x12\xcc\x01\n\x10\x44irectRawPredict\x12\x33.google.cloud.aiplatform.v1.DirectRawPredictRequest\x1a\x34.google.cloud.aiplatform.v1.DirectRawPredictResponse\"M\x82\xd3\xe4\x93\x02G\"B/v1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict:\x01*\x12\x8c\x01\n\x13StreamDirectPredict\x12\x36.google.cloud.aiplatform.v1.StreamDirectPredictRequest\x1a\x37.google.cloud.aiplatform.v1.StreamDirectPredictResponse\"\x00(\x01\x30\x01\x12\x95\x01\n\x16StreamDirectRawPredict\x12\x39.google.cloud.aiplatform.v1.StreamDirectRawPredictRequest\x1a:.google.cloud.aiplatform.v1.StreamDirectRawPredictResponse\"\x00(\x01\x30\x01\x12\x83\x01\n\x10StreamingPredict\x12\x33.google.cloud.aiplatform.v1.StreamingPredictRequest\x1a\x34.google.cloud.aiplatform.v1.StreamingPredictResponse\"\x00(\x01\x30\x01\x12\xb5\x02\n\x16ServerStreamingPredict\x12\x33.google.cloud.aiplatform.v1.StreamingPredictRequest\x1a\x34.google.cloud.aiplatform.v1.StreamingPredictResponse\"\xad\x01\x82\xd3\xe4\x93\x02\xa6\x01\"H/v1/{endpoint=projects/*/locations/*/endpoints/*}:serverStreamingPredict:\x01*ZW\"R/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:serverStreamingPredict:\x01*0\x01\x12\x8c\x01\n\x13StreamingRawPredict\x12\x36.google.cloud.aiplatform.v1.StreamingRawPredictRequest\x1a\x37.google.cloud.aiplatform.v1.StreamingRawPredictResponse\"\x00(\x01\x30\x01\x12\xda\x01\n\x07\x45xplain\x12*.google.cloud.aiplatform.v1.ExplainRequest\x1a+.google.cloud.aiplatform.v1.ExplainResponse\"v\xda\x41/endpoint,instances,parameters,deployed_model_id\x82\xd3\xe4\x93\x02>\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:explain:\x01*\x12\xa7\x02\n\x0fGenerateContent\x12\x32.google.cloud.aiplatform.v1.GenerateContentRequest\x1a\x33.google.cloud.aiplatform.v1.GenerateContentResponse\"\xaa\x01\xda\x41\x0emodel,contents\x82\xd3\xe4\x93\x02\x92\x01\">/v1/{model=projects/*/locations/*/endpoints/*}:generateContent:\x01*ZM\"H/v1/{model=projects/*/locations/*/publishers/*/models/*}:generateContent:\x01*\x12\xbb\x02\n\x15StreamGenerateContent\x12\x32.google.cloud.aiplatform.v1.GenerateContentRequest\x1a\x33.google.cloud.aiplatform.v1.GenerateContentResponse\"\xb6\x01\xda\x41\x0emodel,contents\x82\xd3\xe4\x93\x02\x9e\x01\"D/v1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent:\x01*ZS\"N/v1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent:\x01*0\x01\x1a\x86\x01\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41ghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xd4\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x16PredictionServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
20
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
@@ -10,7 +10,7 @@ require 'google/cloud/aiplatform/v1/openapi_pb'
10
10
  require 'google/protobuf/struct_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xf3\x01\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\"\x7f\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\"M\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"U\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\"\x7f\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12 \n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"(\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x17\n\x15GoogleSearchRetrieval\"e\n\nToolConfig\x12W\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xe0\x41\x01\"\xc2\x01\n\x15\x46unctionCallingConfig\x12I\n\x04mode\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xe0\x41\x01\x12#\n\x16\x61llowed_function_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\"9\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\x42\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
13
+ descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xf3\x01\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\"\x7f\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\"M\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"U\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\"\x81\x01\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12\"\n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x42\x08\n\x06source\"(\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x17\n\x15GoogleSearchRetrieval\"e\n\nToolConfig\x12W\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xe0\x41\x01\"\xc2\x01\n\x15\x46unctionCallingConfig\x12I\n\x04mode\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xe0\x41\x01\x12#\n\x16\x61llowed_function_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\"9\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\x42\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
@@ -13,7 +13,7 @@ require 'google/protobuf/timestamp_pb'
13
13
  require 'google/rpc/status_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n+google/cloud/aiplatform/v1/tuning_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xae\x08\n\tTuningJob\x12\x14\n\nbase_model\x18\x04 \x01(\tH\x00\x12R\n\x16supervised_tuning_spec\x18\x05 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.SupervisedTuningSpecH\x01\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12%\n\x18tuned_model_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\x05state\x18\x06 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x0b \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x0c \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.TuningJob.LabelsEntryB\x03\xe0\x41\x01\x12=\n\nexperiment\x18\r \x01(\tB)\xe0\x41\x03\xfa\x41#\n!aiplatform.googleapis.com/Context\x12@\n\x0btuned_model\x18\x0e \x01(\x0b\x32&.google.cloud.aiplatform.v1.TunedModelB\x03\xe0\x41\x03\x12K\n\x11tuning_data_stats\x18\x0f \x01(\x0b\x32+.google.cloud.aiplatform.v1.TuningDataStatsB\x03\xe0\x41\x03\x12\x43\n\x0f\x65ncryption_spec\x18\x10 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x80\x01\xea\x41}\n#aiplatform.googleapis.com/TuningJob\x12?projects/{project}/locations/{location}/tuningJobs/{tuning_job}*\ntuningJobs2\ttuningJobB\x0e\n\x0csource_modelB\r\n\x0btuning_spec\"\x82\x01\n\nTunedModel\x12\x36\n\x05model\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12<\n\x08\x65ndpoint\x18\x02 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\"\xd7\x02\n#SupervisedTuningDatasetDistribution\x12\x10\n\x03sum\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x10\n\x03min\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12\x11\n\x04mean\x18\x04 \x01(\x01\x42\x03\xe0\x41\x03\x12\x13\n\x06median\x18\x05 \x01(\x01\x42\x03\xe0\x41\x03\x12\x0f\n\x02p5\x18\x06 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03p95\x18\x07 \x01(\x01\x42\x03\xe0\x41\x03\x12\x63\n\x07\x62uckets\x18\x08 \x03(\x0b\x32M.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucketB\x03\xe0\x41\x03\x1aJ\n\rDatasetBucket\x12\x12\n\x05\x63ount\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\x12\x11\n\x04left\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x12\x12\n\x05right\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\"\xd7\x04\n\x19SupervisedTuningDataStats\x12)\n\x1ctuning_dataset_example_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12)\n\x1ctotal_tuning_character_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12+\n\x1etotal_billable_character_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1e\n\x11tuning_step_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12k\n\x1duser_input_token_distribution\x18\x05 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xe0\x41\x03\x12l\n\x1euser_output_token_distribution\x18\x06 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xe0\x41\x03\x12s\n%user_message_per_example_distribution\x18\x07 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xe0\x41\x03\x12G\n\x15user_dataset_examples\x18\x08 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x03\"\x85\x01\n\x0fTuningDataStats\x12]\n\x1csupervised_tuning_data_stats\x18\x01 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.SupervisedTuningDataStatsH\x00\x42\x13\n\x11tuning_data_stats\"\xc7\x02\n\x19SupervisedHyperParameters\x12\x18\n\x0b\x65poch_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12%\n\x18learning_rate_multiplier\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01\x12\\\n\x0c\x61\x64\x61pter_size\x18\x03 \x01(\x0e\x32\x41.google.cloud.aiplatform.v1.SupervisedHyperParameters.AdapterSizeB\x03\xe0\x41\x01\"\x8a\x01\n\x0b\x41\x64\x61pterSize\x12\x1c\n\x18\x41\x44\x41PTER_SIZE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x44\x41PTER_SIZE_ONE\x10\x01\x12\x15\n\x11\x41\x44\x41PTER_SIZE_FOUR\x10\x02\x12\x16\n\x12\x41\x44\x41PTER_SIZE_EIGHT\x10\x03\x12\x18\n\x14\x41\x44\x41PTER_SIZE_SIXTEEN\x10\x04\"\xb4\x01\n\x14SupervisedTuningSpec\x12!\n\x14training_dataset_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12#\n\x16validation_dataset_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x10hyper_parameters\x18\x03 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.SupervisedHyperParametersB\x03\xe0\x41\x01\x42\xcc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0eTuningJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
16
+ descriptor_data = "\n+google/cloud/aiplatform/v1/tuning_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xae\x08\n\tTuningJob\x12\x14\n\nbase_model\x18\x04 \x01(\tH\x00\x12R\n\x16supervised_tuning_spec\x18\x05 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.SupervisedTuningSpecH\x01\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12%\n\x18tuned_model_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\x05state\x18\x06 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x0b \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x0c \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.TuningJob.LabelsEntryB\x03\xe0\x41\x01\x12=\n\nexperiment\x18\r \x01(\tB)\xe0\x41\x03\xfa\x41#\n!aiplatform.googleapis.com/Context\x12@\n\x0btuned_model\x18\x0e \x01(\x0b\x32&.google.cloud.aiplatform.v1.TunedModelB\x03\xe0\x41\x03\x12K\n\x11tuning_data_stats\x18\x0f \x01(\x0b\x32+.google.cloud.aiplatform.v1.TuningDataStatsB\x03\xe0\x41\x03\x12\x43\n\x0f\x65ncryption_spec\x18\x10 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x80\x01\xea\x41}\n#aiplatform.googleapis.com/TuningJob\x12?projects/{project}/locations/{location}/tuningJobs/{tuning_job}*\ntuningJobs2\ttuningJobB\x0e\n\x0csource_modelB\r\n\x0btuning_spec\"\x82\x01\n\nTunedModel\x12\x36\n\x05model\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12<\n\x08\x65ndpoint\x18\x02 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\"\xf2\x02\n#SupervisedTuningDatasetDistribution\x12\x10\n\x03sum\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x62illable_sum\x18\t \x01(\x03\x42\x03\xe0\x41\x03\x12\x10\n\x03min\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12\x11\n\x04mean\x18\x04 \x01(\x01\x42\x03\xe0\x41\x03\x12\x13\n\x06median\x18\x05 \x01(\x01\x42\x03\xe0\x41\x03\x12\x0f\n\x02p5\x18\x06 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03p95\x18\x07 \x01(\x01\x42\x03\xe0\x41\x03\x12\x63\n\x07\x62uckets\x18\x08 \x03(\x0b\x32M.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucketB\x03\xe0\x41\x03\x1aJ\n\rDatasetBucket\x12\x12\n\x05\x63ount\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\x12\x11\n\x04left\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x12\x12\n\x05right\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\"\x82\x05\n\x19SupervisedTuningDataStats\x12)\n\x1ctuning_dataset_example_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12)\n\x1ctotal_tuning_character_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12-\n\x1etotal_billable_character_count\x18\x03 \x01(\x03\x42\x05\x18\x01\xe0\x41\x03\x12\'\n\x1atotal_billable_token_count\x18\t \x01(\x03\x42\x03\xe0\x41\x03\x12\x1e\n\x11tuning_step_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12k\n\x1duser_input_token_distribution\x18\x05 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xe0\x41\x03\x12l\n\x1euser_output_token_distribution\x18\x06 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xe0\x41\x03\x12s\n%user_message_per_example_distribution\x18\x07 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xe0\x41\x03\x12G\n\x15user_dataset_examples\x18\x08 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x03\"\x85\x01\n\x0fTuningDataStats\x12]\n\x1csupervised_tuning_data_stats\x18\x01 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.SupervisedTuningDataStatsH\x00\x42\x13\n\x11tuning_data_stats\"\xc7\x02\n\x19SupervisedHyperParameters\x12\x18\n\x0b\x65poch_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12%\n\x18learning_rate_multiplier\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01\x12\\\n\x0c\x61\x64\x61pter_size\x18\x03 \x01(\x0e\x32\x41.google.cloud.aiplatform.v1.SupervisedHyperParameters.AdapterSizeB\x03\xe0\x41\x01\"\x8a\x01\n\x0b\x41\x64\x61pterSize\x12\x1c\n\x18\x41\x44\x41PTER_SIZE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x44\x41PTER_SIZE_ONE\x10\x01\x12\x15\n\x11\x41\x44\x41PTER_SIZE_FOUR\x10\x02\x12\x16\n\x12\x41\x44\x41PTER_SIZE_EIGHT\x10\x03\x12\x18\n\x14\x41\x44\x41PTER_SIZE_SIXTEEN\x10\x04\"\xb4\x01\n\x14SupervisedTuningSpec\x12!\n\x14training_dataset_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12#\n\x16validation_dataset_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x10hyper_parameters\x18\x03 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.SupervisedHyperParametersB\x03\xe0\x41\x01\x42\xcc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0eTuningJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -290,6 +290,13 @@ module Google
290
290
  # @return [::String]
291
291
  # The fully qualified name of the method, for which the options below apply.
292
292
  # This is used to find the method to apply the options.
293
+ #
294
+ # Example:
295
+ #
296
+ # publishing:
297
+ # method_settings:
298
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
299
+ # # method settings for CreateFolder...
293
300
  # @!attribute [rw] long_running
294
301
  # @return [::Google::Api::MethodSettings::LongRunning]
295
302
  # Describes settings to use for long-running operations when generating
@@ -298,17 +305,14 @@ module Google
298
305
  #
299
306
  # Example of a YAML configuration::
300
307
  #
301
- # publishing:
302
- # method_settings:
308
+ # publishing:
309
+ # method_settings:
303
310
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
304
311
  # long_running:
305
- # initial_poll_delay:
306
- # seconds: 60 # 1 minute
312
+ # initial_poll_delay: 60s # 1 minute
307
313
  # poll_delay_multiplier: 1.5
308
- # max_poll_delay:
309
- # seconds: 360 # 6 minutes
310
- # total_poll_timeout:
311
- # seconds: 54000 # 90 minutes
314
+ # max_poll_delay: 360s # 6 minutes
315
+ # total_poll_timeout: 54000s # 90 minutes
312
316
  # @!attribute [rw] auto_populated_fields
313
317
  # @return [::Array<::String>]
314
318
  # List of top-level fields of the request message, that should be
@@ -317,8 +321,8 @@ module Google
317
321
  #
318
322
  # Example of a YAML configuration:
319
323
  #
320
- # publishing:
321
- # method_settings:
324
+ # publishing:
325
+ # method_settings:
322
326
  # - selector: google.example.v1.ExampleService.CreateExample
323
327
  # auto_populated_fields:
324
328
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
@@ -311,6 +311,9 @@ module Google
311
311
  # @!attribute [r] content
312
312
  # @return [::Google::Cloud::AIPlatform::V1::Content]
313
313
  # Output only. Content parts of the candidate.
314
+ # @!attribute [r] score
315
+ # @return [::Float]
316
+ # Output only. Confidence score of the candidate.
314
317
  # @!attribute [r] finish_reason
315
318
  # @return [::Google::Cloud::AIPlatform::V1::Candidate::FinishReason]
316
319
  # Output only. The reason why the model stopped generating tokens.
@@ -375,6 +378,82 @@ module Google
375
378
  end
376
379
  end
377
380
 
381
+ # Segment of the content.
382
+ # @!attribute [r] part_index
383
+ # @return [::Integer]
384
+ # Output only. The index of a Part object within its parent Content object.
385
+ # @!attribute [r] start_index
386
+ # @return [::Integer]
387
+ # Output only. Start index in the given Part, measured in bytes. Offset from
388
+ # the start of the Part, inclusive, starting at zero.
389
+ # @!attribute [r] end_index
390
+ # @return [::Integer]
391
+ # Output only. End index in the given Part, measured in bytes. Offset from
392
+ # the start of the Part, exclusive, starting at zero.
393
+ # @!attribute [r] text
394
+ # @return [::String]
395
+ # Output only. The text corresponding to the segment from the response.
396
+ class Segment
397
+ include ::Google::Protobuf::MessageExts
398
+ extend ::Google::Protobuf::MessageExts::ClassMethods
399
+ end
400
+
401
+ # Grounding chunk.
402
+ # @!attribute [rw] web
403
+ # @return [::Google::Cloud::AIPlatform::V1::GroundingChunk::Web]
404
+ # Grounding chunk from the web.
405
+ # @!attribute [rw] retrieved_context
406
+ # @return [::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext]
407
+ # Grounding chunk from context retrieved by the retrieval tools.
408
+ class GroundingChunk
409
+ include ::Google::Protobuf::MessageExts
410
+ extend ::Google::Protobuf::MessageExts::ClassMethods
411
+
412
+ # Chunk from the web.
413
+ # @!attribute [rw] uri
414
+ # @return [::String]
415
+ # URI reference of the chunk.
416
+ # @!attribute [rw] title
417
+ # @return [::String]
418
+ # Title of the chunk.
419
+ class Web
420
+ include ::Google::Protobuf::MessageExts
421
+ extend ::Google::Protobuf::MessageExts::ClassMethods
422
+ end
423
+
424
+ # Chunk from context retrieved by the retrieval tools.
425
+ # @!attribute [rw] uri
426
+ # @return [::String]
427
+ # URI reference of the attribution.
428
+ # @!attribute [rw] title
429
+ # @return [::String]
430
+ # Title of the attribution.
431
+ class RetrievedContext
432
+ include ::Google::Protobuf::MessageExts
433
+ extend ::Google::Protobuf::MessageExts::ClassMethods
434
+ end
435
+ end
436
+
437
+ # Grounding support.
438
+ # @!attribute [rw] segment
439
+ # @return [::Google::Cloud::AIPlatform::V1::Segment]
440
+ # Segment of the content this support belongs to.
441
+ # @!attribute [rw] grounding_chunk_indices
442
+ # @return [::Array<::Integer>]
443
+ # A list of indices (into 'grounding_chunk') specifying the
444
+ # citations associated with the claim. For instance [1,3,4] means
445
+ # that grounding_chunk[1], grounding_chunk[3],
446
+ # grounding_chunk[4] are the retrieved content attributed to the claim.
447
+ # @!attribute [rw] confidence_scores
448
+ # @return [::Array<::Float>]
449
+ # Confidence score of the support references. Ranges from 0 to 1. 1 is the
450
+ # most confident. This list must have the same size as the
451
+ # grounding_chunk_indices.
452
+ class GroundingSupport
453
+ include ::Google::Protobuf::MessageExts
454
+ extend ::Google::Protobuf::MessageExts::ClassMethods
455
+ end
456
+
378
457
  # Metadata returned to client when grounding is enabled.
379
458
  # @!attribute [rw] web_search_queries
380
459
  # @return [::Array<::String>]
@@ -382,6 +461,12 @@ module Google
382
461
  # @!attribute [rw] search_entry_point
383
462
  # @return [::Google::Cloud::AIPlatform::V1::SearchEntryPoint]
384
463
  # Optional. Google search entry for the following-up web searches.
464
+ # @!attribute [rw] grounding_chunks
465
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::GroundingChunk>]
466
+ # List of supporting references retrieved from specified grounding source.
467
+ # @!attribute [rw] grounding_supports
468
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::GroundingSupport>]
469
+ # Optional. List of grounding support.
385
470
  class GroundingMetadata
386
471
  include ::Google::Protobuf::MessageExts
387
472
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -331,6 +331,9 @@ module Google
331
331
  # Restarts the entire CustomJob if a worker gets restarted.
332
332
  # This feature can be used by distributed training jobs that are not
333
333
  # resilient to workers leaving and joining a job.
334
+ # @!attribute [rw] strategy
335
+ # @return [::Google::Cloud::AIPlatform::V1::Scheduling::Strategy]
336
+ # Optional. This determines which type of scheduling strategy to use.
334
337
  # @!attribute [rw] disable_retries
335
338
  # @return [::Boolean]
336
339
  # Optional. Indicates if the job should retry for internal errors after the
@@ -339,6 +342,22 @@ module Google
339
342
  class Scheduling
340
343
  include ::Google::Protobuf::MessageExts
341
344
  extend ::Google::Protobuf::MessageExts::ClassMethods
345
+
346
+ # Optional. This determines which type of scheduling strategy to use. Right
347
+ # now users have two options such as ON_DEMAND which will use regular on
348
+ # demand resources to schedule the job, the other is LOW_COST which would
349
+ # leverage spot resources alongwith regular resources to schedule
350
+ # the job.
351
+ module Strategy
352
+ # Strategy will default to ON_DEMAND.
353
+ STRATEGY_UNSPECIFIED = 0
354
+
355
+ # Regular on-demand provisioning strategy.
356
+ ON_DEMAND = 1
357
+
358
+ # Low cost by making potential use of spot resources.
359
+ LOW_COST = 2
360
+ end
342
361
  end
343
362
  end
344
363
  end
@@ -24,7 +24,7 @@ module Google
24
24
  # A collection of DataItems and Annotations on them.
25
25
  # @!attribute [r] name
26
26
  # @return [::String]
27
- # Output only. The resource name of the Dataset.
27
+ # Output only. Identifier. The resource name of the Dataset.
28
28
  # @!attribute [rw] display_name
29
29
  # @return [::String]
30
30
  # Required. The user-defined name of the Dataset.
@@ -24,7 +24,7 @@ module Google
24
24
  # Describes the dataset version.
25
25
  # @!attribute [r] name
26
26
  # @return [::String]
27
- # Output only. The resource name of the DatasetVersion.
27
+ # Output only. Identifier. The resource name of the DatasetVersion.
28
28
  # @!attribute [r] create_time
29
29
  # @return [::Google::Protobuf::Timestamp]
30
30
  # Output only. Timestamp when this DatasetVersion was created.
@@ -120,6 +120,27 @@ module Google
120
120
  # @!attribute [rw] predict_request_response_logging_config
121
121
  # @return [::Google::Cloud::AIPlatform::V1::PredictRequestResponseLoggingConfig]
122
122
  # Configures the request-response logging for online prediction.
123
+ # @!attribute [rw] dedicated_endpoint_enabled
124
+ # @return [::Boolean]
125
+ # If true, the endpoint will be exposed through a dedicated
126
+ # DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS
127
+ # will be isolated from other users' traffic and will have better performance
128
+ # and reliability.
129
+ # Note: Once you enabled dedicated endpoint, you won't be able to send
130
+ # request to the shared DNS \\{region}-aiplatform.googleapis.com. The
131
+ # limitation will be removed soon.
132
+ # @!attribute [r] dedicated_endpoint_dns
133
+ # @return [::String]
134
+ # Output only. DNS of the dedicated endpoint. Will only be populated if
135
+ # dedicated_endpoint_enabled is true.
136
+ # Format:
137
+ # `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`.
138
+ # @!attribute [r] satisfies_pzs
139
+ # @return [::Boolean]
140
+ # Output only. Reserved for future use.
141
+ # @!attribute [r] satisfies_pzi
142
+ # @return [::Boolean]
143
+ # Output only. Reserved for future use.
123
144
  class Endpoint
124
145
  include ::Google::Protobuf::MessageExts
125
146
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -144,10 +144,11 @@ module Google
144
144
  #
145
145
  # Updatable fields:
146
146
  #
147
- # * `big_query_source`
148
- # * `bigtable`
149
147
  # * `labels`
150
- # * `sync_config`
148
+ # * `description`
149
+ # * `bigtable`
150
+ # * `bigtable.auto_scaling`
151
+ # * `bigtable.enable_multi_region_replica`
151
152
  class UpdateFeatureOnlineStoreRequest
152
153
  include ::Google::Protobuf::MessageExts
153
154
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -305,7 +306,14 @@ module Google
305
306
  # Updatable fields:
306
307
  #
307
308
  # * `labels`
308
- # * `serviceAgentType`
309
+ # * `service_agent_type`
310
+ # * `big_query_source`
311
+ # * `big_query_source.uri`
312
+ # * `big_query_source.entity_id_columns`
313
+ # * `feature_registry_source`
314
+ # * `feature_registry_source.feature_groups`
315
+ # * `sync_config`
316
+ # * `sync_config.cron`
309
317
  class UpdateFeatureViewRequest
310
318
  include ::Google::Protobuf::MessageExts
311
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -120,6 +120,9 @@ module Google
120
120
  # @!attribute [rw] string_filters
121
121
  # @return [::Array<::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::StringFilter>]
122
122
  # Optional. The list of string filters.
123
+ # @!attribute [rw] numeric_filters
124
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter>]
125
+ # Optional. The list of numeric filters.
123
126
  # @!attribute [rw] per_crowding_attribute_neighbor_count
124
127
  # @return [::Integer]
125
128
  # Optional. Crowding is a constraint on a neighbor list produced by nearest
@@ -164,6 +167,60 @@ module Google
164
167
  extend ::Google::Protobuf::MessageExts::ClassMethods
165
168
  end
166
169
 
170
+ # Numeric filter is used to search a subset of the entities by using boolean
171
+ # rules on numeric columns.
172
+ # For example:
173
+ # Database Point 0: \\{name: “a” value_int: 42} \\{name: “b” value_float: 1.0}
174
+ # Database Point 1: \\{name: “a” value_int: 10} \\{name: “b” value_float: 2.0}
175
+ # Database Point 2: \\{name: “a” value_int: -1} \\{name: “b” value_float: 3.0}
176
+ # Query: \\{name: “a” value_int: 12 operator: LESS} // Matches Point 1, 2
177
+ # \\{name: “b” value_float: 2.0 operator: EQUAL} // Matches Point 1
178
+ # @!attribute [rw] value_int
179
+ # @return [::Integer]
180
+ # int value type.
181
+ # @!attribute [rw] value_float
182
+ # @return [::Float]
183
+ # float value type.
184
+ # @!attribute [rw] value_double
185
+ # @return [::Float]
186
+ # double value type.
187
+ # @!attribute [rw] name
188
+ # @return [::String]
189
+ # Required. Column name in BigQuery that used as filters.
190
+ # @!attribute [rw] op
191
+ # @return [::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter::Operator]
192
+ # Optional. This MUST be specified for queries and must NOT be specified
193
+ # for database points.
194
+ class NumericFilter
195
+ include ::Google::Protobuf::MessageExts
196
+ extend ::Google::Protobuf::MessageExts::ClassMethods
197
+
198
+ # Datapoints for which Operator is true relative to the query’s Value
199
+ # field will be allowlisted.
200
+ module Operator
201
+ # Unspecified operator.
202
+ OPERATOR_UNSPECIFIED = 0
203
+
204
+ # Entities are eligible if their value is < the query's.
205
+ LESS = 1
206
+
207
+ # Entities are eligible if their value is <= the query's.
208
+ LESS_EQUAL = 2
209
+
210
+ # Entities are eligible if their value is == the query's.
211
+ EQUAL = 3
212
+
213
+ # Entities are eligible if their value is >= the query's.
214
+ GREATER_EQUAL = 4
215
+
216
+ # Entities are eligible if their value is > the query's.
217
+ GREATER = 5
218
+
219
+ # Entities are eligible if their value is != the query's.
220
+ NOT_EQUAL = 6
221
+ end
222
+ end
223
+
167
224
  # Parameters that can be overrided in each query to tune query latency and
168
225
  # recall.
169
226
  # @!attribute [rw] approximate_neighbor_candidates
@@ -145,6 +145,9 @@ module Google
145
145
  # Updatable fields:
146
146
  #
147
147
  # * `labels`
148
+ # * `description`
149
+ # * `big_query`
150
+ # * `big_query.entity_id_columns`
148
151
  class UpdateFeatureGroupRequest
149
152
  include ::Google::Protobuf::MessageExts
150
153
  extend ::Google::Protobuf::MessageExts::ClassMethods