Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter

Inherits:
Object
  • Object
show all
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 events should be filtered.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryEventNotificationFilter

Returns a new instance of GoogleChromeManagementV1TelemetryEventNotificationFilter.



3503
3504
3505
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3503

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

Instance Attribute Details

#event_typesArray<String>

Only sends the notifications for events of these types. Must not be empty. Corresponds to the JSON property eventTypes

Returns:

  • (Array<String>)


3501
3502
3503
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3501

def event_types
  @event_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3508
3509
3510
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3508

def update!(**args)
  @event_types = args[:event_types] if args.key?(:event_types)
end