Skip to content

Commit

Permalink
feat: Automated regeneration of chromemanagement v1 client (#19172)
Browse files Browse the repository at this point in the history
Auto-created at 2024-05-19 10:26:04 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed May 21, 2024
1 parent d17f39a commit dfed4c4
Show file tree
Hide file tree
Showing 6 changed files with 205 additions and 4 deletions.
17 changes: 17 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50039,6 +50039,20 @@
"/chromemanagement:v1/GoogleChromeManagementV1StorageStatusReport/disk": disk
"/chromemanagement:v1/GoogleChromeManagementV1StorageStatusReport/disk/disk": disk
"/chromemanagement:v1/GoogleChromeManagementV1StorageStatusReport/reportTime": report_time
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppInstallEvent": google_chrome_management_v1_telemetry_app_install_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppInstallEvent/appId": app_id
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppInstallEvent/appInstallReason": app_install_reason
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppInstallEvent/appInstallSource": app_install_source
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppInstallEvent/appInstallTime": app_install_time
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppInstallEvent/appType": app_type
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppLaunchEvent": google_chrome_management_v1_telemetry_app_launch_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppLaunchEvent/appId": app_id
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppLaunchEvent/appLaunchSource": app_launch_source
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppLaunchEvent/appType": app_type
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppUninstallEvent": google_chrome_management_v1_telemetry_app_uninstall_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppUninstallEvent/appId": app_id
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppUninstallEvent/appType": app_type
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAppUninstallEvent/appUninstallSource": app_uninstall_source
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent": google_chrome_management_v1_telemetry_audio_severe_underrun_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryDevice": google_chrome_management_v1_telemetry_device
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryDevice/audioStatusReport": audio_status_report
Expand Down Expand Up @@ -50090,6 +50104,9 @@
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryDeviceInfo/deviceId": device_id
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryDeviceInfo/orgUnitId": org_unit_id
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent": google_chrome_management_v1_telemetry_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/appInstallEvent": app_install_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/appLaunchEvent": app_launch_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/appUninstallEvent": app_uninstall_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/audioSevereUnderrunEvent": audio_severe_underrun_event
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/device": device
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/eventType": event_type
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-chromemanagement_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-chromemanagement_v1

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

* Regenerated from discovery document revision 20240516
* Regenerated using generator version 0.15.0

### v0.52.0 (2024-03-24)

* Regenerated from discovery document revision 20240321
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]

gem.required_ruby_version = '>= 2.7'
gem.add_runtime_dependency "google-apis-core", ">= 0.14.0", "< 2.a"
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
end
Original file line number Diff line number Diff line change
Expand Up @@ -2845,6 +2845,114 @@ def update!(**args)
end
end

# App installation data.
class GoogleChromeManagementV1TelemetryAppInstallEvent
include Google::Apis::Core::Hashable

# App id. For PWAs this is the start URL, and for extensions this is the
# extension id.
# Corresponds to the JSON property `appId`
# @return [String]
attr_accessor :app_id

# App installation reason.
# Corresponds to the JSON property `appInstallReason`
# @return [String]
attr_accessor :app_install_reason

# App installation source.
# Corresponds to the JSON property `appInstallSource`
# @return [String]
attr_accessor :app_install_source

# App installation time depending on the app lifecycle.
# Corresponds to the JSON property `appInstallTime`
# @return [String]
attr_accessor :app_install_time

# Type of app.
# Corresponds to the JSON property `appType`
# @return [String]
attr_accessor :app_type

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

# Update properties of this object
def update!(**args)
@app_id = args[:app_id] if args.key?(:app_id)
@app_install_reason = args[:app_install_reason] if args.key?(:app_install_reason)
@app_install_source = args[:app_install_source] if args.key?(:app_install_source)
@app_install_time = args[:app_install_time] if args.key?(:app_install_time)
@app_type = args[:app_type] if args.key?(:app_type)
end
end

# App launch data.
class GoogleChromeManagementV1TelemetryAppLaunchEvent
include Google::Apis::Core::Hashable

