google-cloud-ai_platform-v1 0.35.0 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +72 -99
- data/README.md +1 -1
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +896 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +809 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/paths.rb +83 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/endpoint_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +46 -18
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +146 -17
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +44 -18
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +42 -17
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +44 -18
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +52 -18
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +49 -18
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +42 -17
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +42 -17
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +47 -21
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +544 -20
- data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +43 -17
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +28 -6
- data/lib/google/cloud/ai_platform/v1.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +64 -0
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +4 -2
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +4 -2
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_pb.rb +65 -0
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_services_pb.rb +53 -0
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +11 -2
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +5 -0
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/llm_utility_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +47 -0
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +16 -2
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +16 -3
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +6 -2
- data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/schedule_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +4 -2
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +2 -2
- data/proto_docs/google/api/client.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +312 -0
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +15 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +102 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +12 -1
- data/proto_docs/google/cloud/aiplatform/v1/deployed_index_ref.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +45 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool_service.rb +170 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +8 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +3 -1
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +150 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +3 -2
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +28 -0
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +55 -4
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +4 -4
- data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +102 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +195 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +73 -1
- data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +16 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +112 -0
- data/proto_docs/google/protobuf/any.rb +2 -1
- data/proto_docs/google/type/date.rb +53 -0
- metadata +27 -122
@@ -102,11 +102,11 @@ module Google
|
|
102
102
|
# deploying this Model. The specification is ingested upon
|
103
103
|
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model ModelService.UploadModel},
|
104
104
|
# and all binaries it contains are copied and stored internally by Vertex AI.
|
105
|
-
# Not
|
105
|
+
# Not required for AutoML Models.
|
106
106
|
# @!attribute [rw] artifact_uri
|
107
107
|
# @return [::String]
|
108
108
|
# Immutable. The path to the directory containing the Model artifact and any
|
109
|
-
# of its supporting files. Not
|
109
|
+
# of its supporting files. Not required for AutoML Models.
|
110
110
|
# @!attribute [r] supported_deployment_resources_types
|
111
111
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Model::DeploymentResourcesType>]
|
112
112
|
# Output only. When this Model is deployed, its prediction resources are
|
@@ -270,6 +270,12 @@ module Google
|
|
270
270
|
# characters, underscores and dashes. International characters are allowed.
|
271
271
|
#
|
272
272
|
# See https://goo.gl/xmQnxf for more information and examples of labels.
|
273
|
+
# @!attribute [rw] data_stats
|
274
|
+
# @return [::Google::Cloud::AIPlatform::V1::Model::DataStats]
|
275
|
+
# Stats of data used for training or evaluating the Model.
|
276
|
+
#
|
277
|
+
# Only populated when the Model is trained by a TrainingPipeline with
|
278
|
+
# [data_input_config][TrainingPipeline.data_input_config].
|
273
279
|
# @!attribute [rw] encryption_spec
|
274
280
|
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
275
281
|
# Customer-managed encryption key spec for a Model. If set, this
|
@@ -277,7 +283,8 @@ module Google
|
|
277
283
|
# @!attribute [r] model_source_info
|
278
284
|
# @return [::Google::Cloud::AIPlatform::V1::ModelSourceInfo]
|
279
285
|
# Output only. Source of a model. It can either be automl training pipeline,
|
280
|
-
# custom training pipeline, BigQuery ML, or
|
286
|
+
# custom training pipeline, BigQuery ML, or saved and tuned from Genie or
|
287
|
+
# Model Garden.
|
281
288
|
# @!attribute [r] original_model_info
|
282
289
|
# @return [::Google::Cloud::AIPlatform::V1::Model::OriginalModelInfo]
|
283
290
|
# Output only. If this Model is a copy of another Model, this contains info
|
@@ -344,6 +351,38 @@ module Google
|
|
344
351
|
end
|
345
352
|
end
|
346
353
|
|
354
|
+
# Stats of data used for train or evaluate the Model.
|
355
|
+
# @!attribute [rw] training_data_items_count
|
356
|
+
# @return [::Integer]
|
357
|
+
# Number of DataItems that were used for training this Model.
|
358
|
+
# @!attribute [rw] validation_data_items_count
|
359
|
+
# @return [::Integer]
|
360
|
+
# Number of DataItems that were used for validating this Model during
|
361
|
+
# training.
|
362
|
+
# @!attribute [rw] test_data_items_count
|
363
|
+
# @return [::Integer]
|
364
|
+
# Number of DataItems that were used for evaluating this Model. If the
|
365
|
+
# Model is evaluated multiple times, this will be the number of test
|
366
|
+
# DataItems used by the first evaluation. If the Model is not evaluated,
|
367
|
+
# the number is 0.
|
368
|
+
# @!attribute [rw] training_annotations_count
|
369
|
+
# @return [::Integer]
|
370
|
+
# Number of Annotations that are used for training this Model.
|
371
|
+
# @!attribute [rw] validation_annotations_count
|
372
|
+
# @return [::Integer]
|
373
|
+
# Number of Annotations that are used for validating this Model during
|
374
|
+
# training.
|
375
|
+
# @!attribute [rw] test_annotations_count
|
376
|
+
# @return [::Integer]
|
377
|
+
# Number of Annotations that are used for evaluating this Model. If the
|
378
|
+
# Model is evaluated multiple times, this will be the number of test
|
379
|
+
# Annotations used by the first evaluation. If the Model is not evaluated,
|
380
|
+
# the number is 0.
|
381
|
+
class DataStats
|
382
|
+
include ::Google::Protobuf::MessageExts
|
383
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
384
|
+
end
|
385
|
+
|
347
386
|
# Contains information about the original Model if this Model is a copy.
|
348
387
|
# @!attribute [r] model
|
349
388
|
# @return [::String]
|
@@ -380,7 +419,9 @@ module Google
|
|
380
419
|
|
381
420
|
# Resources that can be shared by multiple
|
382
421
|
# {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModels}. A
|
383
|
-
# pre-configured
|
422
|
+
# pre-configured
|
423
|
+
# {::Google::Cloud::AIPlatform::V1::DeploymentResourcePool DeploymentResourcePool}
|
424
|
+
# is required.
|
384
425
|
SHARED_RESOURCES = 3
|
385
426
|
end
|
386
427
|
end
|
@@ -717,6 +758,10 @@ module Google
|
|
717
758
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
718
759
|
|
719
760
|
# Source of the model.
|
761
|
+
# Different from `objective` field, this `ModelSourceType` enum
|
762
|
+
# indicates the source from which the model was accessed or obtained,
|
763
|
+
# whereas the `objective` indicates the overall aim or function of this
|
764
|
+
# model.
|
720
765
|
module ModelSourceType
|
721
766
|
# Should not be used.
|
722
767
|
MODEL_SOURCE_TYPE_UNSPECIFIED = 0
|
@@ -735,6 +780,12 @@ module Google
|
|
735
780
|
|
736
781
|
# The Model is saved or tuned from Genie.
|
737
782
|
GENIE = 5
|
783
|
+
|
784
|
+
# The Model is uploaded by text embedding finetuning pipeline.
|
785
|
+
CUSTOM_TEXT_EMBEDDING = 6
|
786
|
+
|
787
|
+
# The Model is saved or tuned from Marketplace.
|
788
|
+
MARKETPLACE = 7
|
738
789
|
end
|
739
790
|
end
|
740
791
|
|
@@ -196,6 +196,10 @@ module Google
|
|
196
196
|
# The created BigQuery table to store logs. Customer could do their own query
|
197
197
|
# & analysis. Format:
|
198
198
|
# `bq://<project_id>.model_deployment_monitoring_<endpoint_id>.<tolower(log_source)>_<tolower(log_type)>`
|
199
|
+
# @!attribute [r] request_response_logging_schema_version
|
200
|
+
# @return [::String]
|
201
|
+
# Output only. The schema version of the request/response logging BigQuery
|
202
|
+
# table. Default to v1 if unset.
|
199
203
|
class ModelDeploymentMonitoringBigQueryTable
|
200
204
|
include ::Google::Protobuf::MessageExts
|
201
205
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# The metadata of the ModelEvaluation.
|
88
88
|
# For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a
|
89
89
|
# structured value with keys of "pipeline_job_id", "evaluation_dataset_type",
|
90
|
-
# "evaluation_dataset_path".
|
90
|
+
# "evaluation_dataset_path", "row_based_metrics_path".
|
91
91
|
class ModelEvaluation
|
92
92
|
include ::Google::Protobuf::MessageExts
|
93
93
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -46,10 +46,10 @@ module Google
|
|
46
46
|
# Optional. The user-provided custom service account to use to do the model
|
47
47
|
# upload. If empty, [Vertex AI Service
|
48
48
|
# Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
|
49
|
-
# will be used
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
49
|
+
# will be used to access resources needed to upload the model. This account
|
50
|
+
# must belong to the target project where the model is uploaded to, i.e., the
|
51
|
+
# project specified in the `parent` field of this request and have necessary
|
52
|
+
# read permissions (to Google Cloud Storage, Artifact Registry, etc.).
|
53
53
|
class UploadModelRequest
|
54
54
|
include ::Google::Protobuf::MessageExts
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -72,6 +72,7 @@ module Google
|
|
72
72
|
# If this is set, then all resources created by the NasJob
|
73
73
|
# will be encrypted with the provided encryption key.
|
74
74
|
# @!attribute [rw] enable_restricted_image_training
|
75
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
75
76
|
# @return [::Boolean]
|
76
77
|
# Optional. Enable a separation of Custom model training
|
77
78
|
# and restricted image training for tenant project.
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
# Schema is used to define the format of input/output data. Represents a select
|
25
|
+
# subset of an [OpenAPI 3.0 schema
|
26
|
+
# object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be
|
27
|
+
# added in the future as needed.
|
28
|
+
# @!attribute [rw] type
|
29
|
+
# @return [::Google::Cloud::AIPlatform::V1::Type]
|
30
|
+
# Optional. The type of the data.
|
31
|
+
# @!attribute [rw] format
|
32
|
+
# @return [::String]
|
33
|
+
# Optional. The format of the data.
|
34
|
+
# Supported formats:
|
35
|
+
# for NUMBER type: float, double
|
36
|
+
# for INTEGER type: int32, int64
|
37
|
+
# @!attribute [rw] description
|
38
|
+
# @return [::String]
|
39
|
+
# Optional. The description of the data.
|
40
|
+
# @!attribute [rw] nullable
|
41
|
+
# @return [::Boolean]
|
42
|
+
# Optional. Indicates if the value may be null.
|
43
|
+
# @!attribute [rw] items
|
44
|
+
# @return [::Google::Cloud::AIPlatform::V1::Schema]
|
45
|
+
# Optional. Schema of the elements of Type.ARRAY.
|
46
|
+
# @!attribute [rw] enum
|
47
|
+
# @return [::Array<::String>]
|
48
|
+
# Optional. Possible values of the element of Type.STRING with enum format.
|
49
|
+
# For example we can define an Enum Direction as :
|
50
|
+
# \\{type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
|
51
|
+
# @!attribute [rw] properties
|
52
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::Schema}]
|
53
|
+
# Optional. Properties of Type.OBJECT.
|
54
|
+
# @!attribute [rw] required
|
55
|
+
# @return [::Array<::String>]
|
56
|
+
# Optional. Required properties of Type.OBJECT.
|
57
|
+
# @!attribute [rw] example
|
58
|
+
# @return [::Google::Protobuf::Value]
|
59
|
+
# Optional. Example of the object. Will only populated when the object is the
|
60
|
+
# root.
|
61
|
+
class Schema
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
|
65
|
+
# @!attribute [rw] key
|
66
|
+
# @return [::String]
|
67
|
+
# @!attribute [rw] value
|
68
|
+
# @return [::Google::Cloud::AIPlatform::V1::Schema]
|
69
|
+
class PropertiesEntry
|
70
|
+
include ::Google::Protobuf::MessageExts
|
71
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Type contains the list of OpenAPI data types as defined by
|
76
|
+
# https://swagger.io/docs/specification/data-models/data-types/
|
77
|
+
module Type
|
78
|
+
# Not specified, should not be used.
|
79
|
+
TYPE_UNSPECIFIED = 0
|
80
|
+
|
81
|
+
# OpenAPI string type
|
82
|
+
STRING = 1
|
83
|
+
|
84
|
+
# OpenAPI number type
|
85
|
+
NUMBER = 2
|
86
|
+
|
87
|
+
# OpenAPI integer type
|
88
|
+
INTEGER = 3
|
89
|
+
|
90
|
+
# OpenAPI boolean type
|
91
|
+
BOOLEAN = 4
|
92
|
+
|
93
|
+
# OpenAPI array type
|
94
|
+
ARRAY = 5
|
95
|
+
|
96
|
+
# OpenAPI object type
|
97
|
+
OBJECT = 6
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -132,6 +132,7 @@ module Google
|
|
132
132
|
|
133
133
|
# The runtime config of a PipelineJob.
|
134
134
|
# @!attribute [rw] parameters
|
135
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
135
136
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::Value}]
|
136
137
|
# Deprecated. Use
|
137
138
|
# {::Google::Cloud::AIPlatform::V1::PipelineJob::RuntimeConfig#parameter_values RuntimeConfig.parameter_values}
|
@@ -114,6 +114,21 @@ module Google
|
|
114
114
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
115
|
end
|
116
116
|
|
117
|
+
# Request message for
|
118
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#stream_raw_predict PredictionService.StreamRawPredict}.
|
119
|
+
# @!attribute [rw] endpoint
|
120
|
+
# @return [::String]
|
121
|
+
# Required. The name of the Endpoint requested to serve the prediction.
|
122
|
+
# Format:
|
123
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
124
|
+
# @!attribute [rw] http_body
|
125
|
+
# @return [::Google::Api::HttpBody]
|
126
|
+
# The prediction input. Supports HTTP headers and arbitrary data payload.
|
127
|
+
class StreamRawPredictRequest
|
128
|
+
include ::Google::Protobuf::MessageExts
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
130
|
+
end
|
131
|
+
|
117
132
|
# Request message for
|
118
133
|
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#direct_predict PredictionService.DirectPredict}.
|
119
134
|
# @!attribute [rw] endpoint
|
@@ -179,6 +194,87 @@ module Google
|
|
179
194
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
195
|
end
|
181
196
|
|
197
|
+
# Request message for
|
198
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#stream_direct_predict PredictionService.StreamDirectPredict}.
|
199
|
+
#
|
200
|
+
# The first message must contain
|
201
|
+
# {::Google::Cloud::AIPlatform::V1::StreamDirectPredictRequest#endpoint endpoint}
|
202
|
+
# field and optionally [input][]. The subsequent messages must contain
|
203
|
+
# [input][].
|
204
|
+
# @!attribute [rw] endpoint
|
205
|
+
# @return [::String]
|
206
|
+
# Required. The name of the Endpoint requested to serve the prediction.
|
207
|
+
# Format:
|
208
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
209
|
+
# @!attribute [rw] inputs
|
210
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tensor>]
|
211
|
+
# Optional. The prediction input.
|
212
|
+
# @!attribute [rw] parameters
|
213
|
+
# @return [::Google::Cloud::AIPlatform::V1::Tensor]
|
214
|
+
# Optional. The parameters that govern the prediction.
|
215
|
+
class StreamDirectPredictRequest
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
219
|
+
|
220
|
+
# Response message for
|
221
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#stream_direct_predict PredictionService.StreamDirectPredict}.
|
222
|
+
# @!attribute [rw] outputs
|
223
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tensor>]
|
224
|
+
# The prediction output.
|
225
|
+
# @!attribute [rw] parameters
|
226
|
+
# @return [::Google::Cloud::AIPlatform::V1::Tensor]
|
227
|
+
# The parameters that govern the prediction.
|
228
|
+
class StreamDirectPredictResponse
|
229
|
+
include ::Google::Protobuf::MessageExts
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
end
|
232
|
+
|
233
|
+
# Request message for
|
234
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#stream_direct_raw_predict PredictionService.StreamDirectRawPredict}.
|
235
|
+
#
|
236
|
+
# The first message must contain
|
237
|
+
# {::Google::Cloud::AIPlatform::V1::StreamDirectRawPredictRequest#endpoint endpoint}
|
238
|
+
# and
|
239
|
+
# {::Google::Cloud::AIPlatform::V1::StreamDirectRawPredictRequest#method_name method_name}
|
240
|
+
# fields and optionally
|
241
|
+
# {::Google::Cloud::AIPlatform::V1::StreamDirectRawPredictRequest#input input}. The
|
242
|
+
# subsequent messages must contain
|
243
|
+
# {::Google::Cloud::AIPlatform::V1::StreamDirectRawPredictRequest#input input}.
|
244
|
+
# {::Google::Cloud::AIPlatform::V1::StreamDirectRawPredictRequest#method_name method_name}
|
245
|
+
# in the subsequent messages have no effect.
|
246
|
+
# @!attribute [rw] endpoint
|
247
|
+
# @return [::String]
|
248
|
+
# Required. The name of the Endpoint requested to serve the prediction.
|
249
|
+
# Format:
|
250
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
251
|
+
# @!attribute [rw] method_name
|
252
|
+
# @return [::String]
|
253
|
+
# Optional. Fully qualified name of the API method being invoked to perform
|
254
|
+
# predictions.
|
255
|
+
#
|
256
|
+
# Format:
|
257
|
+
# `/namespace.Service/Method/`
|
258
|
+
# Example:
|
259
|
+
# `/tensorflow.serving.PredictionService/Predict`
|
260
|
+
# @!attribute [rw] input
|
261
|
+
# @return [::String]
|
262
|
+
# Optional. The prediction input.
|
263
|
+
class StreamDirectRawPredictRequest
|
264
|
+
include ::Google::Protobuf::MessageExts
|
265
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
266
|
+
end
|
267
|
+
|
268
|
+
# Response message for
|
269
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#stream_direct_raw_predict PredictionService.StreamDirectRawPredict}.
|
270
|
+
# @!attribute [rw] output
|
271
|
+
# @return [::String]
|
272
|
+
# The prediction output.
|
273
|
+
class StreamDirectRawPredictResponse
|
274
|
+
include ::Google::Protobuf::MessageExts
|
275
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
276
|
+
end
|
277
|
+
|
182
278
|
# Request message for
|
183
279
|
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#streaming_predict PredictionService.StreamingPredict}.
|
184
280
|
#
|
@@ -333,10 +429,18 @@ module Google
|
|
333
429
|
# Required. The name of the Endpoint requested to perform token counting.
|
334
430
|
# Format:
|
335
431
|
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
432
|
+
# @!attribute [rw] model
|
433
|
+
# @return [::String]
|
434
|
+
# Required. The name of the publisher model requested to serve the
|
435
|
+
# prediction. Format:
|
436
|
+
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
336
437
|
# @!attribute [rw] instances
|
337
438
|
# @return [::Array<::Google::Protobuf::Value>]
|
338
439
|
# Required. The instances that are the input to token counting call.
|
339
440
|
# Schema is identical to the prediction schema of the underlying model.
|
441
|
+
# @!attribute [rw] contents
|
442
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
|
443
|
+
# Required. Input content.
|
340
444
|
class CountTokensRequest
|
341
445
|
include ::Google::Protobuf::MessageExts
|
342
446
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -354,6 +458,97 @@ module Google
|
|
354
458
|
include ::Google::Protobuf::MessageExts
|
355
459
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
356
460
|
end
|
461
|
+
|
462
|
+
# Request message for [PredictionService.GenerateContent].
|
463
|
+
# @!attribute [rw] model
|
464
|
+
# @return [::String]
|
465
|
+
# Required. The name of the publisher model requested to serve the
|
466
|
+
# prediction. Format:
|
467
|
+
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
468
|
+
# @!attribute [rw] contents
|
469
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
|
470
|
+
# Required. The content of the current conversation with the model.
|
471
|
+
#
|
472
|
+
# For single-turn queries, this is a single instance. For multi-turn queries,
|
473
|
+
# this is a repeated field that contains conversation history + latest
|
474
|
+
# request.
|
475
|
+
# @!attribute [rw] tools
|
476
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tool>]
|
477
|
+
# Optional. A list of `Tools` the model may use to generate the next
|
478
|
+
# response.
|
479
|
+
#
|
480
|
+
# A `Tool` is a piece of code that enables the system to interact with
|
481
|
+
# external systems to perform an action, or set of actions, outside of
|
482
|
+
# knowledge and scope of the model.
|
483
|
+
# @!attribute [rw] safety_settings
|
484
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting>]
|
485
|
+
# Optional. Per request settings for blocking unsafe content.
|
486
|
+
# Enforced on GenerateContentResponse.candidates.
|
487
|
+
# @!attribute [rw] generation_config
|
488
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig]
|
489
|
+
# Optional. Generation config.
|
490
|
+
class GenerateContentRequest
|
491
|
+
include ::Google::Protobuf::MessageExts
|
492
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
493
|
+
end
|
494
|
+
|
495
|
+
# Response message for [PredictionService.GenerateContent].
|
496
|
+
# @!attribute [r] candidates
|
497
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Candidate>]
|
498
|
+
# Output only. Generated candidates.
|
499
|
+
# @!attribute [r] prompt_feedback
|
500
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerateContentResponse::PromptFeedback]
|
501
|
+
# Output only. Content filter results for a prompt sent in the request.
|
502
|
+
# Note: Sent only in the first stream chunk.
|
503
|
+
# Only happens when no candidates were generated due to content violations.
|
504
|
+
# @!attribute [rw] usage_metadata
|
505
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerateContentResponse::UsageMetadata]
|
506
|
+
# Usage metadata about the response(s).
|
507
|
+
class GenerateContentResponse
|
508
|
+
include ::Google::Protobuf::MessageExts
|
509
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
510
|
+
|
511
|
+
# Content filter results for a prompt sent in the request.
|
512
|
+
# @!attribute [r] block_reason
|
513
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerateContentResponse::PromptFeedback::BlockedReason]
|
514
|
+
# Output only. Blocked reason.
|
515
|
+
# @!attribute [r] safety_ratings
|
516
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::SafetyRating>]
|
517
|
+
# Output only. Safety ratings.
|
518
|
+
# @!attribute [r] block_reason_message
|
519
|
+
# @return [::String]
|
520
|
+
# Output only. A readable block reason message.
|
521
|
+
class PromptFeedback
|
522
|
+
include ::Google::Protobuf::MessageExts
|
523
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
524
|
+
|
525
|
+
# Blocked reason enumeration.
|
526
|
+
module BlockedReason
|
527
|
+
# Unspecified blocked reason.
|
528
|
+
BLOCKED_REASON_UNSPECIFIED = 0
|
529
|
+
|
530
|
+
# Candidates blocked due to safety.
|
531
|
+
SAFETY = 1
|
532
|
+
|
533
|
+
# Candidates blocked due to other reason.
|
534
|
+
OTHER = 2
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
# Usage metadata about response(s).
|
539
|
+
# @!attribute [rw] prompt_token_count
|
540
|
+
# @return [::Integer]
|
541
|
+
# Number of tokens in the request.
|
542
|
+
# @!attribute [rw] candidates_token_count
|
543
|
+
# @return [::Integer]
|
544
|
+
# Number of tokens in the response(s).
|
545
|
+
# @!attribute [rw] total_token_count
|
546
|
+
# @return [::Integer]
|
547
|
+
class UsageMetadata
|
548
|
+
include ::Google::Protobuf::MessageExts
|
549
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
550
|
+
end
|
551
|
+
end
|
357
552
|
end
|
358
553
|
end
|
359
554
|
end
|
@@ -43,6 +43,9 @@ module Google
|
|
43
43
|
# @!attribute [rw] launch_stage
|
44
44
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::LaunchStage]
|
45
45
|
# Optional. Indicates the launch stage of the model.
|
46
|
+
# @!attribute [rw] version_state
|
47
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::VersionState]
|
48
|
+
# Optional. Indicates the state of the model version.
|
46
49
|
# @!attribute [r] publisher_model_template
|
47
50
|
# @return [::String]
|
48
51
|
# Optional. Output only. Immutable. Used to indicate this model has a
|
@@ -64,6 +67,14 @@ module Google
|
|
64
67
|
# @!attribute [rw] resource_name
|
65
68
|
# @return [::String]
|
66
69
|
# The resource name of the Google Cloud resource.
|
70
|
+
# @!attribute [rw] use_case
|
71
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
72
|
+
# @return [::String]
|
73
|
+
# Use case (CUJ) of the resource.
|
74
|
+
# @!attribute [rw] description
|
75
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
76
|
+
# @return [::String]
|
77
|
+
# Description of the resource.
|
67
78
|
class ResourceReference
|
68
79
|
include ::Google::Protobuf::MessageExts
|
69
80
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -89,12 +100,18 @@ module Google
|
|
89
100
|
# @!attribute [rw] open_notebook
|
90
101
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
91
102
|
# Optional. Open notebook of the PublisherModel.
|
103
|
+
# @!attribute [rw] open_notebooks
|
104
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::OpenNotebooks]
|
105
|
+
# Optional. Open notebooks of the PublisherModel.
|
92
106
|
# @!attribute [rw] create_application
|
93
107
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
94
108
|
# Optional. Create application using the PublisherModel.
|
95
109
|
# @!attribute [rw] open_fine_tuning_pipeline
|
96
110
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
97
111
|
# Optional. Open fine-tuning pipeline of the PublisherModel.
|
112
|
+
# @!attribute [rw] open_fine_tuning_pipelines
|
113
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::OpenFineTuningPipelines]
|
114
|
+
# Optional. Open fine-tuning pipelines of the PublisherModel.
|
98
115
|
# @!attribute [rw] open_prompt_tuning_pipeline
|
99
116
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
100
117
|
# Optional. Open prompt-tuning pipeline of the PublisherModel.
|
@@ -104,6 +121,9 @@ module Google
|
|
104
121
|
# @!attribute [rw] deploy
|
105
122
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy]
|
106
123
|
# Optional. Deploy the PublisherModel to Vertex Endpoint.
|
124
|
+
# @!attribute [rw] deploy_gke
|
125
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::DeployGke]
|
126
|
+
# Optional. Deploy PublisherModel to Google Kubernetes Engine.
|
107
127
|
# @!attribute [rw] open_generation_ai_studio
|
108
128
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
109
129
|
# Optional. Open in Generation AI Studio.
|
@@ -124,7 +144,16 @@ module Google
|
|
124
144
|
# Required.
|
125
145
|
# @!attribute [rw] title
|
126
146
|
# @return [::String]
|
127
|
-
# Required.
|
147
|
+
# Required.
|
148
|
+
# @!attribute [rw] resource_title
|
149
|
+
# @return [::String]
|
150
|
+
# Optional. Title of the resource.
|
151
|
+
# @!attribute [rw] resource_use_case
|
152
|
+
# @return [::String]
|
153
|
+
# Optional. Use case (CUJ) of the resource.
|
154
|
+
# @!attribute [rw] resource_description
|
155
|
+
# @return [::String]
|
156
|
+
# Optional. Description of the resource.
|
128
157
|
class RegionalResourceReferences
|
129
158
|
include ::Google::Protobuf::MessageExts
|
130
159
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -151,6 +180,24 @@ module Google
|
|
151
180
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
181
|
end
|
153
182
|
|
183
|
+
# Open notebooks.
|
184
|
+
# @!attribute [rw] notebooks
|
185
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences>]
|
186
|
+
# Required. Regional resource references to notebooks.
|
187
|
+
class OpenNotebooks
|
188
|
+
include ::Google::Protobuf::MessageExts
|
189
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
190
|
+
end
|
191
|
+
|
192
|
+
# Open fine tuning pipelines.
|
193
|
+
# @!attribute [rw] fine_tuning_pipelines
|
194
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences>]
|
195
|
+
# Required. Regional resource references to fine tuning pipelines.
|
196
|
+
class OpenFineTuningPipelines
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
154
201
|
# Model metadata that is needed for UploadModel or
|
155
202
|
# DeployModel/CreateEndpoint requests.
|
156
203
|
# @!attribute [rw] dedicated_resources
|
@@ -184,10 +231,23 @@ module Google
|
|
184
231
|
# @!attribute [rw] title
|
185
232
|
# @return [::String]
|
186
233
|
# Required. The title of the regional resource reference.
|
234
|
+
# @!attribute [rw] public_artifact_uri
|
235
|
+
# @return [::String]
|
236
|
+
# Optional. The signed URI for ephemeral Cloud Storage access to model
|
237
|
+
# artifact.
|
187
238
|
class Deploy
|
188
239
|
include ::Google::Protobuf::MessageExts
|
189
240
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
190
241
|
end
|
242
|
+
|
243
|
+
# Configurations for PublisherModel GKE deployment
|
244
|
+
# @!attribute [rw] gke_yaml_configs
|
245
|
+
# @return [::Array<::String>]
|
246
|
+
# Optional. GKE deployment configuration in yaml format.
|
247
|
+
class DeployGke
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
|
+
end
|
191
251
|
end
|
192
252
|
|
193
253
|
# An enum representing the open source category of a PublisherModel.
|
@@ -231,6 +291,18 @@ module Google
|
|
231
291
|
# Used to indicate the PublisherModel is at GA launch stage.
|
232
292
|
GA = 4
|
233
293
|
end
|
294
|
+
|
295
|
+
# An enum representing the state of the PublicModelVersion.
|
296
|
+
module VersionState
|
297
|
+
# The version state is unspecified.
|
298
|
+
VERSION_STATE_UNSPECIFIED = 0
|
299
|
+
|
300
|
+
# Used to indicate the version is stable.
|
301
|
+
VERSION_STATE_STABLE = 1
|
302
|
+
|
303
|
+
# Used to indicate the version is unstable.
|
304
|
+
VERSION_STATE_UNSTABLE = 2
|
305
|
+
end
|
234
306
|
end
|
235
307
|
end
|
236
308
|
end
|
@@ -33,6 +33,22 @@ module Google
|
|
33
33
|
include ::Google::Protobuf::MessageExts
|
34
34
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
35
|
end
|
36
|
+
|
37
|
+
# PscAutomatedEndpoints defines the output of the forwarding rule
|
38
|
+
# automatically created by each PscAutomationConfig.
|
39
|
+
# @!attribute [rw] project_id
|
40
|
+
# @return [::String]
|
41
|
+
# Corresponding project_id in pscAutomationConfigs
|
42
|
+
# @!attribute [rw] network
|
43
|
+
# @return [::String]
|
44
|
+
# Corresponding network in pscAutomationConfigs.
|
45
|
+
# @!attribute [rw] match_address
|
46
|
+
# @return [::String]
|
47
|
+
# Ip Address created by the automated forwarding rule.
|
48
|
+
class PscAutomatedEndpoints
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
end
|
36
52
|
end
|
37
53
|
end
|
38
54
|
end
|