Google Cloud Ai Platform V1 Client - Class MetadataSchema (0.21.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class MetadataSchema.

Instance of a general MetadataSchema.

Generated from protobuf message google.cloud.aiplatform.v1.MetadataSchema

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of the MetadataSchema.

↳ schema_version string

The version of the MetadataSchema. The version's format must match the following regular expression: ^[0-9]+[.][0-9]+[.][0-9]+$, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.

↳ schema string

Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by title in [MetadataSchema.schema] must be unique within a MetadataStore. The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object

↳ schema_type int

The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.

↳ create_time Google\Protobuf\Timestamp

Output only. Timestamp when this MetadataSchema was created.

↳ description string

Description of the Metadata Schema

getName

Output only. The resource name of the MetadataSchema.

Returns
TypeDescription
string

setName

Output only. The resource name of the MetadataSchema.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSchemaVersion

The version of the MetadataSchema. The version's format must match the following regular expression: ^[0-9]+[.][0-9]+[.][0-9]+$, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.

Returns
TypeDescription
string

setSchemaVersion

The version of the MetadataSchema. The version's format must match the following regular expression: ^[0-9]+[.][0-9]+[.][0-9]+$, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSchema

Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by title in [MetadataSchema.schema] must be unique within a MetadataStore.

The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object

Returns
TypeDescription
string

setSchema

Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by title in [MetadataSchema.schema] must be unique within a MetadataStore.

The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSchemaType

The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.

Returns
TypeDescription
int

setSchemaType

The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Output only. Timestamp when this MetadataSchema was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when this MetadataSchema was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDescription

Description of the Metadata Schema

Returns
TypeDescription
string

setDescription

Description of the Metadata Schema

Parameter
NameDescription
var string
Returns
TypeDescription
$this