Class: Google::Cloud::VisionAI::V1::CreateIndexRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/warehouse.rb

Overview

Message for creating an Index.

Instance Attribute Summary collapse

Instance Attribute Details

#index::Google::Cloud::VisionAI::V1::Index

Returns Required. The index being created.

Returns:



763
764
765
766
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 763

class CreateIndexRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#index_id::String

Returns Optional. The ID for the index. This will become the final resource name for the index. If the user does not specify this value, it will be generated by system.

This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.

Returns:

  • (::String)

    Optional. The ID for the index. This will become the final resource name for the index. If the user does not specify this value, it will be generated by system.

    This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.



763
764
765
766
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 763

class CreateIndexRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. Value for the parent. The resource name of the Corpus under which this index is created. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}.

Returns:

  • (::String)

    Required. Value for the parent. The resource name of the Corpus under which this index is created. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}



763
764
765
766
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 763

class CreateIndexRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end