Skip to content

Commit

Permalink
feat(testing): update the API
Browse files Browse the repository at this point in the history
#### testing:v1
The following keys were added:
- schemas.DeviceIpBlock.description
- schemas.DeviceIpBlock.id
- schemas.DeviceIpBlock.properties.addedDate.$ref
- schemas.DeviceIpBlock.properties.addedDate.description
- schemas.DeviceIpBlock.properties.block.description
- schemas.DeviceIpBlock.properties.block.type
- schemas.DeviceIpBlock.properties.form.description
- schemas.DeviceIpBlock.properties.form.enum
- schemas.DeviceIpBlock.properties.form.enumDescriptions
- schemas.DeviceIpBlock.properties.form.type
- schemas.DeviceIpBlock.type
- schemas.DeviceIpBlockCatalog.description
- schemas.DeviceIpBlockCatalog.id
- schemas.DeviceIpBlockCatalog.properties.ipBlocks.description
- schemas.DeviceIpBlockCatalog.properties.ipBlocks.items.$ref
- schemas.DeviceIpBlockCatalog.properties.ipBlocks.type
- schemas.DeviceIpBlockCatalog.type
- schemas.TestEnvironmentCatalog.properties.deviceIpBlockCatalog.$ref
- schemas.TestEnvironmentCatalog.properties.deviceIpBlockCatalog.description

The following keys were changed:
- resources.testEnvironmentCatalog.methods.get.parameters.environmentType.enum
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 23, 2020
1 parent 3274cfd commit fdebf10
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 2 deletions.
54 changes: 52 additions & 2 deletions discovery/testing-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@
"ANDROID",
"IOS",
"NETWORK_CONFIGURATION",
"PROVIDED_SOFTWARE"
"PROVIDED_SOFTWARE",
"DEVICE_IP_BLOCKS"
],
"location": "path",
"required": true,
Expand All @@ -273,7 +274,7 @@
}
}
},
"revision": "20200708",
"revision": "20200722",
"rootUrl": "https://testing.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -867,6 +868,51 @@
},
"type": "object"
},
"DeviceIpBlock": {
"description": "A single device IP block",
"id": "DeviceIpBlock",
"properties": {
"addedDate": {
"$ref": "Date",
"description": "The date this block was added to Firebase Test Lab"
},
"block": {
"description": "An IP address block in CIDR notation eg: 34.68.194.64/29",
"type": "string"
},
"form": {
"description": "Whether this block is used by physical or virtual devices",
"enum": [
"DEVICE_FORM_UNSPECIFIED",
"VIRTUAL",
"PHYSICAL",
"EMULATOR"
],
"enumDescriptions": [
"Do not use. For proto versioning only.",
"Android virtual device using Compute Engine native virtualization. Firebase\nTest Lab only.",
"Actual hardware.",
"Android virtual device using emulator in nested virtualization. Equivalent\nto Android Studio."
],
"type": "string"
}
},
"type": "object"
},
"DeviceIpBlockCatalog": {
"description": "List of IP blocks used by the Firebase Test Lab",
"id": "DeviceIpBlockCatalog",
"properties": {
"ipBlocks": {
"description": "The device IP blocks used by Firebase Test Lab",
"items": {
"$ref": "DeviceIpBlock"
},
"type": "array"
}
},
"type": "object"
},
"Distribution": {
"description": "Data about the relative number of devices running a\ngiven configuration of the Android platform.",
"id": "Distribution",
Expand Down Expand Up @@ -1558,6 +1604,10 @@
"$ref": "AndroidDeviceCatalog",
"description": "Supported Android devices."
},
"deviceIpBlockCatalog": {
"$ref": "DeviceIpBlockCatalog",
"description": "The IP blocks used by devices in the test environment."
},
"iosDeviceCatalog": {
"$ref": "IosDeviceCatalog",
"description": "Supported iOS devices."
Expand Down
31 changes: 31 additions & 0 deletions src/apis/testing/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,32 @@ export namespace testing_v1 {
*/
regularFile?: Schema$RegularFile;
}
/**
* A single device IP block
*/
export interface Schema$DeviceIpBlock {
/**
* The date this block was added to Firebase Test Lab
*/
addedDate?: Schema$Date;
/**
* An IP address block in CIDR notation eg: 34.68.194.64/29
*/
block?: string | null;
/**
* Whether this block is used by physical or virtual devices
*/
form?: string | null;
}
/**
* List of IP blocks used by the Firebase Test Lab
*/
export interface Schema$DeviceIpBlockCatalog {
/**
* The device IP blocks used by Firebase Test Lab
*/
ipBlocks?: Schema$DeviceIpBlock[];
}
/**
* Data about the relative number of devices running a given configuration of the Android platform.
*/
Expand Down Expand Up @@ -1066,6 +1092,10 @@ export namespace testing_v1 {
* Supported Android devices.
*/
androidDeviceCatalog?: Schema$AndroidDeviceCatalog;
/**
* The IP blocks used by devices in the test environment.
*/
deviceIpBlockCatalog?: Schema$DeviceIpBlockCatalog;
/**
* Supported iOS devices.
*/
Expand Down Expand Up @@ -2083,6 +2113,7 @@ export namespace testing_v1 {
* // Example response
* // {
* // "androidDeviceCatalog": {},
* // "deviceIpBlockCatalog": {},
* // "iosDeviceCatalog": {},
* // "networkConfigurationCatalog": {},
* // "softwareCatalog": {}
Expand Down

0 comments on commit fdebf10

Please sign in to comment.