Class: Google::Analytics::Admin::V1alpha::ReportingDataAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/admin/v1alpha/resources.rb

Overview

A Reporting Data Annotation is a comment connected to certain dates for reporting data.

Defined Under Namespace

Modules: Color Classes: DateRange

Instance Attribute Summary collapse

Instance Attribute Details

#annotation_date::Google::Type::Date

Returns If set, the Reporting Data Annotation is for a specific date represented by this field. The date must be a valid date with year, month and day set. The date may be in the past, present, or future.

Note: The following fields are mutually exclusive: annotation_date, annotation_date_range. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Type::Date)

    If set, the Reporting Data Annotation is for a specific date represented by this field. The date must be a valid date with year, month and day set. The date may be in the past, present, or future.

    Note: The following fields are mutually exclusive: annotation_date, annotation_date_range. If a field in that set is populated, all other fields in the set will automatically be cleared.



1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1698

class ReportingDataAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents a Reporting Data Annotation's date range, both start and end
  # dates are inclusive. Time zones are based on the parent property.
  # @!attribute [rw] start_date
  #   @return [::Google::Type::Date]
  #     Required. The start date for this range. Must be a valid date with
  #     year, month, and day set. The date may be in the past, present, or
  #     future.
  # @!attribute [rw] end_date
  #   @return [::Google::Type::Date]
  #     Required. The end date for this range. Must be a valid date with
  #     year, month, and day set. This date must be greater than or equal to
  #     the start date.
  class DateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Colors that may be used for this Reporting Data Annotation
  module Color
    # Color unknown or not specified.
    COLOR_UNSPECIFIED = 0

    # Purple color.
    PURPLE = 1

    # Brown color.
    BROWN = 2

    # Blue color.
    BLUE = 3

    # Green color.
    GREEN = 4

    # Red color.
    RED = 5

    # Cyan color.
    CYAN = 6

    # Orange color. (Only used for system-generated annotations)
    ORANGE = 7
  end
end

#annotation_date_range::Google::Analytics::Admin::V1alpha::ReportingDataAnnotation::DateRange

Returns If set, the Reporting Data Annotation is for a range of dates represented by this field.

Note: The following fields are mutually exclusive: annotation_date_range, annotation_date. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Analytics::Admin::V1alpha::ReportingDataAnnotation::DateRange)

    If set, the Reporting Data Annotation is for a range of dates represented by this field.

    Note: The following fields are mutually exclusive: annotation_date_range, annotation_date. If a field in that set is populated, all other fields in the set will automatically be cleared.



1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1698

class ReportingDataAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents a Reporting Data Annotation's date range, both start and end
  # dates are inclusive. Time zones are based on the parent property.
  # @!attribute [rw] start_date
  #   @return [::Google::Type::Date]
  #     Required. The start date for this range. Must be a valid date with
  #     year, month, and day set. The date may be in the past, present, or
  #     future.
  # @!attribute [rw] end_date
  #   @return [::Google::Type::Date]
  #     Required. The end date for this range. Must be a valid date with
  #     year, month, and day set. This date must be greater than or equal to
  #     the start date.
  class DateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Colors that may be used for this Reporting Data Annotation
  module Color
    # Color unknown or not specified.
    COLOR_UNSPECIFIED = 0

    # Purple color.
    PURPLE = 1

    # Brown color.
    BROWN = 2

    # Blue color.
    BLUE = 3

    # Green color.
    GREEN = 4

    # Red color.
    RED = 5

    # Cyan color.
    CYAN = 6

    # Orange color. (Only used for system-generated annotations)
    ORANGE = 7
  end
end

#color::Google::Analytics::Admin::V1alpha::ReportingDataAnnotation::Color

Returns Required. The color used for display of this Reporting Data Annotation.

Returns:



1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1698

class ReportingDataAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents a Reporting Data Annotation's date range, both start and end
  # dates are inclusive. Time zones are based on the parent property.
  # @!attribute [rw] start_date
  #   @return [::Google::Type::Date]
  #     Required. The start date for this range. Must be a valid date with
  #     year, month, and day set. The date may be in the past, present, or
  #     future.
  # @!attribute [rw] end_date
  #   @return [::Google::Type::Date]
  #     Required. The end date for this range. Must be a valid date with
  #     year, month, and day set. This date must be greater than or equal to
  #     the start date.
  class DateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Colors that may be used for this Reporting Data Annotation
  module Color
    # Color unknown or not specified.
    COLOR_UNSPECIFIED = 0

    # Purple color.
    PURPLE = 1

    # Brown color.
    BROWN = 2

    # Blue color.
    BLUE = 3

    # Green color.
    GREEN = 4

    # Red color.
    RED = 5

    # Cyan color.
    CYAN = 6

    # Orange color. (Only used for system-generated annotations)
    ORANGE = 7
  end
end

#description::String

Returns Optional. Description for this Reporting Data Annotation.

Returns:

  • (::String)

    Optional. Description for this Reporting Data Annotation.



