Skip to content

Commit 237cf7d

Browse files
feat: Automated regeneration of androidpublisher v3 client (googleapis#20414)
Auto-created at 2024-10-20 09:28:17 +0000 using the toys pull request generator.
1 parent 95b0a96 commit 237cf7d

File tree

5 files changed

+64
-2
lines changed

5 files changed

+64
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29862,6 +29862,8 @@
2986229862
"/androidpublisher:v3/DeviceSelector/includedDeviceIds/included_device_id": included_device_id
2986329863
"/androidpublisher:v3/DeviceSelector/requiredSystemFeatures": required_system_features
2986429864
"/androidpublisher:v3/DeviceSelector/requiredSystemFeatures/required_system_feature": required_system_feature
29865+
"/androidpublisher:v3/DeviceSelector/systemOnChips": system_on_chips
29866+
"/androidpublisher:v3/DeviceSelector/systemOnChips/system_on_chip": system_on_chip
2986529867
"/androidpublisher:v3/DeviceSpec": device_spec
2986629868
"/androidpublisher:v3/DeviceSpec/screenDensity": screen_density
2986729869
"/androidpublisher:v3/DeviceSpec/supportedAbis": supported_abis
@@ -30453,6 +30455,9 @@
3045330455
"/androidpublisher:v3/SystemFeature": system_feature
3045430456
"/androidpublisher:v3/SystemFeature/name": name
3045530457
"/androidpublisher:v3/SystemInitiatedCancellation": system_initiated_cancellation
30458+
"/androidpublisher:v3/SystemOnChip": system_on_chip
30459+
"/androidpublisher:v3/SystemOnChip/manufacturer": manufacturer
30460+
"/androidpublisher:v3/SystemOnChip/model": model
3045630461
"/androidpublisher:v3/Targeting": targeting
3045730462
"/androidpublisher:v3/Targeting/allUsers": all_users
3045830463
"/androidpublisher:v3/Targeting/androidSdks": android_sdks

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.74.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241016
6+
37
### v0.73.0 (2024-10-13)
48

59
* Regenerated from discovery document revision 20241003

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,6 +1930,12 @@ class DeviceSelector
19301930
# @return [Array<Google::Apis::AndroidpublisherV3::SystemFeature>]
19311931
attr_accessor :required_system_features
19321932

1933+
# Optional. The SoCs included by this selector. Only works for Android S+
1934+
# devices.
1935+
# Corresponds to the JSON property `systemOnChips`
1936+
# @return [Array<Google::Apis::AndroidpublisherV3::SystemOnChip>]
1937+
attr_accessor :system_on_chips
1938+
19331939
def initialize(**args)
19341940
update!(**args)
19351941
end
@@ -1941,6 +1947,7 @@ def update!(**args)
19411947
@forbidden_system_features = args[:forbidden_system_features] if args.key?(:forbidden_system_features)
19421948
@included_device_ids = args[:included_device_ids] if args.key?(:included_device_ids)
19431949
@required_system_features = args[:required_system_features] if args.key?(:required_system_features)
1950+
@system_on_chips = args[:system_on_chips] if args.key?(:system_on_chips)
19441951
end
19451952
end
19461953

@@ -6321,6 +6328,36 @@ def update!(**args)
63216328
end
63226329
end
63236330

6331+
# Representation of a System-on-Chip (SoC) of an Android device. Can be used to
6332+
# target S+ devices.
6333+
class SystemOnChip
6334+
include Google::Apis::Core::Hashable
6335+
6336+
# Required. The designer of the SoC, eg. "Google" Value of build property "ro.
6337+
# soc.manufacturer" https://developer.android.com/reference/android/os/Build#
6338+
# SOC_MANUFACTURER Required.
6339+
# Corresponds to the JSON property `manufacturer`
6340+
# @return [String]
6341+
attr_accessor :manufacturer
6342+
6343+
# Required. The model of the SoC, eg. "Tensor" Value of build property "ro.soc.
6344+
# model" https://developer.android.com/reference/android/os/Build#SOC_MODEL
6345+
# Required.
6346+
# Corresponds to the JSON property `model`
6347+
# @return [String]
6348+
attr_accessor :model
6349+
6350+
def initialize(**args)
6351+
update!(**args)
6352+
end
6353+
6354+
# Update properties of this object
6355+
def update!(**args)
6356+
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
6357+
@model = args[:model] if args.key?(:model)
6358+
end
6359+
end
6360+
63246361
# Targeting details for a recovery action such as regions, android sdk levels,
63256362
# app versions etc.
63266363
class Targeting

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.73.0"
19+
GEM_VERSION = "0.74.0"
2020

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

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

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
12161216
include Google::Apis::Core::JsonObjectSupport
12171217
end
12181218

1219+
class SystemOnChip
1220+
class Representation < Google::Apis::Core::JsonRepresentation; end
1221+
1222+
include Google::Apis::Core::JsonObjectSupport
1223+
end
1224+
12191225
class Targeting
12201226
class Representation < Google::Apis::Core::JsonRepresentation; end
12211227

@@ -2056,6 +2062,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
20562062

20572063
collection :required_system_features, as: 'requiredSystemFeatures', class: Google::Apis::AndroidpublisherV3::SystemFeature, decorator: Google::Apis::AndroidpublisherV3::SystemFeature::Representation
20582064

2065+
collection :system_on_chips, as: 'systemOnChips', class: Google::Apis::AndroidpublisherV3::SystemOnChip, decorator: Google::Apis::AndroidpublisherV3::SystemOnChip::Representation
2066+
20592067
end
20602068
end
20612069

@@ -3331,6 +3339,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
33313339
end
33323340
end
33333341

3342+
class SystemOnChip
3343+
# @private
3344+
class Representation < Google::Apis::Core::JsonRepresentation
3345+
property :manufacturer, as: 'manufacturer'
3346+
property :model, as: 'model'
3347+
end
3348+
end
3349+
33343350
class Targeting
33353351
# @private
33363352
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)