google-apis-testing_v1 0.43.0 → 0.44.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: 6cbd151979a14bbce4c48e73f6cad1a4a2fbb8e54e283fa6b20c92cc0c23ecb8
4
- data.tar.gz: a65b83f85f5f7f3056192c4b520bc3bef1bf8aa98759b55d56debec6e7c4494c
3
+ metadata.gz: 0f0bc1ba87dc34fc9b75839c70a1ba3d50b4b73f98c0950de819dec0478618f3
4
+ data.tar.gz: 6aaf2742e685ed3757b5800d0243a87814fce112f1f163f5c3f40c71a7f38d02
5
5
  SHA512:
6
- metadata.gz: ecbf7d6f87230b3b04f5587e4b27cebdac61f4053eb9ab084a8ee39eee1d2307f517f9b7453d4b25acb05f3f3030a624c823d80470a139cbab7deab73ac33c43
7
- data.tar.gz: ce04ebac3cb048172bd6377c6cb7caeece05f7a5f1aefed1bb8efb4cbf9f3babc0b180877ee31b18ec841129bb2a254e74601e2d73e49aa230a857b513b1adad
6
+ metadata.gz: 1d32f79f0250eb2535972b995c2c36bf28c925e4084a55debdffd049fbdcbbed87e33c66a89a5e98f2622afdf64c6999f60a468fcb7cb6bc3ef80f2fb7743946
7
+ data.tar.gz: b24f15b827541ed14f167cb71a66582f77d927e3142223a0aac2fb11b0d6a0cc5d3e28e69e973439b3924b77711925ba9cd3a56467aa7c1925cbf6eed68b18c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.43.0 (2024-01-22)
4
9
 
5
10
  * Regenerated using generator version 0.13.0
@@ -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.43.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.13.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'
@@ -54,6 +54,10 @@ module Google
54
54
 
55
55
  # Gets the details of an Android application APK.
56
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)
57
61
  # @param [String] fields
58
62
  # Selector specifying which fields to include in a partial response.
59
63
  # @param [String] quota_user
@@ -71,12 +75,13 @@ module Google
71
75
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
76
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
77
  # @raise [Google::Apis::AuthorizationError] Authorization is required
74
- 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)
75
79
  command = make_simple_command(:post, 'v1/applicationDetailService/getApkDetails', options)
76
80
  command.request_representation = Google::Apis::TestingV1::FileReference::Representation
77
81
  command.request_object = file_reference_object
78
82
  command.response_representation = Google::Apis::TestingV1::GetApkDetailsResponse::Representation
79
83
  command.response_class = Google::Apis::TestingV1::GetApkDetailsResponse
84
+ command.query['bundleLocation.gcsPath'] = bundle_location_gcs_path unless bundle_location_gcs_path.nil?
80
85
  command.query['fields'] = fields unless fields.nil?
81
86
  command.query['quotaUser'] = quota_user unless quota_user.nil?
82
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.43.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: 2024-01-23 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
@@ -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.43.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: []