Google Cloud Discovery Engine V1 Client - Class GetSchemaRequest (0.3.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class GetSchemaRequest.

Request message for SchemaService.GetSchema method.

Generated from protobuf message google.cloud.discoveryengine.v1.GetSchemaRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}.

getName

Required. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}.

Returns
TypeDescription
string

setName

Required. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. Please see Google\Cloud\DiscoveryEngine\V1\SchemaServiceClient::schemaName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\GetSchemaRequest