Skip to content

Commit b5eea72

Browse files
feat: Automated regeneration of androidpublisher v3 client (#27184)
Auto-created at 2026-06-28 10:13:18 +0000 using the toys pull request generator.
1 parent 9d51d3c commit b5eea72

6 files changed

Lines changed: 19 additions & 3 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42702,6 +42702,7 @@
4270242702
"/androidpublisher:v3/Grant/name": name
4270342703
"/androidpublisher:v3/Grant/packageName": package_name
4270442704
"/androidpublisher:v3/Image": image
42705+
"/androidpublisher:v3/Image/aiGeneratedState": ai_generated_state
4270542706
"/androidpublisher:v3/Image/id": id
4270642707
"/androidpublisher:v3/Image/sha1": sha1
4270742708
"/androidpublisher:v3/Image/sha256": sha256
@@ -43729,6 +43730,7 @@
4372943730
"/androidpublisher:v3/androidpublisher.edits.images.list/language": language
4373043731
"/androidpublisher:v3/androidpublisher.edits.images.list/packageName": package_name
4373143732
"/androidpublisher:v3/androidpublisher.edits.images.upload": upload_edit_image
43733+
"/androidpublisher:v3/androidpublisher.edits.images.upload/aiGeneratedState": ai_generated_state
4373243734
"/androidpublisher:v3/androidpublisher.edits.images.upload/editId": edit_id
4373343735
"/androidpublisher:v3/androidpublisher.edits.images.upload/imageType": image_type
4373443736
"/androidpublisher:v3/androidpublisher.edits.images.upload/language": language

generated/google-apis-androidpublisher_v3/CHANGELOG.md

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

3+
### v0.104.0 (2026-06-28)
4+
5+
* Regenerated from discovery document revision 20260625
6+
37
### v0.103.0 (2026-06-14)
48

59
* Regenerated using generator version 0.19.0

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3851,6 +3851,11 @@ def update!(**args)
38513851
class Image
38523852
include Google::Apis::Core::Hashable
38533853

3854+
# Optional. Whether the image was generated by AI. Attested by the developer.
3855+
# Corresponds to the JSON property `aiGeneratedState`
3856+
# @return [String]
3857+
attr_accessor :ai_generated_state
3858+
38543859
# A unique id representing this image.
38553860
# Corresponds to the JSON property `id`
38563861
# @return [String]
@@ -3877,6 +3882,7 @@ def initialize(**args)
38773882

38783883
# Update properties of this object
38793884
def update!(**args)
3885+
@ai_generated_state = args[:ai_generated_state] if args.key?(:ai_generated_state)
38803886
@id = args[:id] if args.key?(:id)
38813887
@sha1 = args[:sha1] if args.key?(:sha1)
38823888
@sha256 = args[:sha256] if args.key?(:sha256)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AndroidpublisherV3
1818
# Version of the google-apis-androidpublisher_v3 gem
19-
GEM_VERSION = "0.103.0"
19+
GEM_VERSION = "0.104.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,6 +3257,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
32573257
class Image
32583258
# @private
32593259
class Representation < Google::Apis::Core::JsonRepresentation
3260+
property :ai_generated_state, as: 'aiGeneratedState'
32603261
property :id, as: 'id'
32613262
property :sha1, as: 'sha1'
32623263
property :sha256, as: 'sha256'

generated/google-apis-androidpublisher_v3/lib/google/apis/androidpublisher_v3/service.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,8 @@ def list_edit_images(package_name, edit_id, language, image_type, fields: nil, q
12931293
# no-op.
12941294
# @param [String] image_type
12951295
# Type of the Image.
1296+
# @param [String] ai_generated_state
1297+
# Optional. Whether the image was generated by AI. Attested by the developer.
12961298
# @param [String] fields
12971299
# Selector specifying which fields to include in a partial response.
12981300
# @param [String] quota_user
@@ -1314,7 +1316,7 @@ def list_edit_images(package_name, edit_id, language, image_type, fields: nil, q
13141316
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13151317
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13161318
# @raise [Google::Apis::AuthorizationError] Authorization is required
1317-
def upload_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
1319+
def upload_edit_image(package_name, edit_id, language, image_type, ai_generated_state: nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
13181320
if upload_source.nil?
13191321
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
13201322
else
@@ -1328,6 +1330,7 @@ def upload_edit_image(package_name, edit_id, language, image_type, fields: nil,
13281330
command.params['editId'] = edit_id unless edit_id.nil?
13291331
command.params['language'] = language unless language.nil?
13301332
command.params['imageType'] = image_type unless image_type.nil?
1333+
command.query['aiGeneratedState'] = ai_generated_state unless ai_generated_state.nil?
13311334
command.query['fields'] = fields unless fields.nil?
13321335
command.query['quotaUser'] = quota_user unless quota_user.nil?
13331336
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)