class ProjectsLocationsMetadataStoresMetadataSchemas extends Resource (View source)

The "metadataSchemas" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $metadataSchemas = $aiplatformService->projects_locations_metadataStores_metadataSchemas;

Methods

create(string $parent, GoogleCloudAiplatformV1MetadataSchema $postBody, array $optParams = [])

Creates a MetadataSchema. (metadataSchemas.create)

get(string $name, array $optParams = [])

Retrieves a specific MetadataSchema. (metadataSchemas.get)

Details

GoogleCloudAiplatformV1MetadataSchema create(string $parent, GoogleCloudAiplatformV1MetadataSchema $postBody, array $optParams = [])

Creates a MetadataSchema. (metadataSchemas.create)

Parameters

string $parent

Required. The resource name of the MetadataStore where the MetadataSchema should be created. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

GoogleCloudAiplatformV1MetadataSchema $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1MetadataSchema

Exceptions

Exception

GoogleCloudAiplatformV1MetadataSchema get(string $name, array $optParams = [])

Retrieves a specific MetadataSchema. (metadataSchemas.get)

Parameters

string $name

Required. The resource name of the MetadataSchema to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{me tadatastore}/metadataSchemas/{metadataschema}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1MetadataSchema

Exceptions

Exception

GoogleCloudAiplatformV1ListMetadataSchemasResponse listProjectsLocationsMetadataStoresMetadataSchemas(string $parent, array $optParams = [])

Lists MetadataSchemas.

(metadataSchemas.listProjectsLocationsMetadataStoresMetadataSchemas)

Parameters

string $parent

Required. The MetadataStore whose MetadataSchemas should be listed. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListMetadataSchemasResponse

Exceptions

Exception