Show / Hide Table of Contents

Class GoogleCloudAiplatformV1beta1GenerateContentResponse

Response message for [PredictionService.GenerateContent].

Inheritance
object
GoogleCloudAiplatformV1beta1GenerateContentResponse
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1GenerateContentResponse : IDirectResponseSchema

Properties

Candidates

Output only. Generated candidates.

Declaration
[JsonProperty("candidates")]
public virtual IList<GoogleCloudAiplatformV1beta1Candidate> Candidates { get; set; }
Property Value
Type Description
IList<GoogleCloudAiplatformV1beta1Candidate>

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Timestamp when the request is made to the server.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ModelVersion

Output only. The model version used to generate the response.

Declaration
[JsonProperty("modelVersion")]
public virtual string ModelVersion { get; set; }
Property Value
Type Description
string

PromptFeedback

Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.

Declaration
[JsonProperty("promptFeedback")]
public virtual GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback PromptFeedback { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback

ResponseId

Output only. response_id is used to identify each response. It is the encoding of the event_id.

Declaration
[JsonProperty("responseId")]
public virtual string ResponseId { get; set; }
Property Value
Type Description
string

UsageMetadata

Usage metadata about the response(s).

Declaration
[JsonProperty("usageMetadata")]
public virtual GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata UsageMetadata { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX