google-api-client 0.9.8 → 0.9.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/Gemfile +9 -1
  4. data/README.md +10 -2
  5. data/api_names.yaml +61 -110
  6. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +160 -9
  8. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +46 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -8
  10. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  11. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
  14. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +2 -2
  16. data/generated/google/apis/admin_reports_v1.rb +3 -3
  17. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4.rb +1 -1
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/analytics_v3.rb +1 -1
  21. data/generated/google/apis/analytics_v3/classes.rb +371 -1
  22. data/generated/google/apis/analytics_v3/representations.rb +135 -0
  23. data/generated/google/apis/analytics_v3/service.rb +218 -0
  24. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  25. data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +722 -48
  28. data/generated/google/apis/androidenterprise_v1/representations.rb +305 -0
  29. data/generated/google/apis/androidenterprise_v1/service.rb +1180 -146
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
  32. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta5/classes.rb +430 -288
  34. data/generated/google/apis/appengine_v1beta5/representations.rb +84 -10
  35. data/generated/google/apis/appengine_v1beta5/service.rb +285 -25
  36. data/generated/google/apis/appsactivity_v1.rb +1 -1
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/bigquery_v2.rb +1 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +254 -6
  40. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  41. data/generated/google/apis/bigquery_v2/service.rb +8 -2
  42. data/generated/google/apis/books_v1.rb +2 -2
  43. data/generated/google/apis/books_v1/classes.rb +77 -0
  44. data/generated/google/apis/books_v1/representations.rb +34 -0
  45. data/generated/google/apis/books_v1/service.rb +7 -3
  46. data/generated/google/apis/calendar_v3.rb +1 -1
  47. data/generated/google/apis/civicinfo_v2.rb +3 -2
  48. data/generated/google/apis/civicinfo_v2/classes.rb +16 -4
  49. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  50. data/generated/google/apis/civicinfo_v2/service.rb +8 -2
  51. data/generated/google/apis/classroom_v1.rb +1 -1
  52. data/generated/google/apis/classroom_v1/classes.rb +176 -37
  53. data/generated/google/apis/classroom_v1/representations.rb +73 -9
  54. data/generated/google/apis/classroom_v1/service.rb +392 -37
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +320 -12
  57. data/generated/google/apis/cloudbuild_v1/representations.rb +136 -2
  58. data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
  59. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  60. data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
  61. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  62. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +157 -3
  64. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +33 -0
  65. data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -21
  66. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +22 -5
  68. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +2 -0
  69. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +61 -39
  70. data/generated/google/apis/compute_beta.rb +1 -1
  71. data/generated/google/apis/compute_beta/classes.rb +1620 -199
  72. data/generated/google/apis/compute_beta/representations.rb +563 -0
  73. data/generated/google/apis/compute_beta/service.rb +5123 -2690
  74. data/generated/google/apis/compute_v1.rb +1 -1
  75. data/generated/google/apis/compute_v1/classes.rb +1717 -295
  76. data/generated/google/apis/compute_v1/representations.rb +536 -0
  77. data/generated/google/apis/compute_v1/service.rb +2038 -1041
  78. data/generated/google/apis/content_v2.rb +1 -1
  79. data/generated/google/apis/content_v2/classes.rb +709 -1
  80. data/generated/google/apis/content_v2/representations.rb +319 -0
  81. data/generated/google/apis/content_v2/service.rb +244 -0
  82. data/generated/google/apis/datastore_v1.rb +38 -0
  83. data/generated/google/apis/datastore_v1/classes.rb +1284 -0
  84. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  85. data/generated/google/apis/datastore_v1/service.rb +259 -0
  86. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  87. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  88. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  89. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  90. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  91. data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
  92. data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
  93. data/generated/google/apis/deploymentmanager_v2/service.rb +162 -50
  94. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  95. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  96. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  97. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  98. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  99. data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
  100. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  101. data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
  102. data/generated/google/apis/dns_v1.rb +1 -1
  103. data/generated/google/apis/dns_v1/classes.rb +1 -1
  104. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  105. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  106. data/generated/google/apis/drive_v2.rb +1 -1
  107. data/generated/google/apis/drive_v2/classes.rb +11 -3
  108. data/generated/google/apis/drive_v2/representations.rb +2 -0
  109. data/generated/google/apis/drive_v2/service.rb +8 -2
  110. data/generated/google/apis/drive_v3.rb +1 -1
  111. data/generated/google/apis/drive_v3/classes.rb +36 -16
  112. data/generated/google/apis/drive_v3/representations.rb +2 -0
  113. data/generated/google/apis/drive_v3/service.rb +4 -1
  114. data/generated/google/apis/fitness_v1.rb +8 -2
  115. data/generated/google/apis/fitness_v1/classes.rb +64 -6
  116. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  117. data/generated/google/apis/fitness_v1/service.rb +17 -18
  118. data/generated/google/apis/fusiontables_v2.rb +1 -1
  119. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  120. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  121. data/generated/google/apis/games_management_v1management.rb +1 -1
  122. data/generated/google/apis/games_v1.rb +1 -1
  123. data/generated/google/apis/genomics_v1.rb +2 -4
  124. data/generated/google/apis/genomics_v1/classes.rb +111 -9
  125. data/generated/google/apis/genomics_v1/representations.rb +36 -0
  126. data/generated/google/apis/genomics_v1/service.rb +4 -7
  127. data/generated/google/apis/gmail_v1.rb +7 -1
  128. data/generated/google/apis/gmail_v1/classes.rb +540 -0
  129. data/generated/google/apis/gmail_v1/representations.rb +213 -0
  130. data/generated/google/apis/gmail_v1/service.rb +898 -1
  131. data/generated/google/apis/groupssettings_v1.rb +1 -1
  132. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  133. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  134. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  135. data/generated/google/apis/identitytoolkit_v3/classes.rb +154 -1
  136. data/generated/google/apis/identitytoolkit_v3/representations.rb +35 -0
  137. data/generated/google/apis/language_v1beta1.rb +36 -0
  138. data/generated/google/apis/language_v1beta1/classes.rb +596 -0
  139. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  140. data/generated/google/apis/language_v1beta1/service.rb +154 -0
  141. data/generated/google/apis/mirror_v1.rb +2 -2
  142. data/generated/google/apis/mirror_v1/service.rb +1 -1
  143. data/generated/google/apis/monitoring_v3.rb +45 -0
  144. data/generated/google/apis/monitoring_v3/classes.rb +1328 -0
  145. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  146. data/generated/google/apis/monitoring_v3/service.rb +711 -0
  147. data/generated/google/apis/oauth2_v2.rb +1 -1
  148. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  149. data/generated/google/apis/plus_domains_v1.rb +1 -1
  150. data/generated/google/apis/plus_v1.rb +1 -1
  151. data/generated/google/apis/qpx_express_v1.rb +1 -1
  152. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  153. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  154. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  155. data/generated/google/apis/script_v1.rb +1 -1
  156. data/generated/google/apis/script_v1/classes.rb +6 -0
  157. data/generated/google/apis/script_v1/representations.rb +1 -0
  158. data/generated/google/apis/sheets_v4.rb +1 -1
  159. data/generated/google/apis/sheets_v4/classes.rb +35 -0
  160. data/generated/google/apis/sheets_v4/representations.rb +16 -0
  161. data/generated/google/apis/sheets_v4/service.rb +55 -0
  162. data/generated/google/apis/speech_v1beta1.rb +34 -0
  163. data/generated/google/apis/speech_v1beta1/classes.rb +521 -0
  164. data/generated/google/apis/speech_v1beta1/representations.rb +219 -0
  165. data/generated/google/apis/speech_v1beta1/service.rb +268 -0
  166. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  167. data/generated/google/apis/sqladmin_v1beta4/classes.rb +26 -8
  168. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  169. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  170. data/generated/google/apis/storage_v1.rb +1 -1
  171. data/generated/google/apis/storage_v1/classes.rb +19 -10
  172. data/generated/google/apis/translate_v2.rb +2 -2
  173. data/generated/google/apis/translate_v2/service.rb +1 -1
  174. data/generated/google/apis/vision_v1.rb +1 -1
  175. data/generated/google/apis/vision_v1/classes.rb +10 -9
  176. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  177. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  178. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  179. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  180. data/generated/google/apis/youtube_v3.rb +1 -1
  181. data/generated/google/apis/youtube_v3/classes.rb +163 -2
  182. data/generated/google/apis/youtube_v3/representations.rb +82 -0
  183. data/generated/google/apis/youtube_v3/service.rb +6 -2
  184. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  185. data/google-api-client.gemspec +2 -1
  186. data/lib/google/apis/core/api_command.rb +4 -0
  187. data/lib/google/apis/core/base_service.rb +10 -4
  188. data/lib/google/apis/core/download.rb +7 -2
  189. data/lib/google/apis/core/http_command.rb +5 -1
  190. data/lib/google/apis/core/upload.rb +7 -1
  191. data/lib/google/apis/errors.rb +2 -2
  192. data/lib/google/apis/generator/annotator.rb +6 -0
  193. data/lib/google/apis/version.rb +1 -1
  194. data/samples/cli/lib/samples/bigquery.rb +101 -0
  195. data/samples/cli/lib/samples/sheets.rb +61 -0
  196. data/sync.rb +71 -0
  197. metadata +43 -13
