google-apis-testing_v1 0.33.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31bb1dc889dd50f44ef335c7ae1305dc98246ee7aafe10f4e7ce697958719c27
|
4
|
+
data.tar.gz: c13cb0f6be0eba5cc00082e13bfc1da35ec945dab41f706b3cc882d9f508ff67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b0f18d26a95fdd61cda0412a805f1a961d8225544d126a3ebe54632020e8e911b64096fbb0228a06e3cadbbca53a8d4f277d8353953b629c4bbc74dfdb85dcd
|
7
|
+
data.tar.gz: 7e98521271eed1f951e5b30e0979bf35ab6660f4ef835e806c2c3e705df4ccb721a4f4a2e9e9fd8345fc2339a626a2bc22a1548bd6cc836d6609bb6dec0c118a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-testing_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2023-05-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230523
|
6
|
+
|
7
|
+
### v0.34.0 (2023-05-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230512
|
10
|
+
|
3
11
|
### v0.33.0 (2023-05-07)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230503
|
@@ -694,6 +694,11 @@ module Google
|
|
694
694
|
# @return [String]
|
695
695
|
attr_accessor :package_name
|
696
696
|
|
697
|
+
# Services contained in the tag.
|
698
|
+
# Corresponds to the JSON property `services`
|
699
|
+
# @return [Array<Google::Apis::TestingV1::Service>]
|
700
|
+
attr_accessor :services
|
701
|
+
|
697
702
|
# Specifies the API Level on which the application is designed to run.
|
698
703
|
# Corresponds to the JSON property `targetSdkVersion`
|
699
704
|
# @return [Fixnum]
|
@@ -731,6 +736,7 @@ module Google
|
|
731
736
|
@metadata = args[:metadata] if args.key?(:metadata)
|
732
737
|
@min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
|
733
738
|
@package_name = args[:package_name] if args.key?(:package_name)
|
739
|
+
@services = args[:services] if args.key?(:services)
|
734
740
|
@target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
|
735
741
|
@uses_feature = args[:uses_feature] if args.key?(:uses_feature)
|
736
742
|
@uses_permission = args[:uses_permission] if args.key?(:uses_permission)
|
@@ -2014,10 +2020,42 @@ module Google
|
|
2014
2020
|
end
|
2015
2021
|
end
|
2016
2022
|
|
2023
|
+
# The section of an tag. https://developer.android.com/guide/topics/manifest/
|
2024
|
+
# service-element
|
2025
|
+
class Service
|
2026
|
+
include Google::Apis::Core::Hashable
|
2027
|
+
|
2028
|
+
# Intent filters in the service
|
2029
|
+
# Corresponds to the JSON property `intentFilter`
|
2030
|
+
# @return [Array<Google::Apis::TestingV1::IntentFilter>]
|
2031
|
+
attr_accessor :intent_filter
|
2032
|
+
|
2033
|
+
# The android:name value
|
2034
|
+
# Corresponds to the JSON property `name`
|
2035
|
+
# @return [String]
|
2036
|
+
attr_accessor :name
|
2037
|
+
|
2038
|
+
def initialize(**args)
|
2039
|
+
update!(**args)
|
2040
|
+
end
|
2041
|
+
|
2042
|
+
# Update properties of this object
|
2043
|
+
def update!(**args)
|
2044
|
+
@intent_filter = args[:intent_filter] if args.key?(:intent_filter)
|
2045
|
+
@name = args[:name] if args.key?(:name)
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
|
2017
2049
|
# Output only. Details about the shard.
|
2018
2050
|
class Shard
|
2019
2051
|
include Google::Apis::Core::Hashable
|
2020
2052
|
|
2053
|
+
# Output only. The estimated shard duration based on previous test case timing
|
2054
|
+
# records, if available.
|
2055
|
+
# Corresponds to the JSON property `estimatedShardDuration`
|
2056
|
+
# @return [String]
|
2057
|
+
attr_accessor :estimated_shard_duration
|
2058
|
+
|
2021
2059
|
# Output only. The total number of shards.
|
2022
2060
|
# Corresponds to the JSON property `numShards`
|
2023
2061
|
# @return [Fixnum]
|
@@ -2039,6 +2077,7 @@ module Google
|
|
2039
2077
|
|
2040
2078
|
# Update properties of this object
|
2041
2079
|
def update!(**args)
|
2080
|
+
@estimated_shard_duration = args[:estimated_shard_duration] if args.key?(:estimated_shard_duration)
|
2042
2081
|
@num_shards = args[:num_shards] if args.key?(:num_shards)
|
2043
2082
|
@shard_index = args[:shard_index] if args.key?(:shard_index)
|
2044
2083
|
@test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard)
|
@@ -2097,21 +2136,21 @@ module Google
|
|
2097
2136
|
# longer than the targeted shard duration. Shard duration is not guaranteed
|
2098
2137
|
# because smart sharding uses test case history and default durations which may
|
2099
2138
|
# not be accurate. The rules for finding the test case timing records are: - If
|
2100
|
-
# the service has
|
2101
|
-
# successful
|
2102
|
-
# other known test cases will be used. - If there are no previous
|
2103
|
-
# timing records available, the test case is
|
2104
|
-
#
|
2105
|
-
# duration, we recommend
|
2106
|
-
# the maximum allowed test timeout (45 minutes for physical devices and 60
|
2107
|
-
# minutes for virtual), or
|
2108
|
-
# approach avoids cancelling the shard before all tests can finish.
|
2109
|
-
# there is a limit for maximum number of shards. When you select one
|
2110
|
-
# physical devices, the number of shards must be <= 50. When you select
|
2111
|
-
# more ARM virtual devices, it must be <= 100. When you select only x86
|
2112
|
-
# devices, it must be <= 500. To guarantee at least one test case for
|
2113
|
-
# the number of shards will not exceed the number of test cases. Each
|
2114
|
-
# created
|
2139
|
+
# the service has processed a test case in the last 30 days, the record of the
|
2140
|
+
# latest successful test case will be used. - For new test cases, the average
|
2141
|
+
# duration of other known test cases will be used. - If there are no previous
|
2142
|
+
# test case timing records available, the default test case duration is 15
|
2143
|
+
# seconds. Because the actual shard duration can exceed the targeted shard
|
2144
|
+
# duration, we recommend that you set the targeted value at least 5 minutes less
|
2145
|
+
# than the maximum allowed test timeout (45 minutes for physical devices and 60
|
2146
|
+
# minutes for virtual), or that you use the custom test timeout value that you
|
2147
|
+
# set. This approach avoids cancelling the shard before all tests can finish.
|
2148
|
+
# Note that there is a limit for maximum number of shards. When you select one
|
2149
|
+
# or more physical devices, the number of shards must be <= 50. When you select
|
2150
|
+
# one or more ARM virtual devices, it must be <= 100. When you select only x86
|
2151
|
+
# virtual devices, it must be <= 500. To guarantee at least one test case for
|
2152
|
+
# per shard, the number of shards will not exceed the number of test cases. Each
|
2153
|
+
# shard created counts toward daily test quota.
|
2115
2154
|
# Corresponds to the JSON property `targetedShardDuration`
|
2116
2155
|
# @return [String]
|
2117
2156
|
attr_accessor :targeted_shard_duration
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TestingV1
|
18
18
|
# Version of the google-apis-testing_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230523"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class Service
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class Shard
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -649,6 +655,8 @@ module Google
|
|
649
655
|
|
650
656
|
property :min_sdk_version, as: 'minSdkVersion'
|
651
657
|
property :package_name, as: 'packageName'
|
658
|
+
collection :services, as: 'services', class: Google::Apis::TestingV1::Service, decorator: Google::Apis::TestingV1::Service::Representation
|
659
|
+
|
652
660
|
property :target_sdk_version, as: 'targetSdkVersion'
|
653
661
|
collection :uses_feature, as: 'usesFeature', class: Google::Apis::TestingV1::UsesFeature, decorator: Google::Apis::TestingV1::UsesFeature::Representation
|
654
662
|
|
@@ -1053,9 +1061,19 @@ module Google
|
|
1053
1061
|
end
|
1054
1062
|
end
|
1055
1063
|
|
1064
|
+
class Service
|
1065
|
+
# @private
|
1066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1067
|
+
collection :intent_filter, as: 'intentFilter', class: Google::Apis::TestingV1::IntentFilter, decorator: Google::Apis::TestingV1::IntentFilter::Representation
|
1068
|
+
|
1069
|
+
property :name, as: 'name'
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1056
1073
|
class Shard
|
1057
1074
|
# @private
|
1058
1075
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1076
|
+
property :estimated_shard_duration, as: 'estimatedShardDuration'
|
1059
1077
|
property :num_shards, as: 'numShards'
|
1060
1078
|
property :shard_index, as: 'shardIndex'
|
1061
1079
|
property :test_targets_for_shard, as: 'testTargetsForShard', class: Google::Apis::TestingV1::TestTargetsForShard, decorator: Google::Apis::TestingV1::TestTargetsForShard::Representation
|
@@ -121,11 +121,12 @@ module Google
|
|
121
121
|
# Creates and runs a matrix of tests according to the given specifications.
|
122
122
|
# Unsupported environments will be returned in the state UNSUPPORTED. A test
|
123
123
|
# matrix is limited to use at most 2000 devices in parallel. The returned matrix
|
124
|
-
# will not yet contain the executions that will be created for this matrix.
|
125
|
-
# happens later on and will require a call to GetTestMatrix.
|
126
|
-
# the following canonical error codes: - PERMISSION_DENIED -
|
127
|
-
# authorized to write to project - INVALID_ARGUMENT - if the
|
128
|
-
# malformed or if the matrix tries to use too many simultaneous
|
124
|
+
# will not yet contain the executions that will be created for this matrix.
|
125
|
+
# Execution creation happens later on and will require a call to GetTestMatrix.
|
126
|
+
# May return any of the following canonical error codes: - PERMISSION_DENIED -
|
127
|
+
# if the user is not authorized to write to project - INVALID_ARGUMENT - if the
|
128
|
+
# request is malformed or if the matrix tries to use too many simultaneous
|
129
|
+
# devices.
|
129
130
|
# @param [String] project_id
|
130
131
|
# The GCE project under which this job will run.
|
131
132
|
# @param [Google::Apis::TestingV1::TestMatrix] test_matrix_object
|
@@ -166,10 +167,10 @@ module Google
|
|
166
167
|
# Checks the status of a test matrix and the executions once they are created.
|
167
168
|
# The test matrix will contain the list of test executions to run if and only if
|
168
169
|
# the resultStorage.toolResultsExecution fields have been populated. Note: Flaky
|
169
|
-
# test executions may
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
170
|
+
# test executions may be added to the matrix at a later stage. May return any of
|
171
|
+
# the following canonical error codes: - PERMISSION_DENIED - if the user is not
|
172
|
+
# authorized to read project - INVALID_ARGUMENT - if the request is malformed -
|
173
|
+
# NOT_FOUND - if the Test Matrix does not exist
|
173
174
|
# @param [String] project_id
|
174
175
|
# Cloud project that owns the test matrix.
|
175
176
|
# @param [String] test_matrix_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-testing_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-testing_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-testing_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-testing_v1/v0.35.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-testing_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|