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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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: |
↳ schema |
string
Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by |
↳ 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 | |
---|---|
Type | Description |
string |
setName
Output only. The resource name of the MetadataSchema.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSchemaType
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
Returns | |
---|---|
Type | Description |
int |
setSchemaType
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. Timestamp when this MetadataSchema was created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when this MetadataSchema was created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Description of the Metadata Schema
Returns | |
---|---|
Type | Description |
string |
setDescription
Description of the Metadata Schema
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |