Google Cloud Discovery Engine V1beta Client - Class ListSchemasRequest (0.3.0)

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

Request message for SchemaService.ListSchemas method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

↳ page_size int

The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

↳ page_token string

A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.

getParent

Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

Returns
TypeDescription
string

setParent

Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of Schemas to return. The service may return fewer than this value.

If unspecified, at most 100 Schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Returns
TypeDescription
int

setPageSize

The maximum number of Schemas to return. The service may return fewer than this value.

If unspecified, at most 100 Schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.

Returns
TypeDescription
string

setPageToken

A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}. Please see Google\Cloud\DiscoveryEngine\V1beta\SchemaServiceClient::dataStoreName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\ListSchemasRequest