Skip to content

Commit ab2b515

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.Docs.v1 version 1.73.0.4001
1 parent 8e96a60 commit ab2b515

File tree

3 files changed

+193
-2
lines changed

3 files changed

+193
-2
lines changed

DiscoveryJson/docs.v1.json

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
}
222222
}
223223
},
224-
"revision": "20251124",
224+
"revision": "20251215",
225225
"rootUrl": "https://docs.googleapis.com/",
226226
"schemas": {
227227
"AutoText": {
@@ -673,6 +673,54 @@
673673
},
674674
"type": "object"
675675
},
676+
"DateElement": {
677+
"description": "A date instance mentioned in a document.",
678+
"id": "DateElement",
679+
"properties": {
680+
"dateElementProperties": {
681+
"$ref": "DateElementProperties",
682+
"description": "The properties of this DateElement."
683+
},
684+
"dateId": {
685+
"description": "Output only. The unique ID of this date.",
686+
"readOnly": true,
687+
"type": "string"
688+
},
689+
"suggestedDateElementPropertiesChanges": {
690+
"additionalProperties": {
691+
"$ref": "SuggestedDateElementProperties"
692+
},
693+
"description": "The suggested changes to the date element properties, keyed by suggestion ID.",
694+
"type": "object"
695+
},
696+
"suggestedDeletionIds": {
697+
"description": "IDs for suggestions that remove this date from the document. A DateElement might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then this date isn't suggested for deletion.",
698+
"items": {
699+
"type": "string"
700+
},
701+
"type": "array"
702+
},
703+
"suggestedInsertionIds": {
704+
"description": "IDs for suggestions that insert this date into the document. A DateElement might have multiple insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this date isn't a suggested insertion.",
705+
"items": {
706+
"type": "string"
707+
},
708+
"type": "array"
709+
},
710+
"suggestedTextStyleChanges": {
711+
"additionalProperties": {
712+
"$ref": "SuggestedTextStyle"
713+
},
714+
"description": "The suggested text style changes to this DateElement, keyed by suggestion ID.",
715+
"type": "object"
716+
},
717+
"textStyle": {
718+
"$ref": "TextStyle",
719+
"description": "The text style of this DateElement."
720+
}
721+
},
722+
"type": "object"
723+
},
676724
"DateElementProperties": {
677725
"description": "Properties of a DateElement.",
678726
"id": "DateElementProperties",
@@ -733,6 +781,33 @@
733781
},
734782
"type": "object"
735783
},
784+
"DateElementPropertiesSuggestionState": {
785+
"description": "A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.",
786+
"id": "DateElementPropertiesSuggestionState",
787+
"properties": {
788+
"dateFormatSuggested": {
789+
"description": "Indicates if there was a suggested change to date_format.",
790+
"type": "boolean"
791+
},
792+
"localeSuggested": {
793+
"description": "Indicates if there was a suggested change to locale.",
794+
"type": "boolean"
795+
},
796+
"timeFormatSuggested": {
797+
"description": "Indicates if there was a suggested change to time_format.",
798+
"type": "boolean"
799+
},
800+
"timeZoneIdSuggested": {
801+
"description": "Indicates if there was a suggested change to time_zone_id.",
802+
"type": "boolean"
803+
},
804+
"timestampSuggested": {
805+
"description": "Indicates if there was a suggested change to timestamp.",
806+
"type": "boolean"
807+
}
808+
},
809+
"type": "object"
810+
},
736811
"DeleteContentRangeRequest": {
737812
"description": "Deletes content from the document.",
738813
"id": "DeleteContentRangeRequest",
@@ -2539,6 +2614,10 @@
25392614
"$ref": "ColumnBreak",
25402615
"description": "A column break paragraph element."
25412616
},
2617+
"dateElement": {
2618+
"$ref": "DateElement",
2619+
"description": "A paragraph element that represents a date."
2620+
},
25422621
"endIndex": {
25432622
"description": "The zero-base end index of this paragraph element, exclusive, in UTF-16 code units.",
25442623
"format": "int32",
@@ -3706,6 +3785,21 @@
37063785
},
37073786
"type": "object"
37083787
},
3788+
"SuggestedDateElementProperties": {
3789+
"description": "A suggested change to a DateElementProperties.",
3790+
"id": "SuggestedDateElementProperties",
3791+
"properties": {
3792+
"dateElementProperties": {
3793+
"$ref": "DateElementProperties",
3794+
"description": "DateElementProperties that only includes the changes made in this suggestion. This can be used along with the date_element_properties_suggestion_state to see which fields have changed and their new values."
3795+
},
3796+
"dateElementPropertiesSuggestionState": {
3797+
"$ref": "DateElementPropertiesSuggestionState",
3798+
"description": "A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion."
3799+
}
3800+
},
3801+
"type": "object"
3802+
},
37093803
"SuggestedDocumentStyle": {
37103804
"description": "A suggested change to the DocumentStyle.",
37113805
"id": "SuggestedDocumentStyle",

Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,48 @@ public class CropPropertiesSuggestionState : Google.Apis.Requests.IDirectRespons
983983
public virtual string ETag { get; set; }
984984
}
985985

