google-cloud-ai_platform-v1 1.14.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +137 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/operations.rb +821 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +36 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +130 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/operations.rb +4398 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +198 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/paths.rb +17 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +184 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/service_stub.rb +123 -0
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +14 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_pb.rb +8 -1
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_services_pb.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +96 -7
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +31 -6
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +153 -0
- data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +76 -5
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +35 -0
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +73 -0
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data_service.rb +35 -0
- metadata +3 -1
@@ -7,11 +7,12 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
require 'google/cloud/aiplatform/v1/api_auth_pb'
|
10
|
+
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
10
11
|
require 'google/cloud/aiplatform/v1/io_pb'
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
12
13
|
|
13
14
|
|
14
|
-
descriptor_data = "\n0google/cloud/aiplatform/v1/vertex_rag_data.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/aiplatform/v1/api_auth.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x02\n\x17RagEmbeddingModelConfig\x12r\n\x1avertex_prediction_endpoint\x18\x01 \x01(\x0b\x32L.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpointH\x00\x1a\xaf\x01\n\x18VertexPredictionEndpoint\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x36\n\x05model\x18\x02 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x0e\n\x0cmodel_config\"\x94\x06\n\x11RagVectorDbConfig\x12T\n\x0erag_managed_db\x18\x01 \x01(\x0b\x32:.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDbH\x00\x12J\n\x08pinecone\x18\x03 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.RagVectorDbConfig.PineconeH\x00\x12`\n\x14vertex_vector_search\x18\x06 \x01(\x0b\x32@.google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearchH\x00\x12\x35\n\x08\x61pi_auth\x18\x05 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ApiAuth\x12_\n\x1arag_embedding_model_config\x18\x07 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.RagEmbeddingModelConfigB\x06\xe0\x41\x01\xe0\x41\x05\x1a\xf8\x01\n\x0cRagManagedDb\x12M\n\x03knn\x18\x01 \x01(\x0b\x32>.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb.KNNH\x00\x12M\n\x03\x61nn\x18\x02 \x01(\x0b\x32>.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb.ANNH\x00\x1a\x05\n\x03KNN\x1a-\n\x03\x41NN\x12\x12\n\ntree_depth\x18\x01 \x01(\x05\x12\x12\n\nleaf_count\x18\x02 \x01(\x05\x42\x14\n\x12retrieval_strategy\x1a\x1e\n\x08Pinecone\x12\x12\n\nindex_name\x18\x01 \x01(\t\x1a;\n\x12VertexVectorSearch\x12\x16\n\x0eindex_endpoint\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\tB\x0b\n\tvector_db\"\xa0\x01\n\nFileStatus\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.aiplatform.v1.FileStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"5\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\".\n\x14VertexAiSearchConfig\x12\x16\n\x0eserving_config\x18\x01 \x01(\t\"\xab\x01\n\x0c\x43orpusStatus\x12\x42\n\x05state\x18\x01 \x01(\x0e\x32..google.cloud.aiplatform.v1.CorpusStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"<\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0f\n\x0bINITIALIZED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\
|
15
|
+
descriptor_data = "\n0google/cloud/aiplatform/v1/vertex_rag_data.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/aiplatform/v1/api_auth.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x02\n\x17RagEmbeddingModelConfig\x12r\n\x1avertex_prediction_endpoint\x18\x01 \x01(\x0b\x32L.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpointH\x00\x1a\xaf\x01\n\x18VertexPredictionEndpoint\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x36\n\x05model\x18\x02 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x0e\n\x0cmodel_config\"\x94\x06\n\x11RagVectorDbConfig\x12T\n\x0erag_managed_db\x18\x01 \x01(\x0b\x32:.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDbH\x00\x12J\n\x08pinecone\x18\x03 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.RagVectorDbConfig.PineconeH\x00\x12`\n\x14vertex_vector_search\x18\x06 \x01(\x0b\x32@.google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearchH\x00\x12\x35\n\x08\x61pi_auth\x18\x05 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ApiAuth\x12_\n\x1arag_embedding_model_config\x18\x07 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.RagEmbeddingModelConfigB\x06\xe0\x41\x01\xe0\x41\x05\x1a\xf8\x01\n\x0cRagManagedDb\x12M\n\x03knn\x18\x01 \x01(\x0b\x32>.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb.KNNH\x00\x12M\n\x03\x61nn\x18\x02 \x01(\x0b\x32>.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb.ANNH\x00\x1a\x05\n\x03KNN\x1a-\n\x03\x41NN\x12\x12\n\ntree_depth\x18\x01 \x01(\x05\x12\x12\n\nleaf_count\x18\x02 \x01(\x05\x42\x14\n\x12retrieval_strategy\x1a\x1e\n\x08Pinecone\x12\x12\n\nindex_name\x18\x01 \x01(\t\x1a;\n\x12VertexVectorSearch\x12\x16\n\x0eindex_endpoint\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\tB\x0b\n\tvector_db\"\xa0\x01\n\nFileStatus\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.aiplatform.v1.FileStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"5\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\".\n\x14VertexAiSearchConfig\x12\x16\n\x0eserving_config\x18\x01 \x01(\t\"\xab\x01\n\x0c\x43orpusStatus\x12\x42\n\x05state\x18\x01 \x01(\x0e\x32..google.cloud.aiplatform.v1.CorpusStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"<\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0f\n\x0bINITIALIZED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\x97\x05\n\tRagCorpus\x12Q\n\x10vector_db_config\x18\t \x01(\x0b\x32-.google.cloud.aiplatform.v1.RagVectorDbConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12[\n\x17vertex_ai_search_config\x18\n \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.VertexAiSearchConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\rcorpus_status\x18\x08 \x01(\x0b\x32(.google.cloud.aiplatform.v1.CorpusStatusB\x03\xe0\x41\x03\x12K\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x06\xe0\x41\x05\xe0\x41\x01:\x80\x01\xea\x41}\n#aiplatform.googleapis.com/RagCorpus\x12?projects/{project}/locations/{location}/ragCorpora/{rag_corpus}*\nragCorpora2\tragCorpusB\x10\n\x0e\x62\x61\x63kend_config\"\xdc\x06\n\x07RagFile\x12@\n\ngcs_source\x18\x08 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceB\x03\xe0\x41\x03H\x00\x12Q\n\x13google_drive_source\x18\t \x01(\x0b\x32-.google.cloud.aiplatform.v1.GoogleDriveSourceB\x03\xe0\x41\x03H\x00\x12S\n\x14\x64irect_upload_source\x18\n \x01(\x0b\x32..google.cloud.aiplatform.v1.DirectUploadSourceB\x03\xe0\x41\x03H\x00\x12?\n\x0cslack_source\x18\x0b \x01(\x0b\x32\'.google.cloud.aiplatform.v1.SlackSourceH\x00\x12=\n\x0bjira_source\x18\x0c \x01(\x0b\x32&.google.cloud.aiplatform.v1.JiraSourceH\x00\x12L\n\x13share_point_sources\x18\x0e \x01(\x0b\x32-.google.cloud.aiplatform.v1.SharePointSourcesH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x0b\x66ile_status\x18\r \x01(\x0b\x32&.google.cloud.aiplatform.v1.FileStatusB\x03\xe0\x41\x03:\x8f\x01\xea\x41\x8b\x01\n!aiplatform.googleapis.com/RagFile\x12Sprojects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}*\x08ragFiles2\x07ragFileB\x11\n\x0frag_file_source\"\xa0\x01\n\x08RagChunk\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x45\n\tpage_span\x18\x02 \x01(\x0b\x32-.google.cloud.aiplatform.v1.RagChunk.PageSpanH\x00\x88\x01\x01\x1a\x31\n\x08PageSpan\x12\x12\n\nfirst_page\x18\x01 \x01(\x05\x12\x11\n\tlast_page\x18\x02 \x01(\x05\x42\x0c\n\n_page_span\"\xd4\x01\n\x15RagFileChunkingConfig\x12\x66\n\x15\x66ixed_length_chunking\x18\x03 \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunkingH\x00\x1a@\n\x13\x46ixedLengthChunking\x12\x12\n\nchunk_size\x18\x01 \x01(\x05\x12\x15\n\rchunk_overlap\x18\x02 \x01(\x05\x42\x11\n\x0f\x63hunking_config\"r\n\x1bRagFileTransformationConfig\x12S\n\x18rag_file_chunking_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.RagFileChunkingConfig\"\xfe\x02\n\x14RagFileParsingConfig\x12V\n\rlayout_parser\x18\x04 \x01(\x0b\x32=.google.cloud.aiplatform.v1.RagFileParsingConfig.LayoutParserH\x00\x12P\n\nllm_parser\x18\x05 \x01(\x0b\x32:.google.cloud.aiplatform.v1.RagFileParsingConfig.LlmParserH\x00\x1aL\n\x0cLayoutParser\x12\x16\n\x0eprocessor_name\x18\x01 \x01(\t\x12$\n\x1cmax_parsing_requests_per_min\x18\x02 \x01(\x05\x1a\x64\n\tLlmParser\x12\x12\n\nmodel_name\x18\x01 \x01(\t\x12$\n\x1cmax_parsing_requests_per_min\x18\x02 \x01(\x05\x12\x1d\n\x15\x63ustom_parsing_prompt\x18\x03 \x01(\tB\x08\n\x06parser\"v\n\x13UploadRagFileConfig\x12_\n\x1erag_file_transformation_config\x18\x03 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.RagFileTransformationConfig\"\x87\x08\n\x14ImportRagFilesConfig\x12;\n\ngcs_source\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12L\n\x13google_drive_source\x18\x03 \x01(\x0b\x32-.google.cloud.aiplatform.v1.GoogleDriveSourceH\x00\x12?\n\x0cslack_source\x18\x06 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.SlackSourceH\x00\x12=\n\x0bjira_source\x18\x07 \x01(\x0b\x32&.google.cloud.aiplatform.v1.JiraSourceH\x00\x12L\n\x13share_point_sources\x18\r \x01(\x0b\x32-.google.cloud.aiplatform.v1.SharePointSourcesH\x00\x12R\n\x18partial_failure_gcs_sink\x18\x0b \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationB\x02\x18\x01H\x01\x12\\\n\x1dpartial_failure_bigquery_sink\x18\x0c \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationB\x02\x18\x01H\x01\x12L\n\x16import_result_gcs_sink\x18\x0e \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x02\x12V\n\x1bimport_result_bigquery_sink\x18\x0f \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x02\x12_\n\x1erag_file_transformation_config\x18\x10 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.RagFileTransformationConfig\x12V\n\x17rag_file_parsing_config\x18\x08 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.RagFileParsingConfigB\x03\xe0\x41\x01\x12+\n\x1emax_embedding_requests_per_min\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x19\n\x11rebuild_ann_index\x18\x13 \x01(\x08\x42\x0f\n\rimport_sourceB\x16\n\x14partial_failure_sinkB\x14\n\x12import_result_sink\"\xa7\x02\n\x12RagManagedDbConfig\x12G\n\x06scaled\x18\x04 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.RagManagedDbConfig.ScaledH\x00\x12\x45\n\x05\x62\x61sic\x18\x02 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.RagManagedDbConfig.BasicH\x00\x12U\n\runprovisioned\x18\x03 \x01(\x0b\x32<.google.cloud.aiplatform.v1.RagManagedDbConfig.UnprovisionedH\x00\x1a\x08\n\x06Scaled\x1a\x07\n\x05\x42\x61sic\x1a\x0f\n\rUnprovisionedB\x06\n\x04tier\"\x81\x02\n\x0fRagEngineConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12M\n\x15rag_managed_db_config\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.RagManagedDbConfig:\x8b\x01\xea\x41\x87\x01\n)aiplatform.googleapis.com/RagEngineConfig\x12\x37projects/{project}/locations/{location}/ragEngineConfig*\x10ragEngineConfigs2\x0fragEngineConfigB\xd0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x12VertexRagDataProtoP\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
16
|
|
16
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
18
|
|
@@ -28,6 +29,7 @@ rescue TypeError
|
|
28
29
|
imports = [
|
29
30
|
["google.cloud.aiplatform.v1.ApiAuth", "google/cloud/aiplatform/v1/api_auth.proto"],
|
30
31
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
32
|
+
["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
|
31
33
|
["google.cloud.aiplatform.v1.GcsSource", "google/cloud/aiplatform/v1/io.proto"],
|
32
34
|
]
|
33
35
|
imports.each do |type_name, expected_filename|
|
@@ -69,6 +71,11 @@ module Google
|
|
69
71
|
RagFileParsingConfig::LlmParser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagFileParsingConfig.LlmParser").msgclass
|
70
72
|
UploadRagFileConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UploadRagFileConfig").msgclass
|
71
73
|
ImportRagFilesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportRagFilesConfig").msgclass
|
74
|
+
RagManagedDbConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagManagedDbConfig").msgclass
|
75
|
+
RagManagedDbConfig::Scaled = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagManagedDbConfig.Scaled").msgclass
|
76
|
+
RagManagedDbConfig::Basic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagManagedDbConfig.Basic").msgclass
|
77
|
+
RagManagedDbConfig::Unprovisioned = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagManagedDbConfig.Unprovisioned").msgclass
|
78
|
+
RagEngineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagEngineConfig").msgclass
|
72
79
|
end
|
73
80
|
end
|
74
81
|
end
|
@@ -15,7 +15,7 @@ require 'google/protobuf/empty_pb'
|
|
15
15
|
require 'google/rpc/status_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n8google/cloud/aiplatform/v1/vertex_rag_data_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*google/cloud/aiplatform/v1/operation.proto\x1a\x30google/cloud/aiplatform/v1/vertex_rag_data.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\x93\x01\n\x16\x43reateRagCorpusRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12>\n\nrag_corpus\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RagCorpusB\x03\xe0\x41\x02\"P\n\x13GetRagCorpusRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\"\x83\x01\n\x15ListRagCorporaRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x16ListRagCorporaResponse\x12:\n\x0brag_corpora\x18\x01 \x03(\x0b\x32%.google.cloud.aiplatform.v1.RagCorpus\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x16\x44\x65leteRagCorpusRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xe5\x01\n\x14UploadRagFileRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12:\n\x08rag_file\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.RagFileB\x03\xe0\x41\x02\x12T\n\x16upload_rag_file_config\x18\x05 \x01(\x0b\x32/.google.cloud.aiplatform.v1.UploadRagFileConfigB\x03\xe0\x41\x02\"\x7f\n\x15UploadRagFileResponse\x12\x37\n\x08rag_file\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.RagFileH\x00\x12#\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\x08\n\x06result\"\xac\x01\n\x15ImportRagFilesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12V\n\x17import_rag_files_config\x18\x02 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.ImportRagFilesConfigB\x03\xe0\x41\x02\"\xe3\x01\n\x16ImportRagFilesResponse\x12#\n\x19partial_failures_gcs_path\x18\x04 \x01(\tH\x00\x12)\n\x1fpartial_failures_bigquery_table\x18\x05 \x01(\tH\x00\x12 \n\x18imported_rag_files_count\x18\x01 \x01(\x03\x12\x1e\n\x16\x66\x61iled_rag_files_count\x18\x02 \x01(\x03\x12\x1f\n\x17skipped_rag_files_count\x18\x03 \x01(\x03\x42\x16\n\x14partial_failure_sink\"L\n\x11GetRagFileRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/RagFile\"\x83\x01\n\x13ListRagFilesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x14ListRagFilesResponse\x12\x36\n\trag_files\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.RagFile\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteRagFileRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/RagFile\"r\n CreateRagCorpusOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"X\n\x16UpdateRagCorpusRequest\x12>\n\nrag_corpus\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RagCorpusB\x03\xe0\x41\x02\"r\n UpdateRagCorpusOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xfd\x01\n\x1fImportRagFilesOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x15\n\rrag_corpus_id\x18\x02 \x01(\x03\x12V\n\x17import_rag_files_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.ImportRagFilesConfigB\x03\xe0\x41\x03\x12\x1b\n\x13progress_percentage\x18\x04 \x01(\x05\x32\
|
18
|
+
descriptor_data = "\n8google/cloud/aiplatform/v1/vertex_rag_data_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*google/cloud/aiplatform/v1/operation.proto\x1a\x30google/cloud/aiplatform/v1/vertex_rag_data.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\x93\x01\n\x16\x43reateRagCorpusRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12>\n\nrag_corpus\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RagCorpusB\x03\xe0\x41\x02\"P\n\x13GetRagCorpusRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\"\x83\x01\n\x15ListRagCorporaRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x16ListRagCorporaResponse\x12:\n\x0brag_corpora\x18\x01 \x03(\x0b\x32%.google.cloud.aiplatform.v1.RagCorpus\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x16\x44\x65leteRagCorpusRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xe5\x01\n\x14UploadRagFileRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12:\n\x08rag_file\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.RagFileB\x03\xe0\x41\x02\x12T\n\x16upload_rag_file_config\x18\x05 \x01(\x0b\x32/.google.cloud.aiplatform.v1.UploadRagFileConfigB\x03\xe0\x41\x02\"\x7f\n\x15UploadRagFileResponse\x12\x37\n\x08rag_file\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.RagFileH\x00\x12#\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\x08\n\x06result\"\xac\x01\n\x15ImportRagFilesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12V\n\x17import_rag_files_config\x18\x02 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.ImportRagFilesConfigB\x03\xe0\x41\x02\"\xe3\x01\n\x16ImportRagFilesResponse\x12#\n\x19partial_failures_gcs_path\x18\x04 \x01(\tH\x00\x12)\n\x1fpartial_failures_bigquery_table\x18\x05 \x01(\tH\x00\x12 \n\x18imported_rag_files_count\x18\x01 \x01(\x03\x12\x1e\n\x16\x66\x61iled_rag_files_count\x18\x02 \x01(\x03\x12\x1f\n\x17skipped_rag_files_count\x18\x03 \x01(\x03\x42\x16\n\x14partial_failure_sink\"L\n\x11GetRagFileRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/RagFile\"\x83\x01\n\x13ListRagFilesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x14ListRagFilesResponse\x12\x36\n\trag_files\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.RagFile\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteRagFileRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/RagFile\"r\n CreateRagCorpusOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\\\n\x19GetRagEngineConfigRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/RagEngineConfig\"X\n\x16UpdateRagCorpusRequest\x12>\n\nrag_corpus\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RagCorpusB\x03\xe0\x41\x02\"r\n UpdateRagCorpusOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xfd\x01\n\x1fImportRagFilesOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x15\n\rrag_corpus_id\x18\x02 \x01(\x03\x12V\n\x17import_rag_files_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.ImportRagFilesConfigB\x03\xe0\x41\x03\x12\x1b\n\x13progress_percentage\x18\x04 \x01(\x05\"k\n\x1cUpdateRagEngineConfigRequest\x12K\n\x11rag_engine_config\x18\x01 \x01(\x0b\x32+.google.cloud.aiplatform.v1.RagEngineConfigB\x03\xe0\x41\x02\"x\n&UpdateRagEngineConfigOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata2\xb0\x15\n\x14VertexRagDataService\x12\xed\x01\n\x0f\x43reateRagCorpus\x12\x32.google.cloud.aiplatform.v1.CreateRagCorpusRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41-\n\tRagCorpus\x12 CreateRagCorpusOperationMetadata\xda\x41\x11parent,rag_corpus\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/ragCorpora:\nrag_corpus\x12\xf1\x01\n\x0fUpdateRagCorpus\x12\x32.google.cloud.aiplatform.v1.UpdateRagCorpusRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41-\n\tRagCorpus\x12 UpdateRagCorpusOperationMetadata\xda\x41\nrag_corpus\x82\xd3\xe4\x93\x02G29/v1/{rag_corpus.name=projects/*/locations/*/ragCorpora/*}:\nrag_corpus\x12\xa5\x01\n\x0cGetRagCorpus\x12/.google.cloud.aiplatform.v1.GetRagCorpusRequest\x1a%.google.cloud.aiplatform.v1.RagCorpus\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/ragCorpora/*}\x12\xb8\x01\n\x0eListRagCorpora\x12\x31.google.cloud.aiplatform.v1.ListRagCorporaRequest\x1a\x32.google.cloud.aiplatform.v1.ListRagCorporaResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/ragCorpora\x12\xd6\x01\n\x0f\x44\x65leteRagCorpus\x12\x32.google.cloud.aiplatform.v1.DeleteRagCorpusRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/ragCorpora/*}\x12\xea\x01\n\rUploadRagFile\x12\x30.google.cloud.aiplatform.v1.UploadRagFileRequest\x1a\x31.google.cloud.aiplatform.v1.UploadRagFileResponse\"t\xda\x41&parent,rag_file,upload_rag_file_config\x82\xd3\xe4\x93\x02\x45\"@/v1/{parent=projects/*/locations/*/ragCorpora/*}/ragFiles:upload:\x01*\x12\x8d\x02\n\x0eImportRagFiles\x12\x31.google.cloud.aiplatform.v1.ImportRagFilesRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x01\xca\x41\x39\n\x16ImportRagFilesResponse\x12\x1fImportRagFilesOperationMetadata\xda\x41\x1eparent,import_rag_files_config\x82\xd3\xe4\x93\x02\x45\"@/v1/{parent=projects/*/locations/*/ragCorpora/*}/ragFiles:import:\x01*\x12\xaa\x01\n\nGetRagFile\x12-.google.cloud.aiplatform.v1.GetRagFileRequest\x1a#.google.cloud.aiplatform.v1.RagFile\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}\x12\xbd\x01\n\x0cListRagFiles\x12/.google.cloud.aiplatform.v1.ListRagFilesRequest\x1a\x30.google.cloud.aiplatform.v1.ListRagFilesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/ragCorpora/*}/ragFiles\x12\xdd\x01\n\rDeleteRagFile\x12\x30.google.cloud.aiplatform.v1.DeleteRagFileRequest\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/*/ragCorpora/*/ragFiles/*}\x12\xa1\x02\n\x15UpdateRagEngineConfig\x12\x38.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\xca\x41\x39\n\x0fRagEngineConfig\x12&UpdateRagEngineConfigOperationMetadata\xda\x41\x11rag_engine_config\x82\xd3\xe4\x93\x02X2C/v1/{rag_engine_config.name=projects/*/locations/*/ragEngineConfig}:\x11rag_engine_config\x12\xba\x01\n\x12GetRagEngineConfig\x12\x35.google.cloud.aiplatform.v1.GetRagEngineConfigRequest\x1a+.google.cloud.aiplatform.v1.RagEngineConfig\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/ragEngineConfig}\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x19VertexRagDataServiceProtoP\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
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -62,9 +62,12 @@ module Google
|
|
62
62
|
ListRagFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListRagFilesResponse").msgclass
|
63
63
|
DeleteRagFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteRagFileRequest").msgclass
|
64
64
|
CreateRagCorpusOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateRagCorpusOperationMetadata").msgclass
|
65
|
+
GetRagEngineConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetRagEngineConfigRequest").msgclass
|
65
66
|
UpdateRagCorpusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateRagCorpusRequest").msgclass
|
66
67
|
UpdateRagCorpusOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata").msgclass
|
67
68
|
ImportRagFilesOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata").msgclass
|
69
|
+
UpdateRagEngineConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest").msgclass
|
70
|
+
UpdateRagEngineConfigOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata").msgclass
|
68
71
|
end
|
69
72
|
end
|
70
73
|
end
|
@@ -53,6 +53,10 @@ module Google
|
|
53
53
|
rpc :ListRagFiles, ::Google::Cloud::AIPlatform::V1::ListRagFilesRequest, ::Google::Cloud::AIPlatform::V1::ListRagFilesResponse
|
54
54
|
# Deletes a RagFile.
|
55
55
|
rpc :DeleteRagFile, ::Google::Cloud::AIPlatform::V1::DeleteRagFileRequest, ::Google::Longrunning::Operation
|
56
|
+
# Updates a RagEngineConfig.
|
57
|
+
rpc :UpdateRagEngineConfig, ::Google::Cloud::AIPlatform::V1::UpdateRagEngineConfigRequest, ::Google::Longrunning::Operation
|
58
|
+
# Gets a RagEngineConfig.
|
59
|
+
rpc :GetRagEngineConfig, ::Google::Cloud::AIPlatform::V1::GetRagEngineConfigRequest, ::Google::Cloud::AIPlatform::V1::RagEngineConfig
|
56
60
|
end
|
57
61
|
|
58
62
|
Stub = Service.rpc_stub_class
|
@@ -52,24 +52,24 @@ module Google
|
|
52
52
|
# @return [::String]
|
53
53
|
# Optional. Text part (can be code).
|
54
54
|
#
|
55
|
-
# Note: The following fields are mutually exclusive: `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
55
|
+
# Note: The following fields are mutually exclusive: `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`, `thought`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
56
|
# @!attribute [rw] inline_data
|
57
57
|
# @return [::Google::Cloud::AIPlatform::V1::Blob]
|
58
58
|
# Optional. Inlined bytes data.
|
59
59
|
#
|
60
|
-
# Note: The following fields are mutually exclusive: `inline_data`, `text`, `file_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
60
|
+
# Note: The following fields are mutually exclusive: `inline_data`, `text`, `file_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`, `thought`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
61
61
|
# @!attribute [rw] file_data
|
62
62
|
# @return [::Google::Cloud::AIPlatform::V1::FileData]
|
63
63
|
# Optional. URI based data.
|
64
64
|
#
|
65
|
-
# Note: The following fields are mutually exclusive: `file_data`, `text`, `inline_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
|
+
# Note: The following fields are mutually exclusive: `file_data`, `text`, `inline_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`, `thought`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
66
66
|
# @!attribute [rw] function_call
|
67
67
|
# @return [::Google::Cloud::AIPlatform::V1::FunctionCall]
|
68
68
|
# Optional. A predicted [FunctionCall] returned from the model that
|
69
69
|
# contains a string representing the [FunctionDeclaration.name] with the
|
70
70
|
# parameters and their values.
|
71
71
|
#
|
72
|
-
# Note: The following fields are mutually exclusive: `function_call`, `text`, `inline_data`, `file_data`, `function_response`, `executable_code`, `code_execution_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
72
|
+
# Note: The following fields are mutually exclusive: `function_call`, `text`, `inline_data`, `file_data`, `function_response`, `executable_code`, `code_execution_result`, `thought`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
73
73
|
# @!attribute [rw] function_response
|
74
74
|
# @return [::Google::Cloud::AIPlatform::V1::FunctionResponse]
|
75
75
|
# Optional. The result output of a [FunctionCall] that contains a string
|
@@ -77,17 +77,28 @@ module Google
|
|
77
77
|
# containing any output from the function call. It is used as context to
|
78
78
|
# the model.
|
79
79
|
#
|
80
|
-
# Note: The following fields are mutually exclusive: `function_response`, `text`, `inline_data`, `file_data`, `function_call`, `executable_code`, `code_execution_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
80
|
+
# Note: The following fields are mutually exclusive: `function_response`, `text`, `inline_data`, `file_data`, `function_call`, `executable_code`, `code_execution_result`, `thought`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
81
|
# @!attribute [rw] executable_code
|
82
82
|
# @return [::Google::Cloud::AIPlatform::V1::ExecutableCode]
|
83
83
|
# Optional. Code generated by the model that is meant to be executed.
|
84
84
|
#
|
85
|
-
# Note: The following fields are mutually exclusive: `executable_code`, `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `code_execution_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
85
|
+
# Note: The following fields are mutually exclusive: `executable_code`, `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `code_execution_result`, `thought`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
86
86
|
# @!attribute [rw] code_execution_result
|
87
87
|
# @return [::Google::Cloud::AIPlatform::V1::CodeExecutionResult]
|
88
88
|
# Optional. Result of executing the [ExecutableCode].
|
89
89
|
#
|
90
|
-
# Note: The following fields are mutually exclusive: `code_execution_result`, `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `executable_code`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
90
|
+
# Note: The following fields are mutually exclusive: `code_execution_result`, `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `executable_code`, `thought`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
91
|
+
# @!attribute [rw] thought
|
92
|
+
# @return [::Boolean]
|
93
|
+
# Indicates if the part is thought from the model.
|
94
|
+
#
|
95
|
+
# Note: The following fields are mutually exclusive: `thought`, `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`, `thought_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
96
|
+
# @!attribute [rw] thought_signature
|
97
|
+
# @return [::String]
|
98
|
+
# An opaque signature for the thought so it can be reused in subsequent
|
99
|
+
# requests.
|
100
|
+
#
|
101
|
+
# Note: The following fields are mutually exclusive: `thought_signature`, `text`, `inline_data`, `file_data`, `function_call`, `function_response`, `executable_code`, `code_execution_result`, `thought`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
91
102
|
# @!attribute [rw] video_metadata
|
92
103
|
# @return [::Google::Cloud::AIPlatform::V1::VideoMetadata]
|
93
104
|
# Optional. Video metadata. The metadata should only be specified while the
|
@@ -188,6 +199,44 @@ module Google
|
|
188
199
|
# If set, a compatible response_mime_type must also be set.
|
189
200
|
# Compatible mimetypes:
|
190
201
|
# `application/json`: Schema for JSON response.
|
202
|
+
# @!attribute [rw] response_json_schema
|
203
|
+
# @return [::Google::Protobuf::Value]
|
204
|
+
# Optional. Output schema of the generated response. This is an alternative
|
205
|
+
# to `response_schema` that accepts [JSON Schema](https://json-schema.org/).
|
206
|
+
#
|
207
|
+
# If set, `response_schema` must be omitted, but `response_mime_type` is
|
208
|
+
# required.
|
209
|
+
#
|
210
|
+
# While the full JSON Schema may be sent, not all features are supported.
|
211
|
+
# Specifically, only the following properties are supported:
|
212
|
+
#
|
213
|
+
# - `$id`
|
214
|
+
# - `$defs`
|
215
|
+
# - `$ref`
|
216
|
+
# - `$anchor`
|
217
|
+
# - `type`
|
218
|
+
# - `format`
|
219
|
+
# - `title`
|
220
|
+
# - `description`
|
221
|
+
# - `enum` (for strings and numbers)
|
222
|
+
# - `items`
|
223
|
+
# - `prefixItems`
|
224
|
+
# - `minItems`
|
225
|
+
# - `maxItems`
|
226
|
+
# - `minimum`
|
227
|
+
# - `maximum`
|
228
|
+
# - `anyOf`
|
229
|
+
# - `oneOf` (interpreted the same as `anyOf`)
|
230
|
+
# - `properties`
|
231
|
+
# - `additionalProperties`
|
232
|
+
# - `required`
|
233
|
+
#
|
234
|
+
# The non-standard `propertyOrdering` property may also be set.
|
235
|
+
#
|
236
|
+
# Cyclic references are unrolled to a limited degree and, as such, may only
|
237
|
+
# be used within non-required properties. (Nullable properties are not
|
238
|
+
# sufficient.) If `$ref` is set on a sub-schema, no other properties, except
|
239
|
+
# for than those starting as a `$`, may be set.
|
191
240
|
# @!attribute [rw] routing_config
|
192
241
|
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig]
|
193
242
|
# Optional. Routing configuration.
|
@@ -253,6 +302,10 @@ module Google
|
|
253
302
|
end
|
254
303
|
|
255
304
|
# Config for thinking features.
|
305
|
+
# @!attribute [rw] include_thoughts
|
306
|
+
# @return [::Boolean]
|
307
|
+
# Indicates whether to include thoughts in the response.
|
308
|
+
# If true, thoughts are returned only when available.
|
256
309
|
# @!attribute [rw] thinking_budget
|
257
310
|
# @return [::Integer]
|
258
311
|
# Optional. Indicates the thinking budget in tokens.
|
@@ -441,6 +494,9 @@ module Google
|
|
441
494
|
# @!attribute [r] grounding_metadata
|
442
495
|
# @return [::Google::Cloud::AIPlatform::V1::GroundingMetadata]
|
443
496
|
# Output only. Metadata specifies sources used to ground generated content.
|
497
|
+
# @!attribute [r] url_context_metadata
|
498
|
+
# @return [::Google::Cloud::AIPlatform::V1::UrlContextMetadata]
|
499
|
+
# Output only. Metadata related to url context retrieval tool.
|
444
500
|
class Candidate
|
445
501
|
include ::Google::Protobuf::MessageExts
|
446
502
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -486,6 +542,39 @@ module Google
|
|
486
542
|
end
|
487
543
|
end
|
488
544
|
|
545
|
+
# Metadata related to url context retrieval tool.
|
546
|
+
# @!attribute [r] url_metadata
|
547
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::UrlMetadata>]
|
548
|
+
# Output only. List of url context.
|
549
|
+
class UrlContextMetadata
|
550
|
+
include ::Google::Protobuf::MessageExts
|
551
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
552
|
+
end
|
553
|
+
|
554
|
+
# Context of the a single url retrieval.
|
555
|
+
# @!attribute [rw] retrieved_url
|
556
|
+
# @return [::String]
|
557
|
+
# Retrieved url by the tool.
|
558
|
+
# @!attribute [rw] url_retrieval_status
|
559
|
+
# @return [::Google::Cloud::AIPlatform::V1::UrlMetadata::UrlRetrievalStatus]
|
560
|
+
# Status of the url retrieval.
|
561
|
+
class UrlMetadata
|
562
|
+
include ::Google::Protobuf::MessageExts
|
563
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
564
|
+
|
565
|
+
# Status of the url retrieval.
|
566
|
+
module UrlRetrievalStatus
|
567
|
+
# Default value. This value is unused.
|
568
|
+
URL_RETRIEVAL_STATUS_UNSPECIFIED = 0
|
569
|
+
|
570
|
+
# Url retrieval is successful.
|
571
|
+
URL_RETRIEVAL_STATUS_SUCCESS = 1
|
572
|
+
|
573
|
+
# Url retrieval is failed due to error.
|
574
|
+
URL_RETRIEVAL_STATUS_ERROR = 2
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
489
578
|
# Logprobs Result
|
490
579
|
# @!attribute [rw] top_candidates
|
491
580
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::LogprobsResult::TopCandidates>]
|
@@ -164,6 +164,9 @@ module Google
|
|
164
164
|
# network.
|
165
165
|
#
|
166
166
|
# Example: ['vertex-ai-ip-range'].
|
167
|
+
# @!attribute [rw] psc_interface_config
|
168
|
+
# @return [::Google::Cloud::AIPlatform::V1::PscInterfaceConfig]
|
169
|
+
# Optional. Configuration for PSC-I for CustomJob.
|
167
170
|
# @!attribute [rw] base_output_directory
|
168
171
|
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
169
172
|
# The Cloud Storage location to store the output of this CustomJob or
|
@@ -132,9 +132,10 @@ module Google
|
|
132
132
|
# @!attribute [r] dedicated_endpoint_dns
|
133
133
|
# @return [::String]
|
134
134
|
# Output only. DNS of the dedicated endpoint. Will only be populated if
|
135
|
-
# dedicated_endpoint_enabled is true.
|
136
|
-
#
|
137
|
-
#
|
135
|
+
# dedicated_endpoint_enabled is true. Depending on the features enabled, uid
|
136
|
+
# might be a random number or a string. For example, if fast_tryout is
|
137
|
+
# enabled, uid will be fasttryout. Format:
|
138
|
+
# `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`.
|
138
139
|
# @!attribute [rw] client_connection_config
|
139
140
|
# @return [::Google::Cloud::AIPlatform::V1::ClientConnectionConfig]
|
140
141
|
# Configurations that are applied to the endpoint for online prediction.
|
@@ -144,6 +145,11 @@ module Google
|
|
144
145
|
# @!attribute [r] satisfies_pzi
|
145
146
|
# @return [::Boolean]
|
146
147
|
# Output only. Reserved for future use.
|
148
|
+
# @!attribute [rw] gen_ai_advanced_features_config
|
149
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenAiAdvancedFeaturesConfig]
|
150
|
+
# Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is
|
151
|
+
# serving GenAI models, advanced features like native RAG integration can be
|
152
|
+
# configured. Currently, only Model Garden models are supported.
|
147
153
|
class Endpoint
|
148
154
|
include ::Google::Protobuf::MessageExts
|
149
155
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -195,9 +201,8 @@ module Google
|
|
195
201
|
# This value should be 1-10 characters, and valid characters are `/[0-9]/`.
|
196
202
|
# @!attribute [rw] model
|
197
203
|
# @return [::String]
|
198
|
-
#
|
199
|
-
#
|
200
|
-
# Endpoint.
|
204
|
+
# The resource name of the Model that this is the deployment of. Note that
|
205
|
+
# the Model may be in a different location than the DeployedModel's Endpoint.
|
201
206
|
#
|
202
207
|
# The resource name may contain version id or version alias to specify the
|
203
208
|
# version.
|
@@ -382,6 +387,26 @@ module Google
|
|
382
387
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
383
388
|
end
|
384
389
|
|
390
|
+
# Configuration for GenAiAdvancedFeatures.
|
391
|
+
# @!attribute [rw] rag_config
|
392
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenAiAdvancedFeaturesConfig::RagConfig]
|
393
|
+
# Configuration for Retrieval Augmented Generation feature.
|
394
|
+
class GenAiAdvancedFeaturesConfig
|
395
|
+
include ::Google::Protobuf::MessageExts
|
396
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
397
|
+
|
398
|
+
# Configuration for Retrieval Augmented Generation feature.
|
399
|
+
# @!attribute [rw] enable_rag
|
400
|
+
# @return [::Boolean]
|
401
|
+
# If true, enable Retrieval Augmented Generation in ChatCompletion request.
|
402
|
+
# Once enabled, the endpoint will be identified as GenAI endpoint and
|
403
|
+
# Arthedain router will be used.
|
404
|
+
class RagConfig
|
405
|
+
include ::Google::Protobuf::MessageExts
|
406
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
385
410
|
# Configuration for Speculative Decoding.
|
386
411
|
# @!attribute [rw] draft_model_speculation
|
387
412
|
# @return [::Google::Cloud::AIPlatform::V1::SpeculativeDecodingSpec::DraftModelSpeculation]
|
@@ -47,6 +47,159 @@ module Google
|
|
47
47
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
48
|
end
|
49
49
|
|
50
|
+
# Request message for
|
51
|
+
# {::Google::Cloud::AIPlatform::V1::ModelGardenService::Client#deploy ModelGardenService.Deploy}.
|
52
|
+
# @!attribute [rw] publisher_model_name
|
53
|
+
# @return [::String]
|
54
|
+
# The Model Garden model to deploy.
|
55
|
+
# Format:
|
56
|
+
# `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
|
57
|
+
# `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.
|
58
|
+
#
|
59
|
+
# Note: The following fields are mutually exclusive: `publisher_model_name`, `hugging_face_model_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
60
|
+
# @!attribute [rw] hugging_face_model_id
|
61
|
+
# @return [::String]
|
62
|
+
# The Hugging Face model to deploy.
|
63
|
+
# Format: Hugging Face model ID like `google/gemma-2-2b-it`.
|
64
|
+
#
|
65
|
+
# Note: The following fields are mutually exclusive: `hugging_face_model_id`, `publisher_model_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
66
|
+
# @!attribute [rw] destination
|
67
|
+
# @return [::String]
|
68
|
+
# Required. The resource name of the Location to deploy the model in.
|
69
|
+
# Format: `projects/{project}/locations/{location}`
|
70
|
+
# @!attribute [rw] model_config
|
71
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeployRequest::ModelConfig]
|
72
|
+
# Optional. The model config to use for the deployment.
|
73
|
+
# If not specified, the default model config will be used.
|
74
|
+
# @!attribute [rw] endpoint_config
|
75
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeployRequest::EndpointConfig]
|
76
|
+
# Optional. The endpoint config to use for the deployment.
|
77
|
+
# If not specified, the default endpoint config will be used.
|
78
|
+
# @!attribute [rw] deploy_config
|
79
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeployRequest::DeployConfig]
|
80
|
+
# Optional. The deploy config to use for the deployment.
|
81
|
+
# If not specified, the default deploy config will be used.
|
82
|
+
class DeployRequest
|
83
|
+
include ::Google::Protobuf::MessageExts
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
|
+
|
86
|
+
# The model config to use for the deployment.
|
87
|
+
# @!attribute [rw] accept_eula
|
88
|
+
# @return [::Boolean]
|
89
|
+
# Optional. Whether the user accepts the End User License Agreement (EULA)
|
90
|
+
# for the model.
|
91
|
+
# @!attribute [rw] hugging_face_access_token
|
92
|
+
# @return [::String]
|
93
|
+
# Optional. The Hugging Face read access token used to access the model
|
94
|
+
# artifacts of gated models.
|
95
|
+
# @!attribute [rw] hugging_face_cache_enabled
|
96
|
+
# @return [::Boolean]
|
97
|
+
# Optional. If true, the model will deploy with a cached version instead of
|
98
|
+
# directly downloading the model artifacts from Hugging Face. This is
|
99
|
+
# suitable for VPC-SC users with limited internet access.
|
100
|
+
# @!attribute [rw] model_display_name
|
101
|
+
# @return [::String]
|
102
|
+
# Optional. The user-specified display name of the uploaded model. If not
|
103
|
+
# set, a default name will be used.
|
104
|
+
# @!attribute [rw] container_spec
|
105
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelContainerSpec]
|
106
|
+
# Optional. The specification of the container that is to be used when
|
107
|
+
# deploying. If not set, the default container spec will be used.
|
108
|
+
class ModelConfig
|
109
|
+
include ::Google::Protobuf::MessageExts
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
end
|
112
|
+
|
113
|
+
# The endpoint config to use for the deployment.
|
114
|
+
# @!attribute [rw] endpoint_display_name
|
115
|
+
# @return [::String]
|
116
|
+
# Optional. The user-specified display name of the endpoint. If not set, a
|
117
|
+
# default name will be used.
|
118
|
+
# @!attribute [rw] dedicated_endpoint_enabled
|
119
|
+
# @return [::Boolean]
|
120
|
+
# Optional. If true, the endpoint will be exposed through a dedicated
|
121
|
+
# DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS
|
122
|
+
# will be isolated from other users' traffic and will have better
|
123
|
+
# performance and reliability. Note: Once you enabled dedicated endpoint,
|
124
|
+
# you won't be able to send request to the shared DNS
|
125
|
+
# \\{region}-aiplatform.googleapis.com. The limitations will be removed soon.
|
126
|
+
class EndpointConfig
|
127
|
+
include ::Google::Protobuf::MessageExts
|
128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
129
|
+
end
|
130
|
+
|
131
|
+
# The deploy config to use for the deployment.
|
132
|
+
# @!attribute [rw] dedicated_resources
|
133
|
+
# @return [::Google::Cloud::AIPlatform::V1::DedicatedResources]
|
134
|
+
# Optional. The dedicated resources to use for the endpoint. If not set,
|
135
|
+
# the default resources will be used.
|
136
|
+
# @!attribute [rw] fast_tryout_enabled
|
137
|
+
# @return [::Boolean]
|
138
|
+
# Optional. If true, enable the QMT fast tryout feature for this model if
|
139
|
+
# possible.
|
140
|
+
# @!attribute [rw] system_labels
|
141
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
142
|
+
# Optional. System labels for Model Garden deployments.
|
143
|
+
# These labels are managed by Google and for tracking purposes only.
|
144
|
+
class DeployConfig
|
145
|
+
include ::Google::Protobuf::MessageExts
|
146
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
|
+
|
148
|
+
# @!attribute [rw] key
|
149
|
+
# @return [::String]
|
150
|
+
# @!attribute [rw] value
|
151
|
+
# @return [::String]
|
152
|
+
class SystemLabelsEntry
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Response message for
|
160
|
+
# {::Google::Cloud::AIPlatform::V1::ModelGardenService::Client#deploy ModelGardenService.Deploy}.
|
161
|
+
# @!attribute [r] publisher_model
|
162
|
+
# @return [::String]
|
163
|
+
# Output only. The name of the PublisherModel resource.
|
164
|
+
# Format:
|
165
|
+
# `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
|
166
|
+
# `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
|
167
|
+
# @!attribute [r] endpoint
|
168
|
+
# @return [::String]
|
169
|
+
# Output only. The name of the Endpoint created.
|
170
|
+
# Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
171
|
+
# @!attribute [r] model
|
172
|
+
# @return [::String]
|
173
|
+
# Output only. The name of the Model created.
|
174
|
+
# Format: `projects/{project}/locations/{location}/models/{model}`
|
175
|
+
class DeployResponse
|
176
|
+
include ::Google::Protobuf::MessageExts
|
177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
end
|
179
|
+
|
180
|
+
# Runtime operation information for
|
181
|
+
# {::Google::Cloud::AIPlatform::V1::ModelGardenService::Client#deploy ModelGardenService.Deploy}.
|
182
|
+
# @!attribute [rw] generic_metadata
|
183
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
184
|
+
# The operation generic information.
|
185
|
+
# @!attribute [r] publisher_model
|
186
|
+
# @return [::String]
|
187
|
+
# Output only. The name of the model resource.
|
188
|
+
# @!attribute [r] destination
|
189
|
+
# @return [::String]
|
190
|
+
# Output only. The resource name of the Location to deploy the model in.
|
191
|
+
# Format: `projects/{project}/locations/{location}`
|
192
|
+
# @!attribute [r] project_number
|
193
|
+
# @return [::Integer]
|
194
|
+
# Output only. The project number where the deploy model request is sent.
|
195
|
+
# @!attribute [r] model_id
|
196
|
+
# @return [::String]
|
197
|
+
# Output only. The model id to be used at query time.
|
198
|
+
class DeployOperationMetadata
|
199
|
+
include ::Google::Protobuf::MessageExts
|
200
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
201
|
+
end
|
202
|
+
|
50
203
|
# View enumeration of PublisherModel.
|
51
204
|
module PublisherModelView
|
52
205
|
# The default / unset value. The API will default to the BASIC view.
|
@@ -80,6 +80,9 @@ module Google
|
|
80
80
|
#
|
81
81
|
# If this field is left unspecified, the resources aren't peered with any
|
82
82
|
# network.
|
83
|
+
# @!attribute [rw] psc_interface_config
|
84
|
+
# @return [::Google::Cloud::AIPlatform::V1::PscInterfaceConfig]
|
85
|
+
# Optional. Configuration for PSC-I for PersistentResource.
|
83
86
|
# @!attribute [rw] encryption_spec
|
84
87
|
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
85
88
|
# Optional. Customer-managed encryption key spec for a PersistentResource.
|
@@ -110,6 +110,9 @@ module Google
|
|
110
110
|
# provided VPC network.
|
111
111
|
#
|
112
112
|
# Example: ['vertex-ai-ip-range'].
|
113
|
+
# @!attribute [rw] psc_interface_config
|
114
|
+
# @return [::Google::Cloud::AIPlatform::V1::PscInterfaceConfig]
|
115
|
+
# Optional. Configuration for PSC-I for PipelineJob.
|
113
116
|
# @!attribute [rw] template_uri
|
114
117
|
# @return [::String]
|
115
118
|
# A template uri from where the
|