@@ -462,6 +462,48 @@ def update!(**args)
462
462
end
463
463
end
464
464
465
+ # An object that may be returned with your query results, providing context
466
+ # about the state of the data. When you request recent data (using `all` or `
467
+ # hourly_all` for `dataState`), some of the rows returned may represent data
468
+ # that is incomplete, which means that the data is still being collected and
469
+ # processed. This metadata object helps you identify exactly when this starts
470
+ # and ends. All dates and times provided in this object are in the `America/
471
+ # Los_Angeles` time zone. The specific field returned within this object depends
472
+ # on how you've grouped your data in the request. See details in inner fields.
473
+ class Metadata
474
+ include Google ::Apis ::Core ::Hashable
475
+
476
+ # The first date for which the data is still being collected and processed,
477
+ # presented in `YYYY-MM-DD` format (ISO-8601 extended local date format). This
478
+ # field is populated only when the request's `dataState` is "`all`", data is
479
+ # grouped by "`DATE`", and the requested date range contains incomplete data
480
+ # points. All values after the `first_incomplete_date` may still change
481
+ # noticeably.
482
+ # Corresponds to the JSON property `firstIncompleteDate`
483
+ # @return [String]
484
+ attr_accessor :first_incomplete_date
485
+
486
+ # The first hour for which the data is still being collected and processed,
487
+ # presented in `YYYY-MM-DDThh:mm:ss[+|-]hh:mm` format (ISO-8601 extended offset
488
+ # date-time format). This field is populated only when the request's `dataState`
489
+ # is "`hourly_all`", data is grouped by "`HOUR`" and the requested date range
490
+ # contains incomplete data points. All values after the `first_incomplete_hour`
491
+ # may still change noticeably.
492
+ # Corresponds to the JSON property `firstIncompleteHour`
493
+ # @return [String]
494
+ attr_accessor :first_incomplete_hour
495
+
496
+ def initialize ( **args )
497
+ update! ( **args )
498
+ end
499
+
500
+ # Update properties of this object
501
+ def update! ( **args )
502
+ @first_incomplete_date = args [ :first_incomplete_date ] if args . key? ( :first_incomplete_date )
503
+ @first_incomplete_hour = args [ :first_incomplete_hour ] if args . key? ( :first_incomplete_hour )
504
+ end
505
+ end
506
+
465
507
# Mobile-friendly issue.
466
508
class MobileFriendlyIssue
467
509
include Google ::Apis ::Core ::Hashable
@@ -781,6 +823,18 @@ def update!(**args)
781
823
class SearchAnalyticsQueryResponse
782
824
include Google ::Apis ::Core ::Hashable
783
825
826
+ # An object that may be returned with your query results, providing context
827
+ # about the state of the data. When you request recent data (using `all` or `
828
+ # hourly_all` for `dataState`), some of the rows returned may represent data
829
+ # that is incomplete, which means that the data is still being collected and
830
+ # processed. This metadata object helps you identify exactly when this starts
831
+ # and ends. All dates and times provided in this object are in the `America/
832
+ # Los_Angeles` time zone. The specific field returned within this object depends
833
+ # on how you've grouped your data in the request. See details in inner fields.
834
+ # Corresponds to the JSON property `metadata`
835
+ # @return [Google::Apis::SearchconsoleV1::Metadata]
836
+ attr_accessor :metadata
837
+
784
838
# How the results were aggregated.
785
839
# Corresponds to the JSON property `responseAggregationType`
786
840
# @return [String]
@@ -797,6 +851,7 @@ def initialize(**args)
797
851
798
852
# Update properties of this object
799
853
def update! ( **args )
854
+ @metadata = args [ :metadata ] if args . key? ( :metadata )
800
855
@response_aggregation_type = args [ :response_aggregation_type ] if args . key? ( :response_aggregation_type )
801
856
@rows = args [ :rows ] if args . key? ( :rows )
802
857
end
0 commit comments