Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Mar 29, 2022
2 parents 0ec5391 + 60f8145 commit b8a417c
Show file tree
Hide file tree
Showing 110 changed files with 3,771 additions and 696 deletions.
279 changes: 278 additions & 1 deletion androidpublisher/v3/androidpublisher-api.json
Expand Up @@ -104,6 +104,108 @@
},
"protocol": "rest",
"resources": {
"applications": {
"resources": {
"deviceTierConfigs": {
"methods": {
"create": {
"description": "Creates a new device tier config for an app.",
"flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
"httpMethod": "POST",
"id": "androidpublisher.applications.deviceTierConfigs.create",
"parameterOrder": [
"packageName"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
"request": {
"$ref": "DeviceTierConfig"
},
"response": {
"$ref": "DeviceTierConfig"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Returns a particular device tier config.",
"flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}",
"httpMethod": "GET",
"id": "androidpublisher.applications.deviceTierConfigs.get",
"parameterOrder": [
"packageName",
"deviceTierConfigId"
],
"parameters": {
"deviceTierConfigId": {
"description": "Required. Id of an existing device tier config.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}",
"response": {
"$ref": "DeviceTierConfig"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Returns created device tier configs, ordered by descending creation time.",
"flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
"httpMethod": "GET",
"id": "androidpublisher.applications.deviceTierConfigs.list",
"parameterOrder": [
"packageName"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of device tier configs to return. The service may return fewer than this value. If unspecified, at most 10 device tier configs will be returned. The maximum value for this field is 100; values above 100 will be coerced to 100. Device tier configs will be ordered by descending creation time.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListDeviceTierConfigs` call. Provide this to retrieve the subsequent page.",
"location": "query",
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
"response": {
"$ref": "ListDeviceTierConfigsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
},
"edits": {
"methods": {
"commit": {
Expand Down Expand Up @@ -3040,7 +3142,7 @@
}
}
},
"revision": "20220322",
"revision": "20220327",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Apk": {
Expand Down Expand Up @@ -3335,6 +3437,39 @@
},
"type": "object"
},
"DeviceGroup": {
"description": "LINT.IfChange A group of devices. A group is defined by a set of device selectors. A device belongs to the group if it matches any selector (logical OR).",
"id": "DeviceGroup",
"properties": {
"deviceSelectors": {
"description": "Device selectors for this group. A device matching any of the selectors is included in this group.",
"items": {
"$ref": "DeviceSelector"
},
"type": "array"
},
"name": {
"description": "The name of the group.",
"type": "string"
}
},
"type": "object"
},
"DeviceId": {
"description": "Identifier of a device.",
"id": "DeviceId",
"properties": {
"buildBrand": {
"description": "Value of Build.BRAND.",
"type": "string"
},
"buildDevice": {
"description": "Value of Build.DEVICE.",
"type": "string"
}
},
"type": "object"
},
"DeviceMetadata": {
"description": "Characteristics of the user's device.",
"id": "DeviceMetadata",
Expand Down Expand Up @@ -3391,6 +3526,62 @@
},
"type": "object"
},
"DeviceRam": {
"description": "Conditions about a device's RAM capabilities.",
"id": "DeviceRam",
"properties": {
"maxBytes": {
"description": "Maximum RAM in bytes (bound excluded).",
"format": "int64",
"type": "string"
},
"minBytes": {
"description": "Minimum RAM in bytes (bound included).",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"DeviceSelector": {
"description": "Selector for a device group. A selector consists of a set of conditions on the device that should all match (logical AND) to determine a device group eligibility. For instance, if a selector specifies RAM conditions, device model inclusion and device model exclusion, a device is considered to match if: device matches RAM conditions AND device matches one of the included device models AND device doesn't match excluded device models",
"id": "DeviceSelector",
"properties": {
"deviceRam": {
"$ref": "DeviceRam",
"description": "Conditions on the device's RAM."
},
"excludedDeviceIds": {
"description": "Device models excluded by this selector, even if they match all other conditions.",
"items": {
"$ref": "DeviceId"
},
"type": "array"
},
"forbiddenSystemFeatures": {
"description": "A device that has any of these system features is excluded by this selector, even if it matches all other conditions.",
"items": {
"$ref": "SystemFeature"
},
"type": "array"
},
"includedDeviceIds": {
"description": "Device models included by this selector.",
"items": {
"$ref": "DeviceId"
},
"type": "array"
},
"requiredSystemFeatures": {
"description": "A device needs to have all these system features to be included by the selector.",
"items": {
"$ref": "SystemFeature"
},
"type": "array"
}
},
"type": "object"
},
"DeviceSpec": {
"description": "The device spec used to generate a system APK.",
"id": "DeviceSpec",
Expand All @@ -3417,6 +3608,63 @@
},
"type": "object"
},
"DeviceTier": {
"description": "A single device tier. Devices matching any of the device groups in device_group_names are considered to match the tier.",
"id": "DeviceTier",
"properties": {
"deviceGroupNames": {
"description": "Groups of devices included in this tier. These groups must be defined explicitly under device_groups in this configuration.",
"items": {
"type": "string"
},
"type": "array"
},
"level": {
"description": "The priority level of the tier. Tiers are evaluated in descending order of level: the highest level tier has the highest priority. The highest tier matching a given device is selected for that device. You should use a contiguous range of levels for your tiers in a tier set; tier levels in a tier set must be unique. For instance, if your tier set has 4 tiers (including the global fallback), you should define tiers 1, 2 and 3 in this configuration. Note: tier 0 is implicitly defined as a global fallback and selected for devices that don't match any of the tiers explicitly defined here. You mustn't define level 0 explicitly in this configuration.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"DeviceTierConfig": {
"description": "LINT.IfChange Configuration describing device targeting criteria for the content of an app.",
"id": "DeviceTierConfig",
"properties": {
"deviceGroups": {
"description": "Definition of device groups for the app.",
"items": {
"$ref": "DeviceGroup"
},
"type": "array"
},
"deviceTierConfigId": {
"description": "Output only. The device tier config ID.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"deviceTierSet": {
"$ref": "DeviceTierSet",
"description": "Definition of the set of device tiers for the app."
}
},
"type": "object"
},
"DeviceTierSet": {
"description": "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.",
"id": "DeviceTierSet",
"properties": {
"deviceTiers": {
"description": "Device tiers belonging to the set.",
"items": {
"$ref": "DeviceTier"
},
"type": "array"
}
},
"type": "object"
},
"ExpansionFile": {
"description": "An expansion file. The resource for ExpansionFilesService.",
"id": "ExpansionFile",
Expand Down Expand Up @@ -3940,6 +4188,24 @@
},
"type": "object"
},
"ListDeviceTierConfigsResponse": {
"description": "Response listing existing device tier configs.",
"id": "ListDeviceTierConfigsResponse",
"properties": {
"deviceTierConfigs": {
"description": "Device tier configs created by the developer.",
"items": {
"$ref": "DeviceTierConfig"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"ListUsersResponse": {
"description": "A response containing one or more users with access to an account.",
"id": "ListUsersResponse",
Expand Down Expand Up @@ -4554,6 +4820,17 @@
},
"type": "object"
},
"SystemFeature": {
"description": "Representation of a system feature.",
"id": "SystemFeature",
"properties": {
"name": {
"description": "The name of the feature.",
"type": "string"
}
},
"type": "object"
},
"Testers": {
"description": "The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource.",
"id": "Testers",
Expand Down

0 comments on commit b8a417c

Please sign in to comment.