Skip to content

Commit 9e42b24

Browse files
feat: Automated regeneration of dfareporting v5 client (googleapis#27400)
Auto-created at 2026-07-19 11:41:16 +0000 using the toys pull request generator.
1 parent 84ba26b commit 9e42b24

6 files changed

Lines changed: 318 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212855,6 +212855,9 @@
212855212855
"/dfareporting:v5/ClickThroughUrlSuffixProperties": click_through_url_suffix_properties
212856212856
"/dfareporting:v5/ClickThroughUrlSuffixProperties/clickThroughUrlSuffix": click_through_url_suffix
212857212857
"/dfareporting:v5/ClickThroughUrlSuffixProperties/overrideInheritedSuffix": override_inherited_suffix
212858+
"/dfareporting:v5/ColumnHeader": column_header
212859+
"/dfareporting:v5/ColumnHeader/name": name
212860+
"/dfareporting:v5/ColumnHeader/type": type
212858212861
"/dfareporting:v5/CompanionClickThroughOverride": companion_click_through_override
212859212862
"/dfareporting:v5/CompanionClickThroughOverride/clickThroughUrl": click_through_url
212860212863
"/dfareporting:v5/CompanionClickThroughOverride/creativeId": creative_id
@@ -214157,6 +214160,28 @@
214157214160
"/dfareporting:v5/ReportCompatibleFields/metrics/metric": metric
214158214161
"/dfareporting:v5/ReportCompatibleFields/pivotedActivityMetrics": pivoted_activity_metrics
214159214162
"/dfareporting:v5/ReportCompatibleFields/pivotedActivityMetrics/pivoted_activity_metric": pivoted_activity_metric
214163+
"/dfareporting:v5/ReportDataQueryRequest": report_data_query_request
214164+
"/dfareporting:v5/ReportDataQueryRequest/dateRange": date_range
214165+
"/dfareporting:v5/ReportDataQueryRequest/dimensionFilters": dimension_filters
214166+
"/dfareporting:v5/ReportDataQueryRequest/dimensionFilters/dimension_filter": dimension_filter
214167+
"/dfareporting:v5/ReportDataQueryRequest/dimensionNames": dimension_names
214168+
"/dfareporting:v5/ReportDataQueryRequest/dimensionNames/dimension_name": dimension_name
214169+
"/dfareporting:v5/ReportDataQueryRequest/maxResults": max_results
214170+
"/dfareporting:v5/ReportDataQueryRequest/metricNames": metric_names
214171+
"/dfareporting:v5/ReportDataQueryRequest/metricNames/metric_name": metric_name
214172+
"/dfareporting:v5/ReportDataQueryRequest/pageToken": page_token
214173+
"/dfareporting:v5/ReportDataQueryRequest/sortBys": sort_bys
214174+
"/dfareporting:v5/ReportDataQueryRequest/sortBys/sort_by": sort_by
214175+
"/dfareporting:v5/ReportDataResponse": report_data_response
214176+
"/dfareporting:v5/ReportDataResponse/columnHeaders": column_headers
214177+
"/dfareporting:v5/ReportDataResponse/columnHeaders/column_header": column_header
214178+
"/dfareporting:v5/ReportDataResponse/nextPageToken": next_page_token
214179+
"/dfareporting:v5/ReportDataResponse/rows": rows
214180+
"/dfareporting:v5/ReportDataResponse/rows/row": row
214181+
"/dfareporting:v5/ReportDataResponse/totalRow": total_row
214182+
"/dfareporting:v5/ReportDataRow": report_data_row
214183+
"/dfareporting:v5/ReportDataRow/values": values
214184+
"/dfareporting:v5/ReportDataRow/values/value": value
214160214185
"/dfareporting:v5/ReportList": report_list
214161214186
"/dfareporting:v5/ReportList/etag": etag
214162214187
"/dfareporting:v5/ReportList/items": items
@@ -214256,6 +214281,9 @@
214256214281
"/dfareporting:v5/SkippableSetting/progressOffset": progress_offset
214257214282
"/dfareporting:v5/SkippableSetting/skipOffset": skip_offset
214258214283
"/dfareporting:v5/SkippableSetting/skippable": skippable
214284+
"/dfareporting:v5/SortBy": sort_by
214285+
"/dfareporting:v5/SortBy/name": name
214286+
"/dfareporting:v5/SortBy/sortOrder": sort_order
214259214287
"/dfareporting:v5/SortedDimension": sorted_dimension
214260214288
"/dfareporting:v5/SortedDimension/kind": kind
214261214289
"/dfareporting:v5/SortedDimension/name": name
@@ -215189,6 +215217,8 @@
215189215217
"/dfareporting:v5/dfareporting.remarketingLists.patch/profileId": profile_id
215190215218
"/dfareporting:v5/dfareporting.remarketingLists.update": update_remarketing_list
215191215219
"/dfareporting:v5/dfareporting.remarketingLists.update/profileId": profile_id
215220+
"/dfareporting:v5/dfareporting.reportData.query": query_report_datum
215221+
"/dfareporting:v5/dfareporting.reportData.query/profileId": profile_id
215192215222
"/dfareporting:v5/dfareporting.reports.compatibleFields.query": query_report_compatible_field
215193215223
"/dfareporting:v5/dfareporting.reports.compatibleFields.query/profileId": profile_id
215194215224
"/dfareporting:v5/dfareporting.reports.delete": delete_report

generated/google-apis-dfareporting_v5/CHANGELOG.md

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

3+
### v0.9.0 (2026-07-19)
4+
5+
* Regenerated from discovery document revision 20260713
6+
37
### v0.8.0 (2026-06-14)
48

59
* Regenerated from discovery document revision 20260527

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

Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2454,6 +2454,31 @@ def update!(**args)
24542454
end
24552455
end
24562456

2457+
# A column header in the report.
2458+
class ColumnHeader
2459+
include Google::Apis::Core::Hashable
2460+
2461+
# Output only. The column name.
2462+
# Corresponds to the JSON property `name`
2463+
# @return [String]
2464+
attr_accessor :name
2465+
2466+
# Output only. The column type.
2467+
# Corresponds to the JSON property `type`
2468+
# @return [String]
2469+
attr_accessor :type
2470+
2471+
def initialize(**args)
2472+
update!(**args)
2473+
end
2474+
2475+
# Update properties of this object
2476+
def update!(**args)
2477+
@name = args[:name] if args.key?(:name)
2478+
@type = args[:type] if args.key?(:type)
2479+
end
2480+
end
2481+
24572482
# Companion Click-through override.
24582483
class CompanionClickThroughOverride
24592484
include Google::Apis::Core::Hashable
@@ -11510,6 +11535,123 @@ def update!(**args)
1151011535
end
1151111536
end
1151211537

11538+
# The request body containing ad-hoc query parameters.
11539+
class ReportDataQueryRequest
11540+
include Google::Apis::Core::Hashable
11541+
11542+
# Represents a date range.
11543+
# Corresponds to the JSON property `dateRange`
11544+
# @return [Google::Apis::DfareportingV5::DateRange]
11545+
attr_accessor :date_range
11546+
11547+
# Optional. The list of dimension values on which report lines are filtered.
11548+
# Utilizes the existing legacy filter message `DimensionValue`.
11549+
# Corresponds to the JSON property `dimensionFilters`
11550+
# @return [Array<Google::Apis::DfareportingV5::DimensionValue>]
11551+
attr_accessor :dimension_filters
11552+
11553+
# Optional. The list of dimension names to group by.
11554+
# Corresponds to the JSON property `dimensionNames`
11555+
# @return [Array<String>]
11556+
attr_accessor :dimension_names
11557+
11558+
# Optional. Maximum number of result rows to return per page. The default value
11559+
# is 100. The maximum allowed value is 1000. Values above 1000 will be coerced (
11560+
# clamped) down to 1000. Negative values will be rejected.
11561+
# Corresponds to the JSON property `maxResults`
11562+
# @return [Fixnum]
11563+
attr_accessor :max_results
11564+
11565+
# Required. The list of metric names to include.
11566+
# Corresponds to the JSON property `metricNames`
11567+
# @return [Array<String>]
11568+
attr_accessor :metric_names
11569+
11570+
# Optional. Continuation token for paginating results.
11571+
# Corresponds to the JSON property `pageToken`
11572+
# @return [String]
11573+
attr_accessor :page_token
11574+
11575+
# Optional. Sort options across either requested dimensions or metrics.
11576+
# Corresponds to the JSON property `sortBys`
11577+
# @return [Array<Google::Apis::DfareportingV5::SortBy>]
11578+
attr_accessor :sort_bys
11579+
11580+
def initialize(**args)
11581+
update!(**args)
11582+
end
11583+
11584+
# Update properties of this object
11585+
def update!(**args)
11586+
@date_range = args[:date_range] if args.key?(:date_range)
11587+
@dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters)
11588+
@dimension_names = args[:dimension_names] if args.key?(:dimension_names)
11589+
@max_results = args[:max_results] if args.key?(:max_results)
11590+
@metric_names = args[:metric_names] if args.key?(:metric_names)
11591+
@page_token = args[:page_token] if args.key?(:page_token)
11592+
@sort_bys = args[:sort_bys] if args.key?(:sort_bys)
11593+
end
11594+
end
11595+
11596+
# Represents a response to report data request.
11597+
class ReportDataResponse
11598+
include Google::Apis::Core::Hashable
11599+
11600+
# Output only. Ordered descriptors of the requested column fields.
11601+
# Corresponds to the JSON property `columnHeaders`
11602+
# @return [Array<Google::Apis::DfareportingV5::ColumnHeader>]
11603+
attr_accessor :column_headers
11604+
11605+
# Output only. Token to retrieve the next page of rows, or empty if end of
11606+
# results.
11607+
# Corresponds to the JSON property `nextPageToken`
11608+
# @return [String]
11609+
attr_accessor :next_page_token
11610+
11611+
# Output only. The resulting set of matching data rows.
11612+
# Corresponds to the JSON property `rows`
11613+
# @return [Array<Google::Apis::DfareportingV5::ReportDataRow>]
11614+
attr_accessor :rows
11615+
11616+
# A row of report data.
11617+
# Corresponds to the JSON property `totalRow`
11618+
# @return [Google::Apis::DfareportingV5::ReportDataRow]
11619+
attr_accessor :total_row
11620+
11621+
def initialize(**args)
11622+
update!(**args)
11623+
end
11624+
11625+
# Update properties of this object
11626+
def update!(**args)
11627+
@column_headers = args[:column_headers] if args.key?(:column_headers)
11628+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
11629+
@rows = args[:rows] if args.key?(:rows)
11630+
@total_row = args[:total_row] if args.key?(:total_row)
11631+
end
11632+
end
11633+
11634+
# A row of report data.
11635+
class ReportDataRow
11636+
include Google::Apis::Core::Hashable
11637+
11638+
# Output only. A single sequential list of all cell values matching
11639+
# column_headers indices exactly. - Metric cells that are suppressed due to
11640+
# Minimum Reporting Standard (MRS) privacy protection constraints return "-".
11641+
# Corresponds to the JSON property `values`
11642+
# @return [Array<String>]
11643+
attr_accessor :values
11644+
11645+
def initialize(**args)
11646+
update!(**args)
11647+
end
11648+
11649+
# Update properties of this object
11650+
def update!(**args)
11651+
@values = args[:values] if args.key?(:values)
11652+
end
11653+
end
11654+
1151311655
# Represents the list of reports.
1151411656
class ReportList
1151511657
include Google::Apis::Core::Hashable
@@ -12246,6 +12388,31 @@ def update!(**args)
1224612388
end
1224712389
end
1224812390