986+
/// <summary>A date instance mentioned in a document.</summary>
987+
public class DateElement : Google.Apis.Requests.IDirectResponseSchema
988+
{
989+
/// <summary>The properties of this DateElement.</summary>
990+
[Newtonsoft.Json.JsonPropertyAttribute("dateElementProperties")]
991+
public virtual DateElementProperties DateElementProperties { get; set; }
992+
993+
/// <summary>Output only. The unique ID of this date.</summary>
994+
[Newtonsoft.Json.JsonPropertyAttribute("dateId")]
995+
public virtual string DateId { get; set; }
996+
997+
/// <summary>The suggested changes to the date element properties, keyed by suggestion ID.</summary>
998+
[Newtonsoft.Json.JsonPropertyAttribute("suggestedDateElementPropertiesChanges")]
999+
public virtual System.Collections.Generic.IDictionary<string, SuggestedDateElementProperties> SuggestedDateElementPropertiesChanges { get; set; }
1000+
1001+
/// <summary>
1002+
/// IDs for suggestions that remove this date from the document. A DateElement might have multiple deletion IDs
1003+
/// if, for example, multiple users suggest deleting it. If empty, then this date isn't suggested for deletion.
1004+
/// </summary>
1005+
[Newtonsoft.Json.JsonPropertyAttribute("suggestedDeletionIds")]
1006+
public virtual System.Collections.Generic.IList<string> SuggestedDeletionIds { get; set; }
1007+
1008+
/// <summary>
1009+
/// IDs for suggestions that insert this date into the document. A DateElement might have multiple insertion IDs
1010+
/// if it's a nested suggested change (a suggestion within a suggestion made by a different user, for example).
1011+
/// If empty, then this date isn't a suggested insertion.
1012+
/// </summary>
1013+
[Newtonsoft.Json.JsonPropertyAttribute("suggestedInsertionIds")]
1014+
public virtual System.Collections.Generic.IList<string> SuggestedInsertionIds { get; set; }
1015+
1016+
/// <summary>The suggested text style changes to this DateElement, keyed by suggestion ID.</summary>
1017+
[Newtonsoft.Json.JsonPropertyAttribute("suggestedTextStyleChanges")]
1018+
public virtual System.Collections.Generic.IDictionary<string, SuggestedTextStyle> SuggestedTextStyleChanges { get; set; }
1019+
1020+
/// <summary>The text style of this DateElement.</summary>
1021+
[Newtonsoft.Json.JsonPropertyAttribute("textStyle")]
1022+
public virtual TextStyle TextStyle { get; set; }
1023+
1024+
/// <summary>The ETag of the item.</summary>
1025+
public virtual string ETag { get; set; }
1026+
}
1027+
9861028
/// <summary>Properties of a DateElement.</summary>
9871029
public class DateElementProperties : Google.Apis.Requests.IDirectResponseSchema
9881030
{
@@ -1067,6 +1109,36 @@ public virtual System.DateTimeOffset? TimestampDateTimeOffset
10671109
public virtual string ETag { get; set; }
10681110
}
10691111

