google-apis-testing_v1 0.42.0 → 0.44.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: 90816a90be26e791fc397941555cd55ba963c4a4bac420795fb0a4223090a0a6
4
- data.tar.gz: 63215e8918b637f57793e6bbb0f9eec502d3b549740de925d4be60402f7b9695
3
+ metadata.gz: 0f0bc1ba87dc34fc9b75839c70a1ba3d50b4b73f98c0950de819dec0478618f3
4
+ data.tar.gz: 6aaf2742e685ed3757b5800d0243a87814fce112f1f163f5c3f40c71a7f38d02
5
5
  SHA512:
6
- metadata.gz: 7bee956e1b3a554b3feb0cffba8d8e78d67a7fa0caab0aa0ea0b86639addfc94fffb33f0d6dd9698b9206f6515fe313b9e540a9ee63bbea9550e6171acb8e7e2
7
- data.tar.gz: 32cb9d5c4e3e6635e8029f1dfe31eecd82b105a19d52c062037b9772962e7448139c77705fbfe699420af898fd5d7ae119d36778f8a326e2b23df029bec90fc2
6
+ metadata.gz: 1d32f79f0250eb2535972b995c2c36bf28c925e4084a55debdffd049fbdcbbed87e33c66a89a5e98f2622afdf64c6999f60a468fcb7cb6bc3ef80f2fb7743946
7
+ data.tar.gz: b24f15b827541ed14f167cb71a66582f77d927e3142223a0aac2fb11b0d6a0cc5d3e28e69e973439b3924b77711925ba9cd3a56467aa7c1925cbf6eed68b18c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-testing_v1
2
2
 
3
+ ### v0.44.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240206
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.43.0 (2024-01-22)
9
+
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.42.0 (2023-11-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20231027
@@ -638,8 +638,7 @@ module Google
638
638
  end
639
639
  end
640
640
 
641
- # Android application details based on application manifest and apk archive
642
- # contents.
641
+ # Android application details based on application manifest and archive contents.
643
642
  class ApkDetail
644
643
  include Google::Apis::Core::Hashable
645
644
 
@@ -1235,12 +1234,11 @@ module Google
1235
1234
  end
1236
1235
  end
1237
1236
 
1238
- # Response containing the details of the specified Android application APK.
1237
+ # Response containing the details of the specified Android application.
1239
1238
  class GetApkDetailsResponse
1240
1239
  include Google::Apis::Core::Hashable
1241
1240
 
1242
- # Android application details based on application manifest and apk archive
1243
- # contents.
1241
+ # Android application details based on application manifest and archive contents.
1244
1242
  # Corresponds to the JSON property `apkDetail`
1245
1243
  # @return [Google::Apis::TestingV1::ApkDetail]
1246
1244
  attr_accessor :apk_detail
@@ -1865,6 +1863,34 @@ module Google
1865
1863
  end
1866
1864
  end
1867
1865
 
1866
+ # Describes a single error or issue with a matrix.
1867
+ class MatrixErrorDetail
1868
+ include Google::Apis::Core::Hashable
1869
+
1870
+ # Output only. A human-readable message about how the error in the TestMatrix.
1871
+ # Expands on the `reason` field with additional details and possible options to
1872
+ # fix the issue.
1873
+ # Corresponds to the JSON property `message`
1874
+ # @return [String]
1875
+ attr_accessor :message
1876
+
1877
+ # Output only. The reason for the error. This is a constant value in
1878
+ # UPPER_SNAKE_CASE that identifies the cause of the error.
1879
+ # Corresponds to the JSON property `reason`
1880
+ # @return [String]
1881
+ attr_accessor :reason
1882
+
1883
+ def initialize(**args)
1884
+ update!(**args)
1885
+ end
1886
+
1887
+ # Update properties of this object
1888
+ def update!(**args)
1889
+ @message = args[:message] if args.key?(:message)
1890
+ @reason = args[:reason] if args.key?(:reason)
1891
+ end
1892
+ end
1893
+
1868
1894
  # A tag within a manifest. https://developer.android.com/guide/topics/manifest/
1869
1895
  # meta-data-element.html
1870
1896
  class Metadata
@@ -2637,6 +2663,13 @@ module Google
2637
2663
  # @return [Google::Apis::TestingV1::EnvironmentMatrix]
2638
2664
  attr_accessor :environment_matrix
2639
2665
 
2666
+ # Output only. Details about why a matrix was deemed invalid. If multiple checks
2667
+ # can be safely performed, they will be reported but no assumptions should be
2668
+ # made about the length of this list.
2669
+ # Corresponds to the JSON property `extendedInvalidMatrixDetails`
2670
+ # @return [Array<Google::Apis::TestingV1::MatrixErrorDetail>]
2671
+ attr_accessor :extended_invalid_matrix_details
2672
+
2640
2673
  # If true, only a single attempt at most will be made to run each execution/
2641
2674
  # shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more
2642
2675
  # attempts are made if a potential infrastructure issue is detected. This
@@ -2711,6 +2744,7 @@ module Google
2711
2744
  def update!(**args)
2712
2745
  @client_info = args[:client_info] if args.key?(:client_info)
2713
2746
  @environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix)
