google-apis-testing_v1 0.34.0 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6270f72bf6b64c710aa766b0cd4ac33266158e39d34fb64d61b6014aaefc71bf
4
- data.tar.gz: a83bf4ab465dc5e310111ceee89454eb177986faaa0e5ab63dca3e6c3a702b08
3
+ metadata.gz: 828a980d3a1da81e8a308770a31534cc3acfd5ed72e4ed7c15b5e36a685376eb
4
+ data.tar.gz: 5ba3071104bb4673b5d1b5331dc79888ba96a29a343de2934d52986910776d18
5
5
  SHA512:
6
- metadata.gz: 1b39816aae38428bbde94ace7204020a121816881f1a0d6bdc09f1775365edba4188dad4284a965076be373f5a81e7342c4ed9d9f0aed464c731cd7acc638e74
7
- data.tar.gz: 445ceadd0c0ee6a43e263dcf8ca4a799461a93ba540d395ca974bd8774c4339dd356c4d093a2994a9f8aa53e28b73abab3b8d9531452d7316909dc89c74ef21d
6
+ metadata.gz: fe87b829cd823c7b0e7a26bd42f8623ac3190b40755f208aa197551bdb5f4f488adcc2aba6f8a6883ec6b829b0d22b4eb043dba126c59879870f792356e4b035
7
+ data.tar.gz: 2eee4241caa9ecacf1388d78d3dbe132e533a2be4c58e221d94da06b6251cefa13c11eebd90ee94e039f7402670d5a26abe4f3f9a1db39b62805e29a4c59d045
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-testing_v1
2
2
 
3
+ ### v0.36.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230526
6
+
7
+ ### v0.35.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230523
10
+
3
11
  ### v0.34.0 (2023-05-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20230512
@@ -1742,6 +1742,19 @@ module Google
1742
1742
  end
1743
1743
  end
1744
1744
 
1745
+ # Skips the starting activity
1746
+ class NoActivityIntent
1747
+ include Google::Apis::Core::Hashable
1748
+
1749
+ def initialize(**args)
1750
+ update!(**args)
1751
+ end
1752
+
1753
+ # Update properties of this object
1754
+ def update!(**args)
1755
+ end
1756
+ end
1757
+
1745
1758
  # An opaque binary blob file to install on the device before the test starts.
1746
1759
  class ObbFile
1747
1760
  include Google::Apis::Core::Hashable
@@ -1998,6 +2011,11 @@ module Google
1998
2011
  # @return [Google::Apis::TestingV1::LauncherActivityIntent]
1999
2012
  attr_accessor :launcher_activity
2000
2013
 
2014
+ # Skips the starting activity
2015
+ # Corresponds to the JSON property `noActivity`
2016
+ # @return [Google::Apis::TestingV1::NoActivityIntent]
2017
+ attr_accessor :no_activity
2018
+
2001
2019
  # A starting intent specified by an action, uri, and categories.
2002
2020
  # Corresponds to the JSON property `startActivity`
2003
2021
  # @return [Google::Apis::TestingV1::StartActivityIntent]
@@ -2015,6 +2033,7 @@ module Google
2015
2033
  # Update properties of this object
2016
2034
  def update!(**args)
2017
2035
  @launcher_activity = args[:launcher_activity] if args.key?(:launcher_activity)
2036
+ @no_activity = args[:no_activity] if args.key?(:no_activity)
2018
2037
  @start_activity = args[:start_activity] if args.key?(:start_activity)
2019
2038
  @timeout = args[:timeout] if args.key?(:timeout)
2020
2039
  end
@@ -2050,6 +2069,12 @@ module Google
2050
2069
  class Shard
2051
2070
  include Google::Apis::Core::Hashable
2052
2071
 
2072
+ # Output only. The estimated shard duration based on previous test case timing
2073
+ # records, if available.
2074
+ # Corresponds to the JSON property `estimatedShardDuration`
2075
+ # @return [String]
2076
+ attr_accessor :estimated_shard_duration
2077
+
2053
2078
  # Output only. The total number of shards.
2054
2079
  # Corresponds to the JSON property `numShards`
2055
2080
  # @return [Fixnum]
@@ -2071,6 +2096,7 @@ module Google
2071
2096
 
2072
2097
  # Update properties of this object
2073
2098
  def update!(**args)
2099
+ @estimated_shard_duration = args[:estimated_shard_duration] if args.key?(:estimated_shard_duration)
2074
2100
  @num_shards = args[:num_shards] if args.key?(:num_shards)
2075
2101
  @shard_index = args[:shard_index] if args.key?(:shard_index)
2076
2102
  @test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard)
@@ -2129,21 +2155,21 @@ module Google
2129
2155
  # longer than the targeted shard duration. Shard duration is not guaranteed
2130
2156
  # because smart sharding uses test case history and default durations which may
