Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaTextDataItem

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

Overview

Payload of Text DataItem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaTextDataItem

Returns a new instance of GoogleCloudAiplatformV1SchemaTextDataItem.



30321
30322
30323
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30321

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

Instance Attribute Details

#gcs_uriString

Output only. Google Cloud Storage URI points to a copy of the original text in the Vertex-managed bucket in the user's project. The text file is up to 10MB in size. Corresponds to the JSON property gcsUri

Returns:

  • (String)


30319
30320
30321
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30319

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30326
30327
30328
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30326

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