@@ -111,6 +111,12 @@ module Google
111
111
 
112
112
  class Correction
113
113
  class Representation < Google::Apis::Core::JsonRepresentation; end
114
+
115
+ class Context
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
114
120
 
115
121
  include Google::Apis::Core::JsonObjectSupport
116
122
  end
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class DealTermsRubiconNonGuaranteedTerms
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class DeleteOrderDealsRequest
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -609,11 +621,13 @@ module Google
609
621
  collection :corrections, as: 'corrections', class: Google::Apis::AdexchangebuyerV1_4::Creative::Correction, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Representation
610
622
 
611
623
  property :deals_status, as: 'dealsStatus'
624
+ collection :detected_domains, as: 'detectedDomains'
612
625
  property :filtering_reasons, as: 'filteringReasons', class: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons::Representation
613
626
 
614
627
  property :height, as: 'height'
615
628
  collection :impression_tracking_url, as: 'impressionTrackingUrl'
616
629
  property :kind, as: 'kind'
630
+ collection :languages, as: 'languages'
617
631
  property :native_ad, as: 'nativeAd', class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Representation
618
632
 
619
633
  property :open_auction_status, as: 'openAuctionStatus'
@@ -631,9 +645,21 @@ module Google
631
645
  class Correction
632
646
  # @private
