google-apis-chromemanagement_v1 0.41.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +177 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +91 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +106 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ff9cc1cdcd85a722e5c48d7bf5f686fe2690a88598d1ad05e8395a480b4f2ec
|
4
|
+
data.tar.gz: 9c98aa890a05e1aebee506161eb3f089cb8daadc7bfe35e9cb31e60543b1d0e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a665f44ad3e2ae2603b2d8160b40a33978956190051f83b744676855bfffe8862b9771326b4c72defa892932a3ad47ec367b7cfd092c35affc52ac0ecc47f45c
|
7
|
+
data.tar.gz: fa082c4099714230c3151c6a51a34597b204a1409f26f8e4c8621b2bff651e3b2b9a9077486d74f75675a2535f223705490bd93c3417ec45d802b57389dbdb8f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chromemanagement_v1
|
2
2
|
|
3
|
+
### v0.43.0 (2023-09-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230830
|
6
|
+
|
7
|
+
### v0.42.0 (2023-08-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230822
|
10
|
+
|
3
11
|
### v0.41.0 (2023-06-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230620
|
@@ -1154,6 +1154,32 @@ module Google
|
|
1154
1154
|
end
|
1155
1155
|
end
|
1156
1156
|
|
1157
|
+
# Device activity report. * Granular permission needed:
|
1158
|
+
# TELEMETRY_API_DEVICE_ACTIVITY_REPORT
|
1159
|
+
class GoogleChromeManagementV1DeviceActivityReport
|
1160
|
+
include Google::Apis::Core::Hashable
|
1161
|
+
|
1162
|
+
# Output only. Device activity state.
|
1163
|
+
# Corresponds to the JSON property `deviceActivityState`
|
1164
|
+
# @return [String]
|
1165
|
+
attr_accessor :device_activity_state
|
1166
|
+
|
1167
|
+
# Output only. Timestamp of when the report was collected.
|
1168
|
+
# Corresponds to the JSON property `reportTime`
|
1169
|
+
# @return [String]
|
1170
|
+
attr_accessor :report_time
|
1171
|
+
|
1172
|
+
def initialize(**args)
|
1173
|
+
update!(**args)
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# Update properties of this object
|
1177
|
+
def update!(**args)
|
1178
|
+
@device_activity_state = args[:device_activity_state] if args.key?(:device_activity_state)
|
1179
|
+
@report_time = args[:report_time] if args.key?(:report_time)
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1157
1183
|
# Report for CountChromeDevicesPerAueDateResponse, contains the count of devices
|
1158
1184
|
# of a specific model and auto update expiration range.
|
1159
1185
|
class GoogleChromeManagementV1DeviceAueCountReport
|
@@ -1802,6 +1828,32 @@ module Google
|
|
1802
1828
|
end
|
1803
1829
|
end
|
1804
1830
|
|
1831
|
+
# Response message for listing notification configs for a customer.
|
1832
|
+
class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
1833
|
+
include Google::Apis::Core::Hashable
|
1834
|
+
|
1835
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1836
|
+
# field is omitted, there are no subsequent pages.
|
1837
|
+
# Corresponds to the JSON property `nextPageToken`
|
1838
|
+
# @return [String]
|
1839
|
+
attr_accessor :next_page_token
|
1840
|
+
|
1841
|
+
# The telemetry notification configs from the specified customer.
|
1842
|
+
# Corresponds to the JSON property `telemetryNotificationConfigs`
|
1843
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig>]
|
1844
|
+
attr_accessor :telemetry_notification_configs
|
1845
|
+
|
1846
|
+
def initialize(**args)
|
1847
|
+
update!(**args)
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
# Update properties of this object
|
1851
|
+
def update!(**args)
|
1852
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1853
|
+
@telemetry_notification_configs = args[:telemetry_notification_configs] if args.key?(:telemetry_notification_configs)
|
1854
|
+
end
|
1855
|
+
end
|
1856
|
+
|
1805
1857
|
# Response message for listing telemetry users for a customer.
|
1806
1858
|
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
1807
1859
|
include Google::Apis::Core::Hashable
|
@@ -2648,6 +2700,25 @@ module Google
|
|
2648
2700
|
end
|
2649
2701
|
end
|
2650
2702
|
|
2703
|
+
# Configures how the telemetry events should be filtered.
|
2704
|
+
class GoogleChromeManagementV1TelemetryEventNotificationFilter
|
2705
|
+
include Google::Apis::Core::Hashable
|
2706
|
+
|
2707
|
+
# Only sends the notifications for events of these types. Must not be empty.
|
2708
|
+
# Corresponds to the JSON property `eventTypes`
|
2709
|
+
# @return [Array<String>]
|
2710
|
+
attr_accessor :event_types
|
2711
|
+
|
2712
|
+
def initialize(**args)
|
2713
|
+
update!(**args)
|
2714
|
+
end
|
2715
|
+
|
2716
|
+
# Update properties of this object
|
2717
|
+
def update!(**args)
|
2718
|
+
@event_types = args[:event_types] if args.key?(:event_types)
|
2719
|
+
end
|
2720
|
+
end
|
2721
|
+
|
2651
2722
|
# Https latency routine is run periodically and `
|
2652
2723
|
# TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was
|
2653
2724
|
# detected or if the device has recovered from a latency problem. * Granular
|
@@ -2677,6 +2748,89 @@ module Google
|
|
2677
2748
|
end
|
2678
2749
|
end
|
2679
2750
|
|
2751
|
+
# Configuration to receive notifications of telemetry data.
|
2752
|
+
class GoogleChromeManagementV1TelemetryNotificationConfig
|
2753
|
+
include Google::Apis::Core::Hashable
|
2754
|
+
|
2755
|
+
# Output only. Google Workspace customer that owns the resource.
|
2756
|
+
# Corresponds to the JSON property `customer`
|
2757
|
+
# @return [String]
|
2758
|
+
attr_accessor :customer
|
2759
|
+
|
2760
|
+
# Configures how the telemetry data should be filtered.
|
2761
|
+
# Corresponds to the JSON property `filter`
|
2762
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter]
|
2763
|
+
attr_accessor :filter
|
2764
|
+
|
2765
|
+
# The pubsub topic to which notifications are published to.
|
2766
|
+
# Corresponds to the JSON property `googleCloudPubsubTopic`
|
2767
|
+
# @return [String]
|
2768
|
+
attr_accessor :google_cloud_pubsub_topic
|
2769
|
+
|
2770
|
+
# Output only. Resource name of the notification configuration.
|
2771
|
+
# Corresponds to the JSON property `name`
|
2772
|
+
# @return [String]
|
2773
|
+
attr_accessor :name
|
2774
|
+
|
2775
|
+
def initialize(**args)
|
2776
|
+
update!(**args)
|
2777
|
+
end
|
2778
|
+
|
2779
|
+
# Update properties of this object
|
2780
|
+
def update!(**args)
|
2781
|
+
@customer = args[:customer] if args.key?(:customer)
|
2782
|
+
@filter = args[:filter] if args.key?(:filter)
|
2783
|
+
@google_cloud_pubsub_topic = args[:google_cloud_pubsub_topic] if args.key?(:google_cloud_pubsub_topic)
|
2784
|
+
@name = args[:name] if args.key?(:name)
|
2785
|
+
end
|
2786
|
+
end
|
2787
|
+
|
2788
|
+
# Configures how the telemetry data should be filtered.
|
2789
|
+
class GoogleChromeManagementV1TelemetryNotificationFilter
|
2790
|
+
include Google::Apis::Core::Hashable
|
2791
|
+
|
2792
|
+
# If set, only sends notifications for telemetry data coming from this device.
|
2793
|
+
# Corresponds to the JSON property `deviceId`
|
2794
|
+
# @return [String]
|
2795
|
+
attr_accessor :device_id
|
2796
|
+
|
2797
|
+
# If set, only sends notifications for telemetry data coming from devices in
|
2798
|
+
# this org unit.
|
2799
|
+
# Corresponds to the JSON property `deviceOrgUnitId`
|
2800
|
+
# @return [String]
|
2801
|
+
attr_accessor :device_org_unit_id
|
2802
|
+
|
2803
|
+
# Configures how the telemetry events should be filtered.
|
2804
|
+
# Corresponds to the JSON property `telemetryEventNotificationFilter`
|
2805
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter]
|
2806
|
+
attr_accessor :telemetry_event_notification_filter
|
2807
|
+
|
2808
|
+
# If set, only sends notifications for telemetry data coming from devices owned
|
2809
|
+
# by this user.
|
2810
|
+
# Corresponds to the JSON property `userEmail`
|
2811
|
+
# @return [String]
|
2812
|
+
attr_accessor :user_email
|
2813
|
+
|
2814
|
+
# If set, only sends notifications for telemetry data coming from devices owned
|
2815
|
+
# by users in this org unit.
|
2816
|
+
# Corresponds to the JSON property `userOrgUnitId`
|
2817
|
+
# @return [String]
|
2818
|
+
attr_accessor :user_org_unit_id
|
2819
|
+
|
2820
|
+
def initialize(**args)
|
2821
|
+
update!(**args)
|
2822
|
+
end
|
2823
|
+
|
2824
|
+
# Update properties of this object
|
2825
|
+
def update!(**args)
|
2826
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
2827
|
+
@device_org_unit_id = args[:device_org_unit_id] if args.key?(:device_org_unit_id)
|
2828
|
+
@telemetry_event_notification_filter = args[:telemetry_event_notification_filter] if args.key?(:telemetry_event_notification_filter)
|
2829
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
2830
|
+
@user_org_unit_id = args[:user_org_unit_id] if args.key?(:user_org_unit_id)
|
2831
|
+
end
|
2832
|
+
end
|
2833
|
+
|
2680
2834
|
# `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or
|
2681
2835
|
# removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
|
2682
2836
|
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
|
@@ -2758,6 +2912,12 @@ module Google
|
|
2758
2912
|
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport>]
|
2759
2913
|
attr_accessor :audio_status_report
|
2760
2914
|
|
2915
|
+
# Output only. Device activity reports collected periodically sorted in a
|
2916
|
+
# decreasing order of report_time.
|
2917
|
+
# Corresponds to the JSON property `deviceActivityReport`
|
2918
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceActivityReport>]
|
2919
|
+
attr_accessor :device_activity_report
|
2920
|
+
|
2761
2921
|
# The unique Directory API ID of the device. This value is the same as the Admin
|
2762
2922
|
# Console's Directory API ID in the ChromeOS Devices tab.
|
2763
2923
|
# Corresponds to the JSON property `deviceId`
|
@@ -2777,6 +2937,7 @@ module Google
|
|
2777
2937
|
# Update properties of this object
|
2778
2938
|
def update!(**args)
|
2779
2939
|
@audio_status_report = args[:audio_status_report] if args.key?(:audio_status_report)
|
2940
|
+
@device_activity_report = args[:device_activity_report] if args.key?(:device_activity_report)
|
2780
2941
|
@device_id = args[:device_id] if args.key?(:device_id)
|
2781
2942
|
@peripherals_report = args[:peripherals_report] if args.key?(:peripherals_report)
|
2782
2943
|
end
|
@@ -2997,6 +3158,22 @@ module Google
|
|
2997
3158
|
end
|
2998
3159
|
end
|
2999
3160
|
|
3161
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
3162
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
3163
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
3164
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
3165
|
+
class GoogleProtobufEmpty
|
3166
|
+
include Google::Apis::Core::Hashable
|
3167
|
+
|
3168
|
+
def initialize(**args)
|
3169
|
+
update!(**args)
|
3170
|
+
end
|
3171
|
+
|
3172
|
+
# Update properties of this object
|
3173
|
+
def update!(**args)
|
3174
|
+
end
|
3175
|
+
end
|
3176
|
+
|
3000
3177
|
# The `Status` type defines a logical error model that is suitable for different
|
3001
3178
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3002
3179
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChromemanagementV1
|
18
18
|
# Version of the google-apis-chromemanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230830"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class GoogleChromeManagementV1DeviceActivityReport
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class GoogleChromeManagementV1DeviceAueCountReport
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -256,6 +262,12 @@ module Google
|
|
256
262
|
include Google::Apis::Core::JsonObjectSupport
|
257
263
|
end
|
258
264
|
|
265
|
+
class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
259
271
|
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
260
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
273
|
|
@@ -352,12 +364,30 @@ module Google
|
|
352
364
|
include Google::Apis::Core::JsonObjectSupport
|
353
365
|
end
|
354
366
|
|
367
|
+
class GoogleChromeManagementV1TelemetryEventNotificationFilter
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
355
373
|
class GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent
|
356
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
375
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
359
377
|
end
|
360
378
|
|
379
|
+
class GoogleChromeManagementV1TelemetryNotificationConfig
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class GoogleChromeManagementV1TelemetryNotificationFilter
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
361
391
|
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
|
362
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
393
|
|
@@ -412,6 +442,12 @@ module Google
|
|
412
442
|
include Google::Apis::Core::JsonObjectSupport
|
413
443
|
end
|
414
444
|
|
445
|
+
class GoogleProtobufEmpty
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
415
451
|
class GoogleRpcStatus
|
416
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
453
|
|
@@ -701,6 +737,14 @@ module Google
|
|
701
737
|
end
|
702
738
|
end
|
703
739
|
|
740
|
+
class GoogleChromeManagementV1DeviceActivityReport
|
741
|
+
# @private
|
742
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
743
|
+
property :device_activity_state, as: 'deviceActivityState'
|
744
|
+
property :report_time, as: 'reportTime'
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
704
748
|
class GoogleChromeManagementV1DeviceAueCountReport
|
705
749
|
# @private
|
706
750
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -865,6 +909,15 @@ module Google
|
|
865
909
|
end
|
866
910
|
end
|
867
911
|
|
912
|
+
class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
913
|
+
# @private
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
915
|
+
property :next_page_token, as: 'nextPageToken'
|
916
|
+
collection :telemetry_notification_configs, as: 'telemetryNotificationConfigs', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig::Representation
|
917
|
+
|
918
|
+
end
|
919
|
+
end
|
920
|
+
|
868
921
|
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
869
922
|
# @private
|
870
923
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1076,6 +1129,13 @@ module Google
|
|
1076
1129
|
end
|
1077
1130
|
end
|
1078
1131
|
|
1132
|
+
class GoogleChromeManagementV1TelemetryEventNotificationFilter
|
1133
|
+
# @private
|
1134
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1135
|
+
collection :event_types, as: 'eventTypes'
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1079
1139
|
class GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent
|
1080
1140
|
# @private
|
1081
1141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1085,6 +1145,29 @@ module Google
|
|
1085
1145
|
end
|
1086
1146
|
end
|
1087
1147
|
|
1148
|
+
class GoogleChromeManagementV1TelemetryNotificationConfig
|
1149
|
+
# @private
|
1150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1151
|
+
property :customer, as: 'customer'
|
1152
|
+
property :filter, as: 'filter', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter::Representation
|
1153
|
+
|
1154
|
+
property :google_cloud_pubsub_topic, as: 'googleCloudPubsubTopic'
|
1155
|
+
property :name, as: 'name'
|
1156
|
+
end
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
class GoogleChromeManagementV1TelemetryNotificationFilter
|
1160
|
+
# @private
|
1161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1162
|
+
property :device_id, as: 'deviceId'
|
1163
|
+
property :device_org_unit_id, as: 'deviceOrgUnitId'
|
1164
|
+
property :telemetry_event_notification_filter, as: 'telemetryEventNotificationFilter', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter::Representation
|
1165
|
+
|
1166
|
+
property :user_email, as: 'userEmail'
|
1167
|
+
property :user_org_unit_id, as: 'userOrgUnitId'
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
|
1088
1171
|
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
|
1089
1172
|
# @private
|
1090
1173
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1111,6 +1194,8 @@ module Google
|
|
1111
1194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1112
1195
|
collection :audio_status_report, as: 'audioStatusReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport::Representation
|
1113
1196
|
|
1197
|
+
collection :device_activity_report, as: 'deviceActivityReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceActivityReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceActivityReport::Representation
|
1198
|
+
|
1114
1199
|
property :device_id, as: 'deviceId'
|
1115
1200
|
collection :peripherals_report, as: 'peripheralsReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport::Representation
|
1116
1201
|
|
@@ -1174,6 +1259,12 @@ module Google
|
|
1174
1259
|
end
|
1175
1260
|
end
|
1176
1261
|
|
1262
|
+
class GoogleProtobufEmpty
|
1263
|
+
# @private
|
1264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
|
1177
1268
|
class GoogleRpcStatus
|
1178
1269
|
# @private
|
1179
1270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -647,6 +647,112 @@ module Google
|
|
647
647
|
execute_or_queue_command(command, &block)
|
648
648
|
end
|
649
649
|
|
650
|
+
# Create a telemetry notification config.
|
651
|
+
# @param [String] parent
|
652
|
+
# Required. The parent resource where this notification config will be created.
|
653
|
+
# Format: `customers/`customer``
|
654
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig] google_chrome_management_v1_telemetry_notification_config_object
|
655
|
+
# @param [String] fields
|
656
|
+
# Selector specifying which fields to include in a partial response.
|
657
|
+
# @param [String] quota_user
|
658
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
659
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
660
|
+
# @param [Google::Apis::RequestOptions] options
|
661
|
+
# Request-specific options
|
662
|
+
#
|
663
|
+
# @yield [result, err] Result & error if block supplied
|
664
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig] parsed result object
|
665
|
+
# @yieldparam err [StandardError] error object if request failed
|
666
|
+
#
|
667
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig]
|
668
|
+
#
|
669
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
670
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
671
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
672
|
+
def create_customer_telemetry_notification_config(parent, google_chrome_management_v1_telemetry_notification_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
673
|
+
command = make_simple_command(:post, 'v1/{+parent}/telemetry/notificationConfigs', options)
|
674
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig::Representation
|
675
|
+
command.request_object = google_chrome_management_v1_telemetry_notification_config_object
|
676
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig::Representation
|
677
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig
|
678
|
+
command.params['parent'] = parent unless parent.nil?
|
679
|
+
command.query['fields'] = fields unless fields.nil?
|
680
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
681
|
+
execute_or_queue_command(command, &block)
|
682
|
+
end
|
683
|
+
|
684
|
+
# Delete a telemetry notification config.
|
685
|
+
# @param [String] name
|
686
|
+
# Required. The name of the notification config to delete. Format: `customers/`
|
687
|
+
# customer`/telemetry/notificationConfigs/`notification_config``
|
688
|
+
# @param [String] fields
|
689
|
+
# Selector specifying which fields to include in a partial response.
|
690
|
+
# @param [String] quota_user
|
691
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
692
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
693
|
+
# @param [Google::Apis::RequestOptions] options
|
694
|
+
# Request-specific options
|
695
|
+
#
|
696
|
+
# @yield [result, err] Result & error if block supplied
|
697
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty] parsed result object
|
698
|
+
# @yieldparam err [StandardError] error object if request failed
|
699
|
+
#
|
700
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty]
|
701
|
+
#
|
702
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
703
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
704
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
705
|
+
def delete_customer_telemetry_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
706
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
707
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation
|
708
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty
|
709
|
+
command.params['name'] = name unless name.nil?
|
710
|
+
command.query['fields'] = fields unless fields.nil?
|
711
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
712
|
+
execute_or_queue_command(command, &block)
|
713
|
+
end
|
714
|
+
|
715
|
+
# List all telemetry notification configs.
|
716
|
+
# @param [String] parent
|
717
|
+
# Required. The parent which owns the notification configs.
|
718
|
+
# @param [Fixnum] page_size
|
719
|
+
# The maximum number of notification configs to return. The service may return
|
720
|
+
# fewer than this value. If unspecified, at most 100 notification configs will
|
721
|
+
# be returned. The maximum value is 100; values above 100 will be coerced to 100.
|
722
|
+
# @param [String] page_token
|
723
|
+
# A page token, received from a previous `ListTelemetryNotificationConfigs` call.
|
724
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
725
|
+
# parameters provided to `ListTelemetryNotificationConfigs` must match the call
|
726
|
+
# that provided the page token.
|
727
|
+
# @param [String] fields
|
728
|
+
# Selector specifying which fields to include in a partial response.
|
729
|
+
# @param [String] quota_user
|
730
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
731
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
732
|
+
# @param [Google::Apis::RequestOptions] options
|
733
|
+
# Request-specific options
|
734
|
+
#
|
735
|
+
# @yield [result, err] Result & error if block supplied
|
736
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse] parsed result object
|
737
|
+
# @yieldparam err [StandardError] error object if request failed
|
738
|
+
#
|
739
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse]
|
740
|
+
#
|
741
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
742
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
743
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
744
|
+
def list_customer_telemetry_notification_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
745
|
+
command = make_simple_command(:get, 'v1/{+parent}/telemetry/notificationConfigs', options)
|
746
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse::Representation
|
747
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
748
|
+
command.params['parent'] = parent unless parent.nil?
|
749
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
750
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
751
|
+
command.query['fields'] = fields unless fields.nil?
|
752
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
753
|
+
execute_or_queue_command(command, &block)
|
754
|
+
end
|
755
|
+
|
650
756
|
# Get telemetry user.
|
651
757
|
# @param [String] name
|
652
758
|
# Required. Name of the `TelemetryUser` to return.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chromemanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.43.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Chrome Management API V1
|