google-api-client 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +34 -0
- data/api_names.yaml +3 -0
- data/api_names_out.yaml +1058 -20
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +2 -3
- data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
- data/generated/google/apis/appengine_v1beta5.rb +2 -3
- data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
- data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +68 -14
- data/generated/google/apis/bigquery_v2/representations.rb +30 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +68 -3
- data/generated/google/apis/books_v1/representations.rb +21 -0
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +138 -108
- data/generated/google/apis/compute_beta/representations.rb +16 -18
- data/generated/google/apis/compute_beta/service.rb +52 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +55 -74
- data/generated/google/apis/compute_v1/representations.rb +14 -18
- data/generated/google/apis/compute_v1/service.rb +45 -1
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +200 -42
- data/generated/google/apis/container_v1/representations.rb +54 -0
- data/generated/google/apis/container_v1/service.rb +31 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2.rb +2 -2
- data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +2 -3
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
- data/generated/google/apis/dfareporting_v2_3.rb +2 -2
- data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -4
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +770 -82
- data/generated/google/apis/genomics_v1/representations.rb +287 -24
- data/generated/google/apis/genomics_v1/service.rb +412 -13
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
- data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/logging_v2beta1.rb +2 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
- data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
- data/generated/google/apis/logging_v2beta1/service.rb +25 -32
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +20 -12
- data/generated/google/apis/pubsub_v1/service.rb +32 -35
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +23 -9
- data/generated/google/apis/reseller_v1/representations.rb +2 -0
- data/generated/google/apis/sheets_v1.rb +43 -0
- data/generated/google/apis/sheets_v1/classes.rb +4542 -0
- data/generated/google/apis/sheets_v1/representations.rb +1703 -0
- data/generated/google/apis/sheets_v1/service.rb +363 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +11 -11
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +2 -2
- data/generated/google/apis/webmasters_v3/classes.rb +7 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/webmasters_v3/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +37 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
- data/generated/google/apis/youtube_v3.rb +3 -2
- data/generated/google/apis/youtube_v3/classes.rb +100 -3
- data/generated/google/apis/youtube_v3/representations.rb +50 -0
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
- data/google-api-client.gemspec +2 -0
- data/lib/google/apis.rb +12 -2
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +5 -2
- data/spec/google/apis/logging_spec.rb +55 -0
- metadata +12 -4
data/bin/generate-api
CHANGED
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
Google::Apis.logger.level = Logger::DEBUG if options[:verbose]
|
33
33
|
generate_from_url(options[:url]) if options[:url]
|
34
34
|
generate_from_file(options[:file]) if options[:file]
|
35
|
-
generate_from_discovery(preferred_only: options[:preferred_only], id: options[:id] ) if options[:from_discovery]
|
35
|
+
generate_from_discovery(preferred_only: options[:preferred_only], id: options[:id] ) if options[:id] || options[:from_discovery]
|
36
36
|
create_file(options[:names_out]) { |*| generator.dump_api_names } if options[:names_out]
|
37
37
|
end
|
38
38
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
27
|
module AdexchangebuyerV1_4
|
28
28
|
VERSION = 'V1_4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160405'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -1126,6 +1126,12 @@ module Google
|
|
1126
1126
|
# @return [Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms]
|
1127
1127
|
attr_accessor :non_guaranteed_fixed_price_terms
|
1128
1128
|
|
1129
|
+
# For deals with Cost Per Day billing, defines the timezone used to mark the
|
1130
|
+
# boundaries of a day (buyer-readonly)
|
1131
|
+
# Corresponds to the JSON property `sellerTimeZone`
|
1132
|
+
# @return [String]
|
1133
|
+
attr_accessor :seller_time_zone
|
1134
|
+
|
1129
1135
|
def initialize(**args)
|
1130
1136
|
update!(**args)
|
1131
1137
|
end
|
@@ -1139,6 +1145,7 @@ module Google
|
|
1139
1145
|
@guaranteed_fixed_price_terms = args[:guaranteed_fixed_price_terms] if args.key?(:guaranteed_fixed_price_terms)
|
1140
1146
|
@non_guaranteed_auction_terms = args[:non_guaranteed_auction_terms] if args.key?(:non_guaranteed_auction_terms)
|
1141
1147
|
@non_guaranteed_fixed_price_terms = args[:non_guaranteed_fixed_price_terms] if args.key?(:non_guaranteed_fixed_price_terms)
|
1148
|
+
@seller_time_zone = args[:seller_time_zone] if args.key?(:seller_time_zone)
|
1142
1149
|
end
|
1143
1150
|
end
|
1144
1151
|
|
@@ -1338,6 +1345,58 @@ module Google
|
|
1338
1345
|
end
|
1339
1346
|
end
|
1340
1347
|
|
1348
|
+
# This message carries publisher provided breakdown. E.g. `dimension_type: '
|
1349
|
+
# COUNTRY', [`dimension_value: `id: 1, name: 'US'``, `dimension_value: `id: 2,
|
1350
|
+
# name: 'UK'``]`
|
1351
|
+
class Dimension
|
1352
|
+
include Google::Apis::Core::Hashable
|
1353
|
+
|
1354
|
+
#
|
1355
|
+
# Corresponds to the JSON property `dimensionType`
|
1356
|
+
# @return [String]
|
1357
|
+
attr_accessor :dimension_type
|
1358
|
+
|
1359
|
+
#
|
1360
|
+
# Corresponds to the JSON property `dimensionValues`
|
1361
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue>]
|
1362
|
+
attr_accessor :dimension_values
|
1363
|
+
|
1364
|
+
def initialize(**args)
|
1365
|
+
update!(**args)
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# Update properties of this object
|
1369
|
+
def update!(**args)
|
1370
|
+
@dimension_type = args[:dimension_type] if args.key?(:dimension_type)
|
1371
|
+
@dimension_values = args[:dimension_values] if args.key?(:dimension_values)
|
1372
|
+
end
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
# Value of the dimension.
|
1376
|
+
class DimensionDimensionValue
|
1377
|
+
include Google::Apis::Core::Hashable
|
1378
|
+
|
1379
|
+
# Id of the dimension.
|
1380
|
+
# Corresponds to the JSON property `id`
|
1381
|
+
# @return [Fixnum]
|
1382
|
+
attr_accessor :id
|
1383
|
+
|
1384
|
+
# Name of the dimension mainly for debugging purposes.
|
1385
|
+
# Corresponds to the JSON property `name`
|
1386
|
+
# @return [String]
|
1387
|
+
attr_accessor :name
|
1388
|
+
|
1389
|
+
def initialize(**args)
|
1390
|
+
update!(**args)
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
# Update properties of this object
|
1394
|
+
def update!(**args)
|
1395
|
+
@id = args[:id] if args.key?(:id)
|
1396
|
+
@name = args[:name] if args.key?(:name)
|
1397
|
+
end
|
1398
|
+
end
|
1399
|
+
|
1341
1400
|
#
|
1342
1401
|
class EditAllOrderDealsRequest
|
1343
1402
|
include Google::Apis::Core::Hashable
|
@@ -1956,10 +2015,7 @@ module Google
|
|
1956
2015
|
end
|
1957
2016
|
end
|
1958
2017
|
|
1959
|
-
# The configuration data for an Ad Exchange performance report list.
|
1960
|
-
# sites.google.com/a/google.com/adx-integration/Home/engineering/binary-releases/
|
1961
|
-
# rtb-api-release https://cs.corp.google.com/#piper///depot/google3/contentads/
|
1962
|
-
# adx/tools/rtb_api/adxrtb.py
|
2018
|
+
# The configuration data for an Ad Exchange performance report list.
|
1963
2019
|
class PerformanceReportList
|
1964
2020
|
include Google::Apis::Core::Hashable
|
1965
2021
|
|
@@ -2470,6 +2526,14 @@ module Google
|
|
2470
2526
|
# @return [String]
|
2471
2527
|
attr_accessor :product_id
|
2472
2528
|
|
2529
|
+
# Id of the publisher profile for a given seller. A (seller.account_id,
|
2530
|
+
# publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can
|
2531
|
+
# call the PublisherProfiles::List endpoint to get a list of publisher profiles
|
2532
|
+
# for a given seller.
|
2533
|
+
# Corresponds to the JSON property `publisherProfileId`
|
2534
|
+
# @return [String]
|
2535
|
+
attr_accessor :publisher_profile_id
|
2536
|
+
|
2473
2537
|
# The revision number of the product. (readonly)
|
2474
2538
|
# Corresponds to the JSON property `revisionNumber`
|
2475
2539
|
# @return [String]
|
@@ -2503,7 +2567,8 @@ module Google
|
|
2503
2567
|
# @return [Google::Apis::AdexchangebuyerV1_4::DealTerms]
|
2504
2568
|
attr_accessor :terms
|
2505
2569
|
|
2506
|
-
#
|
2570
|
+
# The web property code for the seller. This field is meant to be copied over as
|
2571
|
+
# is when creating deals.
|
2507
2572
|
# Corresponds to the JSON property `webPropertyCode`
|
2508
2573
|
# @return [String]
|
2509
2574
|
attr_accessor :web_property_code
|
@@ -2528,6 +2593,7 @@ module Google
|
|
2528
2593
|
@name = args[:name] if args.key?(:name)
|
2529
2594
|
@private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id)
|
2530
2595
|
@product_id = args[:product_id] if args.key?(:product_id)
|
2596
|
+
@publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
|
2531
2597
|
@revision_number = args[:revision_number] if args.key?(:revision_number)
|
2532
2598
|
@seller = args[:seller] if args.key?(:seller)
|
2533
2599
|
@shared_targetings = args[:shared_targetings] if args.key?(:shared_targetings)
|
@@ -2710,11 +2776,31 @@ module Google
|
|
2710
2776
|
class PublisherProfileApiProto
|
2711
2777
|
include Google::Apis::Core::Hashable
|
2712
2778
|
|
2779
|
+
# The account id of the seller.
|
2780
|
+
# Corresponds to the JSON property `accountId`
|
2781
|
+
# @return [String]
|
2782
|
+
attr_accessor :account_id
|
2783
|
+
|
2784
|
+
# Publisher provided info on its audience.
|
2785
|
+
# Corresponds to the JSON property `audience`
|
2786
|
+
# @return [String]
|
2787
|
+
attr_accessor :audience
|
2788
|
+
|
2713
2789
|
# A pitch statement for the buyer
|
2714
2790
|
# Corresponds to the JSON property `buyerPitchStatement`
|
2715
2791
|
# @return [String]
|
2716
2792
|
attr_accessor :buyer_pitch_statement
|
2717
2793
|
|
2794
|
+
# Direct contact for the publisher profile.
|
2795
|
+
# Corresponds to the JSON property `directContact`
|
2796
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::ContactInformation]
|
2797
|
+
attr_accessor :direct_contact
|
2798
|
+
|
2799
|
+
# Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...
|
2800
|
+
# Corresponds to the JSON property `exchange`
|
2801
|
+
# @return [String]
|
2802
|
+
attr_accessor :exchange
|
2803
|
+
|
2718
2804
|
# Link to publisher's Google+ page.
|
2719
2805
|
# Corresponds to the JSON property `googlePlusLink`
|
2720
2806
|
# @return [String]
|
@@ -2727,6 +2813,12 @@ module Google
|
|
2727
2813
|
attr_accessor :is_parent
|
2728
2814
|
alias_method :is_parent?, :is_parent
|
2729
2815
|
|
2816
|
+
# True, if this profile is published. Deprecated for state.
|
2817
|
+
# Corresponds to the JSON property `isPublished`
|
2818
|
+
# @return [Boolean]
|
2819
|
+
attr_accessor :is_published
|
2820
|
+
alias_method :is_published?, :is_published
|
2821
|
+
|
2730
2822
|
# Identifies what kind of resource this is. Value: the fixed string "
|
2731
2823
|
# adexchangebuyer#publisherProfileApiProto".
|
2732
2824
|
# Corresponds to the JSON property `kind`
|
@@ -2753,17 +2845,33 @@ module Google
|
|
2753
2845
|
# @return [String]
|
2754
2846
|
attr_accessor :overview
|
2755
2847
|
|
2756
|
-
#
|
2848
|
+
# The pair of (seller.account_id, profile_id) uniquely identifies a publisher
|
2849
|
+
# profile for a given publisher.
|
2757
2850
|
# Corresponds to the JSON property `profileId`
|
2758
2851
|
# @return [Fixnum]
|
2759
2852
|
attr_accessor :profile_id
|
2760
2853
|
|
2854
|
+
# Programmatic contact for the publisher profile.
|
2855
|
+
# Corresponds to the JSON property `programmaticContact`
|
2856
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::ContactInformation]
|
2857
|
+
attr_accessor :programmatic_contact
|
2858
|
+
|
2761
2859
|
# The list of domains represented in this publisher profile. Empty if this is a
|
2762
2860
|
# parent profile.
|
2763
2861
|
# Corresponds to the JSON property `publisherDomains`
|
2764
2862
|
# @return [Array<String>]
|
2765
2863
|
attr_accessor :publisher_domains
|
2766
2864
|
|
2865
|
+
# Unique Id for publisher profile.
|
2866
|
+
# Corresponds to the JSON property `publisherProfileId`
|
2867
|
+
# @return [String]
|
2868
|
+
attr_accessor :publisher_profile_id
|
2869
|
+
|
2870
|
+
# This message carries publisher provided forecasting information.
|
2871
|
+
# Corresponds to the JSON property `publisherProvidedForecast`
|
2872
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast]
|
2873
|
+
attr_accessor :publisher_provided_forecast
|
2874
|
+
|
2767
2875
|
# Link to publisher rate card
|
2768
2876
|
# Corresponds to the JSON property `rateCardInfoLink`
|
2769
2877
|
# @return [String]
|
@@ -2774,6 +2882,16 @@ module Google
|
|
2774
2882
|
# @return [String]
|
2775
2883
|
attr_accessor :sample_page_link
|
2776
2884
|
|
2885
|
+
# Seller of the publisher profile.
|
2886
|
+
# Corresponds to the JSON property `seller`
|
2887
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::Seller]
|
2888
|
+
attr_accessor :seller
|
2889
|
+
|
2890
|
+
# State of the publisher profile.
|
2891
|
+
# Corresponds to the JSON property `state`
|
2892
|
+
# @return [String]
|
2893
|
+
attr_accessor :state
|
2894
|
+
|
2777
2895
|
# Publisher provided key metrics and rankings.
|
2778
2896
|
# Corresponds to the JSON property `topHeadlines`
|
2779
2897
|
# @return [Array<String>]
|
@@ -2785,22 +2903,63 @@ module Google
|
|
2785
2903
|
|
2786
2904
|
# Update properties of this object
|
2787
2905
|
def update!(**args)
|
2906
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
2907
|
+
@audience = args[:audience] if args.key?(:audience)
|
2788
2908
|
@buyer_pitch_statement = args[:buyer_pitch_statement] if args.key?(:buyer_pitch_statement)
|
2909
|
+
@direct_contact = args[:direct_contact] if args.key?(:direct_contact)
|
2910
|
+
@exchange = args[:exchange] if args.key?(:exchange)
|
2789
2911
|
@google_plus_link = args[:google_plus_link] if args.key?(:google_plus_link)
|
2790
2912
|
@is_parent = args[:is_parent] if args.key?(:is_parent)
|
2913
|
+
@is_published = args[:is_published] if args.key?(:is_published)
|
2791
2914
|
@kind = args[:kind] if args.key?(:kind)
|
2792
2915
|
@logo_url = args[:logo_url] if args.key?(:logo_url)
|
2793
2916
|
@media_kit_link = args[:media_kit_link] if args.key?(:media_kit_link)
|
2794
2917
|
@name = args[:name] if args.key?(:name)
|
2795
2918
|
@overview = args[:overview] if args.key?(:overview)
|
2796
2919
|
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
2920
|
+
@programmatic_contact = args[:programmatic_contact] if args.key?(:programmatic_contact)
|
2797
2921
|
@publisher_domains = args[:publisher_domains] if args.key?(:publisher_domains)
|
2922
|
+
@publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
|
2923
|
+
@publisher_provided_forecast = args[:publisher_provided_forecast] if args.key?(:publisher_provided_forecast)
|
2798
2924
|
@rate_card_info_link = args[:rate_card_info_link] if args.key?(:rate_card_info_link)
|
2799
2925
|
@sample_page_link = args[:sample_page_link] if args.key?(:sample_page_link)
|
2926
|
+
@seller = args[:seller] if args.key?(:seller)
|
2927
|
+
@state = args[:state] if args.key?(:state)
|
2800
2928
|
@top_headlines = args[:top_headlines] if args.key?(:top_headlines)
|
2801
2929
|
end
|
2802
2930
|
end
|
2803
2931
|
|
2932
|
+
# This message carries publisher provided forecasting information.
|
2933
|
+
class PublisherProvidedForecast
|
2934
|
+
include Google::Apis::Core::Hashable
|
2935
|
+
|
2936
|
+
# Publisher provided dimensions. E.g. geo, sizes etc...
|
2937
|
+
# Corresponds to the JSON property `dimensions`
|
2938
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_4::Dimension>]
|
2939
|
+
attr_accessor :dimensions
|
2940
|
+
|
2941
|
+
# Publisher provided weekly impressions.
|
2942
|
+
# Corresponds to the JSON property `weeklyImpressions`
|
2943
|
+
# @return [String]
|
2944
|
+
attr_accessor :weekly_impressions
|
2945
|
+
|
2946
|
+
# Publisher provided weekly uniques.
|
2947
|
+
# Corresponds to the JSON property `weeklyUniques`
|
2948
|
+
# @return [String]
|
2949
|
+
attr_accessor :weekly_uniques
|
2950
|
+
|
2951
|
+
def initialize(**args)
|
2952
|
+
update!(**args)
|
2953
|
+
end
|
2954
|
+
|
2955
|
+
# Update properties of this object
|
2956
|
+
def update!(**args)
|
2957
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
2958
|
+
@weekly_impressions = args[:weekly_impressions] if args.key?(:weekly_impressions)
|
2959
|
+
@weekly_uniques = args[:weekly_uniques] if args.key?(:weekly_uniques)
|
2960
|
+
end
|
2961
|
+
end
|
2962
|
+
|
2804
2963
|
#
|
2805
2964
|
class Seller
|
2806
2965
|
include Google::Apis::Core::Hashable
|
@@ -3020,6 +3179,44 @@ module Google
|
|
3020
3179
|
@width = args[:width] if args.key?(:width)
|
3021
3180
|
end
|
3022
3181
|
end
|
3182
|
+
|
3183
|
+
#
|
3184
|
+
class UpdatePrivateAuctionProposalRequest
|
3185
|
+
include Google::Apis::Core::Hashable
|
3186
|
+
|
3187
|
+
# The externalDealId of the deal to be updated.
|
3188
|
+
# Corresponds to the JSON property `externalDealId`
|
3189
|
+
# @return [String]
|
3190
|
+
attr_accessor :external_deal_id
|
3191
|
+
|
3192
|
+
# A proposal is associated with a bunch of notes which may optionally be
|
3193
|
+
# associated with a deal and/or revision number.
|
3194
|
+
# Corresponds to the JSON property `note`
|
3195
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::MarketplaceNote]
|
3196
|
+
attr_accessor :note
|
3197
|
+
|
3198
|
+
# The current revision number of the proposal to be updated.
|
3199
|
+
# Corresponds to the JSON property `proposalRevisionNumber`
|
3200
|
+
# @return [String]
|
3201
|
+
attr_accessor :proposal_revision_number
|
3202
|
+
|
3203
|
+
# The proposed action on the private auction proposal.
|
3204
|
+
# Corresponds to the JSON property `updateAction`
|
3205
|
+
# @return [String]
|
3206
|
+
attr_accessor :update_action
|
3207
|
+
|
3208
|
+
def initialize(**args)
|
3209
|
+
update!(**args)
|
3210
|
+
end
|
3211
|
+
|
3212
|
+
# Update properties of this object
|
3213
|
+
def update!(**args)
|
3214
|
+
@external_deal_id = args[:external_deal_id] if args.key?(:external_deal_id)
|
3215
|
+
@note = args[:note] if args.key?(:note)
|
3216
|
+
@proposal_revision_number = args[:proposal_revision_number] if args.key?(:proposal_revision_number)
|
3217
|
+
@update_action = args[:update_action] if args.key?(:update_action)
|
3218
|
+
end
|
3219
|
+
end
|
3023
3220
|
end
|
3024
3221
|
end
|
3025
3222
|
end
|
@@ -238,6 +238,18 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
+
class Dimension
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class DimensionDimensionValue
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
241
253
|
class EditAllOrderDealsRequest
|
242
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
255
|
|
@@ -388,6 +400,12 @@ module Google
|
|
388
400
|
include Google::Apis::Core::JsonObjectSupport
|
389
401
|
end
|
390
402
|
|
403
|
+
class PublisherProvidedForecast
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
391
409
|
class Seller
|
392
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
411
|
|
@@ -430,6 +448,12 @@ module Google
|
|
430
448
|
include Google::Apis::Core::JsonObjectSupport
|
431
449
|
end
|
432
450
|
|
451
|
+
class UpdatePrivateAuctionProposalRequest
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
433
457
|
class Account
|
434
458
|
# @private
|
435
459
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -740,6 +764,7 @@ module Google
|
|
740
764
|
|
741
765
|
property :non_guaranteed_fixed_price_terms, as: 'nonGuaranteedFixedPriceTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms::Representation
|
742
766
|
|
767
|
+
property :seller_time_zone, as: 'sellerTimeZone'
|
743
768
|
end
|
744
769
|
end
|
745
770
|
|
@@ -807,6 +832,23 @@ module Google
|
|
807
832
|
end
|
808
833
|
end
|
809
834
|
|
835
|
+
class Dimension
|
836
|
+
# @private
|
837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
838
|
+
property :dimension_type, as: 'dimensionType'
|
839
|
+
collection :dimension_values, as: 'dimensionValues', class: Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue, decorator: Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue::Representation
|
840
|
+
|
841
|
+
end
|
842
|
+
end
|
843
|
+
|
844
|
+
class DimensionDimensionValue
|
845
|
+
# @private
|
846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
847
|
+
property :id, as: 'id'
|
848
|
+
property :name, as: 'name'
|
849
|
+
end
|
850
|
+
end
|
851
|
+
|
810
852
|
class EditAllOrderDealsRequest
|
811
853
|
# @private
|
812
854
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1098,6 +1140,7 @@ module Google
|
|
1098
1140
|
property :name, as: 'name'
|
1099
1141
|
property :private_auction_id, as: 'privateAuctionId'
|
1100
1142
|
property :product_id, as: 'productId'
|
1143
|
+
property :publisher_profile_id, as: 'publisherProfileId'
|
1101
1144
|
property :revision_number, as: 'revisionNumber'
|
1102
1145
|
property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation
|
1103
1146
|
|
@@ -1150,22 +1193,46 @@ module Google
|
|
1150
1193
|
class PublisherProfileApiProto
|
1151
1194
|
# @private
|
1152
1195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1196
|
+
property :account_id, as: 'accountId'
|
1197
|
+
property :audience, as: 'audience'
|
1153
1198
|
property :buyer_pitch_statement, as: 'buyerPitchStatement'
|
1199
|
+
property :direct_contact, as: 'directContact', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation
|
1200
|
+
|
1201
|
+
property :exchange, as: 'exchange'
|
1154
1202
|
property :google_plus_link, as: 'googlePlusLink'
|
1155
1203
|
property :is_parent, as: 'isParent'
|
1204
|
+
property :is_published, as: 'isPublished'
|
1156
1205
|
property :kind, as: 'kind'
|
1157
1206
|
property :logo_url, as: 'logoUrl'
|
1158
1207
|
property :media_kit_link, as: 'mediaKitLink'
|
1159
1208
|
property :name, as: 'name'
|
1160
1209
|
property :overview, as: 'overview'
|
1161
1210
|
property :profile_id, as: 'profileId'
|
1211
|
+
property :programmatic_contact, as: 'programmaticContact', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation
|
1212
|
+
|
1162
1213
|
collection :publisher_domains, as: 'publisherDomains'
|
1214
|
+
property :publisher_profile_id, as: 'publisherProfileId'
|
1215
|
+
property :publisher_provided_forecast, as: 'publisherProvidedForecast', class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast::Representation
|
1216
|
+
|
1163
1217
|
property :rate_card_info_link, as: 'rateCardInfoLink'
|
1164
1218
|
property :sample_page_link, as: 'samplePageLink'
|
1219
|
+
property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation
|
1220
|
+
|
1221
|
+
property :state, as: 'state'
|
1165
1222
|
collection :top_headlines, as: 'topHeadlines'
|
1166
1223
|
end
|
1167
1224
|
end
|
1168
1225
|
|
1226
|
+
class PublisherProvidedForecast
|
1227
|
+
# @private
|
1228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1229
|
+
collection :dimensions, as: 'dimensions', class: Google::Apis::AdexchangebuyerV1_4::Dimension, decorator: Google::Apis::AdexchangebuyerV1_4::Dimension::Representation
|
1230
|
+
|
1231
|
+
property :weekly_impressions, as: 'weeklyImpressions'
|
1232
|
+
property :weekly_uniques, as: 'weeklyUniques'
|
1233
|
+
end
|
1234
|
+
end
|
1235
|
+
|
1169
1236
|
class Seller
|
1170
1237
|
# @private
|
1171
1238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1235,6 +1302,17 @@ module Google
|
|
1235
1302
|
property :width, as: 'width'
|
1236
1303
|
end
|
1237
1304
|
end
|
1305
|
+
|
1306
|
+
class UpdatePrivateAuctionProposalRequest
|
1307
|
+
# @private
|
1308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1309
|
+
property :external_deal_id, as: 'externalDealId'
|
1310
|
+
property :note, as: 'note', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceNote, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceNote::Representation
|
1311
|
+
|
1312
|
+
property :proposal_revision_number, as: 'proposalRevisionNumber'
|
1313
|
+
property :update_action, as: 'updateAction'
|
1314
|
+
end
|
1315
|
+
end
|
1238
1316
|
end
|
1239
1317
|
end
|
1240
1318
|
end
|