Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta
- 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
-
#data ⇒ String
Corresponds to the JSON property
dataNOTE: Values are automatically base64 encoded/decoded in the client library. -
#mime_type ⇒ String
Corresponds to the JSON property
mime_type. -
#uri ⇒ String
Corresponds to the JSON property
uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1DocumentDelta
constructor
A new instance of GenaiVertexV1beta1DocumentDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1DocumentDelta
Returns a new instance of GenaiVertexV1beta1DocumentDelta.
1671 1672 1673 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
1659 1660 1661 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1659 def data @data end |
#mime_type ⇒ String
Corresponds to the JSON property mime_type
1664 1665 1666 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1664 def mime_type @mime_type end |
#uri ⇒ String
Corresponds to the JSON property uri
1669 1670 1671 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1669 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1676 1677 1678 1679 1680 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1676 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 |