Skip to content

Commit c624d3a

Browse files
yoshi-automationsofisl
authored andcommitted
feat(testing)!: update the API
BREAKING CHANGE: This release has breaking changes. #### testing:v1 The following keys were deleted: - schemas.ApkManifest.properties.usesPermission.description The following keys were added: - schemas.ApkManifest.properties.usesPermissionTags.description - schemas.ApkManifest.properties.usesPermissionTags.items.$ref - schemas.ApkManifest.properties.usesPermissionTags.type - schemas.UsesPermissionTag.description - schemas.UsesPermissionTag.id - schemas.UsesPermissionTag.properties.maxSdkVersion.description - schemas.UsesPermissionTag.properties.maxSdkVersion.format - schemas.UsesPermissionTag.properties.maxSdkVersion.type - schemas.UsesPermissionTag.properties.name.description - schemas.UsesPermissionTag.properties.name.type - schemas.UsesPermissionTag.type The following keys were changed: - schemas.IosRoboTest.properties.roboScript.description
1 parent 749feb4 commit c624d3a

File tree

2 files changed

+41
-5
lines changed

2 files changed

+41
-5
lines changed

‎discovery/testing-v1.json

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
}
450450
}
451451
},
452-
"revision": "20240917",
452+
"revision": "20241231",
453453
"rootUrl": "https://testing.googleapis.com/",
454454
"schemas": {
455455
"Account": {
@@ -972,12 +972,18 @@
972972
"type": "array"
973973
},
974974
"usesPermission": {
975-
"description": "Permissions declared to be used by the application",
976975
"items": {
977976
"type": "string"
978977
},
979978
"type": "array"
980979
},
980+
"usesPermissionTags": {
981+
"description": "Permissions declared to be used by the application",
982+
"items": {
983+
"$ref": "UsesPermissionTag"
984+
},
985+
"type": "array"
986+
},
981987
"versionCode": {
982988
"description": "Version number used internally by the app.",
983989
"format": "int64",
@@ -1567,7 +1573,7 @@
15671573
},
15681574
"roboScript": {
15691575
"$ref": "FileReference",
1570-
"description": "An optional Roboscript to customize the crawl. See https://firebase.google.com/docs/test-lab/android/robo-scripts-reference for more information about Roboscripts."
1576+
"description": "An optional Roboscript to customize the crawl. See https://firebase.google.com/docs/test-lab/android/robo-scripts-reference for more information about Roboscripts. The maximum allowed file size of the roboscript is 10MiB."
15711577
}
15721578
},
15731579
"type": "object"
@@ -2819,6 +2825,22 @@
28192825
},
28202826
"type": "object"
28212827
},
2828+
"UsesPermissionTag": {
2829+
"description": "The tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-permission-element.html",
2830+
"id": "UsesPermissionTag",
2831+
"properties": {
2832+
"maxSdkVersion": {
2833+
"description": "The android:name value",
2834+
"format": "int32",
2835+
"type": "integer"
2836+
},
2837+
"name": {
2838+
"description": "The android:name value",
2839+
"type": "string"
2840+
}
2841+
},
2842+
"type": "object"
2843+
},
28222844
"XcodeVersion": {
28232845
"description": "An Xcode version that an iOS version is compatible with.",
28242846
"id": "XcodeVersion",

‎src/apis/testing/v1.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,11 @@ export namespace testing_v1 {
495495
* Feature usage tags defined in the manifest.
496496
*/
497497
usesFeature?: Schema$UsesFeature[];
498+
usesPermission?: string[] | null;
498499
/**
499500
* Permissions declared to be used by the application
500501
*/
501-
usesPermission?: string[] | null;
502+
usesPermissionTags?: Schema$UsesPermissionTag[];
502503
/**
503504
* Version number used internally by the app.
504505
*/
@@ -904,7 +905,7 @@ export namespace testing_v1 {
904905
*/
905906
appIpa?: Schema$FileReference;
906907
/**
907-
* An optional Roboscript to customize the crawl. See https://firebase.google.com/docs/test-lab/android/robo-scripts-reference for more information about Roboscripts.
908+
* An optional Roboscript to customize the crawl. See https://firebase.google.com/docs/test-lab/android/robo-scripts-reference for more information about Roboscripts. The maximum allowed file size of the roboscript is 10MiB.
908909
*/
909910
roboScript?: Schema$FileReference;
910911
}
@@ -1702,6 +1703,19 @@ export namespace testing_v1 {
17021703
*/
17031704
name?: string | null;
17041705
}
1706+
/**
1707+
* The tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-permission-element.html
1708+
*/
1709+
export interface Schema$UsesPermissionTag {
1710+
/**
1711+
* The android:name value
1712+
*/
1713+
maxSdkVersion?: number | null;
1714+
/**
1715+
* The android:name value
1716+
*/
1717+
name?: string | null;
1718+
}
17051719
/**
17061720
* An Xcode version that an iOS version is compatible with.
17071721
*/

0 commit comments

Comments
 (0)