google-cloud-ai_platform-v1 0.32.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +516 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/paths.rb +21 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +1796 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/paths.rb +111 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +431 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/paths.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +1498 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/paths.rb +139 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -7
- data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +53 -8
- data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +17 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +3 -0
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +9 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +10 -0
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +47 -0
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +99 -2
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +21 -10
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +91 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +124 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +458 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +102 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +208 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +32 -7
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +58 -5
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +9 -5
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +21 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +3 -1
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +28 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -2
- metadata +35 -2
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/aiplatform/v1/feature_view.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n-google/cloud/aiplatform/v1/feature_view.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf5\x07\n\x0b\x46\x65\x61tureView\x12W\n\x10\x62ig_query_source\x18\x06 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.FeatureView.BigQuerySourceB\x03\xe0\x41\x01H\x00\x12\x65\n\x17\x66\x65\x61ture_registry_source\x18\t \x01(\x0b\x32=.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySourceB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12H\n\x06labels\x18\x05 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.FeatureView.LabelsEntryB\x03\xe0\x41\x01\x12G\n\x0bsync_config\x18\x07 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.FeatureView.SyncConfig\x1a\x42\n\x0e\x42igQuerySource\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11\x65ntity_id_columns\x18\x02 \x03(\tB\x03\xe0\x41\x02\x1a\x1a\n\nSyncConfig\x12\x0c\n\x04\x63ron\x18\x01 \x01(\t\x1a\xc9\x01\n\x15\x46\x65\x61tureRegistrySource\x12g\n\x0e\x66\x65\x61ture_groups\x18\x01 \x03(\x0b\x32J.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroupB\x03\xe0\x41\x02\x1aG\n\x0c\x46\x65\x61tureGroup\x12\x1d\n\x10\x66\x65\x61ture_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x66\x65\x61ture_ids\x18\x02 \x03(\tB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9b\x01\xea\x41\x97\x01\n%aiplatform.googleapis.com/FeatureView\x12nprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}B\x08\n\x06sourceB\xce\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x10\x46\x65\x61tureViewProtoP\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
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError => e
|
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
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module AIPlatform
|
42
|
+
module V1
|
43
|
+
FeatureView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureView").msgclass
|
44
|
+
FeatureView::BigQuerySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureView.BigQuerySource").msgclass
|
45
|
+
FeatureView::SyncConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureView.SyncConfig").msgclass
|
46
|
+
FeatureView::FeatureRegistrySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource").msgclass
|
47
|
+
FeatureView::FeatureRegistrySource::FeatureGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup").msgclass
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/aiplatform/v1/feature_view_sync.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
require 'google/rpc/status_pb'
|
11
|
+
require 'google/type/interval_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n2google/cloud/aiplatform/v1/feature_view_sync.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x1agoogle/type/interval.proto\"\xfd\x02\n\x0f\x46\x65\x61tureViewSync\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12,\n\x08run_time\x18\x05 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x03\x12-\n\x0c\x66inal_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03:\xc3\x01\xea\x41\xbf\x01\n)aiplatform.googleapis.com/FeatureViewSync\x12\x91\x01projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/feature_view_syncB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x46\x65\x61tureViewSyncProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::Aiplatform::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError => e
|
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.Timestamp", "google/protobuf/timestamp.proto"],
|
30
|
+
["google.type.Interval", "google/type/interval.proto"],
|
31
|
+
["google.rpc.Status", "google/rpc/status.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
|
42
|
+
|
43
|
+
module Google
|
44
|
+
module Cloud
|
45
|
+
module Aiplatform
|
46
|
+
module V1
|
47
|
+
FeatureViewSync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureViewSync").msgclass
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -12,7 +12,7 @@ require 'google/protobuf/struct_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n&google/cloud/aiplatform/v1/index.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/aiplatform/v1/deployed_index_ref.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x06\n\x05Index\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\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12 \n\x13metadata_schema_uri\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12(\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Value\x12K\n\x10\x64\x65ployed_indexes\x18\x07 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedIndexRefB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12=\n\x06labels\x18\t \x03(\x0b\x32-.google.cloud.aiplatform.v1.Index.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@\n\x0bindex_stats\x18\x0e \x01(\x0b\x32&.google.cloud.aiplatform.v1.IndexStatsB\x03\xe0\x41\x03\x12U\n\x13index_update_method\x18\x10 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.Index.IndexUpdateMethodB\x03\xe0\x41\x05\x12H\n\x0f\x65ncryption_spec\x18\x11 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x11IndexUpdateMethod\x12#\n\x1fINDEX_UPDATE_METHOD_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x42\x41TCH_UPDATE\x10\x01\x12\x11\n\rSTREAM_UPDATE\x10\x02:]\xea\x41Z\n\x1f\x61iplatform.googleapis.com/Index\x12\x37projects/{project}/locations/{location}/indexes/{index}\"\
|
15
|
+
descriptor_data = "\n&google/cloud/aiplatform/v1/index.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/aiplatform/v1/deployed_index_ref.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x06\n\x05Index\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\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12 \n\x13metadata_schema_uri\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12(\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Value\x12K\n\x10\x64\x65ployed_indexes\x18\x07 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedIndexRefB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12=\n\x06labels\x18\t \x03(\x0b\x32-.google.cloud.aiplatform.v1.Index.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@\n\x0bindex_stats\x18\x0e \x01(\x0b\x32&.google.cloud.aiplatform.v1.IndexStatsB\x03\xe0\x41\x03\x12U\n\x13index_update_method\x18\x10 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.Index.IndexUpdateMethodB\x03\xe0\x41\x05\x12H\n\x0f\x65ncryption_spec\x18\x11 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x11IndexUpdateMethod\x12#\n\x1fINDEX_UPDATE_METHOD_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x42\x41TCH_UPDATE\x10\x01\x12\x11\n\rSTREAM_UPDATE\x10\x02:]\xea\x41Z\n\x1f\x61iplatform.googleapis.com/Index\x12\x37projects/{project}/locations/{location}/indexes/{index}\"\xf4\x05\n\x0eIndexDatapoint\x12\x19\n\x0c\x64\x61tapoint_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x66\x65\x61ture_vector\x18\x02 \x03(\x02\x42\x03\xe0\x41\x02\x12N\n\trestricts\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionB\x03\xe0\x41\x01\x12]\n\x11numeric_restricts\x18\x06 \x03(\x0b\x32=.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestrictionB\x03\xe0\x41\x01\x12Q\n\x0c\x63rowding_tag\x18\x05 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagB\x03\xe0\x41\x01\x1aG\n\x0bRestriction\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\nallow_list\x18\x02 \x03(\t\x12\x11\n\tdeny_list\x18\x03 \x03(\t\x1a\xb3\x02\n\x12NumericRestriction\x12\x13\n\tvalue_int\x18\x02 \x01(\x03H\x00\x12\x15\n\x0bvalue_float\x18\x03 \x01(\x02H\x00\x12\x16\n\x0cvalue_double\x18\x04 \x01(\x01H\x00\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12R\n\x02op\x18\x05 \x01(\x0e\x32\x46.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator\"i\n\x08Operator\x12\x18\n\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x08\n\x04LESS\x10\x01\x12\x0e\n\nLESS_EQUAL\x10\x02\x12\t\n\x05\x45QUAL\x10\x03\x12\x11\n\rGREATER_EQUAL\x10\x04\x12\x0b\n\x07GREATER\x10\x05\x42\x07\n\x05Value\x1a)\n\x0b\x43rowdingTag\x12\x1a\n\x12\x63rowding_attribute\x18\x01 \x01(\t\"C\n\nIndexStats\x12\x1a\n\rvectors_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0cshards_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x42\xc8\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\nIndexProtoP\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"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -50,6 +50,8 @@ module Google
|
|
50
50
|
Index::IndexUpdateMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Index.IndexUpdateMethod").enummodule
|
51
51
|
IndexDatapoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.IndexDatapoint").msgclass
|
52
52
|
IndexDatapoint::Restriction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.IndexDatapoint.Restriction").msgclass
|
53
|
+
IndexDatapoint::NumericRestriction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction").msgclass
|
54
|
+
IndexDatapoint::NumericRestriction::Operator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator").enummodule
|
53
55
|
IndexDatapoint::CrowdingTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag").msgclass
|
54
56
|
IndexStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.IndexStats").msgclass
|
55
57
|
end
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/cloud/aiplatform/v1/accelerator_type_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/aiplatform/v1/accelerator_type.proto\"\
|
11
|
+
descriptor_data = "\n2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/aiplatform/v1/accelerator_type.proto\"\xaa\x01\n\x0bMachineSpec\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12J\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\x0e\x32+.google.cloud.aiplatform.v1.AcceleratorTypeB\x03\xe0\x41\x05\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x03 \x01(\x05\x12\x19\n\x0ctpu_topology\x18\x04 \x01(\tB\x03\xe0\x41\x05\"\xf8\x01\n\x12\x44\x65\x64icatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12!\n\x11min_replica_count\x18\x02 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\x12X\n\x18\x61utoscaling_metric_specs\x18\x04 \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.AutoscalingMetricSpecB\x03\xe0\x41\x05\"T\n\x12\x41utomaticResources\x12\x1e\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\"\xa5\x01\n\x17\x42\x61tchDedicatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12#\n\x16starting_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\"/\n\x11ResourcesConsumed\x12\x1a\n\rreplica_hours\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\"=\n\x08\x44iskSpec\x12\x16\n\x0e\x62oot_disk_type\x18\x01 \x01(\t\x12\x19\n\x11\x62oot_disk_size_gb\x18\x02 \x01(\x05\"=\n\x12PersistentDiskSpec\x12\x11\n\tdisk_type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x03\"L\n\x08NfsMount\x12\x13\n\x06server\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bmount_point\x18\x03 \x01(\tB\x03\xe0\x41\x02\"A\n\x15\x41utoscalingMetricSpec\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06target\x18\x02 \x01(\x05\x42\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MachineResourcesProtoP\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"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -44,6 +44,7 @@ module Google
|
|
44
44
|
BatchDedicatedResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchDedicatedResources").msgclass
|
45
45
|
ResourcesConsumed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourcesConsumed").msgclass
|
46
46
|
DiskSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DiskSpec").msgclass
|
47
|
+
PersistentDiskSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PersistentDiskSpec").msgclass
|
47
48
|
NfsMount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NfsMount").msgclass
|
48
49
|
AutoscalingMetricSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AutoscalingMetricSpec").msgclass
|
49
50
|
end
|
@@ -8,7 +8,7 @@ require 'google/api/resource_pb'
|
|
8
8
|
require 'google/cloud/aiplatform/v1/io_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n1google/cloud/aiplatform/v1/model_monitoring.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\"\xbf\x15\n\x1eModelMonitoringObjectiveConfig\x12\x64\n\x10training_dataset\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset\x12\x93\x01\n)training_prediction_skew_detection_config\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig\x12\x84\x01\n!prediction_drift_detection_config\x18\x03 \x01(\x0b\x32Y.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig\x12h\n\x12\x65xplanation_config\x18\x05 \x01(\x0b\x32L.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig\x1a\xdb\x02\n\x0fTrainingDataset\x12\x39\n\x07\x64\x61taset\x18\x03 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12;\n\ngcs_source\x18\x04 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12\x45\n\x0f\x62igquery_source\x18\x05 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12\x13\n\x0b\x64\x61ta_format\x18\x02 \x01(\t\x12\x14\n\x0ctarget_field\x18\x06 \x01(\t\x12O\n\x19logging_sampling_strategy\x18\x07 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SamplingStrategyB\r\n\x0b\x64\x61ta_source\x1a\x8f\x05\n%TrainingPredictionSkewDetectionConfig\x12\x8d\x01\n\x0fskew_thresholds\x18\x01 \x03(\x0b\x32t.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.SkewThresholdsEntry\x12\xb0\x01\n!attribution_score_skew_thresholds\x18\x02 \x03(\x0b\x32\x84\x01.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.AttributionScoreSkewThresholdsEntry\x12K\n\x16\x64\x65\x66\x61ult_skew_threshold\x18\x06 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x62\n\x13SkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1ar\n#AttributionScoreSkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\x80\x05\n\x1ePredictionDriftDetectionConfig\x12\x88\x01\n\x10\x64rift_thresholds\x18\x01 \x03(\x0b\x32n.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.DriftThresholdsEntry\x12\xaa\x01\n\"attribution_score_drift_thresholds\x18\x02 \x03(\x0b\x32~.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.AttributionScoreDriftThresholdsEntry\x12L\n\x17\x64\x65\x66\x61ult_drift_threshold\x18\x05 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x63\n\x14\x44riftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1as\n$AttributionScoreDriftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\xbc\x04\n\x11\x45xplanationConfig\x12!\n\x19\x65nable_feature_attributes\x18\x01 \x01(\x08\x12~\n\x14\x65xplanation_baseline\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline\x1a\x83\x03\n\x13\x45xplanationBaseline\x12\x39\n\x03gcs\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12\x43\n\x08\x62igquery\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12\x8c\x01\n\x11prediction_format\x18\x01 \x01(\x0e\x32q.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat\"N\n\x10PredictionFormat\x12!\n\x1dPREDICTION_FORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x02\x12\x0c\n\x08\x42IGQUERY\x10\x03\x42\r\n\x0b\x64\x65stination\"\
|
11
|
+
descriptor_data = "\n1google/cloud/aiplatform/v1/model_monitoring.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\"\xbf\x15\n\x1eModelMonitoringObjectiveConfig\x12\x64\n\x10training_dataset\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset\x12\x93\x01\n)training_prediction_skew_detection_config\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig\x12\x84\x01\n!prediction_drift_detection_config\x18\x03 \x01(\x0b\x32Y.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig\x12h\n\x12\x65xplanation_config\x18\x05 \x01(\x0b\x32L.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig\x1a\xdb\x02\n\x0fTrainingDataset\x12\x39\n\x07\x64\x61taset\x18\x03 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12;\n\ngcs_source\x18\x04 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12\x45\n\x0f\x62igquery_source\x18\x05 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12\x13\n\x0b\x64\x61ta_format\x18\x02 \x01(\t\x12\x14\n\x0ctarget_field\x18\x06 \x01(\t\x12O\n\x19logging_sampling_strategy\x18\x07 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SamplingStrategyB\r\n\x0b\x64\x61ta_source\x1a\x8f\x05\n%TrainingPredictionSkewDetectionConfig\x12\x8d\x01\n\x0fskew_thresholds\x18\x01 \x03(\x0b\x32t.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.SkewThresholdsEntry\x12\xb0\x01\n!attribution_score_skew_thresholds\x18\x02 \x03(\x0b\x32\x84\x01.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.AttributionScoreSkewThresholdsEntry\x12K\n\x16\x64\x65\x66\x61ult_skew_threshold\x18\x06 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x62\n\x13SkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1ar\n#AttributionScoreSkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\x80\x05\n\x1ePredictionDriftDetectionConfig\x12\x88\x01\n\x10\x64rift_thresholds\x18\x01 \x03(\x0b\x32n.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.DriftThresholdsEntry\x12\xaa\x01\n\"attribution_score_drift_thresholds\x18\x02 \x03(\x0b\x32~.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.AttributionScoreDriftThresholdsEntry\x12L\n\x17\x64\x65\x66\x61ult_drift_threshold\x18\x05 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x63\n\x14\x44riftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1as\n$AttributionScoreDriftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\xbc\x04\n\x11\x45xplanationConfig\x12!\n\x19\x65nable_feature_attributes\x18\x01 \x01(\x08\x12~\n\x14\x65xplanation_baseline\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline\x1a\x83\x03\n\x13\x45xplanationBaseline\x12\x39\n\x03gcs\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12\x43\n\x08\x62igquery\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12\x8c\x01\n\x11prediction_format\x18\x01 \x01(\x0e\x32q.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat\"N\n\x10PredictionFormat\x12!\n\x1dPREDICTION_FORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x02\x12\x0c\n\x08\x42IGQUERY\x10\x03\x42\r\n\x0b\x64\x65stination\"\xa0\x02\n\x1aModelMonitoringAlertConfig\x12\x65\n\x12\x65mail_alert_config\x18\x01 \x01(\x0b\x32G.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfigH\x00\x12\x16\n\x0e\x65nable_logging\x18\x02 \x01(\x08\x12Q\n\x15notification_channels\x18\x03 \x03(\tB2\xfa\x41/\n-monitoring.googleapis.com/NotificationChannel\x1a\'\n\x10\x45mailAlertConfig\x12\x13\n\x0buser_emails\x18\x01 \x03(\tB\x07\n\x05\x61lert\"/\n\x0fThresholdConfig\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x42\x0b\n\tthreshold\"\x9c\x01\n\x10SamplingStrategy\x12]\n\x14random_sample_config\x18\x01 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig\x1a)\n\x12RandomSampleConfig\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x01\x42\xc4\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x14ModelMonitoringProtoP\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\x41o\n-monitoring.googleapis.com/NotificationChannel\x12>projects/{project}/notificationChannels/{notification_channel}b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -14,7 +14,7 @@ require 'google/cloud/aiplatform/v1/types_pb'
|
|
14
14
|
require 'google/protobuf/struct_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n3google/cloud/aiplatform/v1/prediction_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a&google/cloud/aiplatform/v1/types.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xaa\x01\n\x0ePredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\"\x80\x02\n\x0fPredictResponse\x12+\n\x0bpredictions\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12\x36\n\x05model\x18\x03 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12model_display_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12-\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\"z\n\x11RawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\'\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\"\xc3\x01\n\x17StreamingPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x32\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x87\x01\n\x18StreamingPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x9d\x02\n\x0e\x45xplainRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x04 \x01(\x0b\x32\x16.google.protobuf.Value\x12V\n\x19\x65xplanation_spec_override\x18\x05 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.ExplanationSpecOverride\x12\x19\n\x11\x64\x65ployed_model_id\x18\x03 \x01(\t\"\x98\x01\n\x0f\x45xplainResponse\x12=\n\x0c\x65xplanations\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.Explanation\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12+\n\x0bpredictions\x18\x03 \x03(\x0b\x32\x16.google.protobuf.
|
17
|
+
descriptor_data = "\n3google/cloud/aiplatform/v1/prediction_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a&google/cloud/aiplatform/v1/types.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xaa\x01\n\x0ePredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\"\x80\x02\n\x0fPredictResponse\x12+\n\x0bpredictions\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12\x36\n\x05model\x18\x03 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12model_display_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12-\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\"z\n\x11RawPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\'\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBody\"\xc3\x01\n\x17StreamingPredictRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x32\n\x06inputs\x18\x02 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x87\x01\n\x18StreamingPredictResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\x12\x36\n\nparameters\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.Tensor\"\x9d\x02\n\x0e\x45xplainRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12*\n\nparameters\x18\x04 \x01(\x0b\x32\x16.google.protobuf.Value\x12V\n\x19\x65xplanation_spec_override\x18\x05 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.ExplanationSpecOverride\x12\x19\n\x11\x64\x65ployed_model_id\x18\x03 \x01(\t\"\x98\x01\n\x0f\x45xplainResponse\x12=\n\x0c\x65xplanations\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.Explanation\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12+\n\x0bpredictions\x18\x03 \x03(\x0b\x32\x16.google.protobuf.Value\"\x82\x01\n\x12\x43ountTokensRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12.\n\tinstances\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\"N\n\x13\x43ountTokensResponse\x12\x14\n\x0ctotal_tokens\x18\x01 \x01(\x05\x12!\n\x19total_billable_characters\x18\x02 \x01(\x05\x32\x8f\t\n\x11PredictionService\x12\x94\x02\n\x07Predict\x12*.google.cloud.aiplatform.v1.PredictRequest\x1a+.google.cloud.aiplatform.v1.PredictResponse\"\xaf\x01\x82\xd3\xe4\x93\x02\x88\x01\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict:\x01*ZH\"C/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict:\x01*\xda\x41\x1d\x65ndpoint,instances,parameters\x12\xfe\x01\n\nRawPredict\x12-.google.cloud.aiplatform.v1.RawPredictRequest\x1a\x14.google.api.HttpBody\"\xaa\x01\x82\xd3\xe4\x93\x02\x8e\x01\"</v1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict:\x01*ZK\"F/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict:\x01*\xda\x41\x12\x65ndpoint,http_body\x12\xb5\x02\n\x16ServerStreamingPredict\x12\x33.google.cloud.aiplatform.v1.StreamingPredictRequest\x1a\x34.google.cloud.aiplatform.v1.StreamingPredictResponse\"\xad\x01\x82\xd3\xe4\x93\x02\xa6\x01\"H/v1/{endpoint=projects/*/locations/*/endpoints/*}:serverStreamingPredict:\x01*ZW\"R/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:serverStreamingPredict:\x01*0\x01\x12\xda\x01\n\x07\x45xplain\x12*.google.cloud.aiplatform.v1.ExplainRequest\x1a+.google.cloud.aiplatform.v1.ExplainResponse\"v\x82\xd3\xe4\x93\x02>\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:explain:\x01*\xda\x41/endpoint,instances,parameters,deployed_model_id\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd4\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x16PredictionServiceProtoP\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"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
@@ -55,6 +55,8 @@ module Google
|
|
55
55
|
StreamingPredictResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StreamingPredictResponse").msgclass
|
56
56
|
ExplainRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplainRequest").msgclass
|
57
57
|
ExplainResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplainResponse").msgclass
|
58
|
+
CountTokensRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CountTokensRequest").msgclass
|
59
|
+
CountTokensResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CountTokensResponse").msgclass
|
58
60
|
end
|
59
61
|
end
|
60
62
|
end
|
@@ -9,9 +9,10 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/duration_pb'
|
10
10
|
require 'google/protobuf/struct_pb'
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
|
+
require 'google/protobuf/wrappers_pb'
|
12
13
|
|
13
14
|
|
14
|
-
descriptor_data = "\n&google/cloud/aiplatform/v1/study.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x03\n\x05Study\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>\n\nstudy_spec\x18\x03 \x01(\x0b\x32%.google.cloud.aiplatform.v1.StudySpecB\x03\xe0\x41\x02\x12;\n\x05state\x18\x04 \x01(\x0e\x32\'.google.cloud.aiplatform.v1.Study.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0finactive_reason\x18\x06 \x01(\tB\x03\xe0\x41\x03\"G\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\x12\r\n\tCOMPLETED\x10\x03:]\xea\x41Z\n\x1f\x61iplatform.googleapis.com/Study\x12\x37projects/{project}/locations/{location}/studies/{study}\"\xd0\x07\n\x05Trial\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12;\n\x05state\x18\x03 \x01(\x0e\x32\'.google.cloud.aiplatform.v1.Trial.StateB\x03\xe0\x41\x03\x12\x44\n\nparameters\x18\x04 \x03(\x0b\x32+.google.cloud.aiplatform.v1.Trial.ParameterB\x03\xe0\x41\x03\x12G\n\x11\x66inal_measurement\x18\x05 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MeasurementB\x03\xe0\x41\x03\x12\x42\n\x0cmeasurements\x18\x06 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.MeasurementB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x16\n\tclient_id\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11infeasible_reason\x18\n \x01(\tB\x03\xe0\x41\x03\x12?\n\ncustom_job\x18\x0b \x01(\tB+\xe0\x41\x03\xfa\x41%\n#aiplatform.googleapis.com/CustomJob\x12R\n\x0fweb_access_uris\x18\x0c \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.Trial.WebAccessUrisEntryB\x03\xe0\x41\x03\x1aR\n\tParameter\x12\x19\n\x0cparameter_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\x0e\n\nINFEASIBLE\x10\x05:l\xea\x41i\n\x1f\x61iplatform.googleapis.com/Trial\x12\x46projects/{project}/locations/{location}/studies/{study}/trials/{trial}\"d\n\x0cTrialContext\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12?\n\nparameters\x18\x02 \x03(\x0b\x32+.google.cloud.aiplatform.v1.Trial.Parameter\"\xfe\x1c\n\tStudySpec\x12j\n\x19\x64\x65\x63\x61y_curve_stopping_spec\x18\x04 \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpecH\x00\x12k\n\x1emedian_automated_stopping_spec\x18\x05 \x01(\x0b\x32\x41.google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpecH\x00\x12k\n\x1e\x63onvex_automated_stopping_spec\x18\t \x01(\x0b\x32\x41.google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpecH\x00\x12\x46\n\x07metrics\x18\x01 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.StudySpec.MetricSpecB\x03\xe0\x41\x02\x12L\n\nparameters\x18\x02 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.StudySpec.ParameterSpecB\x03\xe0\x41\x02\x12\x42\n\talgorithm\x18\x03 \x01(\x0e\x32/.google.cloud.aiplatform.v1.StudySpec.Algorithm\x12Q\n\x11observation_noise\x18\x06 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.StudySpec.ObservationNoise\x12\x62\n\x1ameasurement_selection_type\x18\x07 \x01(\x0e\x32>.google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType\x1a\xad\x03\n\nMetricSpec\x12\x16\n\tmetric_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\x04goal\x18\x02 \x01(\x0e\x32\x39.google.cloud.aiplatform.v1.StudySpec.MetricSpec.GoalTypeB\x03\xe0\x41\x02\x12_\n\rsafety_config\x18\x03 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigH\x00\x88\x01\x01\x1a\x82\x01\n\x12SafetyMetricConfig\x12\x18\n\x10safety_threshold\x18\x01 \x01(\x01\x12-\n desired_min_safe_trials_fraction\x18\x02 \x01(\x01H\x00\x88\x01\x01\x42#\n!_desired_min_safe_trials_fraction\"A\n\x08GoalType\x12\x19\n\x15GOAL_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08MAXIMIZE\x10\x01\x12\x0c\n\x08MINIMIZE\x10\x02\x42\x10\n\x0e_safety_config\x1a\xcd\x0e\n\rParameterSpec\x12`\n\x11\x64ouble_value_spec\x18\x02 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpecH\x00\x12\x62\n\x12integer_value_spec\x18\x03 \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpecH\x00\x12j\n\x16\x63\x61tegorical_value_spec\x18\x04 \x01(\x0b\x32H.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpecH\x00\x12\x64\n\x13\x64iscrete_value_spec\x18\x05 \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpecH\x00\x12\x19\n\x0cparameter_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Q\n\nscale_type\x18\x06 \x01(\x0e\x32=.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType\x12q\n\x1b\x63onditional_parameter_specs\x18\n \x03(\x0b\x32L.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec\x1ao\n\x0f\x44oubleValueSpec\x12\x16\n\tmin_value\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x12\x16\n\tmax_value\x18\x02 \x01(\x01\x42\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x04 \x01(\x01H\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1ap\n\x10IntegerValueSpec\x12\x16\n\tmin_value\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x16\n\tmax_value\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1aY\n\x14\x43\x61tegoricalValueSpec\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1aV\n\x11\x44iscreteValueSpec\x12\x13\n\x06values\x18\x01 \x03(\x01\x42\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x03 \x01(\x01H\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1a\xa4\x05\n\x18\x43onditionalParameterSpec\x12\x85\x01\n\x16parent_discrete_values\x18\x02 \x01(\x0b\x32\x63.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionH\x00\x12{\n\x11parent_int_values\x18\x03 \x01(\x0b\x32^.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionH\x00\x12\x8b\x01\n\x19parent_categorical_values\x18\x04 \x01(\x0b\x32\x66.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionH\x00\x12P\n\x0eparameter_spec\x18\x01 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.StudySpec.ParameterSpecB\x03\xe0\x41\x02\x1a-\n\x16\x44iscreteValueCondition\x12\x13\n\x06values\x18\x01 \x03(\x01\x42\x03\xe0\x41\x02\x1a(\n\x11IntValueCondition\x12\x13\n\x06values\x18\x01 \x03(\x03\x42\x03\xe0\x41\x02\x1a\x30\n\x19\x43\x61tegoricalValueCondition\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\x18\n\x16parent_value_condition\"n\n\tScaleType\x12\x1a\n\x16SCALE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11UNIT_LINEAR_SCALE\x10\x01\x12\x12\n\x0eUNIT_LOG_SCALE\x10\x02\x12\x1a\n\x16UNIT_REVERSE_LOG_SCALE\x10\x03\x42\x16\n\x14parameter_value_spec\x1a?\n\x1f\x44\x65\x63\x61yCurveAutomatedStoppingSpec\x12\x1c\n\x14use_elapsed_duration\x18\x01 \x01(\x08\x1a;\n\x1bMedianAutomatedStoppingSpec\x12\x1c\n\x14use_elapsed_duration\x18\x01 \x01(\x08\x1a\xf6\x01\n\x1b\x43onvexAutomatedStoppingSpec\x12\x16\n\x0emax_step_count\x18\x01 \x01(\x03\x12\x16\n\x0emin_step_count\x18\x02 \x01(\x03\x12\x1d\n\x15min_measurement_count\x18\x03 \x01(\x03\x12$\n\x1clearning_rate_parameter_name\x18\x04 \x01(\t\x12\x1c\n\x14use_elapsed_duration\x18\x05 \x01(\x08\x12&\n\x19update_all_stopped_trials\x18\x06 \x01(\x08H\x00\x88\x01\x01\x42\x1c\n\x1a_update_all_stopped_trials\"J\n\tAlgorithm\x12\x19\n\x15\x41LGORITHM_UNSPECIFIED\x10\x00\x12\x0f\n\x0bGRID_SEARCH\x10\x02\x12\x11\n\rRANDOM_SEARCH\x10\x03\"H\n\x10ObservationNoise\x12!\n\x1dOBSERVATION_NOISE_UNSPECIFIED\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\x08\n\x04HIGH\x10\x02\"r\n\x18MeasurementSelectionType\x12*\n&MEASUREMENT_SELECTION_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LAST_MEASUREMENT\x10\x01\x12\x14\n\x10\x42\x45ST_MEASUREMENT\x10\x02\x42\x19\n\x17\x61utomated_stopping_spec\"\xdc\x01\n\x0bMeasurement\x12\x38\n\x10\x65lapsed_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x17\n\nstep_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x44\n\x07metrics\x18\x03 \x03(\x0b\x32..google.cloud.aiplatform.v1.Measurement.MetricB\x03\xe0\x41\x03\x1a\x34\n\x06Metric\x12\x16\n\tmetric_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05value\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x42\xc8\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\nStudyProtoP\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
|
+
descriptor_data = "\n&google/cloud/aiplatform/v1/study.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xae\x03\n\x05Study\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>\n\nstudy_spec\x18\x03 \x01(\x0b\x32%.google.cloud.aiplatform.v1.StudySpecB\x03\xe0\x41\x02\x12;\n\x05state\x18\x04 \x01(\x0e\x32\'.google.cloud.aiplatform.v1.Study.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0finactive_reason\x18\x06 \x01(\tB\x03\xe0\x41\x03\"G\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\x12\r\n\tCOMPLETED\x10\x03:]\xea\x41Z\n\x1f\x61iplatform.googleapis.com/Study\x12\x37projects/{project}/locations/{location}/studies/{study}\"\xd0\x07\n\x05Trial\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12;\n\x05state\x18\x03 \x01(\x0e\x32\'.google.cloud.aiplatform.v1.Trial.StateB\x03\xe0\x41\x03\x12\x44\n\nparameters\x18\x04 \x03(\x0b\x32+.google.cloud.aiplatform.v1.Trial.ParameterB\x03\xe0\x41\x03\x12G\n\x11\x66inal_measurement\x18\x05 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MeasurementB\x03\xe0\x41\x03\x12\x42\n\x0cmeasurements\x18\x06 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.MeasurementB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x16\n\tclient_id\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11infeasible_reason\x18\n \x01(\tB\x03\xe0\x41\x03\x12?\n\ncustom_job\x18\x0b \x01(\tB+\xe0\x41\x03\xfa\x41%\n#aiplatform.googleapis.com/CustomJob\x12R\n\x0fweb_access_uris\x18\x0c \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.Trial.WebAccessUrisEntryB\x03\xe0\x41\x03\x1aR\n\tParameter\x12\x19\n\x0cparameter_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\x0e\n\nINFEASIBLE\x10\x05:l\xea\x41i\n\x1f\x61iplatform.googleapis.com/Trial\x12\x46projects/{project}/locations/{location}/studies/{study}/trials/{trial}\"d\n\x0cTrialContext\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12?\n\nparameters\x18\x02 \x03(\x0b\x32+.google.cloud.aiplatform.v1.Trial.Parameter\"\x86\x01\n\x13StudyTimeConstraint\x12\x31\n\x0cmax_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12.\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x42\x0c\n\nconstraint\"\xd7!\n\tStudySpec\x12j\n\x19\x64\x65\x63\x61y_curve_stopping_spec\x18\x04 \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpecH\x00\x12k\n\x1emedian_automated_stopping_spec\x18\x05 \x01(\x0b\x32\x41.google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpecH\x00\x12k\n\x1e\x63onvex_automated_stopping_spec\x18\t \x01(\x0b\x32\x41.google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpecH\x00\x12\x46\n\x07metrics\x18\x01 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.StudySpec.MetricSpecB\x03\xe0\x41\x02\x12L\n\nparameters\x18\x02 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.StudySpec.ParameterSpecB\x03\xe0\x41\x02\x12\x42\n\talgorithm\x18\x03 \x01(\x0e\x32/.google.cloud.aiplatform.v1.StudySpec.Algorithm\x12Q\n\x11observation_noise\x18\x06 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.StudySpec.ObservationNoise\x12\x62\n\x1ameasurement_selection_type\x18\x07 \x01(\x0e\x32>.google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType\x12]\n\x15study_stopping_config\x18\x0b \x01(\x0b\x32\x39.google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfigH\x01\x88\x01\x01\x1a\xad\x03\n\nMetricSpec\x12\x16\n\tmetric_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\x04goal\x18\x02 \x01(\x0e\x32\x39.google.cloud.aiplatform.v1.StudySpec.MetricSpec.GoalTypeB\x03\xe0\x41\x02\x12_\n\rsafety_config\x18\x03 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigH\x00\x88\x01\x01\x1a\x82\x01\n\x12SafetyMetricConfig\x12\x18\n\x10safety_threshold\x18\x01 \x01(\x01\x12-\n desired_min_safe_trials_fraction\x18\x02 \x01(\x01H\x00\x88\x01\x01\x42#\n!_desired_min_safe_trials_fraction\"A\n\x08GoalType\x12\x19\n\x15GOAL_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08MAXIMIZE\x10\x01\x12\x0c\n\x08MINIMIZE\x10\x02\x42\x10\n\x0e_safety_config\x1a\xcd\x0e\n\rParameterSpec\x12`\n\x11\x64ouble_value_spec\x18\x02 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpecH\x00\x12\x62\n\x12integer_value_spec\x18\x03 \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpecH\x00\x12j\n\x16\x63\x61tegorical_value_spec\x18\x04 \x01(\x0b\x32H.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpecH\x00\x12\x64\n\x13\x64iscrete_value_spec\x18\x05 \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpecH\x00\x12\x19\n\x0cparameter_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Q\n\nscale_type\x18\x06 \x01(\x0e\x32=.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType\x12q\n\x1b\x63onditional_parameter_specs\x18\n \x03(\x0b\x32L.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec\x1ao\n\x0f\x44oubleValueSpec\x12\x16\n\tmin_value\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x12\x16\n\tmax_value\x18\x02 \x01(\x01\x42\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x04 \x01(\x01H\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1ap\n\x10IntegerValueSpec\x12\x16\n\tmin_value\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x16\n\tmax_value\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1aY\n\x14\x43\x61tegoricalValueSpec\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1aV\n\x11\x44iscreteValueSpec\x12\x13\n\x06values\x18\x01 \x03(\x01\x42\x03\xe0\x41\x02\x12\x1a\n\rdefault_value\x18\x03 \x01(\x01H\x00\x88\x01\x01\x42\x10\n\x0e_default_value\x1a\xa4\x05\n\x18\x43onditionalParameterSpec\x12\x85\x01\n\x16parent_discrete_values\x18\x02 \x01(\x0b\x32\x63.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionH\x00\x12{\n\x11parent_int_values\x18\x03 \x01(\x0b\x32^.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionH\x00\x12\x8b\x01\n\x19parent_categorical_values\x18\x04 \x01(\x0b\x32\x66.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionH\x00\x12P\n\x0eparameter_spec\x18\x01 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.StudySpec.ParameterSpecB\x03\xe0\x41\x02\x1a-\n\x16\x44iscreteValueCondition\x12\x13\n\x06values\x18\x01 \x03(\x01\x42\x03\xe0\x41\x02\x1a(\n\x11IntValueCondition\x12\x13\n\x06values\x18\x01 \x03(\x03\x42\x03\xe0\x41\x02\x1a\x30\n\x19\x43\x61tegoricalValueCondition\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\x18\n\x16parent_value_condition\"n\n\tScaleType\x12\x1a\n\x16SCALE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11UNIT_LINEAR_SCALE\x10\x01\x12\x12\n\x0eUNIT_LOG_SCALE\x10\x02\x12\x1a\n\x16UNIT_REVERSE_LOG_SCALE\x10\x03\x42\x16\n\x14parameter_value_spec\x1a?\n\x1f\x44\x65\x63\x61yCurveAutomatedStoppingSpec\x12\x1c\n\x14use_elapsed_duration\x18\x01 \x01(\x08\x1a;\n\x1bMedianAutomatedStoppingSpec\x12\x1c\n\x14use_elapsed_duration\x18\x01 \x01(\x08\x1a\xf6\x01\n\x1b\x43onvexAutomatedStoppingSpec\x12\x16\n\x0emax_step_count\x18\x01 \x01(\x03\x12\x16\n\x0emin_step_count\x18\x02 \x01(\x03\x12\x1d\n\x15min_measurement_count\x18\x03 \x01(\x03\x12$\n\x1clearning_rate_parameter_name\x18\x04 \x01(\t\x12\x1c\n\x14use_elapsed_duration\x18\x05 \x01(\x08\x12&\n\x19update_all_stopped_trials\x18\x06 \x01(\x08H\x00\x88\x01\x01\x42\x1c\n\x1a_update_all_stopped_trials\x1a\xdd\x03\n\x13StudyStoppingConfig\x12\x34\n\x10should_stop_asap\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12S\n\x1aminimum_runtime_constraint\x18\x02 \x01(\x0b\x32/.google.cloud.aiplatform.v1.StudyTimeConstraint\x12S\n\x1amaximum_runtime_constraint\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.StudyTimeConstraint\x12\x33\n\x0emin_num_trials\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x33\n\x0emax_num_trials\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12?\n\x1amax_num_trials_no_progress\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12;\n\x18max_duration_no_progress\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\"J\n\tAlgorithm\x12\x19\n\x15\x41LGORITHM_UNSPECIFIED\x10\x00\x12\x0f\n\x0bGRID_SEARCH\x10\x02\x12\x11\n\rRANDOM_SEARCH\x10\x03\"H\n\x10ObservationNoise\x12!\n\x1dOBSERVATION_NOISE_UNSPECIFIED\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\x08\n\x04HIGH\x10\x02\"r\n\x18MeasurementSelectionType\x12*\n&MEASUREMENT_SELECTION_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LAST_MEASUREMENT\x10\x01\x12\x14\n\x10\x42\x45ST_MEASUREMENT\x10\x02\x42\x19\n\x17\x61utomated_stopping_specB\x18\n\x16_study_stopping_config\"\xdc\x01\n\x0bMeasurement\x12\x38\n\x10\x65lapsed_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x17\n\nstep_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x44\n\x07metrics\x18\x03 \x03(\x0b\x32..google.cloud.aiplatform.v1.Measurement.MetricB\x03\xe0\x41\x03\x1a\x34\n\x06Metric\x12\x16\n\tmetric_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05value\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x42\xc8\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\nStudyProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
15
16
|
|
16
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
18
|
|
@@ -29,6 +30,7 @@ rescue TypeError => e
|
|
29
30
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
30
31
|
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
31
32
|
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
33
|
+
["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
|
32
34
|
]
|
33
35
|
imports.each do |type_name, expected_filename|
|
34
36
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -50,6 +52,7 @@ module Google
|
|
50
52
|
Trial::Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Trial.Parameter").msgclass
|
51
53
|
Trial::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Trial.State").enummodule
|
52
54
|
TrialContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.TrialContext").msgclass
|
55
|
+
StudyTimeConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudyTimeConstraint").msgclass
|
53
56
|
StudySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec").msgclass
|
54
57
|
StudySpec::MetricSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.MetricSpec").msgclass
|
55
58
|
StudySpec::MetricSpec::SafetyMetricConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig").msgclass
|
@@ -67,6 +70,7 @@ module Google
|
|
67
70
|
StudySpec::DecayCurveAutomatedStoppingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec").msgclass
|
68
71
|
StudySpec::MedianAutomatedStoppingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec").msgclass
|
69
72
|
StudySpec::ConvexAutomatedStoppingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec").msgclass
|
73
|
+
StudySpec::StudyStoppingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfig").msgclass
|
70
74
|
StudySpec::Algorithm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.Algorithm").enummodule
|
71
75
|
StudySpec::ObservationNoise = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.ObservationNoise").enummodule
|
72
76
|
StudySpec::MeasurementSelectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType").enummodule
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
# * AIP_MODEL_DIR = `<base_output_directory>/<trial_id>/model/`
|
173
173
|
# * AIP_CHECKPOINT_DIR = `<base_output_directory>/<trial_id>/checkpoints/`
|
174
174
|
# * AIP_TENSORBOARD_LOG_DIR = `<base_output_directory>/<trial_id>/logs/`
|
175
|
+
# @!attribute [rw] protected_artifact_location_id
|
176
|
+
# @return [::String]
|
177
|
+
# The ID of the location to store protected artifacts. e.g. us-central1.
|
178
|
+
# Populate only when the location is different than CustomJob location.
|
179
|
+
# List of supported locations:
|
180
|
+
# https://cloud.google.com/vertex-ai/docs/general/locations
|
175
181
|
# @!attribute [rw] tensorboard
|
176
182
|
# @return [::String]
|
177
183
|
# Optional. The name of a Vertex AI
|
@@ -219,8 +219,25 @@ module Google
|
|
219
219
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
220
220
|
end
|
221
221
|
|
222
|
+
# Request message for
|
223
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#create_dataset_version DatasetService.CreateDatasetVersion}.
|
224
|
+
# @!attribute [rw] parent
|
225
|
+
# @return [::String]
|
226
|
+
# Required. The name of the Dataset resource.
|
227
|
+
# Format:
|
228
|
+
# `projects/{project}/locations/{location}/datasets/{dataset}`
|
229
|
+
# @!attribute [rw] dataset_version
|
230
|
+
# @return [::Google::Cloud::AIPlatform::V1::DatasetVersion]
|
231
|
+
# Required. The version to be created. The same CMEK policies with the
|
232
|
+
# original Dataset will be applied the dataset version. So here we don't need
|
233
|
+
# to specify the EncryptionSpecType here.
|
234
|
+
class CreateDatasetVersionRequest
|
235
|
+
include ::Google::Protobuf::MessageExts
|
236
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
237
|
+
end
|
238
|
+
|
222
239
|
# Runtime operation information for
|
223
|
-
#
|
240
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#create_dataset_version DatasetService.CreateDatasetVersion}.
|
224
241
|
# @!attribute [rw] generic_metadata
|
225
242
|
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
226
243
|
# The common part of the operation metadata.
|
@@ -229,8 +246,88 @@ module Google
|
|
229
246
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
230
247
|
end
|
231
248
|
|
249
|
+
# Request message for
|
250
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#delete_dataset_version DatasetService.DeleteDatasetVersion}.
|
251
|
+
# @!attribute [rw] name
|
252
|
+
# @return [::String]
|
253
|
+
# Required. The resource name of the Dataset version to delete.
|
254
|
+
# Format:
|
255
|
+
# `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
|
256
|
+
class DeleteDatasetVersionRequest
|
257
|
+
include ::Google::Protobuf::MessageExts
|
258
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
259
|
+
end
|
260
|
+
|
261
|
+
# Request message for
|
262
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#get_dataset_version DatasetService.GetDatasetVersion}.
|
263
|
+
# @!attribute [rw] name
|
264
|
+
# @return [::String]
|
265
|
+
# Required. The resource name of the Dataset version to delete.
|
266
|
+
# Format:
|
267
|
+
# `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
|
268
|
+
# @!attribute [rw] read_mask
|
269
|
+
# @return [::Google::Protobuf::FieldMask]
|
270
|
+
# Mask specifying which fields to read.
|
271
|
+
class GetDatasetVersionRequest
|
272
|
+
include ::Google::Protobuf::MessageExts
|
273
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
274
|
+
end
|
275
|
+
|
276
|
+
# Request message for
|
277
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_dataset_versions DatasetService.ListDatasetVersions}.
|
278
|
+
# @!attribute [rw] parent
|
279
|
+
# @return [::String]
|
280
|
+
# Required. The resource name of the Dataset to list DatasetVersions from.
|
281
|
+
# Format:
|
282
|
+
# `projects/{project}/locations/{location}/datasets/{dataset}`
|
283
|
+
# @!attribute [rw] filter
|
284
|
+
# @return [::String]
|
285
|
+
# Optional. The standard list filter.
|
286
|
+
# @!attribute [rw] page_size
|
287
|
+
# @return [::Integer]
|
288
|
+
# Optional. The standard list page size.
|
289
|
+
# @!attribute [rw] page_token
|
290
|
+
# @return [::String]
|
291
|
+
# Optional. The standard list page token.
|
292
|
+
# @!attribute [rw] read_mask
|
293
|
+
# @return [::Google::Protobuf::FieldMask]
|
294
|
+
# Optional. Mask specifying which fields to read.
|
295
|
+
# @!attribute [rw] order_by
|
296
|
+
# @return [::String]
|
297
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
298
|
+
# order. Use "desc" after a field name for descending.
|
299
|
+
class ListDatasetVersionsRequest
|
300
|
+
include ::Google::Protobuf::MessageExts
|
301
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
302
|
+
end
|
303
|
+
|
304
|
+
# Response message for
|
305
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_dataset_versions DatasetService.ListDatasetVersions}.
|
306
|
+
# @!attribute [rw] dataset_versions
|
307
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::DatasetVersion>]
|
308
|
+
# A list of DatasetVersions that matches the specified filter in the request.
|
309
|
+
# @!attribute [rw] next_page_token
|
310
|
+
# @return [::String]
|
311
|
+
# The standard List next-page token.
|
312
|
+
class ListDatasetVersionsResponse
|
313
|
+
include ::Google::Protobuf::MessageExts
|
314
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
315
|
+
end
|
316
|
+
|
317
|
+
# Request message for
|
318
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#restore_dataset_version DatasetService.RestoreDatasetVersion}.
|
319
|
+
# @!attribute [rw] name
|
320
|
+
# @return [::String]
|
321
|
+
# Required. The name of the DatasetVersion resource.
|
322
|
+
# Format:
|
323
|
+
# `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
|
324
|
+
class RestoreDatasetVersionRequest
|
325
|
+
include ::Google::Protobuf::MessageExts
|
326
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
327
|
+
end
|
328
|
+
|
232
329
|
# Runtime operation information for
|
233
|
-
#
|
330
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#restore_dataset_version DatasetService.RestoreDatasetVersion}.
|
234
331
|
# @!attribute [rw] generic_metadata
|
235
332
|
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
236
333
|
# The common part of the operation metadata.
|
@@ -0,0 +1,48 @@
|
|
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
|
+
# Describes the dataset version.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The resource name of the DatasetVersion.
|
28
|
+
# @!attribute [r] create_time
|
29
|
+
# @return [::Google::Protobuf::Timestamp]
|
30
|
+
# Output only. Timestamp when this DatasetVersion was created.
|
31
|
+
# @!attribute [r] update_time
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
33
|
+
# Output only. Timestamp when this DatasetVersion was last updated.
|
34
|
+
# @!attribute [rw] etag
|
35
|
+
# @return [::String]
|
36
|
+
# Used to perform consistent read-modify-write updates. If not set, a blind
|
37
|
+
# "overwrite" update happens.
|
38
|
+
# @!attribute [r] big_query_dataset_name
|
39
|
+
# @return [::String]
|
40
|
+
# Output only. Name of the associated BigQuery dataset.
|
41
|
+
class DatasetVersion
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -149,7 +149,7 @@ module Google
|
|
149
149
|
# Immutable. The ID of the DeployedModel. If not provided upon deployment,
|
150
150
|
# Vertex AI will generate a value for this ID.
|
151
151
|
#
|
152
|
-
# This value should be 1-10 characters, and valid characters are
|
152
|
+
# This value should be 1-10 characters, and valid characters are `/[0-9]/`.
|
153
153
|
# @!attribute [rw] model
|
154
154
|
# @return [::String]
|
155
155
|
# Required. The resource name of the Model that this is the deployment of.
|
@@ -21,14 +21,14 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
-
# Feature Metadata information
|
25
|
-
# For example,
|
26
|
-
# apple.
|
24
|
+
# Feature Metadata information.
|
25
|
+
# For example, color is a feature that describes an apple.
|
27
26
|
# @!attribute [rw] name
|
28
27
|
# @return [::String]
|
29
28
|
# Immutable. Name of the Feature.
|
30
29
|
# Format:
|
31
30
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
31
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
32
32
|
#
|
33
33
|
# The last part feature is assigned by the client. The feature can be up to
|
34
34
|
# 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
|
@@ -39,13 +39,16 @@ module Google
|
|
39
39
|
# Description of the Feature.
|
40
40
|
# @!attribute [rw] value_type
|
41
41
|
# @return [::Google::Cloud::AIPlatform::V1::Feature::ValueType]
|
42
|
-
#
|
42
|
+
# Immutable. Only applicable for Vertex AI Feature Store (Legacy).
|
43
|
+
# Type of Feature value.
|
43
44
|
# @!attribute [r] create_time
|
44
45
|
# @return [::Google::Protobuf::Timestamp]
|
45
|
-
# Output only.
|
46
|
+
# Output only. Only applicable for Vertex AI Feature Store (Legacy).
|
47
|
+
# Timestamp when this EntityType was created.
|
46
48
|
# @!attribute [r] update_time
|
47
49
|
# @return [::Google::Protobuf::Timestamp]
|
48
|
-
# Output only.
|
50
|
+
# Output only. Only applicable for Vertex AI Feature Store (Legacy).
|
51
|
+
# Timestamp when this EntityType was most recently updated.
|
49
52
|
# @!attribute [rw] labels
|
50
53
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
51
54
|
# Optional. The labels with user-defined metadata to organize your Features.
|
@@ -65,8 +68,10 @@ module Google
|
|
65
68
|
# "overwrite" update happens.
|
66
69
|
# @!attribute [rw] disable_monitoring
|
67
70
|
# @return [::Boolean]
|
68
|
-
# Optional.
|
69
|
-
#
|
71
|
+
# Optional. Only applicable for Vertex AI Feature Store (Legacy).
|
72
|
+
# If not set, use the monitoring_config defined for the EntityType this
|
73
|
+
# Feature belongs to.
|
74
|
+
# Only Features with type
|
70
75
|
# ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL,
|
71
76
|
# STRING, DOUBLE or INT64 can enable monitoring.
|
72
77
|
#
|
@@ -74,8 +79,13 @@ module Google
|
|
74
79
|
# config on EntityType.
|
75
80
|
# @!attribute [r] monitoring_stats_anomalies
|
76
81
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Feature::MonitoringStatsAnomaly>]
|
77
|
-
# Output only.
|
78
|
-
# objectives.
|
82
|
+
# Output only. Only applicable for Vertex AI Feature Store (Legacy).
|
83
|
+
# The list of historical stats and anomalies with specified objectives.
|
84
|
+
# @!attribute [rw] version_column_name
|
85
|
+
# @return [::String]
|
86
|
+
# Only applicable for Vertex AI Feature Store.
|
87
|
+
# The name of the BigQuery Table/View columnn hosting data for this version.
|
88
|
+
# If no value is provided, will use feature_id.
|
79
89
|
class Feature
|
80
90
|
include ::Google::Protobuf::MessageExts
|
81
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -122,6 +132,7 @@ module Google
|
|
122
132
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
133
|
end
|
124
134
|
|
135
|
+
# Only applicable for Vertex AI Legacy Feature Store.
|
125
136
|
# An enum representing the value type of a feature.
|
126
137
|
module ValueType
|
127
138
|
# The value type is unspecified.
|