Skip to content

Commit c0e4240

Browse files
feat: Automated regeneration of walletobjects v1 client (googleapis#23918)
Auto-created at 2025-08-10 10:39:24 +0000 using the toys pull request generator.
1 parent 6bc06af commit c0e4240

File tree

5 files changed

+79
-4
lines changed

5 files changed

+79
-4
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376353,6 +376353,7 @@
376353376353
"/walletobjects:v1/Image": image
376354376354
"/walletobjects:v1/Image/contentDescription": content_description
376355376355
"/walletobjects:v1/Image/kind": kind
376356+
"/walletobjects:v1/Image/privateImageId": private_image_id
376356376357
"/walletobjects:v1/Image/sourceUri": source_uri
376357376358
"/walletobjects:v1/ImageModuleData": image_module_data
376358376359
"/walletobjects:v1/ImageModuleData/id": id
@@ -377006,6 +377007,7 @@
377006377007
"/walletobjects:v1/UploadPrivateImageRequest/mediaRequestInfo": media_request_info
377007377008
"/walletobjects:v1/UploadPrivateImageResponse": upload_private_image_response
377008377009
"/walletobjects:v1/UploadPrivateImageResponse/privateContentId": private_content_id
377010+
"/walletobjects:v1/UploadPrivateImageResponse/privateImageId": private_image_id
377009377011
"/walletobjects:v1/Uri": uri
377010377012
"/walletobjects:v1/Uri/description": description
377011377013
"/walletobjects:v1/Uri/id": id

generated/google-apis-walletobjects_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-walletobjects_v1
22

3+
### v0.24.0 (2025-08-10)
4+
5+
* Regenerated from discovery document revision 20250804
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.23.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-walletobjects_v1/lib/google/apis/walletobjects_v1/classes.rb

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4412,7 +4412,15 @@ class Image
44124412
# @return [String]
44134413
attr_accessor :kind
44144414

4415-
# The URI for the image.
4415+
# An ID for an already uploaded private image. Either this or source_uri should
4416+
# be set. Requests setting both or neither will be rejected. Please contact
4417+
# support to use private images.
4418+
# Corresponds to the JSON property `privateImageId`
4419+
# @return [String]
4420+
attr_accessor :private_image_id
4421+
4422+
# A URI for the image. Either this or private_image_id should be set. Requests
4423+
# setting both or neither will be rejected.
44164424
# Corresponds to the JSON property `sourceUri`
44174425
# @return [Google::Apis::WalletobjectsV1::ImageUri]
44184426
attr_accessor :source_uri
@@ -4425,6 +4433,7 @@ def initialize(**args)
44254433
def update!(**args)
44264434
@content_description = args[:content_description] if args.key?(:content_description)
44274435
@kind = args[:kind] if args.key?(:kind)
4436+
@private_image_id = args[:private_image_id] if args.key?(:private_image_id)
44284437
@source_uri = args[:source_uri] if args.key?(:source_uri)
44294438
end
44304439
end
@@ -8937,6 +8946,39 @@ def update!(**args)
89378946
end
89388947
end
89398948

8949+
# Request to upload a private image to use in a pass.
8950+
class UploadPrivateImageRequest
8951+
include Google::Apis::Core::Hashable
8952+
8953+
def initialize(**args)
8954+
update!(**args)
8955+
end
8956+
8957+
# Update properties of this object
8958+
def update!(**args)
8959+
end
8960+
end
8961+
8962+
# Response for uploading the private image.
8963+
class UploadPrivateImageResponse
8964+
include Google::Apis::Core::Hashable
8965+
8966+
# Unique ID of the uploaded image to be referenced later in Image.
8967+
# private_image_id.
8968+
# Corresponds to the JSON property `privateImageId`
8969+
# @return [String]
8970+
attr_accessor :private_image_id
8971+
8972+
def initialize(**args)
8973+
update!(**args)
8974+
end
8975+
8976+
# Update properties of this object
8977+
def update!(**args)
8978+
@private_image_id = args[:private_image_id] if args.key?(:private_image_id)
8979+
end
8980+
end
8981+
89408982
#
89418983
class Uri
89428984
include Google::Apis::Core::Hashable

generated/google-apis-walletobjects_v1/lib/google/apis/walletobjects_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module WalletobjectsV1
1818
# Version of the google-apis-walletobjects_v1 gem
19-
GEM_VERSION = "0.23.0"
19+
GEM_VERSION = "0.24.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250312"
25+
REVISION = "20250804"
2626
end
2727
end
2828
end

generated/google-apis-walletobjects_v1/lib/google/apis/walletobjects_v1/representations.rb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
910910
include Google::Apis::Core::JsonObjectSupport
911911
end
912912

913+
class UploadPrivateImageRequest
914+
class Representation < Google::Apis::Core::JsonRepresentation; end
915+
916+
include Google::Apis::Core::JsonObjectSupport
917+
end
918+
919+
class UploadPrivateImageResponse
920+
class Representation < Google::Apis::Core::JsonRepresentation; end
921+
922+
include Google::Apis::Core::JsonObjectSupport
923+
end
924+
913925
class Uri
914926
class Representation < Google::Apis::Core::JsonRepresentation; end
915927

@@ -2052,6 +2064,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
20522064
property :content_description, as: 'contentDescription', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
20532065

20542066
property :kind, as: 'kind'
2067+
property :private_image_id, as: 'privateImageId'
20552068
property :source_uri, as: 'sourceUri', class: Google::Apis::WalletobjectsV1::ImageUri, decorator: Google::Apis::WalletobjectsV1::ImageUri::Representation
20562069

20572070
end
@@ -3244,6 +3257,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
32443257
end
32453258
end
32463259

3260+
class UploadPrivateImageRequest
3261+
# @private
3262+
class Representation < Google::Apis::Core::JsonRepresentation
3263+
end
3264+
end
3265+
3266+
class UploadPrivateImageResponse
3267+
# @private
3268+
class Representation < Google::Apis::Core::JsonRepresentation
3269+
property :private_image_id, as: 'privateImageId'
3270+
end
3271+
end
3272+
32473273
class Uri
32483274
# @private
32493275
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)