2747
+ @extended_invalid_matrix_details = args[:extended_invalid_matrix_details] if args.key?(:extended_invalid_matrix_details)
2714
2748
  @fail_fast = args[:fail_fast] if args.key?(:fail_fast)
2715
2749
  @flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts)
2716
2750
  @invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details)
@@ -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.42.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231027"
25
+ REVISION = "20240206"
26
26
  end
27
27
  end
28
28
  end
@@ -322,6 +322,12 @@ module Google
322
322
  include Google::Apis::Core::JsonObjectSupport
323
323
  end
324
324
 
325
+ class MatrixErrorDetail
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
325
331
  class Metadata
326
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
333
 
@@ -1056,6 +1062,14 @@ module Google
1056
1062
  end
1057
1063
  end
1058
1064
 
1065
+ class MatrixErrorDetail
1066
+ # @private
1067
+ class Representation < Google::Apis::Core::JsonRepresentation
1068
+ property :message, as: 'message'
1069
+ property :reason, as: 'reason'
1070
+ end
1071
+ end
1072
+
1059
1073
  class Metadata
1060
1074
  # @private
1061
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1293,6 +1307,8 @@ module Google
1293
1307
 
1294
1308
  property :environment_matrix, as: 'environmentMatrix', class: Google::Apis::TestingV1::EnvironmentMatrix, decorator: Google::Apis::TestingV1::EnvironmentMatrix::Representation
1295
1309
 
1310
+ collection :extended_invalid_matrix_details, as: 'extendedInvalidMatrixDetails', class: Google::Apis::TestingV1::MatrixErrorDetail, decorator: Google::Apis::TestingV1::MatrixErrorDetail::Representation
1311
+
1296
1312
  property :fail_fast, as: 'failFast'
1297
1313
  property :flaky_test_attempts, as: 'flakyTestAttempts'
1298
1314
  property :invalid_matrix_details, as: 'invalidMatrixDetails'
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://developers.google.com/cloud-test-lab/
35
35
  class TestingService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://testing.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://testing.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-testing_v1',
49
51
  client_version: Google::Apis::TestingV1::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -52,6 +54,10 @@ module Google
52
54
 
53
55
  # Gets the details of an Android application APK.
54
56
  # @param [Google::Apis::TestingV1::FileReference] file_reference_object
57
+ # @param [String] bundle_location_gcs_path
58
+ # A path to a file in Google Cloud Storage. Example: gs://build-app-
59
+ # 1414623860166/app%40debug-unaligned.apk These paths are expected to be url
60
+ # encoded (percent encoding)
55
61
  # @param [String] fields
56
62
  # Selector specifying which fields to include in a partial response.
57
63
  # @param [String] quota_user
@@ -69,12 +75,13 @@ module Google
69
75
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
70
76
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
77
  # @raise [Google::Apis::AuthorizationError] Authorization is required
72
- def get_application_detail_service_apk_details(file_reference_object = nil, fields: nil, quota_user: nil, options: nil, &block)
78
+ def get_application_detail_service_apk_details(file_reference_object = nil, bundle_location_gcs_path: nil, fields: nil, quota_user: nil, options: nil, &block)
73
79
  command = make_simple_command(:post, 'v1/applicationDetailService/getApkDetails', options)
74
80
  command.request_representation = Google::Apis::TestingV1::FileReference::Representation
75
81
  command.request_object = file_reference_object
76
82
  command.response_representation = Google::Apis::TestingV1::GetApkDetailsResponse::Representation
77
83
  command.response_class = Google::Apis::TestingV1::GetApkDetailsResponse
84
+ command.query['bundleLocation.gcsPath'] = bundle_location_gcs_path unless bundle_location_gcs_path.nil?
78
85
  command.query['fields'] = fields unless fields.nil?
79
86
  command.query['quotaUser'] = quota_user unless quota_user.nil?
80
87
  execute_or_queue_command(command, &block)
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.42.0
4
+ version: 0.44.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-11-05 00:00:00.000000000 Z
11
+ date: 2024-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-testing_v1/v0.44.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Testing API V1