google-cloud-ai_platform-v1 0.1.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +10 -4
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +3 -3
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +112 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +3 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +4 -2
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +2 -4
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +9 -4
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +4 -3
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +15 -2
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +3 -3
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +8 -2
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +8 -2
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +12 -2
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +2 -3
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +7 -3
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +11 -2
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +2 -4
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +13 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +25 -1
- data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +10 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +42 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +20 -18
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +160 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +10 -3
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +4 -4
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +7 -0
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +3 -3
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +16 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +59 -8
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +30 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +54 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d3a031291b6d75ce29c3fb90b346fad3b83196e43c249dcf335d10099393c70
|
4
|
+
data.tar.gz: 1102138ac5f6612da7398bf94bc04a1bc3415b0eeeee62d06525e90b5d9b4e3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 776b16a94996b8a4bae868a6a373f0166624d59a724e787783ed97660672901f7e6b5557a4c6d9c0a282cdfa1203f18512e52d6d6bae89b9ab315b41b5ae2793
|
7
|
+
data.tar.gz: 2c68b8cdc5cc9492e75f3cc1b7de822bfc63e0c5608c29787206a855aa97b9beec7fdb1c61fabffe90d7cb790166e57cb819f95aa0fbdb4726304eddb2df7d8f
|
data/README.md
CHANGED
@@ -1059,7 +1059,12 @@ module Google
|
|
1059
1059
|
# * `description`
|
1060
1060
|
# * `labels`
|
1061
1061
|
# * `monitoring_config.snapshot_analysis.disabled`
|
1062
|
-
# * `monitoring_config.snapshot_analysis.
|
1062
|
+
# * `monitoring_config.snapshot_analysis.monitoring_interval_days`
|
1063
|
+
# * `monitoring_config.snapshot_analysis.staleness_days`
|
1064
|
+
# * `monitoring_config.import_features_analysis.state`
|
1065
|
+
# * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
|
1066
|
+
# * `monitoring_config.numerical_threshold_config.value`
|
1067
|
+
# * `monitoring_config.categorical_threshold_config.value`
|
1063
1068
|
#
|
1064
1069
|
# @yield [response, operation] Access the result along with the RPC operation
|
1065
1070
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::EntityType]
|
@@ -1696,8 +1701,7 @@ module Google
|
|
1696
1701
|
#
|
1697
1702
|
# * `description`
|
1698
1703
|
# * `labels`
|
1699
|
-
# * `
|
1700
|
-
# * `monitoring_config.snapshot_analysis.monitoring_interval`
|
1704
|
+
# * `disable_monitoring`
|
1701
1705
|
#
|
1702
1706
|
# @yield [response, operation] Access the result along with the RPC operation
|
1703
1707
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
|
@@ -1890,7 +1894,7 @@ module Google
|
|
1890
1894
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1891
1895
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1892
1896
|
#
|
1893
|
-
# @overload import_feature_values(avro_source: nil, bigquery_source: nil, csv_source: nil, feature_time_field: nil, feature_time: nil, entity_type: nil, entity_id_field: nil, feature_specs: nil, disable_online_serving: nil, worker_count: nil)
|
1897
|
+
# @overload import_feature_values(avro_source: nil, bigquery_source: nil, csv_source: nil, feature_time_field: nil, feature_time: nil, entity_type: nil, entity_id_field: nil, feature_specs: nil, disable_online_serving: nil, worker_count: nil, disable_ingestion_analysis: nil)
|
1894
1898
|
# Pass arguments to `import_feature_values` via keyword arguments. Note that at
|
1895
1899
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1896
1900
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1926,6 +1930,8 @@ module Google
|
|
1926
1930
|
# serving. The value must be positive, and less than or equal to 100.
|
1927
1931
|
# If not set, defaults to using 1 worker. The low count ensures minimal
|
1928
1932
|
# impact on online serving performance.
|
1933
|
+
# @param disable_ingestion_analysis [::Boolean]
|
1934
|
+
# If true, API doesn't start ingestion analysis pipeline.
|
1929
1935
|
#
|
1930
1936
|
# @yield [response, operation] Access the result along with the RPC operation
|
1931
1937
|
# @yieldparam response [::Gapic::Operation]
|
@@ -896,7 +896,7 @@ module Google
|
|
896
896
|
# Format:
|
897
897
|
# `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
|
898
898
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
899
|
-
#
|
899
|
+
# Optional. A FieldMask indicating which fields should be updated.
|
900
900
|
# Functionality of this field is not yet supported.
|
901
901
|
# @param allow_missing [::Boolean]
|
902
902
|
# If set to true, and the {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is not found, a new {::Google::Cloud::AIPlatform::V1::Artifact Artifact} is
|
@@ -1513,7 +1513,7 @@ module Google
|
|
1513
1513
|
# Format:
|
1514
1514
|
# `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
|
1515
1515
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1516
|
-
#
|
1516
|
+
# Optional. A FieldMask indicating which fields should be updated.
|
1517
1517
|
# Functionality of this field is not yet supported.
|
1518
1518
|
# @param allow_missing [::Boolean]
|
1519
1519
|
# If set to true, and the {::Google::Cloud::AIPlatform::V1::Context Context} is not found, a new {::Google::Cloud::AIPlatform::V1::Context Context} is
|
@@ -2417,7 +2417,7 @@ module Google
|
|
2417
2417
|
# Format:
|
2418
2418
|
# `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
|
2419
2419
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2420
|
-
#
|
2420
|
+
# Optional. A FieldMask indicating which fields should be updated.
|
2421
2421
|
# Functionality of this field is not yet supported.
|
2422
2422
|
# @param allow_missing [::Boolean]
|
2423
2423
|
# If set to true, and the {::Google::Cloud::AIPlatform::V1::Execution Execution} is not found, a new {::Google::Cloud::AIPlatform::V1::Execution Execution}
|
@@ -486,6 +486,23 @@ module Google
|
|
486
486
|
#
|
487
487
|
# @param model [::Google::Cloud::AIPlatform::V1::Model, ::Hash]
|
488
488
|
# Required. The Model which replaces the resource on the server.
|
489
|
+
# When Model Versioning is enabled, the model.name will be used to determine
|
490
|
+
# whether to update the model or model version.
|
491
|
+
# 1. model.name with the @ value, e.g. models/123@1, refers to a version
|
492
|
+
# specific update.
|
493
|
+
# 2. model.name without the @ value, e.g. models/123, refers to a model
|
494
|
+
# update.
|
495
|
+
# 3. model.name with @-, e.g. models/123@-, refers to a model update.
|
496
|
+
# 4. Supported model fields: display_name, description; supported
|
497
|
+
# version-specific fields: version_description. Labels are supported in both
|
498
|
+
# scenarios. Both the model labels and the version labels are merged when a
|
499
|
+
# model is returned. When updating labels, if the request is for
|
500
|
+
# model-specific update, model label gets updated. Otherwise, version labels
|
501
|
+
# get updated.
|
502
|
+
# 5. A model name or model version name fields update mismatch will cause a
|
503
|
+
# precondition error.
|
504
|
+
# 6. One request cannot update both the model and the version fields. You
|
505
|
+
# must update them separately.
|
489
506
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
490
507
|
# Required. The update mask applies to the resource.
|
491
508
|
# For the `FieldMask` definition, see {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
|
@@ -749,6 +766,94 @@ module Google
|
|
749
766
|
raise ::Google::Cloud::Error.from_error(e)
|
750
767
|
end
|
751
768
|
|
769
|
+
##
|
770
|
+
# Imports an externally generated ModelEvaluation.
|
771
|
+
#
|
772
|
+
# @overload import_model_evaluation(request, options = nil)
|
773
|
+
# Pass arguments to `import_model_evaluation` via a request object, either of type
|
774
|
+
# {::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest} or an equivalent Hash.
|
775
|
+
#
|
776
|
+
# @param request [::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest, ::Hash]
|
777
|
+
# A request object representing the call parameters. Required. To specify no
|
778
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
779
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
780
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
781
|
+
#
|
782
|
+
# @overload import_model_evaluation(parent: nil, model_evaluation: nil)
|
783
|
+
# Pass arguments to `import_model_evaluation` via keyword arguments. Note that at
|
784
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
785
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
786
|
+
#
|
787
|
+
# @param parent [::String]
|
788
|
+
# Required. The name of the parent model resource.
|
789
|
+
# Format: `projects/{project}/locations/{location}/models/{model}`
|
790
|
+
# @param model_evaluation [::Google::Cloud::AIPlatform::V1::ModelEvaluation, ::Hash]
|
791
|
+
# Required. Model evaluation resource to be imported.
|
792
|
+
#
|
793
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
794
|
+
# @yieldparam response [::Google::Cloud::AIPlatform::V1::ModelEvaluation]
|
795
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
796
|
+
#
|
797
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelEvaluation]
|
798
|
+
#
|
799
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
800
|
+
#
|
801
|
+
# @example Basic example
|
802
|
+
# require "google/cloud/ai_platform/v1"
|
803
|
+
#
|
804
|
+
# # Create a client object. The client can be reused for multiple calls.
|
805
|
+
# client = Google::Cloud::AIPlatform::V1::ModelService::Client.new
|
806
|
+
#
|
807
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
808
|
+
# request = Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest.new
|
809
|
+
#
|
810
|
+
# # Call the import_model_evaluation method.
|
811
|
+
# result = client.import_model_evaluation request
|
812
|
+
#
|
813
|
+
# # The returned object is of type Google::Cloud::AIPlatform::V1::ModelEvaluation.
|
814
|
+
# p result
|
815
|
+
#
|
816
|
+
def import_model_evaluation request, options = nil
|
817
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
818
|
+
|
819
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest
|
820
|
+
|
821
|
+
# Converts hash and nil to an options object
|
822
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
823
|
+
|
824
|
+
# Customize the options with defaults
|
825
|
+
metadata = @config.rpcs.import_model_evaluation.metadata.to_h
|
826
|
+
|
827
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
828
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
829
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
830
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
831
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
832
|
+
|
833
|
+
header_params = {}
|
834
|
+
if request.parent
|
835
|
+
header_params["parent"] = request.parent
|
836
|
+
end
|
837
|
+
|
838
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
839
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
840
|
+
|
841
|
+
options.apply_defaults timeout: @config.rpcs.import_model_evaluation.timeout,
|
842
|
+
metadata: metadata,
|
843
|
+
retry_policy: @config.rpcs.import_model_evaluation.retry_policy
|
844
|
+
|
845
|
+
options.apply_defaults timeout: @config.timeout,
|
846
|
+
metadata: @config.metadata,
|
847
|
+
retry_policy: @config.retry_policy
|
848
|
+
|
849
|
+
@model_service_stub.call_rpc :import_model_evaluation, request, options: options do |response, operation|
|
850
|
+
yield response, operation if block_given?
|
851
|
+
return response
|
852
|
+
end
|
853
|
+
rescue ::GRPC::BadStatus => e
|
854
|
+
raise ::Google::Cloud::Error.from_error(e)
|
855
|
+
end
|
856
|
+
|
752
857
|
##
|
753
858
|
# Gets a ModelEvaluation.
|
754
859
|
#
|
@@ -1300,6 +1405,11 @@ module Google
|
|
1300
1405
|
#
|
1301
1406
|
attr_reader :export_model
|
1302
1407
|
##
|
1408
|
+
# RPC-specific configuration for `import_model_evaluation`
|
1409
|
+
# @return [::Gapic::Config::Method]
|
1410
|
+
#
|
1411
|
+
attr_reader :import_model_evaluation
|
1412
|
+
##
|
1303
1413
|
# RPC-specific configuration for `get_model_evaluation`
|
1304
1414
|
# @return [::Gapic::Config::Method]
|
1305
1415
|
#
|
@@ -1334,6 +1444,8 @@ module Google
|
|
1334
1444
|
@delete_model = ::Gapic::Config::Method.new delete_model_config
|
1335
1445
|
export_model_config = parent_rpcs.export_model if parent_rpcs.respond_to? :export_model
|
1336
1446
|
@export_model = ::Gapic::Config::Method.new export_model_config
|
1447
|
+
import_model_evaluation_config = parent_rpcs.import_model_evaluation if parent_rpcs.respond_to? :import_model_evaluation
|
1448
|
+
@import_model_evaluation = ::Gapic::Config::Method.new import_model_evaluation_config
|
1337
1449
|
get_model_evaluation_config = parent_rpcs.get_model_evaluation if parent_rpcs.respond_to? :get_model_evaluation
|
1338
1450
|
@get_model_evaluation = ::Gapic::Config::Method.new get_model_evaluation_config
|
1339
1451
|
list_model_evaluations_config = parent_rpcs.list_model_evaluations if parent_rpcs.respond_to? :list_model_evaluations
|
@@ -865,6 +865,9 @@ module Google
|
|
865
865
|
# * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
|
866
866
|
# Values must be in RFC 3339 format.
|
867
867
|
# * `labels`: Supports key-value equality and key presence.
|
868
|
+
# * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard.
|
869
|
+
# * `template_metadata.version_name`: Supports `=`, `!=` comparisons, and `:`
|
870
|
+
# wildcard.
|
868
871
|
#
|
869
872
|
# Filter expressions can be combined together using logical operators
|
870
873
|
# (`AND` & `OR`).
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/accelerator_type.proto
|
3
3
|
|
4
|
-
require 'google/api/annotations_pb'
|
5
4
|
require 'google/protobuf'
|
6
5
|
|
7
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -14,6 +13,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
14
13
|
value :NVIDIA_TESLA_P4, 4
|
15
14
|
value :NVIDIA_TESLA_T4, 5
|
16
15
|
value :NVIDIA_TESLA_A100, 8
|
16
|
+
value :TPU_V2, 6
|
17
|
+
value :TPU_V3, 7
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/annotation.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/cloud/aiplatform/v1/user_action_reference_pb'
|
8
9
|
require 'google/protobuf/struct_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
|
-
require 'google/protobuf'
|
11
11
|
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/aiplatform/v1/annotation.proto", :syntax => :proto3) do
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/annotation_spec.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/protobuf'
|
9
9
|
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/cloud/aiplatform/v1/annotation_spec.proto", :syntax => :proto3) do
|
@@ -1,13 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/artifact.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
|
-
require 'google/cloud/aiplatform/v1/value_pb'
|
8
8
|
require 'google/protobuf/struct_pb'
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
|
-
require 'google/protobuf'
|
11
10
|
|
12
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
12
|
add_file("google/cloud/aiplatform/v1/artifact.proto", :syntax => :proto3) do
|
@@ -1,7 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/batch_prediction_job.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/cloud/aiplatform/v1/completion_stats_pb'
|
@@ -11,12 +12,10 @@ require 'google/cloud/aiplatform/v1/io_pb'
|
|
11
12
|
require 'google/cloud/aiplatform/v1/job_state_pb'
|
12
13
|
require 'google/cloud/aiplatform/v1/machine_resources_pb'
|
13
14
|
require 'google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb'
|
14
|
-
require 'google/cloud/aiplatform/v1/model_monitoring_pb'
|
15
15
|
require 'google/cloud/aiplatform/v1/unmanaged_container_model_pb'
|
16
16
|
require 'google/protobuf/struct_pb'
|
17
17
|
require 'google/protobuf/timestamp_pb'
|
18
18
|
require 'google/rpc/status_pb'
|
19
|
-
require 'google/protobuf'
|
20
19
|
|
21
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
22
21
|
add_file("google/cloud/aiplatform/v1/batch_prediction_job.proto", :syntax => :proto3) do
|
@@ -1,11 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/completion_stats.proto
|
3
3
|
|
4
|
-
require 'google/api/annotations_pb'
|
5
|
-
require 'google/api/field_behavior_pb'
|
6
|
-
require 'google/rpc/status_pb'
|
7
4
|
require 'google/protobuf'
|
8
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
|
9
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
9
|
add_file("google/cloud/aiplatform/v1/completion_stats.proto", :syntax => :proto3) do
|
11
10
|
add_message "google.cloud.aiplatform.v1.CompletionStats" do
|
@@ -1,13 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/context.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
|
-
require 'google/cloud/aiplatform/v1/value_pb'
|
8
8
|
require 'google/protobuf/struct_pb'
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
|
-
require 'google/protobuf'
|
11
10
|
|
12
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
12
|
add_file("google/cloud/aiplatform/v1/context.proto", :syntax => :proto3) do
|
@@ -1,7 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/custom_job.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
@@ -12,7 +13,6 @@ require 'google/cloud/aiplatform/v1/machine_resources_pb'
|
|
12
13
|
require 'google/protobuf/duration_pb'
|
13
14
|
require 'google/protobuf/timestamp_pb'
|
14
15
|
require 'google/rpc/status_pb'
|
15
|
-
require 'google/protobuf'
|
16
16
|
|
17
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
18
|
add_file("google/cloud/aiplatform/v1/custom_job.proto", :syntax => :proto3) do
|
@@ -35,6 +35,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
35
35
|
optional :scheduling, :message, 3, "google.cloud.aiplatform.v1.Scheduling"
|
36
36
|
optional :service_account, :string, 4
|
37
37
|
optional :network, :string, 5
|
38
|
+
repeated :reserved_ip_ranges, :string, 13
|
38
39
|
optional :base_output_directory, :message, 6, "google.cloud.aiplatform.v1.GcsDestination"
|
39
40
|
optional :tensorboard, :string, 7
|
40
41
|
optional :enable_web_access, :bool, 10
|
@@ -42,6 +43,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
42
43
|
add_message "google.cloud.aiplatform.v1.WorkerPoolSpec" do
|
43
44
|
optional :machine_spec, :message, 1, "google.cloud.aiplatform.v1.MachineSpec"
|
44
45
|
optional :replica_count, :int64, 2
|
46
|
+
repeated :nfs_mounts, :message, 4, "google.cloud.aiplatform.v1.NfsMount"
|
45
47
|
optional :disk_spec, :message, 5, "google.cloud.aiplatform.v1.DiskSpec"
|
46
48
|
oneof :task do
|
47
49
|
optional :container_spec, :message, 6, "google.cloud.aiplatform.v1.ContainerSpec"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/data_item.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/protobuf/struct_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
9
|
-
require 'google/protobuf'
|
10
10
|
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/cloud/aiplatform/v1/data_item.proto", :syntax => :proto3) do
|
@@ -1,18 +1,16 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/data_labeling_job.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
|
-
require 'google/cloud/aiplatform/v1/accelerator_type_pb'
|
8
8
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
9
9
|
require 'google/cloud/aiplatform/v1/job_state_pb'
|
10
|
-
require 'google/cloud/aiplatform/v1/specialist_pool_pb'
|
11
10
|
require 'google/protobuf/struct_pb'
|
12
11
|
require 'google/protobuf/timestamp_pb'
|
13
12
|
require 'google/rpc/status_pb'
|
14
13
|
require 'google/type/money_pb'
|
15
|
-
require 'google/protobuf'
|
16
14
|
|
17
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
16
|
add_file("google/cloud/aiplatform/v1/data_labeling_job.proto", :syntax => :proto3) do
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/dataset.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
8
9
|
require 'google/cloud/aiplatform/v1/io_pb'
|
9
10
|
require 'google/protobuf/struct_pb'
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
11
|
-
require 'google/protobuf'
|
12
12
|
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/cloud/aiplatform/v1/dataset.proto", :syntax => :proto3) do
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/dataset_service.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -10,10 +12,8 @@ require 'google/cloud/aiplatform/v1/annotation_spec_pb'
|
|
10
12
|
require 'google/cloud/aiplatform/v1/data_item_pb'
|
11
13
|
require 'google/cloud/aiplatform/v1/dataset_pb'
|
12
14
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
13
|
-
require 'google/cloud/aiplatform/v1/training_pipeline_pb'
|
14
15
|
require 'google/longrunning/operations_pb'
|
15
16
|
require 'google/protobuf/field_mask_pb'
|
16
|
-
require 'google/protobuf'
|
17
17
|
|
18
18
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
19
|
add_file("google/cloud/aiplatform/v1/dataset_service.proto", :syntax => :proto3) do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/deployed_index_ref.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
|
-
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/aiplatform/v1/deployed_index_ref.proto", :syntax => :proto3) do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/deployed_model_ref.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
|
-
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/aiplatform/v1/deployed_model_ref.proto", :syntax => :proto3) do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/encryption_spec.proto
|
3
3
|
|
4
|
-
require 'google/api/annotations_pb'
|
5
|
-
require 'google/api/field_behavior_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/aiplatform/v1/encryption_spec.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.aiplatform.v1.EncryptionSpec" do
|
@@ -1,17 +1,15 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/endpoint.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
8
9
|
require 'google/cloud/aiplatform/v1/explanation_pb'
|
9
10
|
require 'google/cloud/aiplatform/v1/io_pb'
|
10
11
|
require 'google/cloud/aiplatform/v1/machine_resources_pb'
|
11
|
-
require 'google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb'
|
12
|
-
require 'google/cloud/aiplatform/v1/model_monitoring_pb'
|
13
12
|
require 'google/protobuf/timestamp_pb'
|
14
|
-
require 'google/protobuf'
|
15
13
|
|
16
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
15
|
add_file("google/cloud/aiplatform/v1/endpoint.proto", :syntax => :proto3) do
|
@@ -29,6 +27,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
29
27
|
optional :network, :string, 13
|
30
28
|
optional :enable_private_service_connect, :bool, 17
|
31
29
|
optional :model_deployment_monitoring_job, :string, 14
|
30
|
+
optional :predict_request_response_logging_config, :message, 18, "google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig"
|
32
31
|
end
|
33
32
|
add_message "google.cloud.aiplatform.v1.DeployedModel" do
|
34
33
|
optional :id, :string, 1
|
@@ -51,6 +50,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
51
50
|
optional :health_http_uri, :string, 3
|
52
51
|
optional :service_attachment, :string, 4
|
53
52
|
end
|
53
|
+
add_message "google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig" do
|
54
|
+
optional :enabled, :bool, 1
|
55
|
+
optional :sampling_rate, :double, 2
|
56
|
+
optional :bigquery_destination, :message, 3, "google.cloud.aiplatform.v1.BigQueryDestination"
|
57
|
+
end
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|
@@ -61,6 +65,7 @@ module Google
|
|
61
65
|
Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Endpoint").msgclass
|
62
66
|
DeployedModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeployedModel").msgclass
|
63
67
|
PrivateEndpoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PrivateEndpoints").msgclass
|
68
|
+
PredictRequestResponseLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig").msgclass
|
64
69
|
end
|
65
70
|
end
|
66
71
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/endpoint_service.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -9,7 +11,6 @@ require 'google/cloud/aiplatform/v1/endpoint_pb'
|
|
9
11
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
10
12
|
require 'google/longrunning/operations_pb'
|
11
13
|
require 'google/protobuf/field_mask_pb'
|
12
|
-
require 'google/protobuf'
|
13
14
|
|
14
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
16
|
add_file("google/cloud/aiplatform/v1/endpoint_service.proto", :syntax => :proto3) do
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/entity_type.proto
|
3
3
|
|
4
|
-
require 'google/
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
|
-
require 'google/cloud/aiplatform/v1/
|
8
|
+
require 'google/cloud/aiplatform/v1/featurestore_monitoring_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
9
|
-
require 'google/protobuf'
|
10
10
|
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/cloud/aiplatform/v1/entity_type.proto", :syntax => :proto3) do
|
@@ -17,6 +17,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
18
18
|
map :labels, :string, :string, 6
|
19
19
|
optional :etag, :string, 7
|
20
|
+
optional :monitoring_config, :message, 8, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig"
|
20
21
|
end
|
21
22
|
end
|
22
23
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/aiplatform/v1/env_var.proto
|
3
3
|
|
4
|
-
require 'google/api/annotations_pb'
|
5
|
-
require 'google/api/field_behavior_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/aiplatform/v1/env_var.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.aiplatform.v1.EnvVar" do
|