Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTextDatasetMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

The metadata of Datasets that contain Text DataItems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTextDatasetMetadata

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTextDatasetMetadata.



27736
27737
27738
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27736

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_item_schema_uriString

Points to a YAML file stored on Google Cloud Storage describing payload of the Text DataItems that belong to this Dataset. Corresponds to the JSON property dataItemSchemaUri

Returns:

  • (String)


27729
27730
27731
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27729

def data_item_schema_uri
  @data_item_schema_uri
end

#gcs_bucketString

Google Cloud Storage Bucket name that contains the blob data of this Dataset. Corresponds to the JSON property gcsBucket

Returns:

  • (String)


27734
27735
27736
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27734

def gcs_bucket
  @gcs_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27741
27742
27743
27744
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27741

def update!(**args)
  @data_item_schema_uri = args[:data_item_schema_uri] if args.key?(:data_item_schema_uri)
  @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
end