633
647
  class Representation < Google::Apis::Core::JsonRepresentation
648
+ collection :contexts, as: 'contexts', class: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context::Representation
649
+
634
650
  collection :details, as: 'details'
635
651
  property :reason, as: 'reason'
636
652
  end
653
+
654
+ class Context
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ collection :auction_type, as: 'auctionType'
658
+ property :context_type, as: 'contextType'
659
+ collection :geo_criteria_id, as: 'geoCriteriaId'
660
+ collection :platform, as: 'platform'
661
+ end
662
+ end
637
663
  end
638
664
 
639
665
  class FilteringReasons
@@ -752,9 +778,11 @@ module Google
752
778
  class DealServingMetadataDealPauseStatus
753
779
  # @private
754
780
  class Representation < Google::Apis::Core::JsonRepresentation
781
+ property :buyer_pause_reason, as: 'buyerPauseReason'
755
782
  property :first_paused_by, as: 'firstPausedBy'
756
783
  property :has_buyer_paused, as: 'hasBuyerPaused'
757
784
  property :has_seller_paused, as: 'hasSellerPaused'
785
+ property :seller_pause_reason, as: 'sellerPauseReason'
758
786
  end
759
787
  end
760
788
 
@@ -762,6 +790,7 @@ module Google
762
790
  # @private
763
791
  class Representation < Google::Apis::Core::JsonRepresentation
764
792
  property :branding_type, as: 'brandingType'
793
+ property :cross_listed_external_deal_id_type, as: 'crossListedExternalDealIdType'
765
794
  property :description, as: 'description'
766
795
  property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
767
796
 
@@ -772,6 +801,8 @@ module Google
772
801
 
773
802
  property :non_guaranteed_fixed_price_terms, as: 'nonGuaranteedFixedPriceTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms::Representation
774
803
 
804
+ property :rubicon_non_guaranteed_terms, as: 'rubiconNonGuaranteedTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms::Representation
805
+
775
806
  property :seller_time_zone, as: 'sellerTimeZone'
776
807
  end
777
808
  end
@@ -785,6 +816,7 @@ module Google
785
816
 
786
817
  property :guaranteed_impressions, as: 'guaranteedImpressions'
787
818
  property :guaranteed_looks, as: 'guaranteedLooks'
819
+ property :minimum_daily_looks, as: 'minimumDailyLooks'
788
820
  end
789
821
  end
790
822
 
@@ -792,6 +824,7 @@ module Google
792
824
  # @private
793
825
  class Representation < Google::Apis::Core::JsonRepresentation
794
826
  property :currency_conversion_time_ms, as: 'currencyConversionTimeMs'
827
+ property :dfp_line_item_id, as: 'dfpLineItemId'
795
828
  property :original_contracted_quantity, as: 'originalContractedQuantity'
796
829
  property :price, as: 'price', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
797
830
 
@@ -815,6 +848,16 @@ module Google
815
848
  end
816
849
  end
817
850
 
851
+ class DealTermsRubiconNonGuaranteedTerms
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :priority_price, as: 'priorityPrice', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
855
+
856
+ property :standard_price, as: 'standardPrice', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
857
+
858
+ end
859
+ end
860
+
818
861
  class DeleteOrderDealsRequest
819
862
  # @private
820
863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -866,6 +909,7 @@ module Google
866
909
  class Representation < Google::Apis::Core::JsonRepresentation
867
910
  property :id, as: 'id'
868
911
  property :name, as: 'name'
912
+ property :percentage, as: 'percentage'
869
913
  end
870
914
  end
871
915
 
@@ -1118,6 +1162,7 @@ module Google
1118
1162
  class Representation < Google::Apis::Core::JsonRepresentation
1119
1163
  property :amount_micros, as: 'amountMicros'
1120
1164
  property :currency_code, as: 'currencyCode'
1165
+ property :expected_cpm_micros, as: 'expectedCpmMicros'
1121
1166
  property :pricing_type, as: 'pricingType'
1122
1167
  end
1123
1168
  end
@@ -1292,6 +1337,7 @@ module Google
1292
1337
  property :creative_size_type, as: 'creativeSizeType'
1293
1338
  property :size, as: 'size', class: Google::Apis::AdexchangebuyerV1_4::TargetingValueSize, decorator: Google::Apis::AdexchangebuyerV1_4::TargetingValueSize::Representation
1294
1339
 
1340
+ property :skippable_ad_type, as: 'skippableAdType'
1295
1341
  end
1296
1342
  end
1297
1343
 
@@ -124,6 +124,8 @@ module Google
124
124
  # @param [Fixnum] id
125
125
  # The account id
126
126
  # @param [Google::Apis::AdexchangebuyerV1_4::Account] account_object
127
+ # @param [Boolean] confirm_unsafe_account_change
128
+ # Confirmation for erasing bidder and cookie matching urls.
127
129
  # @param [String] fields
128
130
  # Selector specifying which fields to include in a partial response.
129
131
  # @param [String] quota_user
@@ -145,13 +147,14 @@ module Google
145
147
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
146
148
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
149
  # @raise [Google::Apis::AuthorizationError] Authorization is required
