@@ -34,8 +34,7 @@ func NewAIBotSummaryService(opts ...option.RequestOption) (r *AIBotSummaryServic
34
34
return
35
35
}
36
36
37
- // Percentage of Internet traffic generated by AI user agents, over a given time
38
- // period.
37
+ // Retrieves the distribution of traffic by AI user agent.
39
38
func (r * AIBotSummaryService ) UserAgent (ctx context.Context , query AIBotSummaryUserAgentParams , opts ... option.RequestOption ) (res * AIBotSummaryUserAgentResponse , err error ) {
40
39
var env AIBotSummaryUserAgentResponseEnvelope
41
40
opts = append (r .Options [:], opts ... )
@@ -181,34 +180,34 @@ func (r aiBotSummaryUserAgentResponseMetaConfidenceInfoAnnotationJSON) RawJSON()
181
180
}
182
181
183
182
type AIBotSummaryUserAgentParams struct {
184
- // Array of comma separated list of ASNs, start with `-` to exclude from results.
185
- // For example, `-174, 3356` excludes results from AS174, but includes results from
186
- // AS3356.
183
+ // Comma- separated list of Autonomous System Numbers ( ASNs). Prefix with `-` to
184
+ // exclude ASNs from results. For example, `-174, 3356` excludes results from
185
+ // AS174, but includes results from AS3356.
187
186
ASN param.Field [[]string ] `query:"asn"`
188
- // Array of comma separated list of continents (alpha-2 continent codes). Start
189
- // with `-` to exclude from results. For example, `-EU,NA` excludes results from
190
- // Europe, but includes results from North America .
187
+ // Comma- separated list of continents (alpha-2 continent codes). Prefix with `-` to
188
+ // exclude continents from results. For example, `-EU,NA` excludes results from EU,
189
+ // but includes results from NA .
191
190
Continent param.Field [[]string ] `query:"continent"`
192
191
// End of the date range (inclusive).
193
192
DateEnd param.Field [[]time.Time ] `query:"dateEnd" format:"date-time"`
194
- // For example, use `7d` and `7dControl` to compare this week with the previous
195
- // week. Use this parameter or set specific start and end dates (`dateStart` and
196
- // `dateEnd` parameters).
193
+ // Filters results by the specified date range. For example, use `7d` and
194
+ // `7dcontrol` to compare this week with the previous week. Use this parameter or
195
+ // set specific start and end dates (`dateStart` and `dateEnd` parameters).
197
196
DateRange param.Field [[]string ] `query:"dateRange"`
198
- // Array of datetimes to filter the start of a series .
197
+ // Start of the date range .
199
198
DateStart param.Field [[]time.Time ] `query:"dateStart" format:"date-time"`
200
- // Format results are returned in .
199
+ // Format in which results will be returned .
201
200
Format param.Field [AIBotSummaryUserAgentParamsFormat ] `query:"format"`
202
- // Limit the number of objects (e.g., browsers, verticals, etc.) to the top items
203
- // within the specified time range. If the limitPerGroup is set , the response will
204
- // include that number of items, with the remaining items grouped together under an
205
- // "other" category.
201
+ // Limits the number of objects per group to the top items within the specified
202
+ // time range. If there are more items than the limit , the response will include
203
+ // the count of items, with any remaining items grouped together under an "other"
204
+ // category.
206
205
LimitPerGroup param.Field [int64 ] `query:"limitPerGroup"`
207
- // Array of comma separated list of locations (alpha-2 country codes). Start with
208
- // `-` to exclude from results. For example, `-US,PT` excludes results from the US,
209
- // but includes results from PT.
206
+ // Comma- separated list of locations (alpha-2 codes). Prefix with `-` to exclude
207
+ // locations from results. For example, `-US,PT` excludes results from the US, but
208
+ // includes results from PT.
210
209
Location param.Field [[]string ] `query:"location"`
211
- // Array of names that will be used to name the series in responses .
210
+ // Array of names used to label the series in the response .
212
211
Name param.Field [[]string ] `query:"name"`
213
212
}
214
213
@@ -221,7 +220,7 @@ func (r AIBotSummaryUserAgentParams) URLQuery() (v url.Values) {
221
220
})
222
221
}
223
222
224
- // Format results are returned in .
223
+ // Format in which results will be returned .
225
224
type AIBotSummaryUserAgentParamsFormat string
226
225
227
226
const (
0 commit comments