Skip to content

Commit 60f4510

Browse files
feat: Automated regeneration of chromemanagement v1 client (#13173)
Auto-created at 2023-01-04 17:30:50 +0000 using the toys pull request generator.
1 parent 8c8c80d commit 60f4510

File tree

5 files changed

+131
-29
lines changed

5 files changed

+131
-29
lines changed

api_names_out.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29935,6 +29935,7 @@
2993529935
"/chromemanagement:v1/GoogleChromeManagementV1ChromeAppInfo/siteAccess": site_access
2993629936
"/chromemanagement:v1/GoogleChromeManagementV1ChromeAppInfo/siteAccess/site_access": site_access
2993729937
"/chromemanagement:v1/GoogleChromeManagementV1ChromeAppInfo/supportEnabled": support_enabled
29938+
"/chromemanagement:v1/GoogleChromeManagementV1ChromeAppInfo/type": type
2993829939
"/chromemanagement:v1/GoogleChromeManagementV1ChromeAppPermission": google_chrome_management_v1_chrome_app_permission
2993929940
"/chromemanagement:v1/GoogleChromeManagementV1ChromeAppPermission/accessUserData": access_user_data
2994029941
"/chromemanagement:v1/GoogleChromeManagementV1ChromeAppPermission/documentationUri": documentation_uri
@@ -30175,13 +30176,17 @@
3017530176
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/name": name
3017630177
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/networkConnectionStateChangeEvent": network_connection_state_change_event
3017730178
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/reportTime": report_time
30179+
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/usbPeripheralsEvent": usb_peripherals_event
3017830180
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryEvent/user": user
3017930181
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent": google_chrome_management_v1_telemetry_https_latency_change_event
3018030182
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent/httpsLatencyRoutineData": https_latency_routine_data
3018130183
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent/httpsLatencyState": https_latency_state
3018230184
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent": google_chrome_management_v1_telemetry_network_connection_state_change_event
3018330185
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent/connectionState": connection_state
3018430186
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent/guid": guid
30187+
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryUsbPeripheralsEvent": google_chrome_management_v1_telemetry_usb_peripherals_event
30188+
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryUsbPeripheralsEvent/usbPeripheralReport": usb_peripheral_report
30189+
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryUsbPeripheralsEvent/usbPeripheralReport/usb_peripheral_report": usb_peripheral_report
3018530190
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryUserInfo": google_chrome_management_v1_telemetry_user_info
3018630191
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryUserInfo/email": email
3018730192
"/chromemanagement:v1/GoogleChromeManagementV1TelemetryUserInfo/orgUnitId": org_unit_id
@@ -30192,6 +30197,16 @@
3019230197
"/chromemanagement:v1/GoogleChromeManagementV1TotalMemoryEncryptionInfo/encryptionState": encryption_state
3019330198
"/chromemanagement:v1/GoogleChromeManagementV1TotalMemoryEncryptionInfo/keyLength": key_length
3019430199
"/chromemanagement:v1/GoogleChromeManagementV1TotalMemoryEncryptionInfo/maxKeys": max_keys
30200+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport": google_chrome_management_v1_usb_peripheral_report
30201+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/categories": categories
30202+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/categories/category": category
30203+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/classId": class_id
30204+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/firmwareVersion": firmware_version
30205+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/name": name
30206+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/pid": pid
30207+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/subclassId": subclass_id
30208+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/vendor": vendor
30209+
"/chromemanagement:v1/GoogleChromeManagementV1UsbPeripheralReport/vid": vid
3019530210
"/chromemanagement:v1/GoogleRpcStatus": google_rpc_status
3019630211
"/chromemanagement:v1/GoogleRpcStatus/code": code
3019730212
"/chromemanagement:v1/GoogleRpcStatus/details": details

generated/google-apis-chromemanagement_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-chromemanagement_v1
22

3+
### v0.32.0 (2023-01-04)
4+
5+
* Regenerated from discovery document revision 20230102
6+
37
### v0.31.0 (2022-11-30)
48

59
* Regenerated from discovery document revision 20221126

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

Lines changed: 83 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,11 @@ class GoogleChromeManagementV1ChromeAppInfo
622622
attr_accessor :support_enabled
623623
alias_method :support_enabled?, :support_enabled
624624

625+
# Output only. Types of an item in the Chrome Web Store
626+
# Corresponds to the JSON property `type`
627+
# @return [String]
628+
attr_accessor :type
629+
625630
def initialize(**args)
626631
update!(**args)
627632
end
@@ -638,6 +643,7 @@ def update!(**args)
638643
@permissions = args[:permissions] if args.key?(:permissions)
639644
@site_access = args[:site_access] if args.key?(:site_access)
640645
@support_enabled = args[:support_enabled] if args.key?(:support_enabled)
646+
@type = args[:type] if args.key?(:type)
641647
end
642648
end
643649

@@ -2335,17 +2341,17 @@ class GoogleChromeManagementV1TelemetryEvent
23352341
# @return [String]
23362342
attr_accessor :name
23372343

2338-
# `TelemetryNetworkConnectionStateChangeEvent` is triggered on network
2339-
# connection state changes.
2340-
# Corresponds to the JSON property `networkConnectionStateChangeEvent`
2341-
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent]
2342-
attr_accessor :network_connection_state_change_event
2343-
23442344
# Timestamp that represents when the event was reported.
23452345
# Corresponds to the JSON property `reportTime`
23462346
# @return [String]
23472347
attr_accessor :report_time
23482348

