Class: Google::Cloud::AIPlatform::V1::Index
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Index
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/index.rb
Overview
A representation of a collection of database items organized in a way that allows for approximate nearest neighbor (a.k.a ANN) algorithms search.
Defined Under Namespace
Modules: IndexUpdateMethod Classes: LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#deployed_indexes ⇒ ::Array<::Google::Cloud::AIPlatform::V1::DeployedIndexRef>
readonly
Output only.
-
#description ⇒ ::String
The description of the Index.
-
#display_name ⇒ ::String
Required.
-
#encryption_spec ⇒ ::Google::Cloud::AIPlatform::V1::EncryptionSpec
Immutable.
-
#etag ⇒ ::String
Used to perform consistent read-modify-write updates.
-
#index_stats ⇒ ::Google::Cloud::AIPlatform::V1::IndexStats
readonly
Output only.
-
#index_update_method ⇒ ::Google::Cloud::AIPlatform::V1::Index::IndexUpdateMethod
Immutable.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The labels with user-defined metadata to organize your Indexes.
-
#metadata ⇒ ::Google::Protobuf::Value
An additional information about the Index; the schema of the metadata can be found in metadata_schema.
-
#metadata_schema_uri ⇒ ::String
Immutable.
-
#name ⇒ ::String
readonly
Output only.
-
#satisfies_pzi ⇒ ::Boolean
readonly
Output only.
-
#satisfies_pzs ⇒ ::Boolean
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Timestamp when this Index was created.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#deployed_indexes ⇒ ::Array<::Google::Cloud::AIPlatform::V1::DeployedIndexRef> (readonly)
Returns Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#description ⇒ ::String
Returns The description of the Index.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#display_name ⇒ ::String
Returns Required. The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#encryption_spec ⇒ ::Google::Cloud::AIPlatform::V1::EncryptionSpec
Returns Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#etag ⇒ ::String
Returns Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#index_stats ⇒ ::Google::Cloud::AIPlatform::V1::IndexStats (readonly)
Returns Output only. Stats of the index resource.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#index_update_method ⇒ ::Google::Cloud::AIPlatform::V1::Index::IndexUpdateMethod
Returns Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns The labels with user-defined metadata to organize your Indexes.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.
See https://goo.gl/xmQnxf for more information and examples of labels.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#metadata ⇒ ::Google::Protobuf::Value
Returns An additional information about the Index; the schema of the metadata can be found in metadata_schema.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#metadata_schema_uri ⇒ ::String
Returns Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. The resource name of the Index.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#satisfies_pzi ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#satisfies_pzs ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their [Operations.metadata.generic_metadata.update_time] [google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 100 class Index include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The update method of an Index. module IndexUpdateMethod # Should not be used. INDEX_UPDATE_METHOD_UNSPECIFIED = 0 # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of # Datapoints to update. BATCH_UPDATE = 1 # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update # the Index and the updates will be applied in corresponding # DeployedIndexes in nearly real-time. STREAM_UPDATE = 2 end end |