google-cloud-ai_platform-v1 0.48.0 → 0.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/bindings_override.rb +48 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +129 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +817 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +122 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +4181 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +4 -1
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +4 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +32 -6
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +32 -6
- data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +38 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +9 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/genai_tuning_service_pb.rb +8 -1
- data/lib/google/cloud/aiplatform/v1/genai_tuning_service_services_pb.rb +4 -0
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +2 -1
- data/proto_docs/google/api/client.rb +31 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +142 -14
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +20 -5
- data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +34 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +35 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +10 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/genai_tuning_service.rb +36 -0
- data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +11 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +11 -2
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +33 -2
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +28 -3
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +26 -1
- metadata +5 -3
@@ -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\"\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\"\
|
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\"m\n\x15GoogleSearchRetrieval\x12T\n\x18\x64ynamic_retrieval_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"\xca\x01\n\x16\x44ynamicRetrievalConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\x12#\n\x11\x64ynamic_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\".\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_DYNAMIC\x10\x01\x42\x14\n\x12_dynamic_threshold\"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
|
|
@@ -49,6 +49,8 @@ module Google
|
|
49
49
|
Retrieval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Retrieval").msgclass
|
50
50
|
VertexAISearch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.VertexAISearch").msgclass
|
51
51
|
GoogleSearchRetrieval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GoogleSearchRetrieval").msgclass
|
52
|
+
DynamicRetrievalConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DynamicRetrievalConfig").msgclass
|
53
|
+
DynamicRetrievalConfig::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode").enummodule
|
52
54
|
ToolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ToolConfig").msgclass
|
53
55
|
FunctionCallingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionCallingConfig").msgclass
|
54
56
|
FunctionCallingConfig::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionCallingConfig.Mode").enummodule
|
@@ -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\"\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\"\
|
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\"\xcc\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\x12%\n\x1dtotal_truncated_example_count\x18\n \x01(\x03\x12!\n\x19truncated_example_indices\x18\x0b \x03(\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\"\xe3\x01\n\rTunedModelRef\x12;\n\x0btuned_model\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x61iplatform.googleapis.com/ModelH\x00\x12>\n\ntuning_job\x18\x02 \x01(\tB(\xfa\x41%\n#aiplatform.googleapis.com/TuningJobH\x00\x12\x42\n\x0cpipeline_job\x18\x03 \x01(\tB*\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJobH\x00\x42\x11\n\x0ftuned_model_refB\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
|
|
@@ -56,6 +56,7 @@ module Google
|
|
56
56
|
SupervisedHyperParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SupervisedHyperParameters").msgclass
|
57
57
|
SupervisedHyperParameters::AdapterSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SupervisedHyperParameters.AdapterSize").enummodule
|
58
58
|
SupervisedTuningSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SupervisedTuningSpec").msgclass
|
59
|
+
TunedModelRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.TunedModelRef").msgclass
|
59
60
|
end
|
60
61
|
end
|
61
62
|
end
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -196,9 +199,26 @@ module Google
|
|
196
199
|
# @!attribute [rw] common
|
197
200
|
# @return [::Google::Api::CommonLanguageSettings]
|
198
201
|
# Some settings.
|
202
|
+
# @!attribute [rw] experimental_features
|
203
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
204
|
+
# Experimental features to be included during client library generation.
|
199
205
|
class PythonSettings
|
200
206
|
include ::Google::Protobuf::MessageExts
|
201
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
|
209
|
+
# Experimental features to be included during client library generation.
|
210
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
211
|
+
# by default.
|
212
|
+
# @!attribute [rw] rest_async_io_enabled
|
213
|
+
# @return [::Boolean]
|
214
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
215
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
216
|
+
# This feature will be enabled by default 1 month after launching the
|
217
|
+
# feature in preview packages.
|
218
|
+
class ExperimentalFeatures
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
end
|
202
222
|
end
|
203
223
|
|
204
224
|
# Settings for Node client libraries.
|
@@ -358,6 +378,17 @@ module Google
|
|
358
378
|
end
|
359
379
|
end
|
360
380
|
|
381
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
382
|
+
# a service for client libraries.
|
383
|
+
# @!attribute [rw] methods
|
384
|
+
# @return [::Array<::String>]
|
385
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
386
|
+
# on public client surfaces.
|
387
|
+
class SelectiveGapicGeneration
|
388
|
+
include ::Google::Protobuf::MessageExts
|
389
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
390
|
+
end
|
391
|
+
|
361
392
|
# The organization for which the client libraries are being published.
|
362
393
|
# Affects the url where generated docs are published, etc.
|
363
394
|
module ClientLibraryOrganization
|
@@ -215,6 +215,12 @@ module Google
|
|
215
215
|
# pricing](https://cloud.google.com/logging/pricing).
|
216
216
|
#
|
217
217
|
# User can disable container logging by setting this flag to true.
|
218
|
+
# @!attribute [r] satisfies_pzs
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Output only. Reserved for future use.
|
221
|
+
# @!attribute [r] satisfies_pzi
|
222
|
+
# @return [::Boolean]
|
223
|
+
# Output only. Reserved for future use.
|
218
224
|
class BatchPredictionJob
|
219
225
|
include ::Google::Protobuf::MessageExts
|
220
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -135,12 +135,21 @@ module Google
|
|
135
135
|
# @!attribute [rw] stop_sequences
|
136
136
|
# @return [::Array<::String>]
|
137
137
|
# Optional. Stop sequences.
|
138
|
+
# @!attribute [rw] response_logprobs
|
139
|
+
# @return [::Boolean]
|
140
|
+
# Optional. If true, export the logprobs results in response.
|
141
|
+
# @!attribute [rw] logprobs
|
142
|
+
# @return [::Integer]
|
143
|
+
# Optional. Logit probabilities.
|
138
144
|
# @!attribute [rw] presence_penalty
|
139
145
|
# @return [::Float]
|
140
146
|
# Optional. Positive penalties.
|
141
147
|
# @!attribute [rw] frequency_penalty
|
142
148
|
# @return [::Float]
|
143
149
|
# Optional. Frequency penalties.
|
150
|
+
# @!attribute [rw] seed
|
151
|
+
# @return [::Integer]
|
152
|
+
# Optional. Seed.
|
144
153
|
# @!attribute [rw] response_mime_type
|
145
154
|
# @return [::String]
|
146
155
|
# Optional. Output response mimetype of the generated candidate text.
|
@@ -159,9 +168,60 @@ module Google
|
|
159
168
|
# If set, a compatible response_mime_type must also be set.
|
160
169
|
# Compatible mimetypes:
|
161
170
|
# `application/json`: Schema for JSON response.
|
171
|
+
# @!attribute [rw] routing_config
|
172
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig]
|
173
|
+
# Optional. Routing configuration.
|
162
174
|
class GenerationConfig
|
163
175
|
include ::Google::Protobuf::MessageExts
|
164
176
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
177
|
+
|
178
|
+
# The configuration for routing the request to a specific model.
|
179
|
+
# @!attribute [rw] auto_mode
|
180
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode]
|
181
|
+
# Automated routing.
|
182
|
+
# @!attribute [rw] manual_mode
|
183
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::ManualRoutingMode]
|
184
|
+
# Manual routing.
|
185
|
+
class RoutingConfig
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
|
189
|
+
# When automated routing is specified, the routing will be determined by
|
190
|
+
# the pretrained routing model and customer provided model routing
|
191
|
+
# preference.
|
192
|
+
# @!attribute [rw] model_routing_preference
|
193
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig::AutoRoutingMode::ModelRoutingPreference]
|
194
|
+
# The model routing preference.
|
195
|
+
class AutoRoutingMode
|
196
|
+
include ::Google::Protobuf::MessageExts
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
198
|
+
|
199
|
+
# The model routing preference.
|
200
|
+
module ModelRoutingPreference
|
201
|
+
# Unspecified model routing preference.
|
202
|
+
UNKNOWN = 0
|
203
|
+
|
204
|
+
# Prefer higher quality over low cost.
|
205
|
+
PRIORITIZE_QUALITY = 1
|
206
|
+
|
207
|
+
# Balanced model routing preference.
|
208
|
+
BALANCED = 2
|
209
|
+
|
210
|
+
# Prefer lower cost over higher quality.
|
211
|
+
PRIORITIZE_COST = 3
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
# When manual routing is set, the specified model will be used directly.
|
216
|
+
# @!attribute [rw] model_name
|
217
|
+
# @return [::String]
|
218
|
+
# The model name to use. Only the public LLM models are accepted. e.g.
|
219
|
+
# 'gemini-1.5-pro-001'.
|
220
|
+
class ManualRoutingMode
|
221
|
+
include ::Google::Protobuf::MessageExts
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
|
+
end
|
224
|
+
end
|
165
225
|
end
|
166
226
|
|
167
227
|
# Safety settings.
|
@@ -195,6 +255,9 @@ module Google
|
|
195
255
|
|
196
256
|
# Block none.
|
197
257
|
BLOCK_NONE = 4
|
258
|
+
|
259
|
+
# Turn off the safety filter.
|
260
|
+
OFF = 5
|
198
261
|
end
|
199
262
|
|
200
263
|
# Probability vs severity.
|
@@ -314,6 +377,12 @@ module Google
|
|
314
377
|
# @!attribute [r] score
|
315
378
|
# @return [::Float]
|
316
379
|
# Output only. Confidence score of the candidate.
|
380
|
+
# @!attribute [r] avg_logprobs
|
381
|
+
# @return [::Float]
|
382
|
+
# Output only. Average log probability score of the candidate.
|
383
|
+
# @!attribute [r] logprobs_result
|
384
|
+
# @return [::Google::Cloud::AIPlatform::V1::LogprobsResult]
|
385
|
+
# Output only. Log-likelihood scores for the response tokens and top tokens
|
317
386
|
# @!attribute [r] finish_reason
|
318
387
|
# @return [::Google::Cloud::AIPlatform::V1::Candidate::FinishReason]
|
319
388
|
# Output only. The reason why the model stopped generating tokens.
|
@@ -343,34 +412,34 @@ module Google
|
|
343
412
|
# The finish reason is unspecified.
|
344
413
|
FINISH_REASON_UNSPECIFIED = 0
|
345
414
|
|
346
|
-
#
|
415
|
+
# Token generation reached a natural stopping point or a configured stop
|
416
|
+
# sequence.
|
347
417
|
STOP = 1
|
348
418
|
|
349
|
-
#
|
419
|
+
# Token generation reached the configured maximum output tokens.
|
350
420
|
MAX_TOKENS = 2
|
351
421
|
|
352
|
-
#
|
353
|
-
#
|
354
|
-
# content
|
422
|
+
# Token generation stopped because the content potentially contains safety
|
423
|
+
# violations. NOTE: When streaming,
|
424
|
+
# {::Google::Cloud::AIPlatform::V1::Candidate#content content} is empty if
|
425
|
+
# content filters blocks the output.
|
355
426
|
SAFETY = 3
|
356
427
|
|
357
|
-
#
|
358
|
-
#
|
428
|
+
# Token generation stopped because the content potentially contains
|
429
|
+
# copyright violations.
|
359
430
|
RECITATION = 4
|
360
431
|
|
361
|
-
# All other reasons that stopped the token generation
|
432
|
+
# All other reasons that stopped the token generation.
|
362
433
|
OTHER = 5
|
363
434
|
|
364
|
-
#
|
365
|
-
# terms which are included from the terminology blocklist.
|
435
|
+
# Token generation stopped because the content contains forbidden terms.
|
366
436
|
BLOCKLIST = 6
|
367
437
|
|
368
|
-
#
|
369
|
-
# the prohibited contents.
|
438
|
+
# Token generation stopped for potentially containing prohibited content.
|
370
439
|
PROHIBITED_CONTENT = 7
|
371
440
|
|
372
|
-
#
|
373
|
-
# Sensitive Personally Identifiable Information (SPII)
|
441
|
+
# Token generation stopped because the content potentially contains
|
442
|
+
# Sensitive Personally Identifiable Information (SPII).
|
374
443
|
SPII = 8
|
375
444
|
|
376
445
|
# The function call generated by the model is invalid.
|
@@ -378,6 +447,43 @@ module Google
|
|
378
447
|
end
|
379
448
|
end
|
380
449
|
|
450
|
+
# Logprobs Result
|
451
|
+
# @!attribute [rw] top_candidates
|
452
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::LogprobsResult::TopCandidates>]
|
453
|
+
# Length = total number of decoding steps.
|
454
|
+
# @!attribute [rw] chosen_candidates
|
455
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::LogprobsResult::Candidate>]
|
456
|
+
# Length = total number of decoding steps.
|
457
|
+
# The chosen candidates may or may not be in top_candidates.
|
458
|
+
class LogprobsResult
|
459
|
+
include ::Google::Protobuf::MessageExts
|
460
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
461
|
+
|
462
|
+
# Candidate for the logprobs token and score.
|
463
|
+
# @!attribute [rw] token
|
464
|
+
# @return [::String]
|
465
|
+
# The candidate’s token string value.
|
466
|
+
# @!attribute [rw] token_id
|
467
|
+
# @return [::Integer]
|
468
|
+
# The candidate’s token id value.
|
469
|
+
# @!attribute [rw] log_probability
|
470
|
+
# @return [::Float]
|
471
|
+
# The candidate's log probability.
|
472
|
+
class Candidate
|
473
|
+
include ::Google::Protobuf::MessageExts
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
475
|
+
end
|
476
|
+
|
477
|
+
# Candidates with top log probabilities at each decoding step.
|
478
|
+
# @!attribute [rw] candidates
|
479
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::LogprobsResult::Candidate>]
|
480
|
+
# Sorted by log probability in descending order.
|
481
|
+
class TopCandidates
|
482
|
+
include ::Google::Protobuf::MessageExts
|
483
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
381
487
|
# Segment of the content.
|
382
488
|
# @!attribute [r] part_index
|
383
489
|
# @return [::Integer]
|
@@ -428,6 +534,9 @@ module Google
|
|
428
534
|
# @!attribute [rw] title
|
429
535
|
# @return [::String]
|
430
536
|
# Title of the attribution.
|
537
|
+
# @!attribute [rw] text
|
538
|
+
# @return [::String]
|
539
|
+
# Text of the attribution.
|
431
540
|
class RetrievedContext
|
432
541
|
include ::Google::Protobuf::MessageExts
|
433
542
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -467,6 +576,9 @@ module Google
|
|
467
576
|
# @!attribute [rw] grounding_supports
|
468
577
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::GroundingSupport>]
|
469
578
|
# Optional. List of grounding support.
|
579
|
+
# @!attribute [r] retrieval_metadata
|
580
|
+
# @return [::Google::Cloud::AIPlatform::V1::RetrievalMetadata]
|
581
|
+
# Optional. Output only. Retrieval metadata.
|
470
582
|
class GroundingMetadata
|
471
583
|
include ::Google::Protobuf::MessageExts
|
472
584
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -486,6 +598,19 @@ module Google
|
|
486
598
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
487
599
|
end
|
488
600
|
|
601
|
+
# Metadata related to retrieval in the grounding flow.
|
602
|
+
# @!attribute [rw] google_search_dynamic_retrieval_score
|
603
|
+
# @return [::Float]
|
604
|
+
# Optional. Score indicating how likely information from Google Search could
|
605
|
+
# help answer the prompt. The score is in the range `[0, 1]`, where 0 is the
|
606
|
+
# least likely and 1 is the most likely. This score is only populated when
|
607
|
+
# Google Search grounding and dynamic retrieval is enabled. It will be
|
608
|
+
# compared to the threshold to determine whether to trigger Google Search.
|
609
|
+
class RetrievalMetadata
|
610
|
+
include ::Google::Protobuf::MessageExts
|
611
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
612
|
+
end
|
613
|
+
|
489
614
|
# Harm categories that will block the content.
|
490
615
|
module HarmCategory
|
491
616
|
# The harm category is unspecified.
|
@@ -502,6 +627,9 @@ module Google
|
|
502
627
|
|
503
628
|
# The harm category is sexually explicit content.
|
504
629
|
HARM_CATEGORY_SEXUALLY_EXPLICIT = 4
|
630
|
+
|
631
|
+
# The harm category is civic integrity.
|
632
|
+
HARM_CATEGORY_CIVIC_INTEGRITY = 5
|
505
633
|
end
|
506
634
|
end
|
507
635
|
end
|
@@ -85,6 +85,12 @@ module Google
|
|
85
85
|
# second worker pool.
|
86
86
|
#
|
87
87
|
# The values are the URIs for each node's interactive shell.
|
88
|
+
# @!attribute [r] satisfies_pzs
|
89
|
+
# @return [::Boolean]
|
90
|
+
# Output only. Reserved for future use.
|
91
|
+
# @!attribute [r] satisfies_pzi
|
92
|
+
# @return [::Boolean]
|
93
|
+
# Output only. Reserved for future use.
|
88
94
|
class CustomJob
|
89
95
|
include ::Google::Protobuf::MessageExts
|
90
96
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -339,23 +345,29 @@ module Google
|
|
339
345
|
# Optional. Indicates if the job should retry for internal errors after the
|
340
346
|
# job starts running. If true, overrides
|
341
347
|
# `Scheduling.restart_job_on_worker_restart` to false.
|
348
|
+
# @!attribute [rw] max_wait_duration
|
349
|
+
# @return [::Google::Protobuf::Duration]
|
350
|
+
# Optional. This is the maximum duration that a job will wait for the
|
351
|
+
# requested resources to be provisioned if the scheduling strategy is set to
|
352
|
+
# [Strategy.DWS_FLEX_START].
|
353
|
+
# If set to 0, the job will wait indefinitely. The default is 24 hours.
|
342
354
|
class Scheduling
|
343
355
|
include ::Google::Protobuf::MessageExts
|
344
356
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
345
357
|
|
346
358
|
# Optional. This determines which type of scheduling strategy to use. Right
|
347
|
-
# now users have two options such as
|
348
|
-
# demand resources to schedule the job, the other is
|
359
|
+
# now users have two options such as STANDARD which will use regular on
|
360
|
+
# demand resources to schedule the job, the other is SPOT which would
|
349
361
|
# leverage spot resources alongwith regular resources to schedule
|
350
362
|
# the job.
|
351
363
|
module Strategy
|
352
|
-
# Strategy will default to
|
364
|
+
# Strategy will default to STANDARD.
|
353
365
|
STRATEGY_UNSPECIFIED = 0
|
354
366
|
|
355
|
-
# Regular on-demand provisioning strategy.
|
367
|
+
# Deprecated. Regular on-demand provisioning strategy.
|
356
368
|
ON_DEMAND = 1
|
357
369
|
|
358
|
-
# Low cost by making potential use of spot resources.
|
370
|
+
# Deprecated. Low cost by making potential use of spot resources.
|
359
371
|
LOW_COST = 2
|
360
372
|
|
361
373
|
# Standard provisioning strategy uses regular on-demand resources.
|
@@ -363,6 +375,9 @@ module Google
|
|
363
375
|
|
364
376
|
# Spot provisioning strategy uses spot resources.
|
365
377
|
SPOT = 4
|
378
|
+
|
379
|
+
# Flex Start strategy uses DWS to queue for resources.
|
380
|
+
FLEX_START = 6
|
366
381
|
end
|
367
382
|
end
|
368
383
|
end
|
@@ -55,6 +55,12 @@ module Google
|
|
55
55
|
# @return [::String]
|
56
56
|
# Optional. Used to perform consistent read-modify-write updates. If not set,
|
57
57
|
# a blind "overwrite" update happens.
|
58
|
+
# @!attribute [r] satisfies_pzs
|
59
|
+
# @return [::Boolean]
|
60
|
+
# Output only. Reserved for future use.
|
61
|
+
# @!attribute [r] satisfies_pzi
|
62
|
+
# @return [::Boolean]
|
63
|
+
# Output only. Reserved for future use.
|
58
64
|
class DataItem
|
59
65
|
include ::Google::Protobuf::MessageExts
|
60
66
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -97,6 +97,12 @@ module Google
|
|
97
97
|
# @return [::String]
|
98
98
|
# Optional. Reference to the public base model last used by the dataset. Only
|
99
99
|
# set for prompt datasets.
|
100
|
+
# @!attribute [r] satisfies_pzs
|
101
|
+
# @return [::Boolean]
|
102
|
+
# Output only. Reserved for future use.
|
103
|
+
# @!attribute [r] satisfies_pzi
|
104
|
+
# @return [::Boolean]
|
105
|
+
# Output only. Reserved for future use.
|
100
106
|
class Dataset
|
101
107
|
include ::Google::Protobuf::MessageExts
|
102
108
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -50,6 +50,12 @@ module Google
|
|
50
50
|
# @return [::String]
|
51
51
|
# Output only. Reference to the public base model last used by the dataset
|
52
52
|
# version. Only set for prompt dataset versions.
|
53
|
+
# @!attribute [r] satisfies_pzs
|
54
|
+
# @return [::Boolean]
|
55
|
+
# Output only. Reserved for future use.
|
56
|
+
# @!attribute [r] satisfies_pzi
|
57
|
+
# @return [::Boolean]
|
58
|
+
# Output only. Reserved for future use.
|
53
59
|
class DatasetVersion
|
54
60
|
include ::Google::Protobuf::MessageExts
|
55
61
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
# @!attribute [r] create_time
|
59
59
|
# @return [::Google::Protobuf::Timestamp]
|
60
60
|
# Output only. Timestamp when this DeploymentResourcePool was created.
|
61
|
+
# @!attribute [r] satisfies_pzs
|
62
|
+
# @return [::Boolean]
|
63
|
+
# Output only. Reserved for future use.
|
64
|
+
# @!attribute [r] satisfies_pzi
|
65
|
+
# @return [::Boolean]
|
66
|
+
# Output only. Reserved for future use.
|
61
67
|
class DeploymentResourcePool
|
62
68
|
include ::Google::Protobuf::MessageExts
|
63
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -79,6 +79,12 @@ module Google
|
|
79
79
|
# The Feature Store offline storage periodically removes obsolete feature
|
80
80
|
# values older than `offline_storage_ttl_days` since the feature generation
|
81
81
|
# time. If unset (or explicitly set to 0), default to 4000 days TTL.
|
82
|
+
# @!attribute [r] satisfies_pzs
|
83
|
+
# @return [::Boolean]
|
84
|
+
# Output only. Reserved for future use.
|
85
|
+
# @!attribute [r] satisfies_pzi
|
86
|
+
# @return [::Boolean]
|
87
|
+
# Output only. Reserved for future use.
|
82
88
|
class EntityType
|
83
89
|
include ::Google::Protobuf::MessageExts
|
84
90
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -71,9 +71,43 @@ module Google
|
|
71
71
|
# @return [::Array<::String>]
|
72
72
|
# Optional. Columns to construct entity_id / row keys.
|
73
73
|
# If not provided defaults to `entity_id`.
|
74
|
+
# @!attribute [rw] static_data_source
|
75
|
+
# @return [::Boolean]
|
76
|
+
# Optional. Set if the data source is not a time-series.
|
77
|
+
# @!attribute [rw] time_series
|
78
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureGroup::BigQuery::TimeSeries]
|
79
|
+
# Optional. If the source is a time-series source, this can be set to
|
80
|
+
# control how downstream sources (ex:
|
81
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureView FeatureView} ) will treat
|
82
|
+
# time-series sources. If not set, will treat the source as a time-series
|
83
|
+
# source with `feature_timestamp` as timestamp column and no scan boundary.
|
84
|
+
# @!attribute [rw] dense
|
85
|
+
# @return [::Boolean]
|
86
|
+
# Optional. If set, all feature values will be fetched
|
87
|
+
# from a single row per unique entityId including nulls.
|
88
|
+
# If not set, will collapse all rows for each unique entityId into a singe
|
89
|
+
# row with any non-null values if present, if no non-null values are
|
90
|
+
# present will sync null.
|
91
|
+
# ex: If source has schema
|
92
|
+
# `(entity_id, feature_timestamp, f0, f1)` and the following rows:
|
93
|
+
# `(e1, 2020-01-01T10:00:00.123Z, 10, 15)`
|
94
|
+
# `(e1, 2020-02-01T10:00:00.123Z, 20, null)`
|
95
|
+
# If dense is set, `(e1, 20, null)` is synced to online stores. If dense is
|
96
|
+
# not set, `(e1, 20, 15)` is synced to online stores.
|
74
97
|
class BigQuery
|
75
98
|
include ::Google::Protobuf::MessageExts
|
76
99
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
100
|
+
|
101
|
+
# @!attribute [rw] timestamp_column
|
102
|
+
# @return [::String]
|
103
|
+
# Optional. Column hosting timestamp values for a time-series source.
|
104
|
+
# Will be used to determine the latest `feature_values` for each entity.
|
105
|
+
# Optional. If not provided, column named `feature_timestamp` of
|
106
|
+
# type `TIMESTAMP` will be used.
|
107
|
+
class TimeSeries
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
77
111
|
end
|
78
112
|
|
79
113
|
# @!attribute [rw] key
|
@@ -74,6 +74,12 @@ module Google
|
|
74
74
|
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
75
75
|
# Optional. Customer-managed encryption key spec for data storage. If set,
|
76
76
|
# online store will be secured by this key.
|
77
|
+
# @!attribute [r] satisfies_pzs
|
78
|
+
# @return [::Boolean]
|
79
|
+
# Output only. Reserved for future use.
|
80
|
+
# @!attribute [r] satisfies_pzi
|
81
|
+
# @return [::Boolean]
|
82
|
+
# Output only. Reserved for future use.
|
77
83
|
class FeatureOnlineStore
|
78
84
|
include ::Google::Protobuf::MessageExts
|
79
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -377,7 +377,7 @@ module Google
|
|
377
377
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
378
378
|
end
|
379
379
|
|
380
|
-
#
|
380
|
+
# Response message for
|
381
381
|
# {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#sync_feature_view FeatureOnlineStoreAdminService.SyncFeatureView}.
|
382
382
|
# @!attribute [rw] feature_view_sync
|
383
383
|
# @return [::String]
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# @return [::Google::Cloud::AIPlatform::V1::FeatureView::FeatureRegistrySource]
|
32
32
|
# Optional. Configures the features from a Feature Registry source that
|
33
33
|
# need to be loaded onto the FeatureOnlineStore.
|
34
|
+
# @!attribute [rw] vertex_rag_source
|
35
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureView::VertexRagSource]
|
36
|
+
# Optional. The Vertex RAG Source that the FeatureView is linked to.
|
34
37
|
# @!attribute [rw] name
|
35
38
|
# @return [::String]
|
36
39
|
# Identifier. Name of the FeatureView. Format:
|
@@ -69,6 +72,12 @@ module Google
|
|
69
72
|
# contains the required configurations to create an index from source data,
|
70
73
|
# so that approximate nearest neighbor (a.k.a ANN) algorithms search can be
|
71
74
|
# performed during online serving.
|
75
|
+
# @!attribute [r] satisfies_pzs
|
76
|
+
# @return [::Boolean]
|
77
|
+
# Output only. Reserved for future use.
|
78
|
+
# @!attribute [r] satisfies_pzi
|
79
|
+
# @return [::Boolean]
|
80
|
+
# Output only. Reserved for future use.
|
72
81
|
class FeatureView
|
73
82
|
include ::Google::Protobuf::MessageExts
|
74
83
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -94,6 +103,10 @@ module Google
|
|
94
103
|
# The $\\{IANA_TIME_ZONE} may only be a valid string from IANA time zone
|
95
104
|
# database. For example, "CRON_TZ=America/New_York 1 * * * *", or
|
96
105
|
# "TZ=America/New_York 1 * * * *".
|
106
|
+
# @!attribute [rw] continuous
|
107
|
+
# @return [::Boolean]
|
108
|
+
# Optional. If true, syncs the FeatureView in a continuous manner to Online
|
109
|
+
# Store.
|
97
110
|
class SyncConfig
|
98
111
|
include ::Google::Protobuf::MessageExts
|
99
112
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -205,6 +218,28 @@ module Google
|
|
205
218
|
end
|
206
219
|
end
|
207
220
|
|
221
|
+
# A Vertex Rag source for features that need to be synced to Online
|
222
|
+
# Store.
|
223
|
+
# @!attribute [rw] uri
|
224
|
+
# @return [::String]
|
225
|
+
# Required. The BigQuery view/table URI that will be materialized on each
|
226
|
+
# manual sync trigger. The table/view is expected to have the following
|
227
|
+
# columns and types at least:
|
228
|
+
# - `corpus_id` (STRING, NULLABLE/REQUIRED)
|
229
|
+
# - `file_id` (STRING, NULLABLE/REQUIRED)
|
230
|
+
# - `chunk_id` (STRING, NULLABLE/REQUIRED)
|
231
|
+
# - `chunk_data_type` (STRING, NULLABLE/REQUIRED)
|
232
|
+
# - `chunk_data` (STRING, NULLABLE/REQUIRED)
|
233
|
+
# - `embeddings` (FLOAT, REPEATED)
|
234
|
+
# - `file_original_uri` (STRING, NULLABLE/REQUIRED)
|
235
|
+
# @!attribute [rw] rag_corpus_id
|
236
|
+
# @return [::Integer]
|
237
|
+
# Optional. The RAG corpus id corresponding to this FeatureView.
|
238
|
+
class VertexRagSource
|
239
|
+
include ::Google::Protobuf::MessageExts
|
240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
241
|
+
end
|
242
|
+
|
208
243
|
# @!attribute [rw] key
|
209
244
|
# @return [::String]
|
210
245
|
# @!attribute [rw] value
|