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.



3407
3408
3409
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3407

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>)


3405
3406
3407
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3405

def event_types
  @event_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3412
3413
3414
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3412

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