# frozen_string_literal: true # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Auto-generated by gapic-generator-ruby. DO NOT EDIT! module Google module Cloud module AIPlatform module V1 # A representation of a collection of database items organized in a way that # allows for approximate nearest neighbor (a.k.a ANN) algorithms search. # @!attribute [r] name # @return [::String] # Output only. The resource name of the Index. # @!attribute [rw] display_name # @return [::String] # Required. The display name of the Index. # The name can be up to 128 characters long and can be consist of any UTF-8 # characters. # @!attribute [rw] description # @return [::String] # The description of the Index. # @!attribute [rw] metadata_schema_uri # @return [::String] # 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](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). # 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. # @!attribute [rw] metadata # @return [::Google::Protobuf::Value] # An additional information about the Index; the schema of the metadata can # be found in {::Google::Cloud::AIPlatform::V1::Index#metadata_schema_uri metadata_schema}. # @!attribute [r] deployed_indexes # @return [::Array<::Google::Cloud::AIPlatform::V1::DeployedIndexRef>] # Output only. The pointers to DeployedIndexes created from this Index. # An Index can be only deleted if all its DeployedIndexes had been undeployed # first. # @!attribute [rw] etag # @return [::String] # Used to perform consistent read-modify-write updates. If not set, a blind # "overwrite" update happens. # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # 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. # @!attribute [r] create_time # @return [::Google::Protobuf::Timestamp] # Output only. Timestamp when this Index was created. # @!attribute [r] update_time # @return [::Google::Protobuf::Timestamp] # 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. 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 end end end end end