Skip to content

Commit d50446a

Browse files
feat: Automated regeneration of testing v1 client (googleapis#20254)
Auto-created at 2024-09-22 09:38:48 +0000 using the toys pull request generator.
1 parent e3cef82 commit d50446a

File tree

5 files changed

+52
-3
lines changed

5 files changed

+52
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313686,6 +313686,7 @@
313686313686
"/testing:v1/AndroidModel/form": form
313687313687
"/testing:v1/AndroidModel/formFactor": form_factor
313688313688
"/testing:v1/AndroidModel/id": id
313689+
"/testing:v1/AndroidModel/labInfo": lab_info
313689313690
"/testing:v1/AndroidModel/lowFpsVideoRecording": low_fps_video_recording
313690313691
"/testing:v1/AndroidModel/manufacturer": manufacturer
313691313692
"/testing:v1/AndroidModel/name": name
@@ -313900,6 +313901,8 @@
313900313901
"/testing:v1/IosXcTest/testsZip": tests_zip
313901313902
"/testing:v1/IosXcTest/xcodeVersion": xcode_version
313902313903
"/testing:v1/IosXcTest/xctestrun": xctestrun
313904+
"/testing:v1/LabInfo": lab_info
313905+
"/testing:v1/LabInfo/name": name
313903313906
"/testing:v1/LauncherActivityIntent": launcher_activity_intent
313904313907
"/testing:v1/ListDeviceSessionsResponse": list_device_sessions_response
313905313908
"/testing:v1/ListDeviceSessionsResponse/deviceSessions": device_sessions

generated/google-apis-testing_v1/CHANGELOG.md

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

3+
### v0.50.0 (2024-09-22)
4+
5+
* Regenerated from discovery document revision 20240917
6+
* Regenerated using generator version 0.15.1
7+
38
### v0.49.0 (2024-05-19)
49

510
* Regenerated using generator version 0.15.0

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@ class AndroidModel
298298
# @return [String]
299299
attr_accessor :id
300300

301+
# Lab specific information for a device.
302+
# Corresponds to the JSON property `labInfo`
303+
# @return [Google::Apis::TestingV1::LabInfo]
304+
attr_accessor :lab_info
305+
301306
# True if and only if tests with this model are recorded by stitching together
302307
# screenshots. See use_low_spec_video_recording in device config.
303308
# Corresponds to the JSON property `lowFpsVideoRecording`
@@ -372,6 +377,7 @@ def update!(**args)
372377
@form = args[:form] if args.key?(:form)
373378
@form_factor = args[:form_factor] if args.key?(:form_factor)
374379
@id = args[:id] if args.key?(:id)
380+
@lab_info = args[:lab_info] if args.key?(:lab_info)
375381
@low_fps_video_recording = args[:low_fps_video_recording] if args.key?(:low_fps_video_recording)
376382
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
377383
@name = args[:name] if args.key?(:name)
@@ -1760,6 +1766,26 @@ def update!(**args)
17601766
end
17611767
end
17621768

1769+
# Lab specific information for a device.
1770+
class LabInfo
1771+
include Google::Apis::Core::Hashable
1772+
1773+
# Lab name where the device is hosted. If empty, the device is hosted in a
1774+
# Google owned lab.
1775+
# Corresponds to the JSON property `name`
1776+
# @return [String]
1777+
attr_accessor :name
1778+
1779+
def initialize(**args)
1780+
update!(**args)
1781+
end
1782+
1783+
# Update properties of this object
1784+
def update!(**args)
1785+
@name = args[:name] if args.key?(:name)
1786+
end
1787+
end
1788+
17631789
# Specifies an intent that starts the main launcher activity.
17641790
class LauncherActivityIntent
17651791
include Google::Apis::Core::Hashable

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

Lines changed: 3 additions & 3 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.49.0"
19+
GEM_VERSION = "0.50.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.0"
22+
GENERATOR_VERSION = "0.15.1"
2323

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

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
298298
include Google::Apis::Core::JsonObjectSupport
299299
end
300300

301+
class LabInfo
302+
class Representation < Google::Apis::Core::JsonRepresentation; end
303+
304+
include Google::Apis::Core::JsonObjectSupport
305+
end
306+
301307
class LauncherActivityIntent
302308
class Representation < Google::Apis::Core::JsonRepresentation; end
303309

@@ -607,6 +613,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
607613
property :form, as: 'form'
608614
property :form_factor, as: 'formFactor'
609615
property :id, as: 'id'
616+
property :lab_info, as: 'labInfo', class: Google::Apis::TestingV1::LabInfo, decorator: Google::Apis::TestingV1::LabInfo::Representation
617+
610618
property :low_fps_video_recording, as: 'lowFpsVideoRecording'
611619
property :manufacturer, as: 'manufacturer'
612620
property :name, as: 'name'
@@ -1029,6 +1037,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
10291037
end
10301038
end
10311039

1040+
class LabInfo
1041+
# @private
1042+
class Representation < Google::Apis::Core::JsonRepresentation
1043+
property :name, as: 'name'
1044+
end
1045+
end
1046+
10321047
class LauncherActivityIntent
10331048
# @private
10341049
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)