Google Cloud Ai Platform V1 Client - Class ExplanationSpecOverride (1.0.0)

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

The ExplanationSpec entries that can be overridden at online explanation time.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parameters Google\Cloud\AIPlatform\V1\ExplanationParameters

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

↳ metadata Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride

The metadata to be overridden. If not specified, no metadata is overridden.

↳ examples_override Google\Cloud\AIPlatform\V1\ExamplesOverride

The example-based explanations parameter overrides.

getParameters

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ExplanationParameters|null

hasParameters

clearParameters

setParameters

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ExplanationParameters
Returns
Type Description
$this

getMetadata

The metadata to be overridden. If not specified, no metadata is overridden.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride|null

hasMetadata

clearMetadata

setMetadata

The metadata to be overridden. If not specified, no metadata is overridden.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride
Returns
Type Description
$this

getExamplesOverride

The example-based explanations parameter overrides.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ExamplesOverride|null

hasExamplesOverride

clearExamplesOverride

setExamplesOverride

The example-based explanations parameter overrides.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ExamplesOverride
Returns
Type Description
$this