Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1DocumentDelta

Returns a new instance of GenaiVertexV1beta1DocumentDelta.



1738
1739
1740
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1738

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

Instance Attribute Details

#dataString

Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


1726
1727
1728
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1726

def data
  @data
end

#mime_typeString

Corresponds to the JSON property mimeType

Returns:

  • (String)


1731
1732
1733
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1731

def mime_type
  @mime_type
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


1736
1737
1738
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1736

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1743
1744
1745
1746
1747
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1743

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