google-cloud-ai_platform-v1 1.37.0 → 1.38.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/prediction_service/client.rb +13 -7
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +13 -7
- data/lib/google/cloud/ai_platform/v1/session_service/client.rb +9 -1
- data/lib/google/cloud/ai_platform/v1/session_service/rest/client.rb +9 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/api_auth_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +2 -33
- data/lib/google/cloud/aiplatform/v1/cached_content_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +2 -29
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -31
- data/lib/google/cloud/aiplatform/v1/data_foundry_service_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +2 -31
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/deployment_stage_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +2 -30
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/evaluation_service_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +2 -32
- data/lib/google/cloud/aiplatform/v1/gen_ai_cache_service_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/genai_tuning_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +2 -32
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/llm_utility_service_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +2 -31
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +2 -31
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +2 -30
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -32
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/network_spec_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/notebook_euc_config_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +2 -29
- data/lib/google/cloud/aiplatform/v1/notebook_idle_shutdown_config_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +2 -31
- data/lib/google/cloud/aiplatform/v1/notebook_runtime_template_ref_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/notebook_software_config_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/persistent_resource_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +2 -32
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +4 -32
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/reasoning_engine_execution_service_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +2 -28
- data/lib/google/cloud/aiplatform/v1/reasoning_engine_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/reservation_affinity_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/schedule_service_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/session_pb.rb +3 -28
- data/lib/google/cloud/aiplatform/v1/session_service_pb.rb +3 -27
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +2 -25
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +2 -30
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +3 -27
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +2 -29
- data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/usage_metadata_pb.rb +2 -24
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +2 -23
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_pb.rb +2 -26
- data/lib/google/cloud/aiplatform/v1/vertex_rag_service_pb.rb +2 -27
- data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +2 -26
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +50 -7
- data/proto_docs/google/cloud/aiplatform/v1/session.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/session_service.rb +9 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +8 -0
- data/proto_docs/google/protobuf/wrappers.rb +27 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0974f93f9d0b2e24276b4c440d25d9c34c127ceb9608845e1f9621079ee41b18'
|
|
4
|
+
data.tar.gz: e3a798c29f3a850622a26bb3a8c07be60b123b4f02fcc03f46181f0e24d407dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fb5163df37ac5a995341b5e4eea7c370be7439a4574b35622a0333be80be141089c6f4758b687730c09a46d9abfd383ef73c09c653a8d06ebfa432d8eee3f52
|
|
7
|
+
data.tar.gz: a22507c6d851195067f12760f8c0f14104154222387bb2f71af717e8483d33535b5519274731a2ea04bac07e02e87e0cb5e7288afb9849650b2fe2fecabde08e
|
|
@@ -1536,7 +1536,7 @@ module Google
|
|
|
1536
1536
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1537
1537
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1538
1538
|
#
|
|
1539
|
-
# @overload embed_content(model: nil, content: nil, title: nil, task_type: nil, output_dimensionality: nil, auto_truncate: nil)
|
|
1539
|
+
# @overload embed_content(model: nil, content: nil, title: nil, task_type: nil, output_dimensionality: nil, auto_truncate: nil, embed_content_config: nil)
|
|
1540
1540
|
# Pass arguments to `embed_content` via keyword arguments. Note that at
|
|
1541
1541
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1542
1542
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1546,17 +1546,23 @@ module Google
|
|
|
1546
1546
|
# prediction. Format:
|
|
1547
1547
|
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
|
1548
1548
|
# @param content [::Google::Cloud::AIPlatform::V1::Content, ::Hash]
|
|
1549
|
-
# Required. Input content to be embedded.
|
|
1549
|
+
# Required. Input content to be embedded.
|
|
1550
1550
|
# @param title [::String]
|
|
1551
|
-
# Optional.
|
|
1551
|
+
# Optional. Deprecated: Please use EmbedContentConfig.title instead.
|
|
1552
|
+
# The title for the text.
|
|
1552
1553
|
# @param task_type [::Google::Cloud::AIPlatform::V1::EmbedContentRequest::EmbeddingTaskType]
|
|
1553
|
-
# Optional.
|
|
1554
|
+
# Optional. Deprecated: Please use EmbedContentConfig.task_type instead.
|
|
1555
|
+
# The task type of the embedding.
|
|
1554
1556
|
# @param output_dimensionality [::Integer]
|
|
1555
|
-
# Optional.
|
|
1556
|
-
#
|
|
1557
|
+
# Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality
|
|
1558
|
+
# instead. Reduced dimension for the output embedding. If set, excessive
|
|
1559
|
+
# values in the output embedding are truncated from the end.
|
|
1557
1560
|
# @param auto_truncate [::Boolean]
|
|
1558
|
-
# Optional.
|
|
1561
|
+
# Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead.
|
|
1562
|
+
# Whether to silently truncate the input content if it's longer
|
|
1559
1563
|
# than the maximum sequence length.
|
|
1564
|
+
# @param embed_content_config [::Google::Cloud::AIPlatform::V1::EmbedContentRequest::EmbedContentConfig, ::Hash]
|
|
1565
|
+
# Optional. Configuration for the EmbedContent request.
|
|
1560
1566
|
#
|
|
1561
1567
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1562
1568
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::EmbedContentResponse]
|
|
@@ -1159,7 +1159,7 @@ module Google
|
|
|
1159
1159
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1160
1160
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1161
1161
|
#
|
|
1162
|
-
# @overload embed_content(model: nil, content: nil, title: nil, task_type: nil, output_dimensionality: nil, auto_truncate: nil)
|
|
1162
|
+
# @overload embed_content(model: nil, content: nil, title: nil, task_type: nil, output_dimensionality: nil, auto_truncate: nil, embed_content_config: nil)
|
|
1163
1163
|
# Pass arguments to `embed_content` via keyword arguments. Note that at
|
|
1164
1164
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1165
1165
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1169,17 +1169,23 @@ module Google
|
|
|
1169
1169
|
# prediction. Format:
|
|
1170
1170
|
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
|
1171
1171
|
# @param content [::Google::Cloud::AIPlatform::V1::Content, ::Hash]
|
|
1172
|
-
# Required. Input content to be embedded.
|
|
1172
|
+
# Required. Input content to be embedded.
|
|
1173
1173
|
# @param title [::String]
|
|
1174
|
-
# Optional.
|
|
1174
|
+
# Optional. Deprecated: Please use EmbedContentConfig.title instead.
|
|
1175
|
+
# The title for the text.
|
|
1175
1176
|
# @param task_type [::Google::Cloud::AIPlatform::V1::EmbedContentRequest::EmbeddingTaskType]
|
|
1176
|
-
# Optional.
|
|
1177
|
+
# Optional. Deprecated: Please use EmbedContentConfig.task_type instead.
|
|
1178
|
+
# The task type of the embedding.
|
|
1177
1179
|
# @param output_dimensionality [::Integer]
|
|
1178
|
-
# Optional.
|
|
1179
|
-
#
|
|
1180
|
+
# Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality
|
|
1181
|
+
# instead. Reduced dimension for the output embedding. If set, excessive
|
|
1182
|
+
# values in the output embedding are truncated from the end.
|
|
1180
1183
|
# @param auto_truncate [::Boolean]
|
|
1181
|
-
# Optional.
|
|
1184
|
+
# Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead.
|
|
1185
|
+
# Whether to silently truncate the input content if it's longer
|
|
1182
1186
|
# than the maximum sequence length.
|
|
1187
|
+
# @param embed_content_config [::Google::Cloud::AIPlatform::V1::EmbedContentRequest::EmbedContentConfig, ::Hash]
|
|
1188
|
+
# Optional. Configuration for the EmbedContent request.
|
|
1183
1189
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1184
1190
|
# @yieldparam result [::Google::Cloud::AIPlatform::V1::EmbedContentResponse]
|
|
1185
1191
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -242,7 +242,7 @@ module Google
|
|
|
242
242
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
243
243
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
244
244
|
#
|
|
245
|
-
# @overload create_session(parent: nil, session: nil)
|
|
245
|
+
# @overload create_session(parent: nil, session: nil, session_id: nil)
|
|
246
246
|
# Pass arguments to `create_session` via keyword arguments. Note that at
|
|
247
247
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
248
248
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -253,6 +253,14 @@ module Google
|
|
|
253
253
|
# `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
|
|
254
254
|
# @param session [::Google::Cloud::AIPlatform::V1::Session, ::Hash]
|
|
255
255
|
# Required. The session to create.
|
|
256
|
+
# @param session_id [::String]
|
|
257
|
+
# Optional. The user defined ID to use for session, which will become the
|
|
258
|
+
# final component of the session resource name. If not provided, Vertex AI
|
|
259
|
+
# will generate a value for this ID.
|
|
260
|
+
#
|
|
261
|
+
# This value may be up to 63 characters, and valid characters are
|
|
262
|
+
# `[a-z0-9-]`. The first character must be a letter, and the last character
|
|
263
|
+
# must be a letter or number.
|
|
256
264
|
#
|
|
257
265
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
258
266
|
# @yieldparam response [::Gapic::Operation]
|
|
@@ -237,7 +237,7 @@ module Google
|
|
|
237
237
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
238
238
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
239
239
|
#
|
|
240
|
-
# @overload create_session(parent: nil, session: nil)
|
|
240
|
+
# @overload create_session(parent: nil, session: nil, session_id: nil)
|
|
241
241
|
# Pass arguments to `create_session` via keyword arguments. Note that at
|
|
242
242
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
243
243
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -248,6 +248,14 @@ module Google
|
|
|
248
248
|
# `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
|
|
249
249
|
# @param session [::Google::Cloud::AIPlatform::V1::Session, ::Hash]
|
|
250
250
|
# Required. The session to create.
|
|
251
|
+
# @param session_id [::String]
|
|
252
|
+
# Optional. The user defined ID to use for session, which will become the
|
|
253
|
+
# final component of the session resource name. If not provided, Vertex AI
|
|
254
|
+
# will generate a value for this ID.
|
|
255
|
+
#
|
|
256
|
+
# This value may be up to 63 characters, and valid characters are
|
|
257
|
+
# `[a-z0-9-]`. The first character must be a letter, and the last character
|
|
258
|
+
# must be a letter or number.
|
|
251
259
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
252
260
|
# @yieldparam result [::Gapic::Operation]
|
|
253
261
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -7,29 +7,8 @@ require 'google/protobuf'
|
|
|
7
7
|
|
|
8
8
|
descriptor_data = "\n1google/cloud/aiplatform/v1/accelerator_type.proto\x12\x1agoogle.cloud.aiplatform.v1*\xa1\x03\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x10NVIDIA_TESLA_K80\x10\x01\x1a\x02\x08\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\x08\x12\x14\n\x10NVIDIA_A100_80GB\x10\t\x12\r\n\tNVIDIA_L4\x10\x0b\x12\x14\n\x10NVIDIA_H100_80GB\x10\r\x12\x19\n\x15NVIDIA_H100_MEGA_80GB\x10\x0e\x12\x15\n\x11NVIDIA_H200_141GB\x10\x0f\x12\x0f\n\x0bNVIDIA_B200\x10\x10\x12\x10\n\x0cNVIDIA_GB200\x10\x11\x12\x17\n\x13NVIDIA_RTX_PRO_6000\x10\x12\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\x12\x0e\n\nTPU_V4_POD\x10\n\x12\x12\n\x0eTPU_V5_LITEPOD\x10\x0c\x42\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x41\x63\x63\x65leratorTypeProtoP\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"
|
|
9
9
|
|
|
10
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
-
|
|
12
|
-
begin
|
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
|
14
|
-
rescue TypeError
|
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
18
|
-
parsed.clear_dependency
|
|
19
|
-
serialized = parsed.class.encode(parsed)
|
|
20
|
-
file = pool.add_serialized_file(serialized)
|
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
22
|
-
imports = [
|
|
23
|
-
]
|
|
24
|
-
imports.each do |type_name, expected_filename|
|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
26
|
-
if import_file.name != expected_filename
|
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
31
|
-
warn "This will become an error in the next major version."
|
|
32
|
-
end
|
|
10
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
|
33
12
|
|
|
34
13
|
module Google
|
|
35
14
|
module Cloud
|
|
@@ -13,32 +13,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
13
13
|
|
|
14
14
|
descriptor_data = "\n+google/cloud/aiplatform/v1/annotation.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x36google/cloud/aiplatform/v1/user_action_reference.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x04\n\nAnnotation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12payload_schema_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12,\n\x07payload\x18\x03 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\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\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12O\n\x11\x61nnotation_source\x18\x05 \x01(\x0b\x32/.google.cloud.aiplatform.v1.UserActionReferenceB\x03\xe0\x41\x03\x12G\n\x06labels\x18\x06 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.Annotation.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x95\x01\xea\x41\x91\x01\n$aiplatform.googleapis.com/Annotation\x12iprojects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}/annotations/{annotation}B\xcd\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0f\x41nnotationProtoP\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
15
|
|
|
16
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
|
-
|
|
18
|
-
begin
|
|
19
|
-
pool.add_serialized_file(descriptor_data)
|
|
20
|
-
rescue TypeError
|
|
21
|
-
# Compatibility code: will be removed in the next major version.
|
|
22
|
-
require 'google/protobuf/descriptor_pb'
|
|
23
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
24
|
-
parsed.clear_dependency
|
|
25
|
-
serialized = parsed.class.encode(parsed)
|
|
26
|
-
file = pool.add_serialized_file(serialized)
|
|
27
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
28
|
-
imports = [
|
|
29
|
-
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
|
30
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
31
|
-
["google.cloud.aiplatform.v1.UserActionReference", "google/cloud/aiplatform/v1/user_action_reference.proto"],
|
|
32
|
-
]
|
|
33
|
-
imports.each do |type_name, expected_filename|
|
|
34
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
35
|
-
if import_file.name != expected_filename
|
|
36
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
40
|
-
warn "This will become an error in the next major version."
|
|
41
|
-
end
|
|
16
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
|
42
18
|
|
|
43
19
|
module Google
|
|
44
20
|
module Cloud
|
|
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
11
11
|
|
|
12
12
|
descriptor_data = "\n0google/cloud/aiplatform/v1/annotation_spec.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcc\x02\n\x0e\x41nnotationSpec\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\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01:\x8c\x01\xea\x41\x88\x01\n(aiplatform.googleapis.com/AnnotationSpec\x12\\projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}B\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x41nnotationSpecProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
|
13
13
|
|
|
14
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
-
|
|
16
|
-
begin
|
|
17
|
-
pool.add_serialized_file(descriptor_data)
|
|
18
|
-
rescue TypeError
|
|
19
|
-
# Compatibility code: will be removed in the next major version.
|
|
20
|
-
require 'google/protobuf/descriptor_pb'
|
|
21
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
22
|
-
parsed.clear_dependency
|
|
23
|
-
serialized = parsed.class.encode(parsed)
|
|
24
|
-
file = pool.add_serialized_file(serialized)
|
|
25
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
26
|
-
imports = [
|
|
27
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
28
|
-
]
|
|
29
|
-
imports.each do |type_name, expected_filename|
|
|
30
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
31
|
-
if import_file.name != expected_filename
|
|
32
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
36
|
-
warn "This will become an error in the next major version."
|
|
37
|
-
end
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
38
16
|
|
|
39
17
|
module Google
|
|
40
18
|
module Cloud
|
|
@@ -10,29 +10,8 @@ require 'google/api/resource_pb'
|
|
|
10
10
|
|
|
11
11
|
descriptor_data = "\n)google/cloud/aiplatform/v1/api_auth.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc8\x01\n\x07\x41piAuth\x12J\n\x0e\x61pi_key_config\x18\x01 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfigH\x00\x1a\x62\n\x0c\x41piKeyConfig\x12R\n\x16\x61pi_key_secret_version\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionB\r\n\x0b\x61uth_configB\xb8\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x41piAuthProtoP\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::V1\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}b\x06proto3"
|
|
12
12
|
|
|
13
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
-
|
|
15
|
-
begin
|
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
|
17
|
-
rescue TypeError
|
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
21
|
-
parsed.clear_dependency
|
|
22
|
-
serialized = parsed.class.encode(parsed)
|
|
23
|
-
file = pool.add_serialized_file(serialized)
|
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
25
|
-
imports = [
|
|
26
|
-
]
|
|
27
|
-
imports.each do |type_name, expected_filename|
|
|
28
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
29
|
-
if import_file.name != expected_filename
|
|
30
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
34
|
-
warn "This will become an error in the next major version."
|
|
35
|
-
end
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
36
15
|
|
|
37
16
|
module Google
|
|
38
17
|
module Cloud
|
|
@@ -12,31 +12,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
12
12
|
|
|
13
13
|
descriptor_data = "\n)google/cloud/aiplatform/v1/artifact.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x05\n\x08\x41rtifact\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0b\n\x03uri\x18\x06 \x01(\t\x12\x0c\n\x04\x65tag\x18\t \x01(\t\x12@\n\x06labels\x18\n \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.Artifact.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\r \x01(\x0e\x32*.google.cloud.aiplatform.v1.Artifact.State\x12\x14\n\x0cschema_title\x18\x0e \x01(\t\x12\x16\n\x0eschema_version\x18\x0f \x01(\t\x12)\n\x08metadata\x18\x10 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x13\n\x0b\x64\x65scription\x18\x11 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x08\n\x04LIVE\x10\x02:\x86\x01\xea\x41\x82\x01\n\"aiplatform.googleapis.com/Artifact\x12\\projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}B\xcb\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\rArtifactProtoP\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
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
-
|
|
17
|
-
begin
|
|
18
|
-
pool.add_serialized_file(descriptor_data)
|
|
19
|
-
rescue TypeError
|
|
20
|
-
# Compatibility code: will be removed in the next major version.
|
|
21
|
-
require 'google/protobuf/descriptor_pb'
|
|
22
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
23
|
-
parsed.clear_dependency
|
|
24
|
-
serialized = parsed.class.encode(parsed)
|
|
25
|
-
file = pool.add_serialized_file(serialized)
|
|
26
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
27
|
-
imports = [
|
|
28
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
29
|
-
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
|
30
|
-
]
|
|
31
|
-
imports.each do |type_name, expected_filename|
|
|
32
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
33
|
-
if import_file.name != expected_filename
|
|
34
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
38
|
-
warn "This will become an error in the next major version."
|
|
39
|
-
end
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
40
17
|
|
|
41
18
|
module Google
|
|
42
19
|
module Cloud
|
|
@@ -21,39 +21,8 @@ require 'google/rpc/status_pb'
|
|
|
21
21
|
|
|
22
22
|
descriptor_data = "\n5google/cloud/aiplatform/v1/batch_prediction_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/aiplatform/v1/completion_stats.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a?google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto\x1a:google/cloud/aiplatform/v1/unmanaged_container_model.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa0\x16\n\x12\x42\x61tchPredictionJob\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\x33\n\x05model\x18\x03 \x01(\tB$\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x1e \x01(\tB\x03\xe0\x41\x03\x12V\n\x19unmanaged_container_model\x18\x1c \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.UnmanagedContainerModel\x12U\n\x0cinput_config\x18\x04 \x01(\x0b\x32:.google.cloud.aiplatform.v1.BatchPredictionJob.InputConfigB\x03\xe0\x41\x02\x12V\n\x0finstance_config\x18\x1b \x01(\x0b\x32=.google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig\x12\x30\n\x10model_parameters\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Value\x12W\n\routput_config\x18\x06 \x01(\x0b\x32;.google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfigB\x03\xe0\x41\x02\x12P\n\x13\x64\x65\x64icated_resources\x18\x07 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.BatchDedicatedResources\x12\x17\n\x0fservice_account\x18\x1d \x01(\t\x12\x64\n\x1emanual_batch_tuning_parameters\x18\x08 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.ManualBatchTuningParametersB\x03\xe0\x41\x05\x12\x1c\n\x14generate_explanation\x18\x17 \x01(\x08\x12\x45\n\x10\x65xplanation_spec\x18\x19 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ExplanationSpec\x12S\n\x0boutput_info\x18\t \x01(\x0b\x32\x39.google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfoB\x03\xe0\x41\x03\x12\x38\n\x05state\x18\n \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x0b \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x31\n\x10partial_failures\x18\x0c \x03(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12N\n\x12resources_consumed\x18\r \x01(\x0b\x32-.google.cloud.aiplatform.v1.ResourcesConsumedB\x03\xe0\x41\x03\x12J\n\x10\x63ompletion_stats\x18\x0e \x01(\x0b\x32+.google.cloud.aiplatform.v1.CompletionStatsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x06labels\x18\x13 \x03(\x0b\x32:.google.cloud.aiplatform.v1.BatchPredictionJob.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x18 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12!\n\x19\x64isable_container_logging\x18\" \x01(\x08\x12\x1a\n\rsatisfies_pzs\x18$ \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18% \x01(\x08\x42\x03\xe0\x41\x03\x1a\xa1\x02\n\x0bInputConfig\x12;\n\ngcs_source\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12\x45\n\x0f\x62igquery_source\x18\x03 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12\x65\n vertex_multimodal_dataset_source\x18\x04 \x01(\x0b\x32\x39.google.cloud.aiplatform.v1.VertexMultimodalDatasetSourceH\x00\x12\x1d\n\x10instances_format\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x08\n\x06source\x1al\n\x0eInstanceConfig\x12\x15\n\rinstance_type\x18\x01 \x01(\t\x12\x11\n\tkey_field\x18\x02 \x01(\t\x12\x17\n\x0fincluded_fields\x18\x03 \x03(\t\x12\x17\n\x0f\x65xcluded_fields\x18\x04 \x03(\t\x1a\xc7\x02\n\x0cOutputConfig\x12\x45\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12O\n\x14\x62igquery_destination\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12o\n%vertex_multimodal_dataset_destination\x18\x06 \x01(\x0b\x32>.google.cloud.aiplatform.v1.VertexMultimodalDatasetDestinationH\x00\x12\x1f\n\x12predictions_format\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\r\n\x0b\x64\x65stination\x1a\xe5\x01\n\nOutputInfo\x12#\n\x14gcs_output_directory\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\x12&\n\x17\x62igquery_output_dataset\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x00\x12S\n\x1evertex_multimodal_dataset_name\x18\x05 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12\"\n\x15\x62igquery_output_table\x18\x04 \x01(\tB\x03\xe0\x41\x03\x42\x11\n\x0foutput_location\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x86\x01\xea\x41\x82\x01\n,aiplatform.googleapis.com/BatchPredictionJob\x12Rprojects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}B\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17\x42\x61tchPredictionJobProtoP\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"
|
|
23
23
|
|
|
24
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
25
|
-
|
|
26
|
-
begin
|
|
27
|
-
pool.add_serialized_file(descriptor_data)
|
|
28
|
-
rescue TypeError
|
|
29
|
-
# Compatibility code: will be removed in the next major version.
|
|
30
|
-
require 'google/protobuf/descriptor_pb'
|
|
31
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
32
|
-
parsed.clear_dependency
|
|
33
|
-
serialized = parsed.class.encode(parsed)
|
|
34
|
-
file = pool.add_serialized_file(serialized)
|
|
35
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
36
|
-
imports = [
|
|
37
|
-
["google.cloud.aiplatform.v1.UnmanagedContainerModel", "google/cloud/aiplatform/v1/unmanaged_container_model.proto"],
|
|
38
|
-
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
|
39
|
-
["google.cloud.aiplatform.v1.BatchDedicatedResources", "google/cloud/aiplatform/v1/machine_resources.proto"],
|
|
40
|
-
["google.cloud.aiplatform.v1.ManualBatchTuningParameters", "google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto"],
|
|
41
|
-
["google.cloud.aiplatform.v1.ExplanationSpec", "google/cloud/aiplatform/v1/explanation.proto"],
|
|
42
|
-
["google.rpc.Status", "google/rpc/status.proto"],
|
|
43
|
-
["google.cloud.aiplatform.v1.CompletionStats", "google/cloud/aiplatform/v1/completion_stats.proto"],
|
|
44
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
45
|
-
["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
|
|
46
|
-
["google.cloud.aiplatform.v1.GcsSource", "google/cloud/aiplatform/v1/io.proto"],
|
|
47
|
-
]
|
|
48
|
-
imports.each do |type_name, expected_filename|
|
|
49
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
50
|
-
if import_file.name != expected_filename
|
|
51
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
55
|
-
warn "This will become an error in the next major version."
|
|
56
|
-
end
|
|
24
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
25
|
+
pool.add_serialized_file(descriptor_data)
|
|
57
26
|
|
|
58
27
|
module Google
|
|
59
28
|
module Cloud
|
|
@@ -15,34 +15,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
15
15
|
|
|
16
16
|
descriptor_data = "\n/google/cloud/aiplatform/v1/cached_content.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/tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x08\n\rCachedContent\x12\x31\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12-\n\x03ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x04H\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x05\x12\x1c\n\x0c\x64isplay_name\x18\x0b \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x12\n\x05model\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12J\n\x12system_instruction\x18\x03 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12@\n\x08\x63ontents\x18\x04 \x03(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12:\n\x05tools\x18\x05 \x03(\x0b\x32 .google.cloud.aiplatform.v1.ToolB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12\x46\n\x0btool_config\x18\x06 \x01(\x0b\x32&.google.cloud.aiplatform.v1.ToolConfigB\t\xe0\x41\x01\xe0\x41\x05\xe0\x41\x04\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0eusage_metadata\x18\x0c \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.CachedContent.UsageMetadataB\x03\xe0\x41\x03\x12K\n\x0f\x65ncryption_spec\x18\r \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x06\xe0\x41\x04\xe0\x41\x05\x1a\x93\x01\n\rUsageMetadata\x12\x19\n\x11total_token_count\x18\x01 \x01(\x05\x12\x12\n\ntext_count\x18\x02 \x01(\x05\x12\x13\n\x0bimage_count\x18\x03 \x01(\x05\x12\x1e\n\x16video_duration_seconds\x18\x04 \x01(\x05\x12\x1e\n\x16\x61udio_duration_seconds\x18\x05 \x01(\x05:\x95\x01\xea\x41\x91\x01\n\'aiplatform.googleapis.com/CachedContent\x12Gprojects/{project}/locations/{location}/cachedContents/{cached_content}*\x0e\x63\x61\x63hedContents2\rcachedContentB\x0c\n\nexpirationB\xd0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x12\x43\x61\x63hedContentProtoP\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
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
-
|
|
20
|
-
begin
|
|
21
|
-
pool.add_serialized_file(descriptor_data)
|
|
22
|
-
rescue TypeError
|
|
23
|
-
# Compatibility code: will be removed in the next major version.
|
|
24
|
-
require 'google/protobuf/descriptor_pb'
|
|
25
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
26
|
-
parsed.clear_dependency
|
|
27
|
-
serialized = parsed.class.encode(parsed)
|
|
28
|
-
file = pool.add_serialized_file(serialized)
|
|
29
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
30
|
-
imports = [
|
|
31
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
32
|
-
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
|
33
|
-
["google.cloud.aiplatform.v1.Content", "google/cloud/aiplatform/v1/content.proto"],
|
|
34
|
-
["google.cloud.aiplatform.v1.Tool", "google/cloud/aiplatform/v1/tool.proto"],
|
|
35
|
-
["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
|
|
36
|
-
]
|
|
37
|
-
imports.each do |type_name, expected_filename|
|
|
38
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
39
|
-
if import_file.name != expected_filename
|
|
40
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
44
|
-
warn "This will become an error in the next major version."
|
|
45
|
-
end
|
|
18
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
|
46
20
|
|
|
47
21
|
module Google
|
|
48
22
|
module Cloud
|
|
@@ -9,29 +9,8 @@ require 'google/api/field_behavior_pb'
|
|
|
9
9
|
|
|
10
10
|
descriptor_data = "\n1google/cloud/aiplatform/v1/completion_stats.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x98\x01\n\x0f\x43ompletionStats\x12\x1d\n\x10successful_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x66\x61iled_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1d\n\x10incomplete_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12,\n\x1fsuccessful_forecast_point_count\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x42\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x43ompletionStatsProtoP\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"
|
|
11
11
|
|
|
12
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
-
|
|
14
|
-
begin
|
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
|
16
|
-
rescue TypeError
|
|
17
|
-
# Compatibility code: will be removed in the next major version.
|
|
18
|
-
require 'google/protobuf/descriptor_pb'
|
|
19
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
-
parsed.clear_dependency
|
|
21
|
-
serialized = parsed.class.encode(parsed)
|
|
22
|
-
file = pool.add_serialized_file(serialized)
|
|
23
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
-
imports = [
|
|
25
|
-
]
|
|
26
|
-
imports.each do |type_name, expected_filename|
|
|
27
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
-
if import_file.name != expected_filename
|
|
29
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
-
warn "This will become an error in the next major version."
|
|
34
|
-
end
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
35
14
|
|
|
36
15
|
module Google
|
|
37
16
|
module Cloud
|
|
@@ -16,35 +16,8 @@ require 'google/type/date_pb'
|
|
|
16
16
|
|
|
17
17
|
descriptor_data = "\n(google/cloud/aiplatform/v1/content.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%google/cloud/aiplatform/v1/tool.proto\x1a\x30google/cloud/aiplatform/v1/vertex_rag_data.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16google/type/date.proto\"R\n\x07\x43ontent\x12\x11\n\x04role\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x05parts\x18\x02 \x03(\x0b\x32 .google.cloud.aiplatform.v1.PartB\x03\xe0\x41\x02\"\xb9\x07\n\x04Part\x12\x13\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12<\n\x0binline_data\x18\x02 \x01(\x0b\x32 .google.cloud.aiplatform.v1.BlobB\x03\xe0\x41\x01H\x00\x12>\n\tfile_data\x18\x03 \x01(\x0b\x32$.google.cloud.aiplatform.v1.FileDataB\x03\xe0\x41\x01H\x00\x12\x46\n\rfunction_call\x18\x05 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FunctionCallB\x03\xe0\x41\x01H\x00\x12N\n\x11\x66unction_response\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.FunctionResponseB\x03\xe0\x41\x01H\x00\x12J\n\x0f\x65xecutable_code\x18\x08 \x01(\x0b\x32*.google.cloud.aiplatform.v1.ExecutableCodeB\x03\xe0\x41\x01H\x00\x12U\n\x15\x63ode_execution_result\x18\t \x01(\x0b\x32/.google.cloud.aiplatform.v1.CodeExecutionResultB\x03\xe0\x41\x01H\x00\x12\x14\n\x07thought\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11thought_signature\x18\x0b \x01(\x0c\x42\x03\xe0\x41\x01\x12H\n\x0evideo_metadata\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.VideoMetadataB\x03\xe0\x41\x01H\x01\x12J\n\x10media_resolution\x18\x0c \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.Part.MediaResolution\x1a\x82\x02\n\x0fMediaResolution\x12G\n\x05level\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.Part.MediaResolution.LevelH\x00\"\x9c\x01\n\x05Level\x12 \n\x1cMEDIA_RESOLUTION_UNSPECIFIED\x10\x00\x12\x18\n\x14MEDIA_RESOLUTION_LOW\x10\x01\x12\x1b\n\x17MEDIA_RESOLUTION_MEDIUM\x10\x02\x12\x19\n\x15MEDIA_RESOLUTION_HIGH\x10\x03\x12\x1f\n\x1bMEDIA_RESOLUTION_ULTRA_HIGH\x10\x04\x42\x07\n\x05valueB\x06\n\x04\x64\x61taB\n\n\x08metadata\"1\n\x04\x42lob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"9\n\x08\x46ileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x8b\x01\n\rVideoMetadata\x12\x34\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x32\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x10\n\x03\x66ps\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01\"=\n\x13PrebuiltVoiceConfig\x12\x17\n\nvoice_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_voice_name\"P\n\x15ReplicatedVoiceConfig\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12voice_sample_audio\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\"\xca\x01\n\x0bVoiceConfig\x12P\n\x15prebuilt_voice_config\x18\x01 \x01(\x0b\x32/.google.cloud.aiplatform.v1.PrebuiltVoiceConfigH\x00\x12Y\n\x17replicated_voice_config\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.ReplicatedVoiceConfigB\x03\xe0\x41\x01H\x00\x42\x0e\n\x0cvoice_config\"n\n\x12SpeakerVoiceConfig\x12\x14\n\x07speaker\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x0cvoice_config\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.VoiceConfigB\x03\xe0\x41\x02\"m\n\x17MultiSpeakerVoiceConfig\x12R\n\x15speaker_voice_configs\x18\x02 \x03(\x0b\x32..google.cloud.aiplatform.v1.SpeakerVoiceConfigB\x03\xe0\x41\x02\"\xc2\x01\n\x0cSpeechConfig\x12=\n\x0cvoice_config\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.VoiceConfig\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12W\n\x1amulti_speaker_voice_config\x18\x03 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig\"\xc4\x04\n\x0bImageConfig\x12\x62\n\x14image_output_options\x18\x01 \x01(\x0b\x32:.google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptionsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1e\n\x0c\x61spect_ratio\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12]\n\x11person_generation\x18\x03 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.ImageConfig.PersonGenerationB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x1c\n\nimage_size\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x03\x88\x01\x01\x1a~\n\x12ImageOutputOptions\x12\x1b\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12%\n\x13\x63ompression_quality\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0c\n\n_mime_typeB\x16\n\x14_compression_quality\"e\n\x10PersonGeneration\x12!\n\x1dPERSON_GENERATION_UNSPECIFIED\x10\x00\x12\r\n\tALLOW_ALL\x10\x01\x12\x0f\n\x0b\x41LLOW_ADULT\x10\x02\x12\x0e\n\nALLOW_NONE\x10\x03\x42\x17\n\x15_image_output_optionsB\x0f\n\r_aspect_ratioB\x14\n\x12_person_generationB\r\n\x0b_image_size\"\xe1\x13\n\x10GenerationConfig\x12\x1d\n\x0btemperature\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x17\n\x05top_p\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12!\n\x0f\x63\x61ndidate_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12#\n\x11max_output_tokens\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\x1b\n\x0estop_sequences\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12#\n\x11response_logprobs\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x1a\n\x08logprobs\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01H\x06\x88\x01\x01\x12\"\n\x10presence_penalty\x18\x08 \x01(\x02\x42\x03\xe0\x41\x01H\x07\x88\x01\x01\x12#\n\x11\x66requency_penalty\x18\t \x01(\x02\x42\x03\xe0\x41\x01H\x08\x88\x01\x01\x12\x16\n\x04seed\x18\x0c \x01(\x05\x42\x03\xe0\x41\x01H\t\x88\x01\x01\x12\x1f\n\x12response_mime_type\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0fresponse_schema\x18\x10 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01H\n\x88\x01\x01\x12>\n\x14response_json_schema\x18\x1c \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01H\x0b\x88\x01\x01\x12\\\n\x0erouting_config\x18\x11 \x01(\x0b\x32:.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfigB\x03\xe0\x41\x01H\x0c\x88\x01\x01\x12!\n\x0f\x61udio_timestamp\x18\x14 \x01(\x08\x42\x03\xe0\x41\x01H\r\x88\x01\x01\x12W\n\x13response_modalities\x18\x15 \x03(\x0e\x32\x35.google.cloud.aiplatform.v1.GenerationConfig.ModalityB\x03\xe0\x41\x01\x12`\n\x10media_resolution\x18\x16 \x01(\x0e\x32<.google.cloud.aiplatform.v1.GenerationConfig.MediaResolutionB\x03\xe0\x41\x01H\x0e\x88\x01\x01\x12I\n\rspeech_config\x18\x17 \x01(\x0b\x32(.google.cloud.aiplatform.v1.SpeechConfigB\x03\xe0\x41\x01H\x0f\x88\x01\x01\x12Y\n\x0fthinking_config\x18\x19 \x01(\x0b\x32;.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfigB\x03\xe0\x41\x01\x12G\n\x0cimage_config\x18\x1e \x01(\x0b\x32\'.google.cloud.aiplatform.v1.ImageConfigB\x03\xe0\x41\x01H\x10\x88\x01\x01\x1a\xc2\x04\n\rRoutingConfig\x12_\n\tauto_mode\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingModeH\x00\x12\x63\n\x0bmanual_mode\x18\x02 \x01(\x0b\x32L.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingModeH\x00\x1a\x9b\x02\n\x0f\x41utoRoutingMode\x12\x88\x01\n\x18model_routing_preference\x18\x01 \x01(\x0e\x32\x61.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreferenceH\x00\x88\x01\x01\"`\n\x16ModelRoutingPreference\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x16\n\x12PRIORITIZE_QUALITY\x10\x01\x12\x0c\n\x08\x42\x41LANCED\x10\x02\x12\x13\n\x0fPRIORITIZE_COST\x10\x03\x42\x1b\n\x19_model_routing_preference\x1a;\n\x11ManualRoutingMode\x12\x17\n\nmodel_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_model_nameB\x10\n\x0erouting_config\x1a\xdd\x02\n\x0eThinkingConfig\x12\"\n\x10include_thoughts\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12!\n\x0fthinking_budget\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12k\n\x0ethinking_level\x18\x04 \x01(\x0e\x32I.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevelB\x03\xe0\x41\x01H\x02\x88\x01\x01\"[\n\rThinkingLevel\x12\x1e\n\x1aTHINKING_LEVEL_UNSPECIFIED\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x08\n\x04HIGH\x10\x03\x12\x0b\n\x07MINIMAL\x10\x04\x42\x13\n\x11_include_thoughtsB\x12\n\x10_thinking_budgetB\x11\n\x0f_thinking_level\"D\n\x08Modality\x12\x18\n\x14MODALITY_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05IMAGE\x10\x02\x12\t\n\x05\x41UDIO\x10\x03\"\x85\x01\n\x0fMediaResolution\x12 \n\x1cMEDIA_RESOLUTION_UNSPECIFIED\x10\x00\x12\x18\n\x14MEDIA_RESOLUTION_LOW\x10\x01\x12\x1b\n\x17MEDIA_RESOLUTION_MEDIUM\x10\x02\x12\x19\n\x15MEDIA_RESOLUTION_HIGH\x10\x03\x42\x0e\n\x0c_temperatureB\x08\n\x06_top_pB\x08\n\x06_top_kB\x12\n\x10_candidate_countB\x14\n\x12_max_output_tokensB\x14\n\x12_response_logprobsB\x0b\n\t_logprobsB\x13\n\x11_presence_penaltyB\x14\n\x12_frequency_penaltyB\x07\n\x05_seedB\x12\n\x10_response_schemaB\x17\n\x15_response_json_schemaB\x11\n\x0f_routing_configB\x12\n\x10_audio_timestampB\x13\n\x11_media_resolutionB\x10\n\x0e_speech_configB\x0f\n\r_image_config\"\xeb\x03\n\rSafetySetting\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x02\x12T\n\tthreshold\x18\x02 \x01(\x0e\x32<.google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\x03\xe0\x41\x02\x12N\n\x06method\x18\x04 \x01(\x0e\x32\x39.google.cloud.aiplatform.v1.SafetySetting.HarmBlockMethodB\x03\xe0\x41\x01\"\x9d\x01\n\x12HarmBlockThreshold\x12$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x01\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\n\x0f\x42LOCK_ONLY_HIGH\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04\x12\x07\n\x03OFF\x10\x05\"S\n\x0fHarmBlockMethod\x12!\n\x1dHARM_BLOCK_METHOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08SEVERITY\x10\x01\x12\x0f\n\x0bPROBABILITY\x10\x02\"\xbf\x04\n\x0cSafetyRating\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x03\x12R\n\x0bprobability\x18\x02 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.SafetyRating.HarmProbabilityB\x03\xe0\x41\x03\x12\x1e\n\x11probability_score\x18\x05 \x01(\x02\x42\x03\xe0\x41\x03\x12L\n\x08severity\x18\x06 \x01(\x0e\x32\x35.google.cloud.aiplatform.v1.SafetyRating.HarmSeverityB\x03\xe0\x41\x03\x12\x1b\n\x0eseverity_score\x18\x07 \x01(\x02\x42\x03\xe0\x41\x03\x12\x14\n\x07\x62locked\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\"b\n\x0fHarmProbability\x12 \n\x1cHARM_PROBABILITY_UNSPECIFIED\x10\x00\x12\x0e\n\nNEGLIGIBLE\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x08\n\x04HIGH\x10\x04\"\x94\x01\n\x0cHarmSeverity\x12\x1d\n\x19HARM_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18HARM_SEVERITY_NEGLIGIBLE\x10\x01\x12\x15\n\x11HARM_SEVERITY_LOW\x10\x02\x12\x18\n\x14HARM_SEVERITY_MEDIUM\x10\x03\x12\x16\n\x12HARM_SEVERITY_HIGH\x10\x04\"P\n\x10\x43itationMetadata\x12<\n\tcitations\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.CitationB\x03\xe0\x41\x03\"\xaa\x01\n\x08\x43itation\x12\x18\n\x0bstart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07license\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x30\n\x10publication_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\"\xe0\x06\n\tCandidate\x12\x12\n\x05index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x39\n\x07\x63ontent\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x03\x12\x12\n\x05score\x18\x08 \x01(\x01\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x61vg_logprobs\x18\t \x01(\x01\x42\x03\xe0\x41\x03\x12H\n\x0flogprobs_result\x18\n \x01(\x0b\x32*.google.cloud.aiplatform.v1.LogprobsResultB\x03\xe0\x41\x03\x12N\n\rfinish_reason\x18\x03 \x01(\x0e\x32\x32.google.cloud.aiplatform.v1.Candidate.FinishReasonB\x03\xe0\x41\x03\x12\x45\n\x0esafety_ratings\x18\x04 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xe0\x41\x03\x12 \n\x0e\x66inish_message\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12L\n\x11\x63itation_metadata\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.CitationMetadataB\x03\xe0\x41\x03\x12N\n\x12grounding_metadata\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.GroundingMetadataB\x03\xe0\x41\x03\x12Q\n\x14url_context_metadata\x18\x0b \x01(\x0b\x32..google.cloud.aiplatform.v1.UrlContextMetadataB\x03\xe0\x41\x03\"\xcd\x01\n\x0c\x46inishReason\x12\x1d\n\x19\x46INISH_REASON_UNSPECIFIED\x10\x00\x12\x08\n\x04STOP\x10\x01\x12\x0e\n\nMAX_TOKENS\x10\x02\x12\n\n\x06SAFETY\x10\x03\x12\x0e\n\nRECITATION\x10\x04\x12\t\n\x05OTHER\x10\x05\x12\r\n\tBLOCKLIST\x10\x06\x12\x16\n\x12PROHIBITED_CONTENT\x10\x07\x12\x08\n\x04SPII\x10\x08\x12\x1b\n\x17MALFORMED_FUNCTION_CALL\x10\t\x12\x0f\n\x0bMODEL_ARMOR\x10\nB\x11\n\x0f_finish_message\"X\n\x12UrlContextMetadata\x12\x42\n\x0curl_metadata\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.UrlMetadataB\x03\xe0\x41\x03\"\xfc\x01\n\x0bUrlMetadata\x12\x15\n\rretrieved_url\x18\x01 \x01(\t\x12X\n\x14url_retrieval_status\x18\x02 \x01(\x0e\x32:.google.cloud.aiplatform.v1.UrlMetadata.UrlRetrievalStatus\"|\n\x12UrlRetrievalStatus\x12$\n URL_RETRIEVAL_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cURL_RETRIEVAL_STATUS_SUCCESS\x10\x01\x12\x1e\n\x1aURL_RETRIEVAL_STATUS_ERROR\x10\x02\"\x8f\x03\n\x0eLogprobsResult\x12P\n\x0etop_candidates\x18\x01 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.LogprobsResult.TopCandidates\x12O\n\x11\x63hosen_candidates\x18\x02 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.LogprobsResult.Candidate\x1a\x7f\n\tCandidate\x12\x12\n\x05token\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08token_id\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12\x1c\n\x0flog_probability\x18\x02 \x01(\x02H\x02\x88\x01\x01\x42\x08\n\x06_tokenB\x0b\n\t_token_idB\x12\n\x10_log_probability\x1aY\n\rTopCandidates\x12H\n\ncandidates\x18\x01 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.LogprobsResult.Candidate\"g\n\x07Segment\x12\x17\n\npart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xd2\x07\n\x0eGroundingChunk\x12=\n\x03web\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.GroundingChunk.WebH\x00\x12X\n\x11retrieved_context\x18\x02 \x01(\x0b\x32;.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContextH\x00\x12?\n\x04maps\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.GroundingChunk.MapsH\x00\x1a=\n\x03Web\x12\x10\n\x03uri\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05title\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_uriB\x08\n\x06_title\x1a\xe7\x01\n\x10RetrievedContext\x12\x39\n\trag_chunk\x18\x04 \x01(\x0b\x32$.google.cloud.aiplatform.v1.RagChunkH\x00\x12\x10\n\x03uri\x18\x01 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05title\x18\x02 \x01(\tH\x02\x88\x01\x01\x12\x11\n\x04text\x18\x03 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\rdocument_name\x18\x06 \x01(\tB\x03\xe0\x41\x03H\x04\x88\x01\x01\x42\x11\n\x0f\x63ontext_detailsB\x06\n\x04_uriB\x08\n\x06_titleB\x07\n\x05_textB\x10\n\x0e_document_name\x1a\xae\x03\n\x04Maps\x12\x10\n\x03uri\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05title\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04text\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x15\n\x08place_id\x18\x04 \x01(\tH\x03\x88\x01\x01\x12`\n\x14place_answer_sources\x18\x05 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources\x1a\xcb\x01\n\x12PlaceAnswerSources\x12i\n\x0freview_snippets\x18\x01 \x03(\x0b\x32P.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet\x1aJ\n\rReviewSnippet\x12\x11\n\treview_id\x18\x01 \x01(\t\x12\x17\n\x0fgoogle_maps_uri\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\tB\x06\n\x04_uriB\x08\n\x06_titleB\x07\n\x05_textB\x0b\n\t_place_idB\x0c\n\nchunk_type\"\x95\x01\n\x10GroundingSupport\x12\x39\n\x07segment\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.SegmentH\x00\x88\x01\x01\x12\x1f\n\x17grounding_chunk_indices\x18\x02 \x03(\x05\x12\x19\n\x11\x63onfidence_scores\x18\x03 \x03(\x02\x42\n\n\x08_segment\"\xa0\x05\n\x11GroundingMetadata\x12\x1f\n\x12web_search_queries\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12R\n\x12search_entry_point\x18\x04 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SearchEntryPointB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x44\n\x10grounding_chunks\x18\x05 \x03(\x0b\x32*.google.cloud.aiplatform.v1.GroundingChunk\x12M\n\x12grounding_supports\x18\x06 \x03(\x0b\x32,.google.cloud.aiplatform.v1.GroundingSupportB\x03\xe0\x41\x01\x12V\n\x12retrieval_metadata\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.RetrievalMetadataB\x06\xe0\x41\x01\xe0\x41\x03H\x01\x88\x01\x01\x12\x35\n google_maps_widget_context_token\x18\x08 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x03H\x02\x88\x01\x01\x12]\n\x14source_flagging_uris\x18\t \x03(\x0b\x32?.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri\x1a@\n\x11SourceFlaggingUri\x12\x11\n\tsource_id\x18\x01 \x01(\t\x12\x18\n\x10\x66lag_content_uri\x18\x02 \x01(\tB\x15\n\x13_search_entry_pointB\x15\n\x13_retrieval_metadataB#\n!_google_maps_widget_context_token\"H\n\x10SearchEntryPoint\x12\x1d\n\x10rendered_content\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08sdk_blob\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\"G\n\x11RetrievalMetadata\x12\x32\n%google_search_dynamic_retrieval_score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\xa8\x01\n\x10ModelArmorConfig\x12H\n\x14prompt_template_name\x18\x01 \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"modelarmor.googleapis.com/Template\x12J\n\x16response_template_name\x18\x02 \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"modelarmor.googleapis.com/Template\"a\n\x12ModalityTokenCount\x12\x36\n\x08modality\x18\x01 \x01(\x0e\x32$.google.cloud.aiplatform.v1.Modality\x12\x13\n\x0btoken_count\x18\x02 \x01(\x05*\xf8\x01\n\x0cHarmCategory\x12\x1d\n\x19HARM_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19HARM_CATEGORY_HATE_SPEECH\x10\x01\x12#\n\x1fHARM_CATEGORY_DANGEROUS_CONTENT\x10\x02\x12\x1c\n\x18HARM_CATEGORY_HARASSMENT\x10\x03\x12#\n\x1fHARM_CATEGORY_SEXUALLY_EXPLICIT\x10\x04\x12%\n\x1dHARM_CATEGORY_CIVIC_INTEGRITY\x10\x05\x1a\x02\x08\x01\x12\x1b\n\x17HARM_CATEGORY_JAILBREAK\x10\x06*]\n\x08Modality\x12\x18\n\x14MODALITY_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05IMAGE\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\t\n\x05\x41UDIO\x10\x04\x12\x0c\n\x08\x44OCUMENT\x10\x05\x42\xaf\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x43ontentProtoP\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::V1\xea\x41\x62\n\"modelarmor.googleapis.com/Template\x12<projects/{project}/locations/{location}/templates/{template}b\x06proto3"
|
|
18
18
|
|
|
19
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
20
|
-
|
|
21
|
-
begin
|
|
22
|
-
pool.add_serialized_file(descriptor_data)
|
|
23
|
-
rescue TypeError
|
|
24
|
-
# Compatibility code: will be removed in the next major version.
|
|
25
|
-
require 'google/protobuf/descriptor_pb'
|
|
26
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
27
|
-
parsed.clear_dependency
|
|
28
|
-
serialized = parsed.class.encode(parsed)
|
|
29
|
-
file = pool.add_serialized_file(serialized)
|
|
30
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
31
|
-
imports = [
|
|
32
|
-
["google.cloud.aiplatform.v1.FunctionCall", "google/cloud/aiplatform/v1/tool.proto"],
|
|
33
|
-
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
|
34
|
-
["google.cloud.aiplatform.v1.Schema", "google/cloud/aiplatform/v1/openapi.proto"],
|
|
35
|
-
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
|
36
|
-
["google.type.Date", "google/type/date.proto"],
|
|
37
|
-
["google.cloud.aiplatform.v1.RagChunk", "google/cloud/aiplatform/v1/vertex_rag_data.proto"],
|
|
38
|
-
]
|
|
39
|
-
imports.each do |type_name, expected_filename|
|
|
40
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
41
|
-
if import_file.name != expected_filename
|
|
42
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
46
|
-
warn "This will become an error in the next major version."
|
|
47
|
-
end
|
|
19
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
|
48
21
|
|
|
49
22
|
module Google
|
|
50
23
|
module Cloud
|
|
@@ -12,31 +12,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
12
12
|
|
|
13
13
|
descriptor_data = "\n(google/cloud/aiplatform/v1/context.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\x04\n\x07\x43ontext\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12?\n\x06labels\x18\t \x03(\x0b\x32/.google.cloud.aiplatform.v1.Context.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x0fparent_contexts\x18\x0c \x03(\tB)\xe0\x41\x03\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\x14\n\x0cschema_title\x18\r \x01(\t\x12\x16\n\x0eschema_version\x18\x0e \x01(\t\x12)\n\x08metadata\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x13\n\x0b\x64\x65scription\x18\x10 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n!aiplatform.googleapis.com/Context\x12Zprojects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}B\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x43ontextProtoP\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
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
-
|
|
17
|
-
begin
|
|
18
|
-
pool.add_serialized_file(descriptor_data)
|
|
19
|
-
rescue TypeError
|
|
20
|
-
# Compatibility code: will be removed in the next major version.
|
|
21
|
-
require 'google/protobuf/descriptor_pb'
|
|
22
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
23
|
-
parsed.clear_dependency
|
|
24
|
-
serialized = parsed.class.encode(parsed)
|
|
25
|
-
file = pool.add_serialized_file(serialized)
|
|
26
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
27
|
-
imports = [
|
|
28
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
29
|
-
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
|
30
|
-
]
|
|
31
|
-
imports.each do |type_name, expected_filename|
|
|
32
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
33
|
-
if import_file.name != expected_filename
|
|
34
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
38
|
-
warn "This will become an error in the next major version."
|
|
39
|
-
end
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
40
17
|
|
|
41
18
|
module Google
|
|
42
19
|
module Cloud
|