12391+
# Specifies the sort configuration for a specific field in the report.
12392+
class SortBy
12393+
include Google::Apis::Core::Hashable
12394+
12395+
# Required. The dimension or metric field name to sort on.
12396+
# Corresponds to the JSON property `name`
12397+
# @return [String]
12398+
attr_accessor :name
12399+
12400+
# Optional. The sort order of this column.
12401+
# Corresponds to the JSON property `sortOrder`
12402+
# @return [String]
12403+
attr_accessor :sort_order
12404+
12405+
def initialize(**args)
12406+
update!(**args)
12407+
end
12408+
12409+
# Update properties of this object
12410+
def update!(**args)
12411+
@name = args[:name] if args.key?(:name)
12412+
@sort_order = args[:sort_order] if args.key?(:sort_order)
12413+
end
12414+
end
12415+
1224912416
# Represents a sorted dimension.
1225012417
class SortedDimension
1225112418
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DfareportingV5
1818
# Version of the google-apis-dfareporting_v5 gem
19-
GEM_VERSION = "0.8.0"
19+
GEM_VERSION = "0.9.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

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

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

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
286286
include Google::Apis::Core::JsonObjectSupport
287287
end
288288

289+
class ColumnHeader
290+
class Representation < Google::Apis::Core::JsonRepresentation; end
291+
292+
include Google::Apis::Core::JsonObjectSupport
293+
end
294+
289295
class CompanionClickThroughOverride
290296
class Representation < Google::Apis::Core::JsonRepresentation; end
291297

