Skip to content

Commit f782f20

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.FirebaseML.v2beta version 1.68.0.3671
1 parent 5675980 commit f782f20

3 files changed

Lines changed: 80 additions & 2 deletions

File tree

DiscoveryJson/firebaseml.v2beta.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20241231",
209+
"revision": "20250119",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -240,6 +240,10 @@
240240
"format": "byte",
241241
"type": "string"
242242
},
243+
"displayName": {
244+
"description": "Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is not currently used in the Gemini GenerateContent calls.",
245+
"type": "string"
246+
},
243247
"mimeType": {
244248
"description": "Required. The IANA standard MIME type of the source data.",
245249
"type": "string"
@@ -535,6 +539,10 @@
535539
"description": "URI based data.",
536540
"id": "GoogleCloudAiplatformV1beta1FileData",
537541
"properties": {
542+
"displayName": {
543+
"description": "Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is not currently used in the Gemini GenerateContent calls.",
544+
"type": "string"
545+
},
538546
"fileUri": {
539547
"description": "Required. URI.",
540548
"type": "string"
@@ -700,6 +708,12 @@
700708
"readOnly": true,
701709
"type": "array"
702710
},
711+
"createTime": {
712+
"description": "Output only. Timestamp when the request is made to the server.",
713+
"format": "google-datetime",
714+
"readOnly": true,
715+
"type": "string"
716+
},
703717
"modelVersion": {
704718
"description": "Output only. The model version used to generate the response.",
705719
"readOnly": true,
@@ -710,6 +724,11 @@
710724
"description": "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.",
711725
"readOnly": true
712726
},
727+
"responseId": {
728+
"description": "Output only. response_id is used to identify each response. It is the encoding of the event_id.",
729+
"readOnly": true,
730+
"type": "string"
731+
},
713732
"usageMetadata": {
714733
"$ref": "GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata",
715734
"description": "Usage metadata about the response(s)."

Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,14 @@ public class GoogleCloudAiplatformV1beta1Blob : Google.Apis.Requests.IDirectResp
553553
[Newtonsoft.Json.JsonPropertyAttribute("data")]
554554
public virtual string Data { get; set; }
555555

556+
/// <summary>
557+
/// Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is
558+
/// only returned in PromptMessage for prompt management. It is not currently used in the Gemini GenerateContent
559+
/// calls.
560+
/// </summary>
561+
[Newtonsoft.Json.JsonPropertyAttribute("displayName")]
562+
public virtual string DisplayName { get; set; }
563+
556564
/// <summary>Required. The IANA standard MIME type of the source data.</summary>
557565
[Newtonsoft.Json.JsonPropertyAttribute("mimeType")]
558566
public virtual string MimeType { get; set; }
@@ -795,6 +803,14 @@ public class GoogleCloudAiplatformV1beta1ExecutableCode : Google.Apis.Requests.I
795803
/// <summary>URI based data.</summary>
796804
public class GoogleCloudAiplatformV1beta1FileData : Google.Apis.Requests.IDirectResponseSchema
797805
{
806+
/// <summary>
807+
/// Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This
808+
/// field is only returned in PromptMessage for prompt management. It is not currently used in the Gemini
809+
/// GenerateContent calls.
810+
/// </summary>
811+
[Newtonsoft.Json.JsonPropertyAttribute("displayName")]
812+
public virtual string DisplayName { get; set; }
813+
798814
/// <summary>Required. URI.</summary>
799815
[Newtonsoft.Json.JsonPropertyAttribute("fileUri")]
800816
public virtual string FileUri { get; set; }
@@ -984,6 +1000,43 @@ public class GoogleCloudAiplatformV1beta1GenerateContentResponse : Google.Apis.R
9841000
[Newtonsoft.Json.JsonPropertyAttribute("candidates")]
9851001
public virtual System.Collections.Generic.IList<GoogleCloudAiplatformV1beta1Candidate> Candidates { get; set; }
9861002

1003+
private string _createTimeRaw;
1004+
1005+
private object _createTime;
1006+
1007+
/// <summary>Output only. Timestamp when the request is made to the server.</summary>
1008+
[Newtonsoft.Json.JsonPropertyAttribute("createTime")]
1009+
public virtual string CreateTimeRaw
1010+
{
1011+
get => _createTimeRaw;
1012+
set
1013+
{
1014+
_createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value);
1015+
_createTimeRaw = value;
1016+
}
1017+
}
1018+
1019+
/// <summary><seealso cref="object"/> representation of <see cref="CreateTimeRaw"/>.</summary>
1020+
[Newtonsoft.Json.JsonIgnoreAttribute]
1021+
[System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
1022+
public virtual object CreateTime
1023+
{
1024+
get => _createTime;
1025+
set
1026+
{
1027+
_createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value);
1028+
_createTime = value;
1029+
}
1030+
}
1031+
1032+
/// <summary><seealso cref="System.DateTimeOffset"/> representation of <see cref="CreateTimeRaw"/>.</summary>
1033+
[Newtonsoft.Json.JsonIgnoreAttribute]
1034+
public virtual System.DateTimeOffset? CreateTimeDateTimeOffset
1035+
{
1036+
get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw);
1037+
set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value);
1038+
}
1039+
9871040
/// <summary>Output only. The model version used to generate the response.</summary>
9881041
[Newtonsoft.Json.JsonPropertyAttribute("modelVersion")]
9891042
public virtual string ModelVersion { get; set; }
@@ -995,6 +1048,12 @@ public class GoogleCloudAiplatformV1beta1GenerateContentResponse : Google.Apis.R
9951048
[Newtonsoft.Json.JsonPropertyAttribute("promptFeedback")]
9961049
public virtual GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback PromptFeedback { get; set; }
9971050

1051+
/// <summary>
1052+
/// Output only. response_id is used to identify each response. It is the encoding of the event_id.
1053+
/// </summary>
1054+
[Newtonsoft.Json.JsonPropertyAttribute("responseId")]
1055+
public virtual string ResponseId { get; set; }
1056+
9981057
/// <summary>Usage metadata about the response(s).</summary>
9991058
[Newtonsoft.Json.JsonPropertyAttribute("usageMetadata")]
10001059
public virtual GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata UsageMetadata { get; set; }

Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- nupkg information -->
44
<PropertyGroup>
55
<Title>Google.Apis.FirebaseML.v2beta Client Library</Title>
6-
<Version>1.68.0.3652</Version>
6+
<Version>1.68.0.3671</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>

0 commit comments

Comments
 (0)