Skip to content

Commit c3db420

Browse files
feat: Automated regeneration of testing v1 client (googleapis#22334)
Auto-created at 2025-03-30 10:53:12 +0000 using the toys pull request generator.
1 parent 6b202a6 commit c3db420

File tree

6 files changed

+22
-3
lines changed

6 files changed

+22
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341377,6 +341377,8 @@
341377341377
"/testing:v1/AndroidMatrix/orientations": orientations
341378341378
"/testing:v1/AndroidMatrix/orientations/orientation": orientation
341379341379
"/testing:v1/AndroidModel": android_model
341380+
"/testing:v1/AndroidModel/accessDeniedReasons": access_denied_reasons
341381+
"/testing:v1/AndroidModel/accessDeniedReasons/access_denied_reason": access_denied_reason
341380341382
"/testing:v1/AndroidModel/brand": brand
341381341383
"/testing:v1/AndroidModel/codename": codename
341382341384
"/testing:v1/AndroidModel/form": form
@@ -341822,6 +341824,7 @@
341822341824
"/testing:v1/testing.projects.testMatrices.get/testMatrixId": test_matrix_id
341823341825
"/testing:v1/testing.testEnvironmentCatalog.get": get_test_environment_catalog
341824341826
"/testing:v1/testing.testEnvironmentCatalog.get/environmentType": environment_type
341827+
"/testing:v1/testing.testEnvironmentCatalog.get/includeViewableModels": include_viewable_models
341825341828
"/testing:v1/testing.testEnvironmentCatalog.get/projectId": project_id
341826341829
"/texttospeech:v1/AdvancedVoiceOptions": advanced_voice_options
341827341830
"/texttospeech:v1/AdvancedVoiceOptions/lowLatencyJourneySynthesis": low_latency_journey_synthesis

generated/google-apis-testing_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-testing_v1
22

3+
### v0.53.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250327
6+
37
### v0.52.0 (2025-03-09)
48

59
* Regenerated from discovery document revision 20250304

generated/google-apis-testing_v1/lib/google/apis/testing_v1/classes.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,12 @@ def update!(**args)
272272
class AndroidModel
273273
include Google::Apis::Core::Hashable
274274

275+
# Reasons for access denial. This model is accessible if this list is empty,
276+
# otherwise the model is viewable only.
277+
# Corresponds to the JSON property `accessDeniedReasons`
278+
# @return [Array<String>]
279+
attr_accessor :access_denied_reasons
280+
275281
# The company that this device is branded with. Example: "Google", "Samsung".
276282
# Corresponds to the JSON property `brand`
277283
# @return [String]
@@ -372,6 +378,7 @@ def initialize(**args)
372378

373379
# Update properties of this object
374380
def update!(**args)
381+
@access_denied_reasons = args[:access_denied_reasons] if args.key?(:access_denied_reasons)
375382
@brand = args[:brand] if args.key?(:brand)
376383
@codename = args[:codename] if args.key?(:codename)
377384
@form = args[:form] if args.key?(:form)

generated/google-apis-testing_v1/lib/google/apis/testing_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TestingV1
1818
# Version of the google-apis-testing_v1 gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250304"
25+
REVISION = "20250327"
2626
end
2727
end
2828
end

generated/google-apis-testing_v1/lib/google/apis/testing_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
614614
class AndroidModel
615615
# @private
616616
class Representation < Google::Apis::Core::JsonRepresentation
617+
collection :access_denied_reasons, as: 'accessDeniedReasons'
617618
property :brand, as: 'brand'
618619
property :codename, as: 'codename'
619620
property :form, as: 'form'

generated/google-apis-testing_v1/lib/google/apis/testing_v1/service.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,9 @@ def get_project_test_matrix(project_id, test_matrix_id, fields: nil, quota_user:
400400
# an internal error occurred
401401
# @param [String] environment_type
402402
# Required. The type of environment that should be listed.
403+
# @param [Boolean] include_viewable_models
404+
# Optional. Whether to include viewable only models in the response. This is
405+
# only applicable for Android models.
403406
# @param [String] project_id
404407
# For authorization, the cloud project requesting the TestEnvironmentCatalog.
405408
# @param [String] fields
@@ -419,11 +422,12 @@ def get_project_test_matrix(project_id, test_matrix_id, fields: nil, quota_user:
419422
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
420423
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
421424
# @raise [Google::Apis::AuthorizationError] Authorization is required
422-
def get_test_environment_catalog(environment_type, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
425+
def get_test_environment_catalog(environment_type, include_viewable_models: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
423426
command = make_simple_command(:get, 'v1/testEnvironmentCatalog/{environmentType}', options)
424427
command.response_representation = Google::Apis::TestingV1::TestEnvironmentCatalog::Representation
425428
command.response_class = Google::Apis::TestingV1::TestEnvironmentCatalog
426429
command.params['environmentType'] = environment_type unless environment_type.nil?
430+
command.query['includeViewableModels'] = include_viewable_models unless include_viewable_models.nil?
427431
command.query['projectId'] = project_id unless project_id.nil?
428432
command.query['fields'] = fields unless fields.nil?
429433
command.query['quotaUser'] = quota_user unless quota_user.nil?

0 commit comments

Comments
 (0)