Skip to content

Commit

Permalink
feat: Automated regeneration of testing v1 client (#20254)
Browse files Browse the repository at this point in the history
Auto-created at 2024-09-22 09:38:48 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Sep 22, 2024
1 parent e3cef82 commit d50446a
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 3 deletions.
3 changes: 3 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313686,6 +313686,7 @@
"/testing:v1/AndroidModel/form": form
"/testing:v1/AndroidModel/formFactor": form_factor
"/testing:v1/AndroidModel/id": id
"/testing:v1/AndroidModel/labInfo": lab_info
"/testing:v1/AndroidModel/lowFpsVideoRecording": low_fps_video_recording
"/testing:v1/AndroidModel/manufacturer": manufacturer
"/testing:v1/AndroidModel/name": name
Expand Down Expand Up @@ -313900,6 +313901,8 @@
"/testing:v1/IosXcTest/testsZip": tests_zip
"/testing:v1/IosXcTest/xcodeVersion": xcode_version
"/testing:v1/IosXcTest/xctestrun": xctestrun
"/testing:v1/LabInfo": lab_info
"/testing:v1/LabInfo/name": name
"/testing:v1/LauncherActivityIntent": launcher_activity_intent
"/testing:v1/ListDeviceSessionsResponse": list_device_sessions_response
"/testing:v1/ListDeviceSessionsResponse/deviceSessions": device_sessions
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-testing_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-testing_v1

### v0.50.0 (2024-09-22)

* Regenerated from discovery document revision 20240917
* Regenerated using generator version 0.15.1

### v0.49.0 (2024-05-19)

* Regenerated using generator version 0.15.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,11 @@ class AndroidModel
# @return [String]
attr_accessor :id

# Lab specific information for a device.
# Corresponds to the JSON property `labInfo`
# @return [Google::Apis::TestingV1::LabInfo]
attr_accessor :lab_info

# True if and only if tests with this model are recorded by stitching together
# screenshots. See use_low_spec_video_recording in device config.
# Corresponds to the JSON property `lowFpsVideoRecording`
Expand Down Expand Up @@ -372,6 +377,7 @@ def update!(**args)
@form = args[:form] if args.key?(:form)
@form_factor = args[:form_factor] if args.key?(:form_factor)
@id = args[:id] if args.key?(:id)
@lab_info = args[:lab_info] if args.key?(:lab_info)
@low_fps_video_recording = args[:low_fps_video_recording] if args.key?(:low_fps_video_recording)
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
@name = args[:name] if args.key?(:name)
Expand Down Expand Up @@ -1760,6 +1766,26 @@ def update!(**args)
end
end

# Lab specific information for a device.
class LabInfo
include Google::Apis::Core::Hashable

# Lab name where the device is hosted. If empty, the device is hosted in a
# Google owned lab.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
end
end

# Specifies an intent that starts the main launcher activity.
class LauncherActivityIntent
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module TestingV1
# Version of the google-apis-testing_v1 gem
GEM_VERSION = "0.49.0"
GEM_VERSION = "0.50.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.0"
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240315"
REVISION = "20240917"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class LabInfo
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class LauncherActivityIntent
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -607,6 +613,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :form, as: 'form'
property :form_factor, as: 'formFactor'
property :id, as: 'id'
property :lab_info, as: 'labInfo', class: Google::Apis::TestingV1::LabInfo, decorator: Google::Apis::TestingV1::LabInfo::Representation

property :low_fps_video_recording, as: 'lowFpsVideoRecording'
property :manufacturer, as: 'manufacturer'
property :name, as: 'name'
Expand Down Expand Up @@ -1029,6 +1037,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class LabInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end

class LauncherActivityIntent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down

0 comments on commit d50446a

Please sign in to comment.