Represents an ExplainRequest.
Package
@google-cloud/aiplatform!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.aiplatform.v1beta1.IExplainRequest);
Constructs a new ExplainRequest.
Name | Description |
properties |
IExplainRequest
Properties to set |
Properties
deployedModelId
public deployedModelId: string;
ExplainRequest deployedModelId.
Type | Description |
string |
endpoint
public endpoint: string;
ExplainRequest endpoint.
Type | Description |
string |
explanationSpecOverride
public explanationSpecOverride?: (google.cloud.aiplatform.v1beta1.IExplanationSpecOverride|null);
ExplainRequest explanationSpecOverride.
Type | Description |
(google.cloud.aiplatform.v1beta1.IExplanationSpecOverride|null) |
instances
public instances: google.protobuf.IValue[];
ExplainRequest instances.
Type | Description |
google.protobuf.IValue[] |
parameters
public parameters?: (google.protobuf.IValue|null);
ExplainRequest parameters.
Type | Description |
(google.protobuf.IValue|null) |
Methods
create(properties)
public static create(properties?: google.cloud.aiplatform.v1beta1.IExplainRequest): google.cloud.aiplatform.v1beta1.ExplainRequest;
Creates a new ExplainRequest instance using the specified properties.
Name | Description |
properties |
IExplainRequest
Properties to set |
Type | Description |
google.cloud.aiplatform.v1beta1.ExplainRequest | ExplainRequest instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.ExplainRequest;
Decodes an ExplainRequest message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.cloud.aiplatform.v1beta1.ExplainRequest | ExplainRequest |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.ExplainRequest;
Decodes an ExplainRequest message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.aiplatform.v1beta1.ExplainRequest | ExplainRequest |
encode(message, writer)
public static encode(message: google.cloud.aiplatform.v1beta1.IExplainRequest, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified ExplainRequest message. Does not implicitly messages.
Name | Description |
message |
IExplainRequest
ExplainRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IExplainRequest, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified ExplainRequest message, length delimited. Does not implicitly messages.
Name | Description |
message |
IExplainRequest
ExplainRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.ExplainRequest;
Creates an ExplainRequest message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.aiplatform.v1beta1.ExplainRequest | ExplainRequest |
toJSON()
public toJSON(): { [k: string]: any };
Converts this ExplainRequest to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.aiplatform.v1beta1.ExplainRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from an ExplainRequest message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.aiplatform.v1beta1.ExplainRequest
ExplainRequest |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies an ExplainRequest message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|