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

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

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\GetSchemaRequest