GoogleCloudAiplatformV1CountTokensRequest class
Request message for PredictionService.CountTokens.
Constructors
-
GoogleCloudAiplatformV1CountTokensRequest({List<
GoogleCloudAiplatformV1Content> ? contents, List<Object?> ? instances, String? model}) - GoogleCloudAiplatformV1CountTokensRequest.fromJson(Map json_)
Properties
-
contents
↔ List<
GoogleCloudAiplatformV1Content> ? -
Input content.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instances
↔ List<
Object?> ? -
The instances that are the input to token counting call.
getter/setter pair
- model ↔ String?
-
The name of the publisher model requested to serve the prediction.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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