google-apis-testing_v1 0.34.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: 6270f72bf6b64c710aa766b0cd4ac33266158e39d34fb64d61b6014aaefc71bf
4
- data.tar.gz: a83bf4ab465dc5e310111ceee89454eb177986faaa0e5ab63dca3e6c3a702b08
3
+ metadata.gz: 31bb1dc889dd50f44ef335c7ae1305dc98246ee7aafe10f4e7ce697958719c27
4
+ data.tar.gz: c13cb0f6be0eba5cc00082e13bfc1da35ec945dab41f706b3cc882d9f508ff67
5
5
  SHA512:
6
- metadata.gz: 1b39816aae38428bbde94ace7204020a121816881f1a0d6bdc09f1775365edba4188dad4284a965076be373f5a81e7342c4ed9d9f0aed464c731cd7acc638e74
7
- data.tar.gz: 445ceadd0c0ee6a43e263dcf8ca4a799461a93ba540d395ca974bd8774c4339dd356c4d093a2994a9f8aa53e28b73abab3b8d9531452d7316909dc89c74ef21d
6
+ metadata.gz: 3b0f18d26a95fdd61cda0412a805f1a961d8225544d126a3ebe54632020e8e911b64096fbb0228a06e3cadbbca53a8d4f277d8353953b629c4bbc74dfdb85dcd
7
+ data.tar.gz: 7e98521271eed1f951e5b30e0979bf35ab6660f4ef835e806c2c3e705df4ccb721a4f4a2e9e9fd8345fc2339a626a2bc22a1548bd6cc836d6609bb6dec0c118a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.34.0 (2023-05-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20230512
@@ -2050,6 +2050,12 @@ module Google
2050
2050
  class Shard
2051
2051
  include Google::Apis::Core::Hashable
2052
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
+
2053
2059
  # Output only. The total number of shards.
2054
2060
  # Corresponds to the JSON property `numShards`
2055
2061
  # @return [Fixnum]
@@ -2071,6 +2077,7 @@ module Google
2071
2077
 
2072
2078
  # Update properties of this object
2073
2079
  def update!(**args)
2080
+ @estimated_shard_duration = args[:estimated_shard_duration] if args.key?(:estimated_shard_duration)
2074
2081
  @num_shards = args[:num_shards] if args.key?(:num_shards)
2075
2082
  @shard_index = args[:shard_index] if args.key?(:shard_index)
2076
2083
  @test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard)
@@ -2129,21 +2136,21 @@ module Google
2129
2136
  # longer than the targeted shard duration. Shard duration is not guaranteed
2130
2137
  # because smart sharding uses test case history and default durations which may
2131
2138
  # 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.
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.
2147
2154
  # Corresponds to the JSON property `targetedShardDuration`
2148
2155
  # @return [String]
2149
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.34.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 = "20230512"
25
+ REVISION = "20230523"
26
26
  end
27
27
  end
28
28
  end
@@ -1073,6 +1073,7 @@ module Google
1073
1073
  class Shard
1074
1074
  # @private
1075
1075
  class Representation < Google::Apis::Core::JsonRepresentation
1076
+ property :estimated_shard_duration, as: 'estimatedShardDuration'
1076
1077
  property :num_shards, as: 'numShards'
1077
1078
  property :shard_index, as: 'shardIndex'
1078
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. 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.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-21 00:00:00.000000000 Z
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.34.0
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: []