# KlaviyoAPI::MetricCreateQueryResourceObjectAttributes ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **name** | **String** | Name of the event. Must be less than 128 characters. | | | **service** | **String** | This is for advanced usage. For api requests, this should use the default, which is set to api. | [optional] | ## Example ```ruby require 'klaviyo-api-sdk' instance = KlaviyoAPI::MetricCreateQueryResourceObjectAttributes.new( name: Viewed Product, service: null ) ```