Class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData

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

Represents file data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartFileData

Returns a new instance of CloudAiNlLlmProtoServicePartFileData.



915
916
917
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 915

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

Instance Attribute Details

#file_uriString

Inline data. Corresponds to the JSON property fileUri

Returns:

  • (String)


908
909
910
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 908

def file_uri
  @file_uri
end

#mime_typeString

The mime type corresponding to this input. Corresponds to the JSON property mimeType

Returns:

  • (String)


913
914
915
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 913

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



920
921
922
923
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 920

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