Google Cloud Discovery Engine V1 Client - Class GetSchemaRequest (1.0.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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\DiscoveryEngine\V1\GetSchemaRequest