Required. Map from feature names to feature input metadata. Keys are the name of the features. Values are the specification of the feature. An empty InputMetadata is valid. It describes a text feature which has the name specified as the key in ExplanationMetadata.inputs. The baseline of the empty feature is chosen by Vertex AI. For Vertex AI-provided Tensorflow images, the key can be any friendly name of the feature. Once specified, featureAttributions are keyed by this key (if not grouped with another feature). For custom images, the key must match with the key in instance.
Required. Map from output names to output metadata. For Vertex AI-provided Tensorflow images, keys can be any user defined string that consists of any UTF-8 characters. For custom images, keys are the name of the output field in the prediction to be explained. Currently only one key is allowed.
↳ feature_attributions_schema_uri
string
Points to a YAML file stored on Google Cloud Storage describing the format of the feature attributions. The schema is defined as an OpenAPI 3.0.2 Schema Object. AutoML tabular Models always have this field populated by Vertex AI. Note: The URI given on output may be different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
↳ latent_space_source
string
Name of the source to generate embeddings for example based explanations.
getInputs
Required. Map from feature names to feature input metadata. Keys are the
name of the features. Values are the specification of the feature.
An empty InputMetadata is valid. It describes a text feature which has the
name specified as the key in
ExplanationMetadata.inputs.
The baseline of the empty feature is chosen by Vertex AI.
For Vertex AI-provided Tensorflow images, the key can be any friendly
name of the feature. Once specified,
featureAttributions
are keyed by this key (if not grouped with another feature).
For custom images, the key must match with the key in
instance.
Required. Map from feature names to feature input metadata. Keys are the
name of the features. Values are the specification of the feature.
An empty InputMetadata is valid. It describes a text feature which has the
name specified as the key in
ExplanationMetadata.inputs.
The baseline of the empty feature is chosen by Vertex AI.
For Vertex AI-provided Tensorflow images, the key can be any friendly
name of the feature. Once specified,
featureAttributions
are keyed by this key (if not grouped with another feature).
For custom images, the key must match with the key in
instance.
Required. Map from output names to output metadata.
For Vertex AI-provided Tensorflow images, keys can be any user defined
string that consists of any UTF-8 characters.
For custom images, keys are the name of the output field in the prediction
to be explained.
Currently only one key is allowed.
Required. Map from output names to output metadata.
For Vertex AI-provided Tensorflow images, keys can be any user defined
string that consists of any UTF-8 characters.
For custom images, keys are the name of the output field in the prediction
to be explained.
Currently only one key is allowed.
Points to a YAML file stored on Google Cloud Storage describing the format
of the feature
attributions.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML tabular Models always have this field populated by Vertex AI.
Note: The URI given on output may be different, including the URI scheme,
than the one given on input. The output URI will point to a location where
the user only has a read access.
Returns
Type
Description
string
setFeatureAttributionsSchemaUri
Points to a YAML file stored on Google Cloud Storage describing the format
of the feature
attributions.
The schema is defined as an OpenAPI 3.0.2 Schema
Object.
AutoML tabular Models always have this field populated by Vertex AI.
Note: The URI given on output may be different, including the URI scheme,
than the one given on input. The output URI will point to a location where
the user only has a read access.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLatentSpaceSource
Name of the source to generate embeddings for example based explanations.
Returns
Type
Description
string
setLatentSpaceSource
Name of the source to generate embeddings for example based explanations.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Ai Platform V1 Client - Class ExplanationMetadata (1.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.35.0 (latest)](/php/docs/reference/cloud-ai-platform/latest/V1.ExplanationMetadata)\n- [1.34.0](/php/docs/reference/cloud-ai-platform/1.34.0/V1.ExplanationMetadata)\n- [1.33.0](/php/docs/reference/cloud-ai-platform/1.33.0/V1.ExplanationMetadata)\n- [1.32.1](/php/docs/reference/cloud-ai-platform/1.32.1/V1.ExplanationMetadata)\n- [1.31.0](/php/docs/reference/cloud-ai-platform/1.31.0/V1.ExplanationMetadata)\n- [1.30.0](/php/docs/reference/cloud-ai-platform/1.30.0/V1.ExplanationMetadata)\n- [1.26.0](/php/docs/reference/cloud-ai-platform/1.26.0/V1.ExplanationMetadata)\n- [1.23.0](/php/docs/reference/cloud-ai-platform/1.23.0/V1.ExplanationMetadata)\n- [1.22.0](/php/docs/reference/cloud-ai-platform/1.22.0/V1.ExplanationMetadata)\n- [1.21.0](/php/docs/reference/cloud-ai-platform/1.21.0/V1.ExplanationMetadata)\n- [1.20.0](/php/docs/reference/cloud-ai-platform/1.20.0/V1.ExplanationMetadata)\n- [1.19.0](/php/docs/reference/cloud-ai-platform/1.19.0/V1.ExplanationMetadata)\n- [1.18.0](/php/docs/reference/cloud-ai-platform/1.18.0/V1.ExplanationMetadata)\n- [1.17.0](/php/docs/reference/cloud-ai-platform/1.17.0/V1.ExplanationMetadata)\n- [1.16.0](/php/docs/reference/cloud-ai-platform/1.16.0/V1.ExplanationMetadata)\n- [1.15.0](/php/docs/reference/cloud-ai-platform/1.15.0/V1.ExplanationMetadata)\n- [1.14.0](/php/docs/reference/cloud-ai-platform/1.14.0/V1.ExplanationMetadata)\n- [1.13.1](/php/docs/reference/cloud-ai-platform/1.13.1/V1.ExplanationMetadata)\n- [1.12.0](/php/docs/reference/cloud-ai-platform/1.12.0/V1.ExplanationMetadata)\n- [1.11.0](/php/docs/reference/cloud-ai-platform/1.11.0/V1.ExplanationMetadata)\n- [1.10.0](/php/docs/reference/cloud-ai-platform/1.10.0/V1.ExplanationMetadata)\n- [1.9.0](/php/docs/reference/cloud-ai-platform/1.9.0/V1.ExplanationMetadata)\n- [1.8.0](/php/docs/reference/cloud-ai-platform/1.8.0/V1.ExplanationMetadata)\n- [1.7.0](/php/docs/reference/cloud-ai-platform/1.7.0/V1.ExplanationMetadata)\n- [1.6.0](/php/docs/reference/cloud-ai-platform/1.6.0/V1.ExplanationMetadata)\n- [1.5.0](/php/docs/reference/cloud-ai-platform/1.5.0/V1.ExplanationMetadata)\n- [1.4.0](/php/docs/reference/cloud-ai-platform/1.4.0/V1.ExplanationMetadata)\n- [1.3.0](/php/docs/reference/cloud-ai-platform/1.3.0/V1.ExplanationMetadata)\n- [1.2.0](/php/docs/reference/cloud-ai-platform/1.2.0/V1.ExplanationMetadata)\n- [1.1.0](/php/docs/reference/cloud-ai-platform/1.1.0/V1.ExplanationMetadata)\n- [1.0.0](/php/docs/reference/cloud-ai-platform/1.0.0/V1.ExplanationMetadata)\n- [0.39.0](/php/docs/reference/cloud-ai-platform/0.39.0/V1.ExplanationMetadata)\n- [0.38.0](/php/docs/reference/cloud-ai-platform/0.38.0/V1.ExplanationMetadata)\n- [0.37.1](/php/docs/reference/cloud-ai-platform/0.37.1/V1.ExplanationMetadata)\n- [0.32.0](/php/docs/reference/cloud-ai-platform/0.32.0/V1.ExplanationMetadata)\n- [0.31.0](/php/docs/reference/cloud-ai-platform/0.31.0/V1.ExplanationMetadata)\n- [0.30.0](/php/docs/reference/cloud-ai-platform/0.30.0/V1.ExplanationMetadata)\n- [0.29.0](/php/docs/reference/cloud-ai-platform/0.29.0/V1.ExplanationMetadata)\n- [0.28.0](/php/docs/reference/cloud-ai-platform/0.28.0/V1.ExplanationMetadata)\n- [0.27.0](/php/docs/reference/cloud-ai-platform/0.27.0/V1.ExplanationMetadata)\n- [0.26.2](/php/docs/reference/cloud-ai-platform/0.26.2/V1.ExplanationMetadata)\n- [0.25.0](/php/docs/reference/cloud-ai-platform/0.25.0/V1.ExplanationMetadata)\n- [0.24.0](/php/docs/reference/cloud-ai-platform/0.24.0/V1.ExplanationMetadata)\n- [0.23.0](/php/docs/reference/cloud-ai-platform/0.23.0/V1.ExplanationMetadata)\n- [0.22.0](/php/docs/reference/cloud-ai-platform/0.22.0/V1.ExplanationMetadata)\n- [0.21.0](/php/docs/reference/cloud-ai-platform/0.21.0/V1.ExplanationMetadata)\n- [0.20.0](/php/docs/reference/cloud-ai-platform/0.20.0/V1.ExplanationMetadata)\n- [0.19.0](/php/docs/reference/cloud-ai-platform/0.19.0/V1.ExplanationMetadata)\n- [0.18.0](/php/docs/reference/cloud-ai-platform/0.18.0/V1.ExplanationMetadata)\n- [0.17.0](/php/docs/reference/cloud-ai-platform/0.17.0/V1.ExplanationMetadata)\n- [0.16.0](/php/docs/reference/cloud-ai-platform/0.16.0/V1.ExplanationMetadata)\n- [0.15.0](/php/docs/reference/cloud-ai-platform/0.15.0/V1.ExplanationMetadata)\n- [0.13.0](/php/docs/reference/cloud-ai-platform/0.13.0/V1.ExplanationMetadata)\n- [0.12.0](/php/docs/reference/cloud-ai-platform/0.12.0/V1.ExplanationMetadata)\n- [0.11.1](/php/docs/reference/cloud-ai-platform/0.11.1/V1.ExplanationMetadata)\n- [0.10.0](/php/docs/reference/cloud-ai-platform/0.10.0/V1.ExplanationMetadata) \nReference documentation and code samples for the Google Cloud Ai Platform V1 Client class ExplanationMetadata.\n\nMetadata describing the Model's input and output for explanation.\n\nGenerated from protobuf message `google.cloud.aiplatform.v1.ExplanationMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AIPlatform \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInputs\n\nRequired. Map from feature names to feature input metadata. Keys are the\nname of the features. Values are the specification of the feature.\n\nAn empty InputMetadata is valid. It describes a text feature which has the\nname specified as the key in\n[ExplanationMetadata.inputs](/php/docs/reference/cloud-ai-platform/latest/V1.ExplanationMetadata#_Google_Cloud_AIPlatform_V1_ExplanationMetadata__getInputs__).\nThe baseline of the empty feature is chosen by Vertex AI.\nFor Vertex AI-provided Tensorflow images, the key can be any friendly\nname of the feature. Once specified,\n[featureAttributions](/php/docs/reference/cloud-ai-platform/latest/V1.Attribution#_Google_Cloud_AIPlatform_V1_Attribution__getFeatureAttributions__)\nare keyed by this key (if not grouped with another feature).\nFor custom images, the key must match with the key in\n[instance](/php/docs/reference/cloud-ai-platform/latest/V1.ExplainRequest#_Google_Cloud_AIPlatform_V1_ExplainRequest__getInstances__).\n\n### setInputs\n\nRequired. Map from feature names to feature input metadata. Keys are the\nname of the features. Values are the specification of the feature.\n\nAn empty InputMetadata is valid. It describes a text feature which has the\nname specified as the key in\n[ExplanationMetadata.inputs](/php/docs/reference/cloud-ai-platform/latest/V1.ExplanationMetadata#_Google_Cloud_AIPlatform_V1_ExplanationMetadata__getInputs__).\nThe baseline of the empty feature is chosen by Vertex AI.\nFor Vertex AI-provided Tensorflow images, the key can be any friendly\nname of the feature. Once specified,\n[featureAttributions](/php/docs/reference/cloud-ai-platform/latest/V1.Attribution#_Google_Cloud_AIPlatform_V1_Attribution__getFeatureAttributions__)\nare keyed by this key (if not grouped with another feature).\nFor custom images, the key must match with the key in\n[instance](/php/docs/reference/cloud-ai-platform/latest/V1.ExplainRequest#_Google_Cloud_AIPlatform_V1_ExplainRequest__getInstances__).\n\n### getOutputs\n\nRequired. Map from output names to output metadata.\n\nFor Vertex AI-provided Tensorflow images, keys can be any user defined\nstring that consists of any UTF-8 characters.\nFor custom images, keys are the name of the output field in the prediction\nto be explained.\nCurrently only one key is allowed.\n\n### setOutputs\n\nRequired. Map from output names to output metadata.\n\nFor Vertex AI-provided Tensorflow images, keys can be any user defined\nstring that consists of any UTF-8 characters.\nFor custom images, keys are the name of the output field in the prediction\nto be explained.\nCurrently only one key is allowed.\n\n### getFeatureAttributionsSchemaUri\n\nPoints to a YAML file stored on Google Cloud Storage describing the format\nof the [feature\nattributions](/php/docs/reference/cloud-ai-platform/latest/V1.Attribution#_Google_Cloud_AIPlatform_V1_Attribution__getFeatureAttributions__).\n\nThe schema is defined as an OpenAPI 3.0.2 [Schema\nObject](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).\nAutoML tabular Models always have this field populated by Vertex AI.\nNote: The URI given on output may be different, including the URI scheme,\nthan the one given on input. The output URI will point to a location where\nthe user only has a read access.\n\n### setFeatureAttributionsSchemaUri\n\nPoints to a YAML file stored on Google Cloud Storage describing the format\nof the [feature\nattributions](/php/docs/reference/cloud-ai-platform/latest/V1.Attribution#_Google_Cloud_AIPlatform_V1_Attribution__getFeatureAttributions__).\n\nThe schema is defined as an OpenAPI 3.0.2 [Schema\nObject](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).\nAutoML tabular Models always have this field populated by Vertex AI.\nNote: The URI given on output may be different, including the URI scheme,\nthan the one given on input. The output URI will point to a location where\nthe user only has a read access.\n\n### getLatentSpaceSource\n\nName of the source to generate embeddings for example based explanations.\n\n### setLatentSpaceSource\n\nName of the source to generate embeddings for example based explanations."]]