148
- def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
150
+ def patch_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
149
151
  command = make_simple_command(:patch, 'accounts/{id}', options)
150
152
  command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
151
153
  command.request_object = account_object
152
154
  command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
153
155
  command.response_class = Google::Apis::AdexchangebuyerV1_4::Account
154
156
  command.params['id'] = id unless id.nil?
157
+ command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil?
155
158
  command.query['fields'] = fields unless fields.nil?
156
159
  command.query['quotaUser'] = quota_user unless quota_user.nil?
157
160
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -162,6 +165,8 @@ module Google
162
165
  # @param [Fixnum] id
163
166
  # The account id
164
167
  # @param [Google::Apis::AdexchangebuyerV1_4::Account] account_object
168
+ # @param [Boolean] confirm_unsafe_account_change
169
+ # Confirmation for erasing bidder and cookie matching urls.
165
170
  # @param [String] fields
166
171
  # Selector specifying which fields to include in a partial response.
167
172
  # @param [String] quota_user
@@ -183,13 +188,14 @@ module Google
183
188
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
189
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
190
  # @raise [Google::Apis::AuthorizationError] Authorization is required
186
- def update_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
191
+ def update_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
187
192
  command = make_simple_command(:put, 'accounts/{id}', options)
188
193
  command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
189
194
  command.request_object = account_object
190
195
  command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
191
196
  command.response_class = Google::Apis::AdexchangebuyerV1_4::Account
192
197
  command.params['id'] = id unless id.nil?
198
+ command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil?
193
199
  command.query['fields'] = fields unless fields.nil?
194
200
  command.query['quotaUser'] = quota_user unless quota_user.nil?
195
201
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -673,8 +679,8 @@ module Google
673
679
 
674
680
  # List all the deals for a given proposal
675
681
  # @param [String] proposal_id
676
- # The proposalId to get deals for. To search across proposals specify order_id =
677
- # '-' as part of the URL.
682
+ # The proposalId to get deals for. To search across all proposals specify
683
+ # order_id = '-' as part of the URL.
678
684
  # @param [String] pql_query
679
685
  # Query string to retrieve specific deals.
680
686
  # @param [String] fields
@@ -788,7 +794,12 @@ module Google
788
794
 
789
795
  # Get all the notes associated with a proposal
790
796
  # @param [String] proposal_id
791
- # The proposalId to get notes for.
797
+ # The proposalId to get notes for. To search across all proposals specify
798
+ # order_id = '-' as part of the URL.
799
+ # @param [String] pql_query
800
+ # Query string to retrieve specific notes. To search the text contents of notes,
801
+ # please use syntax like "WHERE note.note = "foo" or "WHERE note.note LIKE "%bar%
802
+ # "
792
803
  # @param [String] fields
793
804
  # Selector specifying which fields to include in a partial response.
794
805
  # @param [String] quota_user
@@ -810,11 +821,12 @@ module Google
810
821
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
811
822
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
812
823
  # @raise [Google::Apis::AuthorizationError] Authorization is required