1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1698

class ReportingDataAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents a Reporting Data Annotation's date range, both start and end
  # dates are inclusive. Time zones are based on the parent property.
  # @!attribute [rw] start_date
  #   @return [::Google::Type::Date]
  #     Required. The start date for this range. Must be a valid date with
  #     year, month, and day set. The date may be in the past, present, or
  #     future.
  # @!attribute [rw] end_date
  #   @return [::Google::Type::Date]
  #     Required. The end date for this range. Must be a valid date with
  #     year, month, and day set. This date must be greater than or equal to
  #     the start date.
  class DateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Colors that may be used for this Reporting Data Annotation
  module Color
    # Color unknown or not specified.
    COLOR_UNSPECIFIED = 0

    # Purple color.
    PURPLE = 1

    # Brown color.
    BROWN = 2

    # Blue color.
    BLUE = 3

    # Green color.
    GREEN = 4

    # Red color.
    RED = 5

    # Cyan color.
    CYAN = 6

    # Orange color. (Only used for system-generated annotations)
    ORANGE = 7
  end
end

#name::String

Returns Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format: 'properties/123/reportingDataAnnotations/456'.

Returns:

  • (::String)

    Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format: 'properties/123/reportingDataAnnotations/456'



1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1698

class ReportingDataAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents a Reporting Data Annotation's date range, both start and end
  # dates are inclusive. Time zones are based on the parent property.
  # @!attribute [rw] start_date
  #   @return [::Google::Type::Date]
  #     Required. The start date for this range. Must be a valid date with
  #     year, month, and day set. The date may be in the past, present, or
  #     future.
  # @!attribute [rw] end_date
  #   @return [::Google::Type::Date]
  #     Required. The end date for this range. Must be a valid date with
  #     year, month, and day set. This date must be greater than or equal to
  #     the start date.
  class DateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Colors that may be used for this Reporting Data Annotation
  module Color
    # Color unknown or not specified.
    COLOR_UNSPECIFIED = 0

    # Purple color.
    PURPLE = 1

    # Brown color.
    BROWN = 2

    # Blue color.
    BLUE = 3

    # Green color.
    GREEN = 4

    # Red color.
    RED = 5

    # Cyan color.
    CYAN = 6

    # Orange color. (Only used for system-generated annotations)
    ORANGE = 7
  end
end

#system_generated::Boolean (readonly)

Returns Output only. If true, this annotation was generated by the Google Analytics system. System-generated annotations cannot be updated or deleted.

Returns:

  • (::Boolean)

    Output only. If true, this annotation was generated by the Google Analytics system. System-generated annotations cannot be updated or deleted.



1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1698

class ReportingDataAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents a Reporting Data Annotation's date range, both start and end
  # dates are inclusive. Time zones are based on the parent property.
  # @!attribute [rw] start_date
  #   @return [::Google::Type::Date]
  #     Required. The start date for this range. Must be a valid date with
  #     year, month, and day set. The date may be in the past, present, or
  #     future.
  # @!attribute [rw] end_date
  #   @return [::Google::Type::Date]
  #     Required. The end date for this range. Must be a valid date with
  #     year, month, and day set. This date must be greater than or equal to
  #     the start date.
  class DateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Colors that may be used for this Reporting Data Annotation
  module Color
    # Color unknown or not specified.
    COLOR_UNSPECIFIED = 0

    # Purple color.
    PURPLE = 1

    # Brown color.
    BROWN = 2

    # Blue color.
    BLUE = 3

    # Green color.
    GREEN = 4

    # Red color.
    RED = 5

    # Cyan color.
    CYAN = 6

    # Orange color. (Only used for system-generated annotations)
    ORANGE = 7
  end
end

#title::String

Returns Required. Human-readable title for this Reporting Data Annotation.

Returns:

  • (::String)

    Required. Human-readable title for this Reporting Data Annotation.



1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1698

class ReportingDataAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents a Reporting Data Annotation's date range, both start and end
  # dates are inclusive. Time zones are based on the parent property.
  # @!attribute [rw] start_date
  #   @return [::Google::Type::Date]
  #     Required. The start date for this range. Must be a valid date with
  #     year, month, and day set. The date may be in the past, present, or
  #     future.
  # @!attribute [rw] end_date
  #   @return [::Google::Type::Date]
  #     Required. The end date for this range. Must be a valid date with
  #     year, month, and day set. This date must be greater than or equal to
  #     the start date.
  class DateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Colors that may be used for this Reporting Data Annotation
  module Color
    # Color unknown or not specified.
    COLOR_UNSPECIFIED = 0

    # Purple color.
    PURPLE = 1

    # Brown color.
    BROWN = 2

    # Blue color.
    BLUE = 3

    # Green color.
    GREEN = 4

    # Red color.
    RED = 5

    # Cyan color.
    CYAN = 6

    # Orange color. (Only used for system-generated annotations)
    ORANGE = 7
  end
end