Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
Configures how the telemetry data should be filtered.
Instance Attribute Summary collapse
-
#device_id ⇒ String
If set, only sends notifications for telemetry data coming from this device.
-
#device_org_unit_id ⇒ String
If set, only sends notifications for telemetry data coming from devices in this org unit.
-
#telemetry_event_notification_filter ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter
Configures how the telemetry events should be filtered.
-
#user_email ⇒ String
If set, only sends notifications for telemetry data coming from devices owned by this user.
-
#user_org_unit_id ⇒ String
If set, only sends notifications for telemetry data coming from devices owned by users in this org unit.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryNotificationFilter
constructor
A new instance of GoogleChromeManagementV1TelemetryNotificationFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryNotificationFilter
Returns a new instance of GoogleChromeManagementV1TelemetryNotificationFilter.
3920 3921 3922 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ String
If set, only sends notifications for telemetry data coming from this device.
Corresponds to the JSON property deviceId
3895 3896 3897 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3895 def device_id @device_id end |
#device_org_unit_id ⇒ String
If set, only sends notifications for telemetry data coming from devices in
this org unit.
Corresponds to the JSON property deviceOrgUnitId
3901 3902 3903 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3901 def device_org_unit_id @device_org_unit_id end |
#telemetry_event_notification_filter ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter
Configures how the telemetry events should be filtered.
Corresponds to the JSON property telemetryEventNotificationFilter
3906 3907 3908 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3906 def telemetry_event_notification_filter @telemetry_event_notification_filter end |
#user_email ⇒ String
If set, only sends notifications for telemetry data coming from devices owned
by this user.
Corresponds to the JSON property userEmail
3912 3913 3914 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3912 def user_email @user_email end |
#user_org_unit_id ⇒ String
If set, only sends notifications for telemetry data coming from devices owned
by users in this org unit.
Corresponds to the JSON property userOrgUnitId
3918 3919 3920 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3918 def user_org_unit_id @user_org_unit_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3925 3926 3927 3928 3929 3930 3931 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3925 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @device_org_unit_id = args[:device_org_unit_id] if args.key?(:device_org_unit_id) @telemetry_event_notification_filter = args[:telemetry_event_notification_filter] if args.key?(:telemetry_event_notification_filter) @user_email = args[:user_email] if args.key?(:user_email) @user_org_unit_id = args[:user_org_unit_id] if args.key?(:user_org_unit_id) end |