google-apis-authorizedbuyersmarketplace_v1 0.23.0 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb +27 -2
- data/lib/google/apis/authorizedbuyersmarketplace_v1/gem_version.rb +2 -2
- data/lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb +4 -0
- data/lib/google/apis/authorizedbuyersmarketplace_v1/service.rb +65 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e1a4a3d47cfbb8dbe12642842b849d73c1d9fabe40eb3f978ae34eebdb0e2fb
|
4
|
+
data.tar.gz: b607395fb6c10cef060ca684ac728b4609b4759b97b85fbce81b9257576d7fd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b00cea97c958ca17bd8748676cbf2bc7d62214bd534dc7a8ea73a9ce382089841b756d2b3ac9d4c6094d63e5ea873a3b52b3456f7d36524297d5e67a1fd0763e
|
7
|
+
data.tar.gz: 515248feb306fad55825df5c39849c889e5f6904d04ba23685dd70881e81d306c0bca609f0037c048e234fb57078d98d8637aa42a448c8655e1715b8f6078dfd
|
data/CHANGELOG.md
CHANGED
@@ -168,6 +168,13 @@ module Google
|
|
168
168
|
# @return [String]
|
169
169
|
attr_accessor :display_name
|
170
170
|
|
171
|
+
# Output only. If set, this field contains the list of DSP specific seat ids set
|
172
|
+
# by media planners that are eligible to transact on this deal. The seat ID is
|
173
|
+
# in the calling DSP's namespace.
|
174
|
+
# Corresponds to the JSON property `eligibleSeatIds`
|
175
|
+
# @return [Array<String>]
|
176
|
+
attr_accessor :eligible_seat_ids
|
177
|
+
|
171
178
|
# Immutable. The unique identifier for the auction package. Format: `buyers/`
|
172
179
|
# accountId`/auctionPackages/`auctionPackageId`` The auction_package_id part of
|
173
180
|
# name is sent in the BidRequest to all RTB bidders and is returned as deal_id
|
@@ -176,12 +183,27 @@ module Google
|
|
176
183
|
# @return [String]
|
177
184
|
attr_accessor :name
|
178
185
|
|
179
|
-
# Output only. The list of
|
180
|
-
#
|
186
|
+
# Output only. The list of buyers that are subscribed to the AuctionPackage.
|
187
|
+
# This field is only populated when calling as a bidder. Format: `buyers/`
|
188
|
+
# buyerAccountId``
|
189
|
+
# Corresponds to the JSON property `subscribedBuyers`
|
190
|
+
# @return [Array<String>]
|
191
|
+
attr_accessor :subscribed_buyers
|
192
|
+
|
193
|
+
# Output only. When calling as a buyer, the list of clients of the current buyer
|
194
|
+
# that are subscribed to the AuctionPackage. When calling as a bidder, the list
|
195
|
+
# of clients that are subscribed to the AuctionPackage owned by the bidder or
|
196
|
+
# its buyers. Format: `buyers/`buyerAccountId`/clients/`clientAccountId``
|
181
197
|
# Corresponds to the JSON property `subscribedClients`
|
182
198
|
# @return [Array<String>]
|
183
199
|
attr_accessor :subscribed_clients
|
184
200
|
|
201
|
+
# Output only. The list of media planners that are subscribed to the
|
202
|
+
# AuctionPackage. This field is only populated when calling as a bidder.
|
203
|
+
# Corresponds to the JSON property `subscribedMediaPlanners`
|
204
|
+
# @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner>]
|
205
|
+
attr_accessor :subscribed_media_planners
|
206
|
+
|
185
207
|
# Output only. Time the auction package was last updated. This value is only
|
186
208
|
# increased when this auction package is updated but never when a buyer
|
187
209
|
# subscribed.
|
@@ -199,8 +221,11 @@ module Google
|
|
199
221
|
@creator = args[:creator] if args.key?(:creator)
|
200
222
|
@description = args[:description] if args.key?(:description)
|
201
223
|
@display_name = args[:display_name] if args.key?(:display_name)
|
224
|
+
@eligible_seat_ids = args[:eligible_seat_ids] if args.key?(:eligible_seat_ids)
|
202
225
|
@name = args[:name] if args.key?(:name)
|
226
|
+
@subscribed_buyers = args[:subscribed_buyers] if args.key?(:subscribed_buyers)
|
203
227
|
@subscribed_clients = args[:subscribed_clients] if args.key?(:subscribed_clients)
|
228
|
+
@subscribed_media_planners = args[:subscribed_media_planners] if args.key?(:subscribed_media_planners)
|
204
229
|
@update_time = args[:update_time] if args.key?(:update_time)
|
205
230
|
end
|
206
231
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AuthorizedbuyersmarketplaceV1
|
18
18
|
# Version of the google-apis-authorizedbuyersmarketplace_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240418"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -462,8 +462,12 @@ module Google
|
|
462
462
|
property :creator, as: 'creator'
|
463
463
|
property :description, as: 'description'
|
464
464
|
property :display_name, as: 'displayName'
|
465
|
+
collection :eligible_seat_ids, as: 'eligibleSeatIds'
|
465
466
|
property :name, as: 'name'
|
467
|
+
collection :subscribed_buyers, as: 'subscribedBuyers'
|
466
468
|
collection :subscribed_clients, as: 'subscribedClients'
|
469
|
+
collection :subscribed_media_planners, as: 'subscribedMediaPlanners', class: Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner::Representation
|
470
|
+
|
467
471
|
property :update_time, as: 'updateTime'
|
468
472
|
end
|
469
473
|
end
|
@@ -52,6 +52,56 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# List the auction packages. Buyers can use the URL path "/v1/buyers/`accountId`/
|
56
|
+
# auctionPackages" to list auction packages for the current buyer and its
|
57
|
+
# clients. Bidders can use the URL path "/v1/bidders/`accountId`/auctionPackages"
|
58
|
+
# to list auction packages for the bidder, its media planners, its buyers, and
|
59
|
+
# all their clients.
|
60
|
+
# @param [String] parent
|
61
|
+
# Required. Name of the parent buyer that can access the auction package. Format:
|
62
|
+
# `buyers/`accountId``. When used with a bidder account, the auction packages
|
63
|
+
# that the bidder, its media planners, its buyers and clients are subscribed to
|
64
|
+
# will be listed, in the format `bidders/`accountId``.
|
65
|
+
# @param [String] filter
|
66
|
+
# Optional. Optional query string using the [Cloud API list filtering syntax](/
|
67
|
+
# authorized-buyers/apis/guides/list-filters). Only supported when parent is
|
68
|
+
# bidder. Supported columns for filtering are: * displayName * createTime *
|
69
|
+
# updateTime * eligibleSeatIds
|
70
|
+
# @param [Fixnum] page_size
|
71
|
+
# Requested page size. The server may return fewer results than requested. Max
|
72
|
+
# allowed page size is 500.
|
73
|
+
# @param [String] page_token
|
74
|
+
# The page token as returned. ListAuctionPackagesResponse.nextPageToken
|
75
|
+
# @param [String] fields
|
76
|
+
# Selector specifying which fields to include in a partial response.
|
77
|
+
# @param [String] quota_user
|
78
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
79
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
80
|
+
# @param [Google::Apis::RequestOptions] options
|
81
|
+
# Request-specific options
|
82
|
+
#
|
83
|
+
# @yield [result, err] Result & error if block supplied
|
84
|
+
# @yieldparam result [Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse] parsed result object
|
85
|
+
# @yieldparam err [StandardError] error object if request failed
|
86
|
+
#
|
87
|
+
# @return [Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse]
|
88
|
+
#
|
89
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
90
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
91
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
92
|
+
def list_bidder_auction_packages(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
93
|
+
command = make_simple_command(:get, 'v1/{+parent}/auctionPackages', options)
|
94
|
+
command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse::Representation
|
95
|
+
command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse
|
96
|
+
command.params['parent'] = parent unless parent.nil?
|
97
|
+
command.query['filter'] = filter unless filter.nil?
|
98
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
99
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
100
|
+
command.query['fields'] = fields unless fields.nil?
|
101
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
102
|
+
execute_or_queue_command(command, &block)
|
103
|
+
end
|
104
|
+
|
55
105
|
# Lists finalized deals. Use the URL path "/v1/buyers/`accountId`/finalizedDeals"
|
56
106
|
# to list finalized deals for the current buyer and its clients. Bidders can
|
57
107
|
# use the URL path "/v1/bidders/`accountId`/finalizedDeals" to list finalized
|
@@ -143,10 +193,21 @@ module Google
|
|
143
193
|
execute_or_queue_command(command, &block)
|
144
194
|
end
|
145
195
|
|
146
|
-
# List the auction packages
|
196
|
+
# List the auction packages. Buyers can use the URL path "/v1/buyers/`accountId`/
|
197
|
+
# auctionPackages" to list auction packages for the current buyer and its
|
198
|
+
# clients. Bidders can use the URL path "/v1/bidders/`accountId`/auctionPackages"
|
199
|
+
# to list auction packages for the bidder, its media planners, its buyers, and
|
200
|
+
# all their clients.
|
147
201
|
# @param [String] parent
|
148
202
|
# Required. Name of the parent buyer that can access the auction package. Format:
|
149
|
-
# `buyers/`accountId
|
203
|
+
# `buyers/`accountId``. When used with a bidder account, the auction packages
|
204
|
+
# that the bidder, its media planners, its buyers and clients are subscribed to
|
205
|
+
# will be listed, in the format `bidders/`accountId``.
|
206
|
+
# @param [String] filter
|
207
|
+
# Optional. Optional query string using the [Cloud API list filtering syntax](/
|
208
|
+
# authorized-buyers/apis/guides/list-filters). Only supported when parent is
|
209
|
+
# bidder. Supported columns for filtering are: * displayName * createTime *
|
210
|
+
# updateTime * eligibleSeatIds
|
150
211
|
# @param [Fixnum] page_size
|
151
212
|
# Requested page size. The server may return fewer results than requested. Max
|
152
213
|
# allowed page size is 500.
|
@@ -169,11 +230,12 @@ module Google
|
|
169
230
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
170
231
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
232
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
|
-
def list_buyer_auction_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
233
|
+
def list_buyer_auction_packages(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
173
234
|
command = make_simple_command(:get, 'v1/{+parent}/auctionPackages', options)
|
174
235
|
command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse::Representation
|
175
236
|
command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse
|
176
237
|
command.params['parent'] = parent unless parent.nil?
|
238
|
+
command.query['filter'] = filter unless filter.nil?
|
177
239
|
command.query['pageSize'] = page_size unless page_size.nil?
|
178
240
|
command.query['pageToken'] = page_token unless page_token.nil?
|
179
241
|
command.query['fields'] = fields unless fields.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-authorizedbuyersmarketplace_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-authorizedbuyersmarketplace_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-authorizedbuyersmarketplace_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-authorizedbuyersmarketplace_v1/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-authorizedbuyersmarketplace_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|