google-apis-testing_v1 0.43.0 → 0.45.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: 23784c27a96022599fbf22a38c5cbe71b7d2d33be9169ba0626a92380b761e17
4
+ data.tar.gz: 2b0c22e751bd644f0622b22664568082a4f46517c8078cde5bae90a8c37ff6b8
5
5
  SHA512:
6
- metadata.gz: ecbf7d6f87230b3b04f5587e4b27cebdac61f4053eb9ab084a8ee39eee1d2307f517f9b7453d4b25acb05f3f3030a624c823d80470a139cbab7deab73ac33c43
7
- data.tar.gz: ce04ebac3cb048172bd6377c6cb7caeece05f7a5f1aefed1bb8efb4cbf9f3babc0b180877ee31b18ec841129bb2a254e74601e2d73e49aa230a857b513b1adad
6
+ metadata.gz: 0c528c258b7b20eff01e8f98c0dd71731aa3fed960ddf567c4892d4b8f5757ca05a5db87fb3ffcae95daad73c4d93e5190500b68dff639493f0d117c59eef984
7
+ data.tar.gz: 8a4cdd330f1703f69b4520f2ade0dc0fd10bc387de58a5106deb86dba7bcd1394d61bed153b55d24fae68572e13cdd23d8ec68031c2a0a393e4bdf914bbde335
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-testing_v1
2
2
 
3
+ ### v0.45.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240213
6
+
7
+ ### v0.44.0 (2024-02-11)
8
+
9
+ * Regenerated from discovery document revision 20240206
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.43.0 (2024-01-22)
4
13
 
5
14
  * 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
@@ -2029,6 +2055,12 @@ module Google
2029
2055
  # @return [Google::Apis::TestingV1::DirectAccessVersionInfo]
2030
2056
  attr_accessor :direct_access_version_info
2031
2057
 
2058
+ # Output only. The estimated wait time for a single interactive device session
2059
+ # using Direct Access.
2060
+ # Corresponds to the JSON property `interactiveDeviceAvailabilityEstimate`
2061
+ # @return [String]
2062
+ attr_accessor :interactive_device_availability_estimate
2063
+
2032
2064
  # An Android version.
2033
2065
  # Corresponds to the JSON property `versionId`
2034
2066
  # @return [String]
@@ -2042,6 +2074,7 @@ module Google
2042
2074
  def update!(**args)
2043
2075
  @device_capacity = args[:device_capacity] if args.key?(:device_capacity)
2044
2076
  @direct_access_version_info = args[:direct_access_version_info] if args.key?(:direct_access_version_info)
2077
+ @interactive_device_availability_estimate = args[:interactive_device_availability_estimate] if args.key?(:interactive_device_availability_estimate)
2045
2078
  @version_id = args[:version_id] if args.key?(:version_id)
2046
2079
  end
2047
2080
  end
@@ -2637,6 +2670,13 @@ module Google
2637
2670
  # @return [Google::Apis::TestingV1::EnvironmentMatrix]
2638
2671
  attr_accessor :environment_matrix
2639
2672
 
2673
+ # Output only. Details about why a matrix was deemed invalid. If multiple checks
2674
+ # can be safely performed, they will be reported but no assumptions should be
2675
+ # made about the length of this list.
2676
+ # Corresponds to the JSON property `extendedInvalidMatrixDetails`
2677
+ # @return [Array<Google::Apis::TestingV1::MatrixErrorDetail>]
2678
+ attr_accessor :extended_invalid_matrix_details
2679
+
2640
2680
  # If true, only a single attempt at most will be made to run each execution/
2641
2681
  # shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more
2642
2682
  # attempts are made if a potential infrastructure issue is detected. This
@@ -2711,6 +2751,7 @@ module Google
2711
2751
  def update!(**args)
2712
2752
  @client_info = args[:client_info] if args.key?(:client_info)
2713
2753
  @environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix)
2754
+ @extended_invalid_matrix_details = args[:extended_invalid_matrix_details] if args.key?(:extended_invalid_matrix_details)
2714
2755
  @fail_fast = args[:fail_fast] if args.key?(:fail_fast)
2715
2756
  @flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts)
2716
2757
  @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.45.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 = "20240213"
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
@@ -1113,6 +1127,7 @@ module Google
1113
1127
  property :device_capacity, as: 'deviceCapacity'
1114
1128
  property :direct_access_version_info, as: 'directAccessVersionInfo', class: Google::Apis::TestingV1::DirectAccessVersionInfo, decorator: Google::Apis::TestingV1::DirectAccessVersionInfo::Representation
1115
1129
 
1130
+ property :interactive_device_availability_estimate, as: 'interactiveDeviceAvailabilityEstimate'
1116
1131
  property :version_id, as: 'versionId'
1117
1132
  end
1118
1133
  end
@@ -1293,6 +1308,8 @@ module Google
1293
1308
 
1294
1309
  property :environment_matrix, as: 'environmentMatrix', class: Google::Apis::TestingV1::EnvironmentMatrix, decorator: Google::Apis::TestingV1::EnvironmentMatrix::Representation
1295
1310
 
1311
+ collection :extended_invalid_matrix_details, as: 'extendedInvalidMatrixDetails', class: Google::Apis::TestingV1::MatrixErrorDetail, decorator: Google::Apis::TestingV1::MatrixErrorDetail::Representation
1312
+
1296
1313
  property :fail_fast, as: 'failFast'
1297
1314
  property :flaky_test_attempts, as: 'flakyTestAttempts'
1298
1315
  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.45.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-18 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.45.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: []