@@ -1306,6 +1312,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
13061312
include Google::Apis::Core::JsonObjectSupport
13071313
end
13081314

1315+
class ReportDataQueryRequest
1316+
class Representation < Google::Apis::Core::JsonRepresentation; end
1317+
1318+
include Google::Apis::Core::JsonObjectSupport
1319+
end
1320+
1321+
class ReportDataResponse
1322+
class Representation < Google::Apis::Core::JsonRepresentation; end
1323+
1324+
include Google::Apis::Core::JsonObjectSupport
1325+
end
1326+
1327+
class ReportDataRow
1328+
class Representation < Google::Apis::Core::JsonRepresentation; end
1329+
1330+
include Google::Apis::Core::JsonObjectSupport
1331+
end
1332+
13091333
class ReportList
13101334
class Representation < Google::Apis::Core::JsonRepresentation; end
13111335

@@ -1402,6 +1426,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
14021426
include Google::Apis::Core::JsonObjectSupport
14031427
end
14041428

1429+
class SortBy
1430+
class Representation < Google::Apis::Core::JsonRepresentation; end
1431+
1432+
include Google::Apis::Core::JsonObjectSupport
1433+
end
1434+
14051435
class SortedDimension
14061436
class Representation < Google::Apis::Core::JsonRepresentation; end
14071437