1112+
/// <summary>
1113+
/// A mask that indicates which of the fields on the base DateElementProperties have been changed in this
1114+
/// suggestion. For any field set to true, there's a new suggested value.
1115+
/// </summary>
1116+
public class DateElementPropertiesSuggestionState : Google.Apis.Requests.IDirectResponseSchema
1117+
{
1118+
/// <summary>Indicates if there was a suggested change to date_format.</summary>
1119+
[Newtonsoft.Json.JsonPropertyAttribute("dateFormatSuggested")]
1120+
public virtual System.Nullable<bool> DateFormatSuggested { get; set; }
1121+
1122+
/// <summary>Indicates if there was a suggested change to locale.</summary>
1123+
[Newtonsoft.Json.JsonPropertyAttribute("localeSuggested")]
1124+
public virtual System.Nullable<bool> LocaleSuggested { get; set; }
1125+
1126+
/// <summary>Indicates if there was a suggested change to time_format.</summary>
1127+
[Newtonsoft.Json.JsonPropertyAttribute("timeFormatSuggested")]
1128+
public virtual System.Nullable<bool> TimeFormatSuggested { get; set; }
1129+
1130+
/// <summary>Indicates if there was a suggested change to time_zone_id.</summary>
1131+
[Newtonsoft.Json.JsonPropertyAttribute("timeZoneIdSuggested")]
1132+
public virtual System.Nullable<bool> TimeZoneIdSuggested { get; set; }
1133+
1134+
/// <summary>Indicates if there was a suggested change to timestamp.</summary>
1135+
[Newtonsoft.Json.JsonPropertyAttribute("timestampSuggested")]
1136+
public virtual System.Nullable<bool> TimestampSuggested { get; set; }
1137+
1138+
/// <summary>The ETag of the item.</summary>
1139+
public virtual string ETag { get; set; }
1140+
}
1141+
10701142
/// <summary>Deletes content from the document.</summary>
10711143
public class DeleteContentRangeRequest : Google.Apis.Requests.IDirectResponseSchema
10721144
{
@@ -3071,6 +3143,10 @@ public class ParagraphElement : Google.Apis.Requests.IDirectResponseSchema
30713143
[Newtonsoft.Json.JsonPropertyAttribute("columnBreak")]
30723144
public virtual ColumnBreak ColumnBreak { get; set; }
30733145

3146+
/// <summary>A paragraph element that represents a date.</summary>
3147+
[Newtonsoft.Json.JsonPropertyAttribute("dateElement")]
3148+
public virtual DateElement DateElement { get; set; }
3149+
30743150
/// <summary>The zero-base end index of this paragraph element, exclusive, in UTF-16 code units.</summary>
30753151
[Newtonsoft.Json.JsonPropertyAttribute("endIndex")]
30763152
public virtual System.Nullable<int> EndIndex { get; set; }
@@ -4385,6 +4461,27 @@ public class SuggestedBullet : Google.Apis.Requests.IDirectResponseSchema
43854461
public virtual string ETag { get; set; }
43864462
}
43874463

4464+
/// <summary>A suggested change to a DateElementProperties.</summary>
4465+
public class SuggestedDateElementProperties : Google.Apis.Requests.IDirectResponseSchema
4466+
{
4467+
/// <summary>
4468+
/// DateElementProperties that only includes the changes made in this suggestion. This can be used along with
4469+
/// the date_element_properties_suggestion_state to see which fields have changed and their new values.
4470+
/// </summary>
4471+
[Newtonsoft.Json.JsonPropertyAttribute("dateElementProperties")]
4472+
public virtual DateElementProperties DateElementProperties { get; set; }
4473+
4474+
/// <summary>
4475+
/// A mask that indicates which of the fields on the base DateElementProperties have been changed in this
4476+
/// suggestion.
4477+
/// </summary>
4478+
[Newtonsoft.Json.JsonPropertyAttribute("dateElementPropertiesSuggestionState")]
4479+
public virtual DateElementPropertiesSuggestionState DateElementPropertiesSuggestionState { get; set; }
4480+
4481+
/// <summary>The ETag of the item.</summary>
4482+
public virtual string ETag { get; set; }
4483+
}
4484+
43884485
/// <summary>A suggested change to the DocumentStyle.</summary>
43894486
public class SuggestedDocumentStyle : Google.Apis.Requests.IDirectResponseSchema
43904487
{

Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.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.Docs.v1 Client Library</Title>
6-
<Version>1.73.0.3980</Version>
6+
<Version>1.73.0.4001</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>

0 commit comments

Comments
 (0)