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.



1668
1669
1670
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1668

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)


1656
1657
1658
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1656

def data
  @data
end

#mime_typeString

Corresponds to the JSON property mimeType

Returns:

  • (String)


1661
1662
1663
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1661

def mime_type
  @mime_type
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


1666
1667
1668
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1666

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1673
1674
1675
1676
1677
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1673

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