Class ListReportingDataAnnotationsRequest
Request message for ListReportingDataAnnotation RPC.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class ListReportingDataAnnotationsRequest : IMessage<ListReportingDataAnnotationsRequest>, IEquatable<ListReportingDataAnnotationsRequest>, IDeepCloneable<ListReportingDataAnnotationsRequest>, IBufferMessage, IMessage, IPageRequest
Constructors
ListReportingDataAnnotationsRequest()
Declaration
public ListReportingDataAnnotationsRequest()
ListReportingDataAnnotationsRequest(ListReportingDataAnnotationsRequest)
Declaration
public ListReportingDataAnnotationsRequest(ListReportingDataAnnotationsRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| ListReportingDataAnnotationsRequest | other |
Properties
Filter
Optional. Filter that restricts which reporting data annotations under the parent property are listed.
Supported fields are:
- 'name'
titledescriptionannotation_dateannotation_date_rangecolor
Additionally, this API provides the following helper functions:
- annotation_duration() : the duration that this annotation marks,
durations.
expect a numeric representation of seconds followed by an
ssuffix. - is_annotation_in_range(start_date, end_date) : if the annotation is in
the range specified by the
start_dateandend_date. The dates are in ISO-8601 format, for example2031-06-28.
Supported operations:
=: equals!=: not equals<: less than>: greater than<=: less than or equals>=: greater than or equals:: has operator=~: regular expression match!~: regular expression does not matchNOT: Logical notAND: Logical andOR: Logical or
Examples:
title="Holiday Sale"description=~"[Bb]ig [Gg]ame.*[Ss]ale"is_annotation_in_range("2025-12-25", "2026-01-16") = trueannotation_duration() >= 172800s AND title:BOGO
Declaration
public string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
Declaration
public int PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Implements
PageToken
Optional. A page token, received from a previous
ListReportingDataAnnotations call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to
ListReportingDataAnnotations must match the call that provided the page
token.
Declaration
public string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Implements
Parent
Required. Resource name of the property. Format: properties/property_id Example: properties/123
Declaration
public string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentAsPropertyName
PropertyName-typed view over the Parent resource name property.
Declaration
public PropertyName ParentAsPropertyName { get; set; }
Property Value
| Type | Description |
|---|---|
| PropertyName |