@@ -2250,6 +2280,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
22502280
end
22512281
end
22522282

2283+
class ColumnHeader
2284+
# @private
2285+
class Representation < Google::Apis::Core::JsonRepresentation
2286+
property :name, as: 'name'
2287+
property :type, as: 'type'
2288+
end
2289+
end
2290+
22532291
class CompanionClickThroughOverride
22542292
# @private
22552293
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4527,6 +4565,42 @@ class Representation < Google::Apis::Core::JsonRepresentation
45274565
end
45284566
end
45294567

4568+
class ReportDataQueryRequest
4569+
# @private
4570+
class Representation < Google::Apis::Core::JsonRepresentation
4571+
property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV5::DateRange, decorator: Google::Apis::DfareportingV5::DateRange::Representation
4572+
4573+
collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV5::DimensionValue, decorator: Google::Apis::DfareportingV5::DimensionValue::Representation
4574+
4575+
collection :dimension_names, as: 'dimensionNames'
4576+
property :max_results, as: 'maxResults'
4577+
collection :metric_names, as: 'metricNames'
4578+
property :page_token, as: 'pageToken'
4579+
collection :sort_bys, as: 'sortBys', class: Google::Apis::DfareportingV5::SortBy, decorator: Google::Apis::DfareportingV5::SortBy::Representation
4580+
4581+
end
4582+
end
4583+
4584+
class ReportDataResponse
4585+
# @private
4586+
class Representation < Google::Apis::Core::JsonRepresentation
4587+
collection :column_headers, as: 'columnHeaders', class: Google::Apis::DfareportingV5::ColumnHeader, decorator: Google::Apis::DfareportingV5::ColumnHeader::Representation
4588+
4589+
property :next_page_token, as: 'nextPageToken'
4590+
collection :rows, as: 'rows', class: Google::Apis::DfareportingV5::ReportDataRow, decorator: Google::Apis::DfareportingV5::ReportDataRow::Representation
4591+
4592+
property :total_row, as: 'totalRow', class: Google::Apis::DfareportingV5::ReportDataRow, decorator: Google::Apis::DfareportingV5::ReportDataRow::Representation
4593+
4594+
end
4595+
end
4596+
4597+
class ReportDataRow
4598+
# @private
4599+
class Representation < Google::Apis::Core::JsonRepresentation
4600+
collection :values, as: 'values'
4601+
end
4602+
end
4603+
45304604
class ReportList
45314605
# @private
45324606
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4718,6 +4792,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
47184792
end
47194793
end
47204794

4795+
class SortBy
4796+
# @private
4797+
class Representation < Google::Apis::Core::JsonRepresentation
4798+
property :name, as: 'name'
4799+
property :sort_order, as: 'sortOrder'
4800+
end
4801+
end
4802+
47214803
class SortedDimension
47224804
# @private
47234805
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)