@@ -1903,6 +1903,12 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
19031903 # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
19041904 attr_accessor :property
19051905
1906+ # A Reporting Data Annotation is a comment connected to certain dates for
1907+ # reporting data.
1908+ # Corresponds to the JSON property `reportingDataAnnotation`
1909+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaReportingDataAnnotation]
1910+ attr_accessor :reporting_data_annotation
1911+
19061912 # A link between a Google Analytics property and a Search Ads 360 entity.
19071913 # Corresponds to the JSON property `searchAds360Link`
19081914 # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
@@ -1943,6 +1949,7 @@ def update!(**args)
19431949 @key_event = args [ :key_event ] if args . key? ( :key_event )
19441950 @measurement_protocol_secret = args [ :measurement_protocol_secret ] if args . key? ( :measurement_protocol_secret )
19451951 @property = args [ :property ] if args . key? ( :property )
1952+ @reporting_data_annotation = args [ :reporting_data_annotation ] if args . key? ( :reporting_data_annotation )
19461953 @search_ads360_link = args [ :search_ads360_link ] if args . key? ( :search_ads360_link )
19471954 @skadnetwork_conversion_value_schema = args [ :skadnetwork_conversion_value_schema ] if args . key? ( :skadnetwork_conversion_value_schema )
19481955 end
@@ -4574,6 +4581,32 @@ def update!(**args)
45744581 end
45754582 end
45764583
4584+ # Response message for ListReportingDataAnnotation RPC.
4585+ class GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse
4586+ include Google ::Apis ::Core ::Hashable
4587+
4588+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4589+ # field is omitted, there are no subsequent pages.
4590+ # Corresponds to the JSON property `nextPageToken`
4591+ # @return [String]
4592+ attr_accessor :next_page_token
4593+
4594+ # List of Reporting Data Annotations.
4595+ # Corresponds to the JSON property `reportingDataAnnotations`
4596+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaReportingDataAnnotation>]
4597+ attr_accessor :reporting_data_annotations
4598+
4599+ def initialize ( **args )
4600+ update! ( **args )
4601+ end
4602+
4603+ # Update properties of this object
4604+ def update! ( **args )
4605+ @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
4606+ @reporting_data_annotations = args [ :reporting_data_annotations ] if args . key? ( :reporting_data_annotations )
4607+ end
4608+ end
4609+
45774610 # Response message for ListRollupPropertySourceLinks RPC.
45784611 class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse
45794612 include Google ::Apis ::Core ::Hashable
@@ -5113,6 +5146,114 @@ def update!(**args)
51135146 end
51145147 end
51155148
5149+ # A Reporting Data Annotation is a comment connected to certain dates for
5150+ # reporting data.
5151+ class GoogleAnalyticsAdminV1alphaReportingDataAnnotation
5152+ include Google ::Apis ::Core ::Hashable
5153+
5154+ # Represents a whole or partial calendar date, such as a birthday. The time of
5155+ # day and time zone are either specified elsewhere or are insignificant. The
5156+ # date is relative to the Gregorian Calendar. This can represent one of the
5157+ # following: * A full date, with non-zero year, month, and day values. * A month
5158+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5159+ # with a zero month and a zero day. * A year and month, with a zero day (for
5160+ # example, a credit card expiration date). Related types: * google.type.
5161+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5162+ # Corresponds to the JSON property `annotationDate`
5163+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleTypeDate]
5164+ attr_accessor :annotation_date
5165+
5166+ # Represents a Reporting Data Annotation's date range, both start and end dates
5167+ # are inclusive. Time zones are based on the parent property.
5168+ # Corresponds to the JSON property `annotationDateRange`
5169+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange]
5170+ attr_accessor :annotation_date_range
5171+
5172+ # Required. The color used for display of this Reporting Data Annotation.
5173+ # Corresponds to the JSON property `color`
5174+ # @return [String]
5175+ attr_accessor :color
5176+
5177+ # Optional. Description for this Reporting Data Annotation.
5178+ # Corresponds to the JSON property `description`
5179+ # @return [String]
5180+ attr_accessor :description
5181+
5182+ # Required. Identifier. Resource name of this Reporting Data Annotation. Format:
5183+ # 'properties/`property_id`/reportingDataAnnotations/`reporting_data_annotation`'
5184+ # Format: 'properties/123/reportingDataAnnotations/456'
5185+ # Corresponds to the JSON property `name`
5186+ # @return [String]
5187+ attr_accessor :name
5188+
5189+ # Output only. If true, this annotation was generated by the Google Analytics
5190+ # system. System-generated annotations cannot be updated or deleted.
5191+ # Corresponds to the JSON property `systemGenerated`
5192+ # @return [Boolean]
5193+ attr_accessor :system_generated
5194+ alias_method :system_generated? , :system_generated
5195+
5196+ # Required. Human-readable title for this Reporting Data Annotation.
5197+ # Corresponds to the JSON property `title`
5198+ # @return [String]
5199+ attr_accessor :title
5200+
5201+ def initialize ( **args )
5202+ update! ( **args )
5203+ end
5204+
5205+ # Update properties of this object
5206+ def update! ( **args )
5207+ @annotation_date = args [ :annotation_date ] if args . key? ( :annotation_date )
5208+ @annotation_date_range = args [ :annotation_date_range ] if args . key? ( :annotation_date_range )
5209+ @color = args [ :color ] if args . key? ( :color )
5210+ @description = args [ :description ] if args . key? ( :description )
5211+ @name = args [ :name ] if args . key? ( :name )
5212+ @system_generated = args [ :system_generated ] if args . key? ( :system_generated )
5213+ @title = args [ :title ] if args . key? ( :title )
5214+ end
5215+ end
5216+
5217+ # Represents a Reporting Data Annotation's date range, both start and end dates
5218+ # are inclusive. Time zones are based on the parent property.
5219+ class GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange
5220+ include Google ::Apis ::Core ::Hashable
5221+
5222+ # Represents a whole or partial calendar date, such as a birthday. The time of
5223+ # day and time zone are either specified elsewhere or are insignificant. The
5224+ # date is relative to the Gregorian Calendar. This can represent one of the
5225+ # following: * A full date, with non-zero year, month, and day values. * A month
5226+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5227+ # with a zero month and a zero day. * A year and month, with a zero day (for
5228+ # example, a credit card expiration date). Related types: * google.type.
5229+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5230+ # Corresponds to the JSON property `endDate`
5231+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleTypeDate]
5232+ attr_accessor :end_date
5233+
5234+ # Represents a whole or partial calendar date, such as a birthday. The time of
5235+ # day and time zone are either specified elsewhere or are insignificant. The
5236+ # date is relative to the Gregorian Calendar. This can represent one of the
5237+ # following: * A full date, with non-zero year, month, and day values. * A month
5238+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5239+ # with a zero month and a zero day. * A year and month, with a zero day (for
5240+ # example, a credit card expiration date). Related types: * google.type.
5241+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5242+ # Corresponds to the JSON property `startDate`
5243+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleTypeDate]
5244+ attr_accessor :start_date
5245+
5246+ def initialize ( **args )
5247+ update! ( **args )
5248+ end
5249+
5250+ # Update properties of this object
5251+ def update! ( **args )
5252+ @end_date = args [ :end_date ] if args . key? ( :end_date )
5253+ @start_date = args [ :start_date ] if args . key? ( :start_date )
5254+ end
5255+ end
5256+
51165257 # A link that references a source property under the parent rollup property.
51175258 class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
51185259 include Google ::Apis ::Core ::Hashable
@@ -5791,6 +5932,47 @@ def initialize(**args)
57915932 def update! ( **args )
57925933 end
57935934 end
5935+
5936+ # Represents a whole or partial calendar date, such as a birthday. The time of
5937+ # day and time zone are either specified elsewhere or are insignificant. The
5938+ # date is relative to the Gregorian Calendar. This can represent one of the
5939+ # following: * A full date, with non-zero year, month, and day values. * A month
5940+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5941+ # with a zero month and a zero day. * A year and month, with a zero day (for
5942+ # example, a credit card expiration date). Related types: * google.type.
5943+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5944+ class GoogleTypeDate
5945+ include Google ::Apis ::Core ::Hashable
5946+
5947+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
5948+ # specify a year by itself or a year and month where the day isn't significant.
5949+ # Corresponds to the JSON property `day`
5950+ # @return [Fixnum]
5951+ attr_accessor :day
5952+
5953+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
5954+ # and day.
5955+ # Corresponds to the JSON property `month`
5956+ # @return [Fixnum]
5957+ attr_accessor :month
5958+
5959+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
5960+ # year.
5961+ # Corresponds to the JSON property `year`
5962+ # @return [Fixnum]
5963+ attr_accessor :year
5964+
5965+ def initialize ( **args )
5966+ update! ( **args )
5967+ end
5968+
5969+ # Update properties of this object
5970+ def update! ( **args )
5971+ @day = args [ :day ] if args . key? ( :day )
5972+ @month = args [ :month ] if args . key? ( :month )
5973+ @year = args [ :year ] if args . key? ( :year )
5974+ end
5975+ end
57945976 end
57955977 end
57965978end
0 commit comments