Dataset

google.cloud.automl.v1beta1. Dataset

Represents a Dataset.

Constructor

new Dataset(propertiesopt)

Constructs a new Dataset.

Parameters:
Name Type Attributes Description
properties google.cloud.automl.v1beta1.IDataset <optional>

Properties to set

Implements:
  • IDataset

Members

createTime :google.protobuf.ITimestamp|null|undefined

Dataset createTime.

datasetMetadata :"translationDatasetMetadata"|"imageClassificationDatasetMetadata"|"textClassificationDatasetMetadata"|"imageObjectDetectionDatasetMetadata"|"videoClassificationDatasetMetadata"|"videoObjectTrackingDatasetMetadata"|"textExtractionDatasetMetadata"|"textSentimentDatasetMetadata"|"tablesDatasetMetadata"|undefined

Dataset datasetMetadata.

description :string

Dataset description.

displayName :string

Dataset displayName.

etag :string

Dataset etag.

exampleCount :number

Dataset exampleCount.

imageClassificationDatasetMetadata :google.cloud.automl.v1beta1.IImageClassificationDatasetMetadata|null|undefined

Dataset imageClassificationDatasetMetadata.

imageObjectDetectionDatasetMetadata :google.cloud.automl.v1beta1.IImageObjectDetectionDatasetMetadata|null|undefined

Dataset imageObjectDetectionDatasetMetadata.

name :string

Dataset name.

tablesDatasetMetadata :google.cloud.automl.v1beta1.ITablesDatasetMetadata|null|undefined

Dataset tablesDatasetMetadata.

textClassificationDatasetMetadata :google.cloud.automl.v1beta1.ITextClassificationDatasetMetadata|null|undefined

Dataset textClassificationDatasetMetadata.

textExtractionDatasetMetadata :google.cloud.automl.v1beta1.ITextExtractionDatasetMetadata|null|undefined

Dataset textExtractionDatasetMetadata.

textSentimentDatasetMetadata :google.cloud.automl.v1beta1.ITextSentimentDatasetMetadata|null|undefined

Dataset textSentimentDatasetMetadata.

translationDatasetMetadata :google.cloud.automl.v1beta1.ITranslationDatasetMetadata|null|undefined

Dataset translationDatasetMetadata.

videoClassificationDatasetMetadata :google.cloud.automl.v1beta1.IVideoClassificationDatasetMetadata|null|undefined

Dataset videoClassificationDatasetMetadata.

videoObjectTrackingDatasetMetadata :google.cloud.automl.v1beta1.IVideoObjectTrackingDatasetMetadata|null|undefined

Dataset videoObjectTrackingDatasetMetadata.

Methods

(static) create(propertiesopt) → {google.cloud.automl.v1beta1.Dataset}

Creates a new Dataset instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.automl.v1beta1.IDataset <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.cloud.automl.v1beta1.Dataset}

Decodes a Dataset message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.automl.v1beta1.Dataset}

Decodes a Dataset message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified Dataset message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.automl.v1beta1.IDataset

Dataset message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified Dataset message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.automl.v1beta1.IDataset

Dataset message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.cloud.automl.v1beta1.Dataset}

Creates a Dataset message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Dataset message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.automl.v1beta1.Dataset

Dataset

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies a Dataset message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this Dataset to JSON.