Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: generated/googleapis/lib/adexchangebuyer/v1_4.dart

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/README.md ('k') | generated/googleapis/lib/admin/directory_v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.adexchangebuyer.v1_4; 3 library googleapis.adexchangebuyer.v1_4;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 * and retry the update at that revision. 1667 * and retry the update at that revision.
1668 * 1668 *
1669 * [updateAction] - The proposed action to take on the proposal. This field is 1669 * [updateAction] - The proposed action to take on the proposal. This field is
1670 * required and it must be set when updating a proposal. 1670 * required and it must be set when updating a proposal.
1671 * Possible string values are: 1671 * Possible string values are:
1672 * - "accept" 1672 * - "accept"
1673 * - "cancel" 1673 * - "cancel"
1674 * - "propose" 1674 * - "propose"
1675 * - "proposeAndAccept" 1675 * - "proposeAndAccept"
1676 * - "unknownAction" 1676 * - "unknownAction"
1677 * - "updateFinalized" 1677 * - "updateNonTerms"
1678 * 1678 *
1679 * Completes with a [Proposal]. 1679 * Completes with a [Proposal].
1680 * 1680 *
1681 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1681 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1682 * error. 1682 * error.
1683 * 1683 *
1684 * If the used [http.Client] completes with an error when making a REST call, 1684 * If the used [http.Client] completes with an error when making a REST call,
1685 * this method will complete with the same error. 1685 * this method will complete with the same error.
1686 */ 1686 */
1687 async.Future<Proposal> patch(Proposal request, core.String proposalId, core.St ring revisionNumber, core.String updateAction) { 1687 async.Future<Proposal> patch(Proposal request, core.String proposalId, core.St ring revisionNumber, core.String updateAction) {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1810 * and retry the update at that revision. 1810 * and retry the update at that revision.
1811 * 1811 *
1812 * [updateAction] - The proposed action to take on the proposal. This field is 1812 * [updateAction] - The proposed action to take on the proposal. This field is
1813 * required and it must be set when updating a proposal. 1813 * required and it must be set when updating a proposal.
1814 * Possible string values are: 1814 * Possible string values are:
1815 * - "accept" 1815 * - "accept"
1816 * - "cancel" 1816 * - "cancel"
1817 * - "propose" 1817 * - "propose"
1818 * - "proposeAndAccept" 1818 * - "proposeAndAccept"
1819 * - "unknownAction" 1819 * - "unknownAction"
1820 * - "updateFinalized" 1820 * - "updateNonTerms"
1821 * 1821 *
1822 * Completes with a [Proposal]. 1822 * Completes with a [Proposal].
1823 * 1823 *
1824 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1824 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1825 * error. 1825 * error.
1826 * 1826 *
1827 * If the used [http.Client] completes with an error when making a REST call, 1827 * If the used [http.Client] completes with an error when making a REST call,
1828 * this method will complete with the same error. 1828 * this method will complete with the same error.
1829 */ 1829 */
1830 async.Future<Proposal> update(Proposal request, core.String proposalId, core.S tring revisionNumber, core.String updateAction) { 1830 async.Future<Proposal> update(Proposal request, core.String proposalId, core.S tring revisionNumber, core.String updateAction) {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 downloadOptions: _downloadOptions); 1907 downloadOptions: _downloadOptions);
1908 return _response.then((data) => new GetPublisherProfilesByAccountIdResponse. fromJson(data)); 1908 return _response.then((data) => new GetPublisherProfilesByAccountIdResponse. fromJson(data));
1909 } 1909 }
1910 1910
1911 } 1911 }
1912 1912
1913 1913
1914 1914
1915 class AccountBidderLocation { 1915 class AccountBidderLocation {
1916 /** 1916 /**
1917 * The protocol that the bidder endpoint is using. By default, OpenRTB 1917 * The protocol that the bidder endpoint is using. OpenRTB protocols with
1918 * protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. 1918 * prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON.
1919 * PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB 1919 * Allowed values:
1920 * protocol version, which is 2.4 right now. Allowed values:
1921 * - PROTOCOL_ADX 1920 * - PROTOCOL_ADX
1922 * - PROTOCOL_OPENRTB_2_2 1921 * - PROTOCOL_OPENRTB_2_2
1923 * - PROTOCOL_OPENRTB_2_3 1922 * - PROTOCOL_OPENRTB_2_3
1924 * - PROTOCOL_OPENRTB_2_4 1923 * - PROTOCOL_OPENRTB_2_4
1925 * - PROTOCOL_OPENRTB_PROTOBUF 1924 * - PROTOCOL_OPENRTB_PROTOBUF_2_3
1925 * - PROTOCOL_OPENRTB_PROTOBUF_2_4
1926 */ 1926 */
1927 core.String bidProtocol; 1927 core.String bidProtocol;
1928 /** The maximum queries per second the Ad Exchange will send. */ 1928 /** The maximum queries per second the Ad Exchange will send. */
1929 core.int maximumQps; 1929 core.int maximumQps;
1930 /** 1930 /**
1931 * The geographical region the Ad Exchange should send requests from. Only 1931 * The geographical region the Ad Exchange should send requests from. Only
1932 * used by some quota systems, but always setting the value is recommended. 1932 * used by some quota systems, but always setting the value is recommended.
1933 * Allowed values: 1933 * Allowed values:
1934 * - ASIA 1934 * - ASIA
1935 * - EUROPE 1935 * - EUROPE
(...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
4236 /** 4236 /**
4237 * Proposed flight end time of the deal (ms since epoch) This will generally 4237 * Proposed flight end time of the deal (ms since epoch) This will generally
4238 * be stored in a granularity of a second. (updatable) 4238 * be stored in a granularity of a second. (updatable)
4239 */ 4239 */
4240 core.String flightEndTimeMs; 4240 core.String flightEndTimeMs;
4241 /** 4241 /**
4242 * Proposed flight start time of the deal (ms since epoch) This will generally 4242 * Proposed flight start time of the deal (ms since epoch) This will generally
4243 * be stored in a granularity of a second. (updatable) 4243 * be stored in a granularity of a second. (updatable)
4244 */ 4244 */
4245 core.String flightStartTimeMs; 4245 core.String flightStartTimeMs;
4246 /** Description for the deal terms. (updatable) */ 4246 /** Description for the deal terms. (buyer-readonly) */
4247 core.String inventoryDescription; 4247 core.String inventoryDescription;
4248 /** 4248 /**
4249 * Indicates whether the current deal is a RFP template. RFP template is 4249 * Indicates whether the current deal is a RFP template. RFP template is
4250 * created by buyer and not based on seller created products. 4250 * created by buyer and not based on seller created products.
4251 */ 4251 */
4252 core.bool isRfpTemplate; 4252 core.bool isRfpTemplate;
4253 /** 4253 /**
4254 * Identifies what kind of resource this is. Value: the fixed string 4254 * Identifies what kind of resource this is. Value: the fixed string
4255 * "adexchangebuyer#marketplaceDeal". 4255 * "adexchangebuyer#marketplaceDeal".
4256 */ 4256 */
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
5059 core.List<core.String> excludedVerticals; 5059 core.List<core.String> excludedVerticals;
5060 /** Requests containing any of these geo criteria ids will match. */ 5060 /** Requests containing any of these geo criteria ids will match. */
5061 core.List<core.String> geoCriteriaIds; 5061 core.List<core.String> geoCriteriaIds;
5062 /** Whether this config is active. Required for all requests. */ 5062 /** Whether this config is active. Required for all requests. */
5063 core.bool isActive; 5063 core.bool isActive;
5064 /** The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig". */ 5064 /** The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig". */
5065 core.String kind; 5065 core.String kind;
5066 /** Request containing any of these language codes will match. */ 5066 /** Request containing any of these language codes will match. */
5067 core.List<core.String> languages; 5067 core.List<core.String> languages;
5068 /** 5068 /**
5069 * Requests where the predicted viewability is below the specified decile will
5070 * not match. E.g. if the buyer sets this value to 5, requests from slots
5071 * where the predicted viewability is below 50% will not match. If the
5072 * predicted viewability is unknown this field will be ignored.
5073 */
5074 core.int minimumViewabilityDecile;
5075 /**
5069 * Requests containing any of these mobile carrier ids will match. Values are 5076 * Requests containing any of these mobile carrier ids will match. Values are
5070 * from mobile-carriers.csv in the downloadable files section. 5077 * from mobile-carriers.csv in the downloadable files section.
5071 */ 5078 */
5072 core.List<core.String> mobileCarriers; 5079 core.List<core.String> mobileCarriers;
5073 /** 5080 /**
5074 * Requests containing any of these mobile device ids will match. Values are 5081 * Requests containing any of these mobile device ids will match. Values are
5075 * from mobile-devices.csv in the downloadable files section. 5082 * from mobile-devices.csv in the downloadable files section.
5076 */ 5083 */
5077 core.List<core.String> mobileDevices; 5084 core.List<core.String> mobileDevices;
5078 /** 5085 /**
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
5154 } 5161 }
5155 if (_json.containsKey("isActive")) { 5162 if (_json.containsKey("isActive")) {
5156 isActive = _json["isActive"]; 5163 isActive = _json["isActive"];
5157 } 5164 }
5158 if (_json.containsKey("kind")) { 5165 if (_json.containsKey("kind")) {
5159 kind = _json["kind"]; 5166 kind = _json["kind"];
5160 } 5167 }
5161 if (_json.containsKey("languages")) { 5168 if (_json.containsKey("languages")) {
5162 languages = _json["languages"]; 5169 languages = _json["languages"];
5163 } 5170 }
5171 if (_json.containsKey("minimumViewabilityDecile")) {
5172 minimumViewabilityDecile = _json["minimumViewabilityDecile"];
5173 }
5164 if (_json.containsKey("mobileCarriers")) { 5174 if (_json.containsKey("mobileCarriers")) {
5165 mobileCarriers = _json["mobileCarriers"]; 5175 mobileCarriers = _json["mobileCarriers"];
5166 } 5176 }
5167 if (_json.containsKey("mobileDevices")) { 5177 if (_json.containsKey("mobileDevices")) {
5168 mobileDevices = _json["mobileDevices"]; 5178 mobileDevices = _json["mobileDevices"];
5169 } 5179 }
5170 if (_json.containsKey("mobileOperatingSystemVersions")) { 5180 if (_json.containsKey("mobileOperatingSystemVersions")) {
5171 mobileOperatingSystemVersions = _json["mobileOperatingSystemVersions"]; 5181 mobileOperatingSystemVersions = _json["mobileOperatingSystemVersions"];
5172 } 5182 }
5173 if (_json.containsKey("placements")) { 5183 if (_json.containsKey("placements")) {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
5233 } 5243 }
5234 if (isActive != null) { 5244 if (isActive != null) {
5235 _json["isActive"] = isActive; 5245 _json["isActive"] = isActive;
5236 } 5246 }
5237 if (kind != null) { 5247 if (kind != null) {
5238 _json["kind"] = kind; 5248 _json["kind"] = kind;
5239 } 5249 }
5240 if (languages != null) { 5250 if (languages != null) {
5241 _json["languages"] = languages; 5251 _json["languages"] = languages;
5242 } 5252 }
5253 if (minimumViewabilityDecile != null) {
5254 _json["minimumViewabilityDecile"] = minimumViewabilityDecile;
5255 }
5243 if (mobileCarriers != null) { 5256 if (mobileCarriers != null) {
5244 _json["mobileCarriers"] = mobileCarriers; 5257 _json["mobileCarriers"] = mobileCarriers;
5245 } 5258 }
5246 if (mobileDevices != null) { 5259 if (mobileDevices != null) {
5247 _json["mobileDevices"] = mobileDevices; 5260 _json["mobileDevices"] = mobileDevices;
5248 } 5261 }
5249 if (mobileOperatingSystemVersions != null) { 5262 if (mobileOperatingSystemVersions != null) {
5250 _json["mobileOperatingSystemVersions"] = mobileOperatingSystemVersions; 5263 _json["mobileOperatingSystemVersions"] = mobileOperatingSystemVersions;
5251 } 5264 }
5252 if (placements != null) { 5265 if (placements != null) {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
5482 * Identifies what kind of resource this is. Value: the fixed string 5495 * Identifies what kind of resource this is. Value: the fixed string
5483 * "adexchangebuyer#product". 5496 * "adexchangebuyer#product".
5484 */ 5497 */
5485 core.String kind; 5498 core.String kind;
5486 /** Optional List of labels for the product (optional, buyer-readonly). */ 5499 /** Optional List of labels for the product (optional, buyer-readonly). */
5487 core.List<MarketplaceLabel> labels; 5500 core.List<MarketplaceLabel> labels;
5488 /** Time of last update in ms. since epoch (readonly) */ 5501 /** Time of last update in ms. since epoch (readonly) */
5489 core.String lastUpdateTimeMs; 5502 core.String lastUpdateTimeMs;
5490 /** Optional legacy offer id if this offer is a preferred deal offer. */ 5503 /** Optional legacy offer id if this offer is a preferred deal offer. */
5491 core.String legacyOfferId; 5504 core.String legacyOfferId;
5505 /**
5506 * Marketplace publisher profile Id. This Id differs from the regular
5507 * publisher_profile_id in that 1. This is a new id, the old Id will be
5508 * deprecated in 2017. 2. This id uniquely identifies a publisher profile by
5509 * itself.
5510 */
5511 core.String marketplacePublisherProfileId;
5492 /** The name for this product as set by the seller. (buyer-readonly) */ 5512 /** The name for this product as set by the seller. (buyer-readonly) */
5493 core.String name; 5513 core.String name;
5494 /** Optional private auction id if this offer is a private auction offer. */ 5514 /** Optional private auction id if this offer is a private auction offer. */
5495 core.String privateAuctionId; 5515 core.String privateAuctionId;
5496 /** The unique id for the product (readonly) */ 5516 /** The unique id for the product (readonly) */
5497 core.String productId; 5517 core.String productId;
5498 /** 5518 /**
5499 * Id of the publisher profile for a given seller. A (seller.account_id, 5519 * Id of the publisher profile for a given seller. A (seller.account_id,
5500 * publisher_profile_id) pair uniquely identifies a publisher profile. Buyers 5520 * publisher_profile_id) pair uniquely identifies a publisher profile. Buyers
5501 * can call the PublisherProfiles::List endpoint to get a list of publisher 5521 * can call the PublisherProfiles::List endpoint to get a list of publisher
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
5561 } 5581 }
5562 if (_json.containsKey("labels")) { 5582 if (_json.containsKey("labels")) {
5563 labels = _json["labels"].map((value) => new MarketplaceLabel.fromJson(valu e)).toList(); 5583 labels = _json["labels"].map((value) => new MarketplaceLabel.fromJson(valu e)).toList();
5564 } 5584 }
5565 if (_json.containsKey("lastUpdateTimeMs")) { 5585 if (_json.containsKey("lastUpdateTimeMs")) {
5566 lastUpdateTimeMs = _json["lastUpdateTimeMs"]; 5586 lastUpdateTimeMs = _json["lastUpdateTimeMs"];
5567 } 5587 }
5568 if (_json.containsKey("legacyOfferId")) { 5588 if (_json.containsKey("legacyOfferId")) {
5569 legacyOfferId = _json["legacyOfferId"]; 5589 legacyOfferId = _json["legacyOfferId"];
5570 } 5590 }
5591 if (_json.containsKey("marketplacePublisherProfileId")) {
5592 marketplacePublisherProfileId = _json["marketplacePublisherProfileId"];
5593 }
5571 if (_json.containsKey("name")) { 5594 if (_json.containsKey("name")) {
5572 name = _json["name"]; 5595 name = _json["name"];
5573 } 5596 }
5574 if (_json.containsKey("privateAuctionId")) { 5597 if (_json.containsKey("privateAuctionId")) {
5575 privateAuctionId = _json["privateAuctionId"]; 5598 privateAuctionId = _json["privateAuctionId"];
5576 } 5599 }
5577 if (_json.containsKey("productId")) { 5600 if (_json.containsKey("productId")) {
5578 productId = _json["productId"]; 5601 productId = _json["productId"];
5579 } 5602 }
5580 if (_json.containsKey("publisherProfileId")) { 5603 if (_json.containsKey("publisherProfileId")) {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
5634 } 5657 }
5635 if (labels != null) { 5658 if (labels != null) {
5636 _json["labels"] = labels.map((value) => (value).toJson()).toList(); 5659 _json["labels"] = labels.map((value) => (value).toJson()).toList();
5637 } 5660 }
5638 if (lastUpdateTimeMs != null) { 5661 if (lastUpdateTimeMs != null) {
5639 _json["lastUpdateTimeMs"] = lastUpdateTimeMs; 5662 _json["lastUpdateTimeMs"] = lastUpdateTimeMs;
5640 } 5663 }
5641 if (legacyOfferId != null) { 5664 if (legacyOfferId != null) {
5642 _json["legacyOfferId"] = legacyOfferId; 5665 _json["legacyOfferId"] = legacyOfferId;
5643 } 5666 }
5667 if (marketplacePublisherProfileId != null) {
5668 _json["marketplacePublisherProfileId"] = marketplacePublisherProfileId;
5669 }
5644 if (name != null) { 5670 if (name != null) {
5645 _json["name"] = name; 5671 _json["name"] = name;
5646 } 5672 }
5647 if (privateAuctionId != null) { 5673 if (privateAuctionId != null) {
5648 _json["privateAuctionId"] = privateAuctionId; 5674 _json["privateAuctionId"] = privateAuctionId;
5649 } 5675 }
5650 if (productId != null) { 5676 if (productId != null) {
5651 _json["productId"] = productId; 5677 _json["productId"] = productId;
5652 } 5678 }
5653 if (publisherProfileId != null) { 5679 if (publisherProfileId != null) {
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
6472 } 6498 }
6473 if (proposalRevisionNumber != null) { 6499 if (proposalRevisionNumber != null) {
6474 _json["proposalRevisionNumber"] = proposalRevisionNumber; 6500 _json["proposalRevisionNumber"] = proposalRevisionNumber;
6475 } 6501 }
6476 if (updateAction != null) { 6502 if (updateAction != null) {
6477 _json["updateAction"] = updateAction; 6503 _json["updateAction"] = updateAction;
6478 } 6504 }
6479 return _json; 6505 return _json;
6480 } 6506 }
6481 } 6507 }
OLDNEW
« no previous file with comments | « generated/googleapis/README.md ('k') | generated/googleapis/lib/admin/directory_v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698