Google Cloud Discovery Engine V1beta Client - Class GetSchemaRequest (0.11.3)

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

Request message for SchemaService.GetSchema method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

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\V1beta\SchemaServiceClient::schemaName() for help formatting this field.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1beta\GetSchemaRequest