813
- def list_marketplacenotes(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
824
+ def list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
814
825
  command = make_simple_command(:get, 'proposals/{proposalId}/notes', options)
815
826
  command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse::Representation
816
827
  command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse
817
828
  command.params['proposalId'] = proposal_id unless proposal_id.nil?
829
+ command.query['pqlQuery'] = pql_query unless pql_query.nil?
818
830
  command.query['fields'] = fields unless fields.nil?
819
831
  command.query['quotaUser'] = quota_user unless quota_user.nil?
820
832
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1285,7 +1297,8 @@ module Google
1285
1297
  # should then fetch the latest proposal at head revision and retry the update at
1286
1298
  # that revision.
1287
1299
  # @param [String] update_action
1288
- # The proposed action to take on the proposal.
1300
+ # The proposed action to take on the proposal. This field is required and it
1301
+ # must be set when updating a proposal.
1289
1302
  # @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object
1290
1303
  # @param [String] fields
1291
1304
  # Selector specifying which fields to include in a partial response.
@@ -1400,7 +1413,8 @@ module Google
1400
1413
  # should then fetch the latest proposal at head revision and retry the update at
1401
1414
  # that revision.
1402
1415
  # @param [String] update_action
1403
- # The proposed action to take on the proposal.
1416
+ # The proposed action to take on the proposal. This field is required and it
1417
+ # must be set when updating a proposal.
1404
1418
  # @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object
1405
1419
  # @param [String] fields
1406
1420
  # Selector specifying which fields to include in a partial response.
@@ -20,13 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Ad Exchange Seller API
22
22
  #
23
- # Gives Ad Exchange seller users access to their inventory and the ability to
24
- # generate reports
23
+ # Accesses the inventory of Ad Exchange seller users and generates reports.
25
24
  #
26
25
  # @see https://developers.google.com/ad-exchange/seller-rest/
27
26
  module AdexchangesellerV2_0
28
27
  VERSION = 'V2_0'
29
- REVISION = '20160513'
28
+ REVISION = '20160805'
30
29
 
31
30
  # View and manage your Ad Exchange data
32
31
  AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller'
@@ -22,8 +22,7 @@ module Google
22
22
  module AdexchangesellerV2_0
23
23
  # Ad Exchange Seller API
24
24
  #
25
- # Gives Ad Exchange seller users access to their inventory and the ability to
26
- # generate reports
25
+ # Accesses the inventory of Ad Exchange seller users and generates reports.
27
26
  #
28
27
  # @example
29
28
  # require 'google/apis/adexchangeseller_v2_0'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/admin-sdk/directory/
27
27
  module AdminDirectoryV1
28
28
  VERSION = 'DirectoryV1'
29
- REVISION = '20160323'
29
+ REVISION = '20160824'
30
30
 
31
31
  # View and manage customer related information
32
32
  AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
@@ -1064,6 +1064,11 @@ module Google
1064
1064
  # @return [String]
1065
1065
  attr_accessor :role
1066
1066
 
1067
+ # Status of member (Immutable)
1068
+ # Corresponds to the JSON property `status`
1069
+ # @return [String]
1070
+ attr_accessor :status
1071
+
1067
1072
  # Type of member (Immutable)
1068
1073
  # Corresponds to the JSON property `type`
1069
1074
  # @return [String]
@@ -1080,6 +1085,7 @@ module Google
1080
1085
  @id = args[:id] if args.key?(:id)
1081
1086
  @kind = args[:kind] if args.key?(:kind)
1082
1087
  @role = args[:role] if args.key?(:role)
1088
+ @status = args[:status] if args.key?(:status)
1083
1089
  @type = args[:type] if args.key?(:type)
1084
1090
  end
1085
1091
  end
@@ -636,6 +636,7 @@ module Google
636
636
  property :id, as: 'id'
637
637
  property :kind, as: 'kind'
638
638
  property :role, as: 'role'
639
+ property :status, as: 'status'
639
640
  property :type, as: 'type'
640
641
  end
641
642
  end
@@ -382,7 +382,7 @@ module Google
382
382
  execute_or_queue_command(command, &block)
383
383
  end
384
384
 
385
- # Retrives a customer.
385
+ # Retrieves a customer.
386
386
  # @param [String] customer_key
387
387
  # Id of the customer to be retrieved
388
388
  # @param [String] fields
@@ -679,7 +679,7 @@ module Google
679
679
  execute_or_queue_command(command, &block)
680
680
  end
681
681
 
682
- # Retrives a domain of the customer.
682
+ # Retrieves a domain of the customer.
683
683
  # @param [String] customer
684
684
  # Immutable id of the Google Apps account.
685
685
  # @param [String] domain_name
@@ -20,13 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Admin Reports API
22
22
  #
23
- # Allows the administrators of Google Apps customers to fetch reports about the
24
- # usage, collaboration, security and risk for their users.
23
+ # Fetches reports for the administrators of Google Apps customers about the
24
+ # usage, collaboration, security, and risk for their users.
25
25
  #
26
26
  # @see https://developers.google.com/admin-sdk/reports/
27
27
  module AdminReportsV1
28
28
  VERSION = 'ReportsV1'
29
- REVISION = '20151113'
29
+ REVISION = '20160704'
30
30
 
31
31
  # View audit reports of Google Apps for your domain
32
32
  AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
@@ -22,8 +22,8 @@ module Google
22
22
  module AdminReportsV1
23
23
  # Admin Reports API
24
24
  #
25
- # Allows the administrators of Google Apps customers to fetch reports about the
26
- # usage, collaboration, security and risk for their users.
25
+ # Fetches reports for the administrators of Google Apps customers about the
26
+ # usage, collaboration, security, and risk for their users.
27
27
  #
28
28
  # @example
29
29
  # require 'google/apis/admin_reports_v1'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/adsense/management/
26
26
  module AdsenseV1_4
27
27
  VERSION = 'V1_4'
28
- REVISION = '20160523'
28
+ REVISION = '20160918'
29
29
 
30
30
  # View and manage your AdSense data
31
31
  AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/adsense/host/
27
27
  module AdsensehostV4_1
28
28
  VERSION = 'V4_1'
29
- REVISION = '20160523'
29
+ REVISION = '20160918'
30
30
 
31
31
  # View and manage your AdSense host data and associated accounts
32
32
  AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/analytics/
26
26
  module AnalyticsV3
27
27
  VERSION = 'V3'
28
- REVISION = '20160401'
28
+ REVISION = '20160805'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -3187,6 +3187,133 @@ module Google
3187
3187
  end
3188
3188
  end
3189
3189
 
3190
+ # JSON template for an Analytics Remarketing Include Conditions.
3191
+ class IncludeConditions
3192
+ include Google::Apis::Core::Hashable
3193
+
3194
+ # The look-back window lets you specify a time frame for evaluating the behavior
3195
+ # that qualifies users for your audience. For example, if your filters include
3196
+ # users from Central Asia, and Transactions Greater than 2, and you set the look-
3197
+ # back window to 14 days, then any user from Central Asia whose cumulative
3198
+ # transactions exceed 2 during the last 14 days is added to the audience.
3199
+ # Corresponds to the JSON property `daysToLookBack`
3200
+ # @return [Fixnum]
3201
+ attr_accessor :days_to_look_back
3202
+
3203
+ # Boolean indicating whether this segment is a smart list. https://support.
3204
+ # google.com/analytics/answer/4628577
3205
+ # Corresponds to the JSON property `isSmartList`
3206
+ # @return [Boolean]
3207
+ attr_accessor :is_smart_list
3208
+ alias_method :is_smart_list?, :is_smart_list
3209
+
3210
+ # Resource type for include conditions.
3211
+ # Corresponds to the JSON property `kind`
3212
+ # @return [String]
3213
+ attr_accessor :kind
3214
+
3215
+ # Number of days a user remains in the audience. Use any integer from 1-540. In
3216
+ # remarketing audiences for search ads, membership duration is truncated to 180
3217
+ # days.
3218
+ # Corresponds to the JSON property `membershipDurationDays`
3219
+ # @return [Fixnum]
3220
+ attr_accessor :membership_duration_days
3221
+
3222
+ # The segment condition that will cause a user to be added to an audience.
3223
+ # Corresponds to the JSON property `segment`
3224
+ # @return [String]
3225
+ attr_accessor :segment
3226
+
3227
+ def initialize(**args)
3228
+ update!(**args)
3229
+ end
3230
+
3231
+ # Update properties of this object
3232
+ def update!(**args)
3233
+ @days_to_look_back = args[:days_to_look_back] if args.key?(:days_to_look_back)
3234
+ @is_smart_list = args[:is_smart_list] if args.key?(:is_smart_list)
3235
+ @kind = args[:kind] if args.key?(:kind)
3236
+ @membership_duration_days = args[:membership_duration_days] if args.key?(:membership_duration_days)
3237
+ @segment = args[:segment] if args.key?(:segment)
3238
+ end
3239
+ end
3240
+
3241
+ # JSON template for an Analytics Remarketing Audience Foreign Link.
3242
+ class LinkedForeignAccount
3243
+ include Google::Apis::Core::Hashable
3244
+
3245
+ # Account ID to which this linked foreign account belongs.
3246
+ # Corresponds to the JSON property `accountId`
3247
+ # @return [String]
3248
+ attr_accessor :account_id
3249
+
3250
+ # Boolean indicating whether this is eligible for search.
3251
+ # Corresponds to the JSON property `eligibleForSearch`
3252
+ # @return [Boolean]
3253
+ attr_accessor :eligible_for_search
3254
+ alias_method :eligible_for_search?, :eligible_for_search
3255
+
3256
+ # Entity ad account link ID.
3257
+ # Corresponds to the JSON property `id`
3258
+ # @return [String]
3259
+ attr_accessor :id
3260
+
3261
+ # Internal ID for the web property to which this linked foreign account belongs.
3262
+ # Corresponds to the JSON property `internalWebPropertyId`
3263
+ # @return [String]
3264
+ attr_accessor :internal_web_property_id
3265
+
3266
+ # Resource type for linked foreign account.
3267
+ # Corresponds to the JSON property `kind`
3268
+ # @return [String]
3269
+ attr_accessor :kind
3270
+
3271
+ # The foreign account ID. For example the an AdWords `linkedAccountId` has the
3272
+ # following format XXX-XXX-XXXX.
3273
+ # Corresponds to the JSON property `linkedAccountId`
3274
+ # @return [String]
3275
+ attr_accessor :linked_account_id
3276
+
3277
+ # Remarketing audience ID to which this linked foreign account belongs.
3278
+ # Corresponds to the JSON property `remarketingAudienceId`
3279
+ # @return [String]
3280
+ attr_accessor :remarketing_audience_id
3281
+
3282
+ # The status of this foreign account link.
3283
+ # Corresponds to the JSON property `status`
3284
+ # @return [String]
3285
+ attr_accessor :status
3286
+
3287
+ # The type of the foreign account. For example `ADWORDS_LINKS`.
3288
+ # Corresponds to the JSON property `type`
3289
+ # @return [String]
3290
+ attr_accessor :type
3291
+
3292
+ # Web property ID of the form UA-XXXXX-YY to which this linked foreign account
3293
+ # belongs.
3294
+ # Corresponds to the JSON property `webPropertyId`
3295
+ # @return [String]
3296
+ attr_accessor :web_property_id
3297
+
3298
+ def initialize(**args)
3299
+ update!(**args)
3300
+ end
3301
+
3302
+ # Update properties of this object
3303
+ def update!(**args)
3304
+ @account_id = args[:account_id] if args.key?(:account_id)
3305
+ @eligible_for_search = args[:eligible_for_search] if args.key?(:eligible_for_search)
3306
+ @id = args[:id] if args.key?(:id)
3307
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
3308
+ @kind = args[:kind] if args.key?(:kind)
3309
+ @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
3310
+ @remarketing_audience_id = args[:remarketing_audience_id] if args.key?(:remarketing_audience_id)
3311
+ @status = args[:status] if args.key?(:status)
3312
+ @type = args[:type] if args.key?(:type)
3313
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
3314
+ end
3315
+ end
3316
+
3190
3317
  # Multi-Channel Funnels data for a given view (profile).
3191
3318
  class McfData
3192
3319
  include Google::Apis::Core::Hashable
@@ -4267,6 +4394,246 @@ module Google
4267
4394
  end
4268
4395
  end
4269
4396
 
4397
+ # JSON template for an Analytics remarketing audience.
4398
+ class RemarketingAudience
4399
+ include Google::Apis::Core::Hashable
4400
+
4401
+ # Account ID to which this remarketing audience belongs.
4402
+ # Corresponds to the JSON property `accountId`
4403
+ # @return [String]
4404
+ attr_accessor :account_id
4405
+
4406
+ # The simple audience definition that will cause a user to be added to an
4407
+ # audience.
4408
+ # Corresponds to the JSON property `audienceDefinition`
4409
+ # @return [Google::Apis::AnalyticsV3::RemarketingAudience::AudienceDefinition]
4410
+ attr_accessor :audience_definition
4411
+
4412
+ # The type of audience, either SIMPLE or STATE_BASED.
4413
+ # Corresponds to the JSON property `audienceType`
4414
+ # @return [String]
4415
+ attr_accessor :audience_type
4416
+
4417
+ # Time this remarketing audience was created.
4418
+ # Corresponds to the JSON property `created`
4419
+ # @return [DateTime]
4420
+ attr_accessor :created
4421
+
4422
+ # The description of this remarketing audience.
4423
+ # Corresponds to the JSON property `description`
4424
+ # @return [String]
4425
+ attr_accessor :description
4426
+
4427
+ # Remarketing Audience ID.
4428
+ # Corresponds to the JSON property `id`
4429
+ # @return [String]
4430
+ attr_accessor :id
4431
+
4432
+ # Internal ID for the web property to which this remarketing audience belongs.
4433
+ # Corresponds to the JSON property `internalWebPropertyId`
4434
+ # @return [String]
4435
+ attr_accessor :internal_web_property_id
4436
+
4437
+ # Collection type.
4438
+ # Corresponds to the JSON property `kind`
4439
+ # @return [String]
4440
+ attr_accessor :kind
4441
+
4442
+ # The linked ad accounts associated with this remarketing audience. A
4443
+ # remarketing audience can have only one linkedAdAccount currently.
4444
+ # Corresponds to the JSON property `linkedAdAccounts`
4445
+ # @return [Array<Google::Apis::AnalyticsV3::LinkedForeignAccount>]
4446
+ attr_accessor :linked_ad_accounts
4447
+
4448
+ # The views (profiles) that this remarketing audience is linked to.
4449
+ # Corresponds to the JSON property `linkedViews`
4450
+ # @return [Array<String>]
4451
+ attr_accessor :linked_views
4452
+
4453
+ # The name of this remarketing audience.
4454
+ # Corresponds to the JSON property `name`
4455
+ # @return [String]
4456
+ attr_accessor :name
4457
+
4458
+ # A state based audience definition that will cause a user to be added or
4459
+ # removed from an audience.
4460
+ # Corresponds to the JSON property `stateBasedAudienceDefinition`
4461
+ # @return [Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition]
4462
+ attr_accessor :state_based_audience_definition
4463
+
4464
+ # Time this remarketing audience was last modified.
4465
+ # Corresponds to the JSON property `updated`
4466
+ # @return [DateTime]
4467
+ attr_accessor :updated
4468
+
4469
+ # Web property ID of the form UA-XXXXX-YY to which this remarketing audience
4470
+ # belongs.
4471
+ # Corresponds to the JSON property `webPropertyId`
4472
+ # @return [String]
4473
+ attr_accessor :web_property_id
4474
+
4475
+ def initialize(**args)
4476
+ update!(**args)
4477
+ end
4478
+
4479
+ # Update properties of this object
4480
+ def update!(**args)
4481
+ @account_id = args[:account_id] if args.key?(:account_id)
4482
+ @audience_definition = args[:audience_definition] if args.key?(:audience_definition)
4483
+ @audience_type = args[:audience_type] if args.key?(:audience_type)
4484
+ @created = args[:created] if args.key?(:created)
4485
+ @description = args[:description] if args.key?(:description)
4486
+ @id = args[:id] if args.key?(:id)
4487
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
4488
+ @kind = args[:kind] if args.key?(:kind)
4489
+ @linked_ad_accounts = args[:linked_ad_accounts] if args.key?(:linked_ad_accounts)
4490
+ @linked_views = args[:linked_views] if args.key?(:linked_views)
4491
+ @name = args[:name] if args.key?(:name)
4492
+ @state_based_audience_definition = args[:state_based_audience_definition] if args.key?(:state_based_audience_definition)
4493
+ @updated = args[:updated] if args.key?(:updated)
4494
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
4495
+ end
4496
+
4497
+ # The simple audience definition that will cause a user to be added to an
4498
+ # audience.
4499
+ class AudienceDefinition
4500
+ include Google::Apis::Core::Hashable
4501
+
4502
+ # JSON template for an Analytics Remarketing Include Conditions.
4503
+ # Corresponds to the JSON property `includeConditions`
4504
+ # @return [Google::Apis::AnalyticsV3::IncludeConditions]
4505
+ attr_accessor :include_conditions
4506
+
4507
+ def initialize(**args)
4508
+ update!(**args)
4509
+ end
4510
+
4511
+ # Update properties of this object
4512
+ def update!(**args)
4513
+ @include_conditions = args[:include_conditions] if args.key?(:include_conditions)
4514
+ end
4515
+ end
4516
+
4517
+ # A state based audience definition that will cause a user to be added or
4518
+ # removed from an audience.
4519
+ class StateBasedAudienceDefinition
4520
+ include Google::Apis::Core::Hashable
4521
+
4522
+ # Defines the conditions to exclude users from the audience.
4523
+ # Corresponds to the JSON property `excludeConditions`
4524
+ # @return [Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions]
4525
+ attr_accessor :exclude_conditions
4526
+
4527
+ # JSON template for an Analytics Remarketing Include Conditions.
4528
+ # Corresponds to the JSON property `includeConditions`
4529
+ # @return [Google::Apis::AnalyticsV3::IncludeConditions]
4530
+ attr_accessor :include_conditions
4531
+
4532
+ def initialize(**args)
4533
+ update!(**args)
4534
+ end
4535
+
4536
+ # Update properties of this object
4537
+ def update!(**args)
4538
+ @exclude_conditions = args[:exclude_conditions] if args.key?(:exclude_conditions)
4539
+ @include_conditions = args[:include_conditions] if args.key?(:include_conditions)
4540
+ end
4541
+
4542
+ # Defines the conditions to exclude users from the audience.
4543
+ class ExcludeConditions
4544
+ include Google::Apis::Core::Hashable
4545
+
4546
+ # Whether to make the exclusion TEMPORARY or PERMANENT.
4547
+ # Corresponds to the JSON property `exclusionDuration`
4548
+ # @return [String]
4549
+ attr_accessor :exclusion_duration
4550
+
4551
+ # The segment condition that will cause a user to be removed from an audience.
4552
+ # Corresponds to the JSON property `segment`
4553
+ # @return [String]
4554
+ attr_accessor :segment
4555
+
4556
+ def initialize(**args)
4557
+ update!(**args)
4558
+ end
4559
+
4560
+ # Update properties of this object
4561
+ def update!(**args)
4562
+ @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
4563
+ @segment = args[:segment] if args.key?(:segment)
4564
+ end
4565
+ end
4566
+ end
4567
+ end
4568
+
4569
+ # A remarketing audience collection lists Analytics remarketing audiences to
4570
+ # which the user has access. Each resource in the collection corresponds to a
4571
+ # single Analytics remarketing audience.
4572
+ class RemarketingAudiences
4573
+ include Google::Apis::Core::Hashable
4574
+
4575
+ # A list of remarketing audiences.
4576
+ # Corresponds to the JSON property `items`
4577
+ # @return [Array<Google::Apis::AnalyticsV3::RemarketingAudience>]
4578
+ attr_accessor :items
4579
+
4580
+ # The maximum number of resources the response can contain, regardless of the
4581
+ # actual number of resources returned. Its value ranges from 1 to 1000 with a
4582
+ # value of 1000 by default, or otherwise specified by the max-results query
4583
+ # parameter.
4584
+ # Corresponds to the JSON property `itemsPerPage`
4585
+ # @return [Fixnum]
4586
+ attr_accessor :items_per_page
4587
+
4588
+ # Collection type.
4589
+ # Corresponds to the JSON property `kind`
4590
+ # @return [String]
4591
+ attr_accessor :kind
4592
+
4593
+ # Link to next page for this remarketing audience collection.
4594
+ # Corresponds to the JSON property `nextLink`
4595
+ # @return [String]
4596
+ attr_accessor :next_link
4597
+
4598
+ # Link to previous page for this view (profile) collection.
4599
+ # Corresponds to the JSON property `previousLink`
4600
+ # @return [String]
4601
+ attr_accessor :previous_link
4602
+
4603
+ # The starting index of the resources, which is 1 by default or otherwise
4604
+ # specified by the start-index query parameter.
4605
+ # Corresponds to the JSON property `startIndex`
4606
+ # @return [Fixnum]
4607
+ attr_accessor :start_index
4608
+
4609
+ # The total number of results for the query, regardless of the number of results
4610
+ # in the response.
4611
+ # Corresponds to the JSON property `totalResults`
4612
+ # @return [Fixnum]
4613
+ attr_accessor :total_results
4614
+
4615
+ # Email ID of the authenticated user
4616
+ # Corresponds to the JSON property `username`
4617
+ # @return [String]
4618
+ attr_accessor :username
4619
+
4620
+ def initialize(**args)
4621
+ update!(**args)
4622
+ end
4623
+
4624
+ # Update properties of this object
4625
+ def update!(**args)
4626
+ @items = args[:items] if args.key?(:items)
4627
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
4628
+ @kind = args[:kind] if args.key?(:kind)
4629
+ @next_link = args[:next_link] if args.key?(:next_link)
4630
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
4631
+ @start_index = args[:start_index] if args.key?(:start_index)
4632
+ @total_results = args[:total_results] if args.key?(:total_results)
4633
+ @username = args[:username] if args.key?(:username)
4634
+ end
4635
+ end
4636
+
4270
4637
  # JSON template for an Analytics segment.
4271
4638
  class Segment
4272
4639
  include Google::Apis::Core::Hashable
@@ -4425,7 +4792,10 @@ module Google
4425
4792
  # @return [String]
4426
4793
  attr_accessor :dimensions
4427
4794
 
4428
- # The type of download you need to use for the report data file.
4795
+ # The type of download you need to use for the report data file. Possible values
4796
+ # include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is `
4797
+ # GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is `
4798
+ # GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field.
4429
4799
  # Corresponds to the JSON property `downloadType`
4430
4800
  # @return [String]
4431
4801
  attr_accessor :download_type