GoogleCloudAiplatformV1ClaudeFile class

A file that can be referenced by ID from subsequent Claude model requests.

The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.

Constructors

GoogleCloudAiplatformV1ClaudeFile({String? createdAt, bool? downloadable, String? expiresAt, String? filename, String? id, String? mimeType, int? sizeBytes, String? type})
GoogleCloudAiplatformV1ClaudeFile.fromJson(Map json_)

Properties

createdAt ↔ String?
The time at which the file was created.
getter/setter pair
downloadable ↔ bool?
Whether the contents of this file can be retrieved with DownloadFile.
getter/setter pair
expiresAt ↔ String?
The time at which the file expires and is deleted, set from the expires_in_seconds upload form field.
getter/setter pair
filename ↔ String?
The original name of the uploaded file, taken from the Content-Disposition header on upload.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
The server-assigned identifier of the file, for example file_abc123.
getter/setter pair
mimeType ↔ String?
The media type of the file, taken from the Content-Type header of the file part on upload.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes ↔ int?
The size of the file in bytes.
getter/setter pair
type ↔ String?
The object type.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited