Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::CreateSchemaRequest (v0.7.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::CreateSchemaRequest.

Request message for SchemaService.CreateSchema method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.
Returns
  • (::String) — Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

#schema

def schema() -> ::Google::Cloud::DiscoveryEngine::V1::Schema
Returns

#schema=

def schema=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Schema
Parameter
Returns

#schema_id

def schema_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the Schema, which will become the final component of the Schema.name.

    This field should conform to RFC-1034 standard with a length limit of 63 characters.

#schema_id=

def schema_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the Schema, which will become the final component of the Schema.name.

    This field should conform to RFC-1034 standard with a length limit of 63 characters.

Returns
  • (::String) — Required. The ID to use for the Schema, which will become the final component of the Schema.name.

    This field should conform to RFC-1034 standard with a length limit of 63 characters.