2349+
# `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or
2350+
# removed.
2351+
# Corresponds to the JSON property `usbPeripheralsEvent`
2352+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent]
2353+
attr_accessor :usb_peripherals_event
2354+
23492355
# Information about a user associated with telemetry data.
23502356
# Corresponds to the JSON property `user`
23512357
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo]
@@ -2362,8 +2368,8 @@ def update!(**args)
23622368
@event_type = args[:event_type] if args.key?(:event_type)
23632369
@https_latency_change_event = args[:https_latency_change_event] if args.key?(:https_latency_change_event)
23642370
@name = args[:name] if args.key?(:name)
2365-
@network_connection_state_change_event = args[:network_connection_state_change_event] if args.key?(:network_connection_state_change_event)
23662371
@report_time = args[:report_time] if args.key?(:report_time)
2372+
@usb_peripherals_event = args[:usb_peripherals_event] if args.key?(:usb_peripherals_event)
23672373
@user = args[:user] if args.key?(:user)
23682374
end
23692375
end
@@ -2396,29 +2402,23 @@ def update!(**args)
23962402
end
23972403
end
23982404

2399-
# `TelemetryNetworkConnectionStateChangeEvent` is triggered on network
2400-
# connection state changes.
2401-
class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
2405+
# `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or
2406+
# removed.
2407+
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
24022408
include Google::Apis::Core::Hashable
24032409

2404-
# Current connection state of the network.
2405-
# Corresponds to the JSON property `connectionState`
2406-
# @return [String]
2407-
attr_accessor :connection_state
2408-
2409-
# Unique identifier of the network.
2410-
# Corresponds to the JSON property `guid`
2411-
# @return [String]
2412-
attr_accessor :guid
2410+
# List of usb devices that were either added or removed.
2411+
# Corresponds to the JSON property `usbPeripheralReport`
2412+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport>]
2413+
attr_accessor :usb_peripheral_report
24132414

24142415
def initialize(**args)
24152416
update!(**args)
24162417
end
24172418

24182419
# Update properties of this object
24192420
def update!(**args)
2420-
@connection_state = args[:connection_state] if args.key?(:connection_state)
2421-
@guid = args[:guid] if args.key?(:guid)
2421+
@usb_peripheral_report = args[:usb_peripheral_report] if args.key?(:usb_peripheral_report)
24222422
end
24232423
end
24242424

@@ -2517,6 +2517,68 @@ def update!(**args)
25172517
end
25182518
end
25192519

