Skip to content

Commit

Permalink
feat(androidpublisher): update the API
Browse files Browse the repository at this point in the history
#### androidpublisher:v3

The following keys were added:
- schemas.DeviceTierConfig.properties.userCountrySets.description
- schemas.DeviceTierConfig.properties.userCountrySets.items.$ref
- schemas.DeviceTierConfig.properties.userCountrySets.type
- schemas.UserCountrySet.description
- schemas.UserCountrySet.id
- schemas.UserCountrySet.properties.countryCodes.description
- schemas.UserCountrySet.properties.countryCodes.items.type
- schemas.UserCountrySet.properties.countryCodes.type
- schemas.UserCountrySet.properties.name.description
- schemas.UserCountrySet.properties.name.type
- schemas.UserCountrySet.type
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 9, 2023
1 parent d18d52e commit 02fa6cc
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 4 deletions.
27 changes: 26 additions & 1 deletion discovery/androidpublisher-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -3920,7 +3920,7 @@
}
}
},
"revision": "20230201",
"revision": "20230208",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"AcquisitionTargetingRule": {
Expand Down Expand Up @@ -4646,6 +4646,13 @@
"deviceTierSet": {
"$ref": "DeviceTierSet",
"description": "Definition of the set of device tiers for the app."
},
"userCountrySets": {
"description": "Definition of user country sets for the app.",
"items": {
"$ref": "UserCountrySet"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -6905,6 +6912,24 @@
},
"type": "object"
},
"UserCountrySet": {
"description": "A set of user countries. A country set determines what variation of app content gets served to a specific location.",
"id": "UserCountrySet",
"properties": {
"countryCodes": {
"description": "List of country codes representing countries. A Country code is represented in ISO 3166 alpha-2 format. For Example:- \"IT\" for Italy, \"GE\" for Georgia.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Country set name.",
"type": "string"
}
},
"type": "object"
},
"UserInitiatedCancellation": {
"description": "Information specific to cancellations initiated by users.",
"id": "UserInitiatedCancellation",
Expand Down
26 changes: 23 additions & 3 deletions src/apis/androidpublisher/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,10 @@ export namespace androidpublisher_v3 {
* Definition of the set of device tiers for the app.
*/
deviceTierSet?: Schema$DeviceTierSet;
/**
* Definition of user country sets for the app.
*/
userCountrySets?: Schema$UserCountrySet[];
}
/**
* A set of device tiers. A tier set determines what variation of app content gets served to a specific device, for device-targeted content. You should assign a priority level to each tier, which determines the ordering by which they are evaluated by Play. See the documentation of DeviceTier.level for more details.
Expand Down Expand Up @@ -2326,6 +2330,19 @@ export namespace androidpublisher_v3 {
*/
thumbsUpCount?: number | null;
}
/**
* A set of user countries. A country set determines what variation of app content gets served to a specific location.
*/
export interface Schema$UserCountrySet {
/**
* List of country codes representing countries. A Country code is represented in ISO 3166 alpha-2 format. For Example:- "IT" for Italy, "GE" for Georgia.
*/
countryCodes?: string[] | null;
/**
* Country set name.
*/
name?: string | null;
}
/**
* Information specific to cancellations initiated by users.
*/
Expand Down Expand Up @@ -2468,7 +2485,8 @@ export namespace androidpublisher_v3 {
* // {
* // "deviceGroups": [],
* // "deviceTierConfigId": "my_deviceTierConfigId",
* // "deviceTierSet": {}
* // "deviceTierSet": {},
* // "userCountrySets": []
* // }
* },
* });
Expand All @@ -2478,7 +2496,8 @@ export namespace androidpublisher_v3 {
* // {
* // "deviceGroups": [],
* // "deviceTierConfigId": "my_deviceTierConfigId",
* // "deviceTierSet": {}
* // "deviceTierSet": {},
* // "userCountrySets": []
* // }
* }
*
Expand Down Expand Up @@ -2612,7 +2631,8 @@ export namespace androidpublisher_v3 {
* // {
* // "deviceGroups": [],
* // "deviceTierConfigId": "my_deviceTierConfigId",
* // "deviceTierSet": {}
* // "deviceTierSet": {},
* // "userCountrySets": []
* // }
* }
*
Expand Down

0 comments on commit 02fa6cc

Please sign in to comment.