2131
2157
  # not be accurate. The rules for finding the test case timing records are: - If
2132
- # the service has seen a test case in the last 30 days, the record of the latest
2133
- # successful one will be used. - For new test cases, the average duration of
2134
- # other known test cases will be used. - If there are no previous test case
2135
- # timing records available, the test case is considered to be 15 seconds long by
2136
- # default. Because the actual shard duration can exceed the targeted shard
2137
- # duration, we recommend setting the targeted value at least 5 minutes less than
2138
- # the maximum allowed test timeout (45 minutes for physical devices and 60
2139
- # minutes for virtual), or using the custom test timeout value you set. This
2140
- # approach avoids cancelling the shard before all tests can finish. Note that
2141
- # there is a limit for maximum number of shards. When you select one or more
2142
- # physical devices, the number of shards must be <= 50. When you select one or
2143
- # more ARM virtual devices, it must be <= 100. When you select only x86 virtual
2144
- # devices, it must be <= 500. To guarantee at least one test case for per shard,
2145
- # the number of shards will not exceed the number of test cases. Each shard
2146
- # created will count toward daily test quota.
2158
+ # the service has processed a test case in the last 30 days, the record of the
2159
+ # latest successful test case will be used. - For new test cases, the average
2160
+ # duration of other known test cases will be used. - If there are no previous
2161
+ # test case timing records available, the default test case duration is 15
2162
+ # seconds. Because the actual shard duration can exceed the targeted shard
2163
+ # duration, we recommend that you set the targeted value at least 5 minutes less
2164
+ # than the maximum allowed test timeout (45 minutes for physical devices and 60
2165
+ # minutes for virtual), or that you use the custom test timeout value that you
2166
+ # set. This approach avoids cancelling the shard before all tests can finish.
2167
+ # Note that there is a limit for maximum number of shards. When you select one
2168
+ # or more physical devices, the number of shards must be <= 50. When you select
2169
+ # one or more ARM virtual devices, it must be <= 100. When you select only x86
2170
+ # virtual devices, it must be <= 500. To guarantee at least one test case for
2171
+ # per shard, the number of shards will not exceed the number of test cases. Each
2172
+ # shard created counts toward daily test quota.
2147
2173
  # Corresponds to the JSON property `targetedShardDuration`
2148
2174
  # @return [String]
2149
2175
  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.34.0"
19
+ GEM_VERSION = "0.36.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 = "20230512"
25
+ REVISION = "20230526"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class NoActivityIntent
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class ObbFile
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -977,6 +983,12 @@ module Google
977
983
  end
978
984
  end
979
985
 
986
+ class NoActivityIntent
987
+ # @private
988
+ class Representation < Google::Apis::Core::JsonRepresentation
989
+ end
990
+ end
991
+
980
992
  class ObbFile
981
993
  # @private
982
994
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1055,6 +1067,8 @@ module Google
1055
1067
  class Representation < Google::Apis::Core::JsonRepresentation
1056
1068
  property :launcher_activity, as: 'launcherActivity', class: Google::Apis::TestingV1::LauncherActivityIntent, decorator: Google::Apis::TestingV1::LauncherActivityIntent::Representation
1057
1069
 
1070
+ property :no_activity, as: 'noActivity', class: Google::Apis::TestingV1::NoActivityIntent, decorator: Google::Apis::TestingV1::NoActivityIntent::Representation
1071
+
1058
1072
  property :start_activity, as: 'startActivity', class: Google::Apis::TestingV1::StartActivityIntent, decorator: Google::Apis::TestingV1::StartActivityIntent::Representation
1059
1073
 
1060
1074
  property :timeout, as: 'timeout'
@@ -1073,6 +1087,7 @@ module Google
1073
1087
  class Shard
1074
1088
  # @private
1075
1089
  class Representation < Google::Apis::Core::JsonRepresentation
1090
+ property :estimated_shard_duration, as: 'estimatedShardDuration'
1076
1091
  property :num_shards, as: 'numShards'
1077
1092
  property :shard_index, as: 'shardIndex'
1078
1093
  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. That
125
- # happens later on and will require a call to GetTestMatrix. May return any of
126
- # the following canonical error codes: - PERMISSION_DENIED - if the user is not
127
- # authorized to write to project - INVALID_ARGUMENT - if the request is
128
- # malformed or if the matrix tries to use too many simultaneous devices.
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 still be added to the matrix at a later stage. May return
170
- # any of the following canonical error codes: - PERMISSION_DENIED - if the user
171
- # is not authorized to read project - INVALID_ARGUMENT - if the request is
172
- # malformed - NOT_FOUND - if the Test Matrix does not exist
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.34.0
4
+ version: 0.36.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-21 00:00:00.000000000 Z
11
+ date: 2023-06-04 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-testing_v1/v0.36.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: []