# App id. For PWAs this is the start URL, and for extensions this is the
# extension id.
# Corresponds to the JSON property `appId`
# @return [String]
attr_accessor :app_id

# App launch source.
# Corresponds to the JSON property `appLaunchSource`
# @return [String]
attr_accessor :app_launch_source

# Type of app.
# Corresponds to the JSON property `appType`
# @return [String]
attr_accessor :app_type

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

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

# App uninstall data.
class GoogleChromeManagementV1TelemetryAppUninstallEvent
include Google::Apis::Core::Hashable

# App id. For PWAs this is the start URL, and for extensions this is the
# extension id.
# Corresponds to the JSON property `appId`
# @return [String]
attr_accessor :app_id

# Type of app.
# Corresponds to the JSON property `appType`
# @return [String]
attr_accessor :app_type

# App uninstall source.
# Corresponds to the JSON property `appUninstallSource`
# @return [String]
attr_accessor :app_uninstall_source

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

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

# `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out
# of buffer data for more than 5 seconds. * Granular permission needed:
# TELEMETRY_API_AUDIO_REPORT
Expand Down Expand Up @@ -3112,6 +3220,21 @@ def update!(**args)
class GoogleChromeManagementV1TelemetryEvent
include Google::Apis::Core::Hashable

# App installation data.
# Corresponds to the JSON property `appInstallEvent`
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppInstallEvent]
attr_accessor :app_install_event

# App launch data.
# Corresponds to the JSON property `appLaunchEvent`
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppLaunchEvent]
attr_accessor :app_launch_event

# App uninstall data.
# Corresponds to the JSON property `appUninstallEvent`
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppUninstallEvent]
attr_accessor :app_uninstall_event

# `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out
# of buffer data for more than 5 seconds. * Granular permission needed:
# TELEMETRY_API_AUDIO_REPORT
Expand Down Expand Up @@ -3186,6 +3309,9 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@app_install_event = args[:app_install_event] if args.key?(:app_install_event)
@app_launch_event = args[:app_launch_event] if args.key?(:app_launch_event)
@app_uninstall_event = args[:app_uninstall_event] if args.key?(:app_uninstall_event)
@audio_severe_underrun_event = args[:audio_severe_underrun_event] if args.key?(:audio_severe_underrun_event)
@device = args[:device] if args.key?(:device)
@event_type = args[:event_type] if args.key?(:event_type)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ChromemanagementV1
# Version of the google-apis-chromemanagement_v1 gem
GEM_VERSION = "0.52.0"
GEM_VERSION = "0.53.0"

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

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

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

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

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

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

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

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

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

Expand Down Expand Up @@ -1267,6 +1285,35 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GoogleChromeManagementV1TelemetryAppInstallEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_id, as: 'appId'
property :app_install_reason, as: 'appInstallReason'
property :app_install_source, as: 'appInstallSource'
property :app_install_time, as: 'appInstallTime'
property :app_type, as: 'appType'
end
end

class GoogleChromeManagementV1TelemetryAppLaunchEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_id, as: 'appId'
property :app_launch_source, as: 'appLaunchSource'
property :app_type, as: 'appType'
end
end

class GoogleChromeManagementV1TelemetryAppUninstallEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_id, as: 'appId'
property :app_type, as: 'appType'
property :app_uninstall_source, as: 'appUninstallSource'
end
end

class GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -1339,6 +1386,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleChromeManagementV1TelemetryEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_install_event, as: 'appInstallEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppInstallEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppInstallEvent::Representation

property :app_launch_event, as: 'appLaunchEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppLaunchEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppLaunchEvent::Representation

property :app_uninstall_event, as: 'appUninstallEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppUninstallEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppUninstallEvent::Representation

property :audio_severe_underrun_event, as: 'audioSevereUnderrunEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent::Representation

property :device, as: 'device', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryDeviceInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryDeviceInfo::Representation
Expand Down

0 comments on commit dfed4c4

Please sign in to comment.