Skip to content

Commit 8b32d06

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.Walletobjects.v1 version 1.70.0.3868
1 parent 4a685c5 commit 8b32d06

File tree

3 files changed

+55
-6
lines changed

3 files changed

+55
-6
lines changed

DiscoveryJson/walletobjects.v1.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2711,7 +2711,7 @@
27112711
}
27122712
}
27132713
},
2714-
"revision": "20250506",
2714+
"revision": "20250804",
27152715
"rootUrl": "https://walletobjects.googleapis.com/",
27162716
"schemas": {
27172717
"ActivationOptions": {
@@ -6206,9 +6206,13 @@
62066206
"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#image\"`.",
62076207
"type": "string"
62086208
},
6209+
"privateImageId": {
6210+
"description": "An ID for an already uploaded private image. Either this or source_uri should be set. Requests setting both or neither will be rejected. Please contact support to use private images.",
6211+
"type": "string"
6212+
},
62096213
"sourceUri": {
62106214
"$ref": "ImageUri",
6211-
"description": "The URI for the image."
6215+
"description": "A URI for the image. Either this or private_image_id should be set. Requests setting both or neither will be rejected."
62126216
}
62136217
},
62146218
"type": "object"
@@ -9747,6 +9751,23 @@
97479751
},
97489752
"type": "object"
97499753
},
9754+
"UploadPrivateImageRequest": {
9755+
"description": "Request to upload a private image to use in a pass.",
9756+
"id": "UploadPrivateImageRequest",
9757+
"properties": {},
9758+
"type": "object"
9759+
},
9760+
"UploadPrivateImageResponse": {
9761+
"description": "Response for uploading the private image.",
9762+
"id": "UploadPrivateImageResponse",
9763+
"properties": {
9764+
"privateImageId": {
9765+
"description": "Unique ID of the uploaded image to be referenced later in Image.private_image_id.",
9766+
"type": "string"
9767+
}
9768+
},
9769+
"type": "object"
9770+
},
97509771
"Uri": {
97519772
"id": "Uri",
97529773
"properties": {

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

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9881,7 +9881,17 @@ public class Image : Google.Apis.Requests.IDirectResponseSchema
98819881
[Newtonsoft.Json.JsonPropertyAttribute("kind")]
98829882
public virtual string Kind { get; set; }
98839883

9884-
/// <summary>The URI for the image.</summary>
9884+
/// <summary>
9885+
/// An ID for an already uploaded private image. Either this or source_uri should be set. Requests setting both
9886+
/// or neither will be rejected. Please contact support to use private images.
9887+
/// </summary>
9888+
[Newtonsoft.Json.JsonPropertyAttribute("privateImageId")]
9889+
public virtual string PrivateImageId { get; set; }
9890+
9891+
/// <summary>
9892+
/// A URI for the image. Either this or private_image_id should be set. Requests setting both or neither will be
9893+
/// rejected.
9894+
/// </summary>
98859895
[Newtonsoft.Json.JsonPropertyAttribute("sourceUri")]
98869896
public virtual ImageUri SourceUri { get; set; }
98879897

@@ -13214,6 +13224,24 @@ public class UpcomingNotification : Google.Apis.Requests.IDirectResponseSchema
1321413224
public virtual string ETag { get; set; }
1321513225
}
1321613226

13227+
/// <summary>Request to upload a private image to use in a pass.</summary>
13228+
public class UploadPrivateImageRequest : Google.Apis.Requests.IDirectResponseSchema
13229+
{
13230+
/// <summary>The ETag of the item.</summary>
13231+
public virtual string ETag { get; set; }
13232+
}
13233+
13234+
/// <summary>Response for uploading the private image.</summary>
13235+
public class UploadPrivateImageResponse : Google.Apis.Requests.IDirectResponseSchema
13236+
{
13237+
/// <summary>Unique ID of the uploaded image to be referenced later in Image.private_image_id.</summary>
13238+
[Newtonsoft.Json.JsonPropertyAttribute("privateImageId")]
13239+
public virtual string PrivateImageId { get; set; }
13240+
13241+
/// <summary>The ETag of the item.</summary>
13242+
public virtual string ETag { get; set; }
13243+
}
13244+
1321713245
public class Uri : Google.Apis.Requests.IDirectResponseSchema
1321813246
{
1321913247
/// <summary>

Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- nupkg information -->
44
<PropertyGroup>
55
<Title>Google.Apis.Walletobjects.v1 Client Library</Title>
6-
<Version>1.69.0.3778</Version>
6+
<Version>1.70.0.3868</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>
@@ -59,8 +59,8 @@
5959
<!-- common dependencies -->
6060
<ItemGroup>
6161
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
62-
<PackageReference Include="Google.Apis" Version="1.69.0" />
63-
<PackageReference Include="Google.Apis.Auth" Version="1.69.0" />
62+
<PackageReference Include="Google.Apis" Version="1.70.0" />
63+
<PackageReference Include="Google.Apis.Auth" Version="1.70.0" />
6464
</ItemGroup>
6565

6666
</Project>

0 commit comments

Comments
 (0)