Skip to content

Commit 1039aa0

Browse files
feat: Automated regeneration of searchconsole v1 client (googleapis#23727)
Auto-created at 2025-07-20 10:16:19 +0000 using the toys pull request generator.
1 parent 70f733e commit 1039aa0

File tree

5 files changed

+83
-3
lines changed

5 files changed

+83
-3
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327404,6 +327404,9 @@
327404327404
"/searchconsole:v1/Item/issues": issues
327405327405
"/searchconsole:v1/Item/issues/issue": issue
327406327406
"/searchconsole:v1/Item/name": name
327407+
"/searchconsole:v1/Metadata": metadata
327408+
"/searchconsole:v1/Metadata/firstIncompleteDate": first_incomplete_date
327409+
"/searchconsole:v1/Metadata/firstIncompleteHour": first_incomplete_hour
327407327410
"/searchconsole:v1/MobileFriendlyIssue": mobile_friendly_issue
327408327411
"/searchconsole:v1/MobileFriendlyIssue/rule": rule
327409327412
"/searchconsole:v1/MobileUsabilityInspectionResult": mobile_usability_inspection_result
@@ -327448,6 +327451,7 @@
327448327451
"/searchconsole:v1/SearchAnalyticsQueryRequest/startRow": start_row
327449327452
"/searchconsole:v1/SearchAnalyticsQueryRequest/type": type
327450327453
"/searchconsole:v1/SearchAnalyticsQueryResponse": search_analytics_query_response
327454+
"/searchconsole:v1/SearchAnalyticsQueryResponse/metadata": metadata
327451327455
"/searchconsole:v1/SearchAnalyticsQueryResponse/responseAggregationType": response_aggregation_type
327452327456
"/searchconsole:v1/SearchAnalyticsQueryResponse/rows": rows
327453327457
"/searchconsole:v1/SearchAnalyticsQueryResponse/rows/row": row

generated/google-apis-searchconsole_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-searchconsole_v1
22

3+
### v0.21.0 (2025-07-20)
4+
5+
* Regenerated from discovery document revision 20250714
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.20.0 (2025-05-04)
49

510
* Regenerated from discovery document revision 20250409

generated/google-apis-searchconsole_v1/lib/google/apis/searchconsole_v1/classes.rb

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,48 @@ def update!(**args)
462462
end
463463
end
464464

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+
465507
# Mobile-friendly issue.
466508
class MobileFriendlyIssue
467509
include Google::Apis::Core::Hashable
@@ -781,6 +823,18 @@ def update!(**args)
781823
class SearchAnalyticsQueryResponse
782824
include Google::Apis::Core::Hashable
783825

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+
784838
# How the results were aggregated.
785839
# Corresponds to the JSON property `responseAggregationType`
786840
# @return [String]
@@ -797,6 +851,7 @@ def initialize(**args)
797851

798852
# Update properties of this object
799853
def update!(**args)
854+
@metadata = args[:metadata] if args.key?(:metadata)
800855
@response_aggregation_type = args[:response_aggregation_type] if args.key?(:response_aggregation_type)
801856
@rows = args[:rows] if args.key?(:rows)
802857
end

generated/google-apis-searchconsole_v1/lib/google/apis/searchconsole_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SearchconsoleV1
1818
# Version of the google-apis-searchconsole_v1 gem
19-
GEM_VERSION = "0.20.0"
19+
GEM_VERSION = "0.21.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250409"
25+
REVISION = "20250714"
2626
end
2727
end
2828
end

generated/google-apis-searchconsole_v1/lib/google/apis/searchconsole_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
9494
include Google::Apis::Core::JsonObjectSupport
9595
end
9696

97+
class Metadata
98+
class Representation < Google::Apis::Core::JsonRepresentation; end
99+
100+
include Google::Apis::Core::JsonObjectSupport
101+
end
102+
97103
class MobileFriendlyIssue
98104
class Representation < Google::Apis::Core::JsonRepresentation; end
99105

@@ -315,6 +321,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
315321
end
316322
end
317323

324+
class Metadata
325+
# @private
326+
class Representation < Google::Apis::Core::JsonRepresentation
327+
property :first_incomplete_date, as: 'firstIncompleteDate'
328+
property :first_incomplete_hour, as: 'firstIncompleteHour'
329+
end
330+
end
331+
318332
class MobileFriendlyIssue
319333
# @private
320334
class Representation < Google::Apis::Core::JsonRepresentation
@@ -408,6 +422,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
408422
class SearchAnalyticsQueryResponse
409423
# @private
410424
class Representation < Google::Apis::Core::JsonRepresentation
425+
property :metadata, as: 'metadata', class: Google::Apis::SearchconsoleV1::Metadata, decorator: Google::Apis::SearchconsoleV1::Metadata::Representation
426+
411427
property :response_aggregation_type, as: 'responseAggregationType'
412428
collection :rows, as: 'rows', class: Google::Apis::SearchconsoleV1::ApiDataRow, decorator: Google::Apis::SearchconsoleV1::ApiDataRow::Representation
413429

0 commit comments

Comments
 (0)