Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTextDataItem

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

Payload of Text DataItem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTextDataItem

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTextDataItem.



18186
18187
18188
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18186

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

Instance Attribute Details

#gcs_uriString

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

Returns:

  • (String)


18184
18185
18186
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18184

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18191
18192
18193
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18191

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