2520+
# USB connected peripheral report.
2521+
class GoogleChromeManagementV1UsbPeripheralReport
2522+
include Google::Apis::Core::Hashable
2523+
2524+
# Output only. Categories the device belongs to https://www.usb.org/defined-
2525+
# class-codes
2526+
# Corresponds to the JSON property `categories`
2527+
# @return [Array<String>]
2528+
attr_accessor :categories
2529+
2530+
# Output only. Class ID https://www.usb.org/defined-class-codes
2531+
# Corresponds to the JSON property `classId`
2532+
# @return [Fixnum]
2533+
attr_accessor :class_id
2534+
2535+
# Output only. Firmware version
2536+
# Corresponds to the JSON property `firmwareVersion`
2537+
# @return [String]
2538+
attr_accessor :firmware_version
2539+
2540+
# Output only. Device name, model name, or product name
2541+
# Corresponds to the JSON property `name`
2542+
# @return [String]
2543+
attr_accessor :name
2544+
2545+
# Output only. Product ID
2546+
# Corresponds to the JSON property `pid`
2547+
# @return [Fixnum]
2548+
attr_accessor :pid
2549+
2550+
# Output only. Subclass ID https://www.usb.org/defined-class-codes
2551+
# Corresponds to the JSON property `subclassId`
2552+
# @return [Fixnum]
2553+
attr_accessor :subclass_id
2554+
2555+
# Output only. Vendor name
2556+
# Corresponds to the JSON property `vendor`
2557+
# @return [String]
2558+
attr_accessor :vendor
2559+
2560+
# Output only. Vendor ID
2561+
# Corresponds to the JSON property `vid`
2562+
# @return [Fixnum]
2563+
attr_accessor :vid
2564+
2565+
def initialize(**args)
2566+
update!(**args)
2567+
end
2568+
2569+
# Update properties of this object
2570+
def update!(**args)
2571+
@categories = args[:categories] if args.key?(:categories)
2572+
@class_id = args[:class_id] if args.key?(:class_id)
2573+
@firmware_version = args[:firmware_version] if args.key?(:firmware_version)
2574+
@name = args[:name] if args.key?(:name)
2575+
@pid = args[:pid] if args.key?(:pid)
2576+
@subclass_id = args[:subclass_id] if args.key?(:subclass_id)
2577+
@vendor = args[:vendor] if args.key?(:vendor)
2578+
@vid = args[:vid] if args.key?(:vid)
2579+
end
2580+
end
2581+
25202582
# The `Status` type defines a logical error model that is suitable for different
25212583
# programming environments, including REST APIs and RPC APIs. It is used by [
25222584
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of

generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_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 ChromemanagementV1
1818
# Version of the google-apis-chromemanagement_v1 gem
19-
GEM_VERSION = "0.31.0"
19+
GEM_VERSION = "0.32.0"
2020

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

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

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

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
322322
include Google::Apis::Core::JsonObjectSupport
323323
end
324324

325-
class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
325+
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
326326
class Representation < Google::Apis::Core::JsonRepresentation; end
327327

328328
include Google::Apis::Core::JsonObjectSupport
@@ -346,6 +346,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
346346
include Google::Apis::Core::JsonObjectSupport
347347
end
348348

349+
class GoogleChromeManagementV1UsbPeripheralReport
350+
class Representation < Google::Apis::Core::JsonRepresentation; end
351+
352+
include Google::Apis::Core::JsonObjectSupport
353+
end
354+
349355
class GoogleRpcStatus
350356
class Representation < Google::Apis::Core::JsonRepresentation; end
351357

@@ -492,6 +498,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
492498
collection :site_access, as: 'siteAccess', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess::Representation
493499

494500
property :support_enabled, as: 'supportEnabled'
501+
property :type, as: 'type'
495502
end
496503
end
497504

@@ -932,9 +939,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
932939
property :https_latency_change_event, as: 'httpsLatencyChangeEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent::Representation
933940

934941
property :name, as: 'name'
935-
property :network_connection_state_change_event, as: 'networkConnectionStateChangeEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent::Representation
936-
937942
property :report_time, as: 'reportTime'
943+
property :usb_peripherals_event, as: 'usbPeripheralsEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent::Representation
944+
938945
property :user, as: 'user', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo::Representation
939946

940947
end
@@ -949,11 +956,11 @@ class Representation < Google::Apis::Core::JsonRepresentation
949956
end
950957
end
951958

952-
class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
959+
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
953960
# @private
954961
class Representation < Google::Apis::Core::JsonRepresentation
955-
property :connection_state, as: 'connectionState'
956-
property :guid, as: 'guid'
962+
collection :usb_peripheral_report, as: 'usbPeripheralReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport::Representation
963+
957964
end
958965
end
959966

@@ -982,6 +989,20 @@ class Representation < Google::Apis::Core::JsonRepresentation
982989
end
983990
end
984991

992+
class GoogleChromeManagementV1UsbPeripheralReport
993+
# @private
994+
class Representation < Google::Apis::Core::JsonRepresentation
995+
collection :categories, as: 'categories'
996+
property :class_id, as: 'classId'
997+
property :firmware_version, as: 'firmwareVersion'
998+
property :name, as: 'name'
999+
property :pid, as: 'pid'
1000+
property :subclass_id, as: 'subclassId'
1001+
property :vendor, as: 'vendor'
1002+
property :vid, as: 'vid'
1003+
end
1004+
end
1005+
9851006
class GoogleRpcStatus
9861007
# @private
9871008
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)