google-api-client 0.9.8 → 0.9.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/Gemfile +9 -1
  4. data/README.md +10 -2
  5. data/api_names.yaml +63 -110
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +260 -13
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  20. data/generated/google/apis/admin_reports_v1.rb +3 -3
  21. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  22. data/generated/google/apis/adsense_v1_4.rb +1 -1
  23. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  24. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  26. data/generated/google/apis/analytics_v3.rb +1 -1
  27. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  28. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  29. data/generated/google/apis/analytics_v3/service.rb +217 -0
  30. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  31. data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
  38. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  39. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  40. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  41. data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
  42. data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
  43. data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  46. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  47. data/generated/google/apis/appstate_v1.rb +1 -1
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +277 -20
  50. data/generated/google/apis/bigquery_v2/representations.rb +86 -0
  51. data/generated/google/apis/bigquery_v2/service.rb +8 -2
  52. data/generated/google/apis/books_v1.rb +2 -2
  53. data/generated/google/apis/books_v1/classes.rb +79 -1
  54. data/generated/google/apis/books_v1/representations.rb +34 -0
  55. data/generated/google/apis/books_v1/service.rb +7 -3
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/civicinfo_v2.rb +3 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  59. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  61. data/generated/google/apis/classroom_v1.rb +1 -1
  62. data/generated/google/apis/classroom_v1/classes.rb +183 -37
  63. data/generated/google/apis/classroom_v1/representations.rb +74 -9
  64. data/generated/google/apis/classroom_v1/service.rb +403 -38
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
  68. data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
  69. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  70. data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
  71. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  73. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +502 -111
  74. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
  75. data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
  76. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  77. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +2299 -434
  82. data/generated/google/apis/compute_beta/representations.rb +752 -33
  83. data/generated/google/apis/compute_beta/service.rb +6067 -3153
  84. data/generated/google/apis/compute_v1.rb +1 -1
  85. data/generated/google/apis/compute_v1/classes.rb +1681 -207
  86. data/generated/google/apis/compute_v1/representations.rb +552 -0
  87. data/generated/google/apis/compute_v1/service.rb +2797 -1171
  88. data/generated/google/apis/content_v2.rb +1 -1
  89. data/generated/google/apis/content_v2/classes.rb +757 -1
  90. data/generated/google/apis/content_v2/representations.rb +337 -0
  91. data/generated/google/apis/content_v2/service.rb +244 -0
  92. data/generated/google/apis/dataflow_v1b3.rb +38 -0
  93. data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
  94. data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
  95. data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
  96. data/generated/google/apis/dataproc_v1.rb +2 -2
  97. data/generated/google/apis/dataproc_v1/classes.rb +213 -68
  98. data/generated/google/apis/dataproc_v1/representations.rb +38 -0
  99. data/generated/google/apis/dataproc_v1/service.rb +78 -48
  100. data/generated/google/apis/datastore_v1.rb +38 -0
  101. data/generated/google/apis/datastore_v1/classes.rb +1284 -0
  102. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  103. data/generated/google/apis/datastore_v1/service.rb +259 -0
  104. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  105. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  106. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  107. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  108. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
  110. data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
  111. data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
  112. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  113. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  114. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  115. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  116. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  117. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  118. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  119. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +1 -1
  122. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  123. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  124. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +27 -3
  129. data/generated/google/apis/drive_v2/representations.rb +4 -0
  130. data/generated/google/apis/drive_v2/service.rb +16 -3
  131. data/generated/google/apis/drive_v3.rb +1 -1
  132. data/generated/google/apis/drive_v3/classes.rb +50 -16
  133. data/generated/google/apis/drive_v3/representations.rb +4 -0
  134. data/generated/google/apis/drive_v3/service.rb +12 -2
  135. data/generated/google/apis/fitness_v1.rb +8 -2
  136. data/generated/google/apis/fitness_v1/classes.rb +64 -6
  137. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  138. data/generated/google/apis/fitness_v1/service.rb +17 -18
  139. data/generated/google/apis/fusiontables_v2.rb +1 -1
  140. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_management_v1management.rb +1 -1
  143. data/generated/google/apis/games_v1.rb +1 -1
  144. data/generated/google/apis/genomics_v1.rb +2 -4
  145. data/generated/google/apis/genomics_v1/classes.rb +143 -34
  146. data/generated/google/apis/genomics_v1/representations.rb +48 -11
  147. data/generated/google/apis/genomics_v1/service.rb +35 -37
  148. data/generated/google/apis/gmail_v1.rb +10 -1
  149. data/generated/google/apis/gmail_v1/classes.rb +542 -4
  150. data/generated/google/apis/gmail_v1/representations.rb +213 -0
  151. data/generated/google/apis/gmail_v1/service.rb +898 -1
  152. data/generated/google/apis/groupssettings_v1.rb +1 -1
  153. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  154. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  155. data/generated/google/apis/iam_v1.rb +2 -2
  156. data/generated/google/apis/iam_v1/classes.rb +181 -206
  157. data/generated/google/apis/iam_v1/representations.rb +36 -45
  158. data/generated/google/apis/iam_v1/service.rb +101 -67
  159. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  160. data/generated/google/apis/identitytoolkit_v3/classes.rb +171 -1
  161. data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
  162. data/generated/google/apis/language_v1beta1.rb +36 -0
  163. data/generated/google/apis/language_v1beta1/classes.rb +599 -0
  164. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  165. data/generated/google/apis/language_v1beta1/service.rb +152 -0
  166. data/generated/google/apis/logging_v2beta1.rb +6 -6
  167. data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
  168. data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
  169. data/generated/google/apis/logging_v2beta1/service.rb +290 -209
  170. data/generated/google/apis/mirror_v1.rb +2 -2
  171. data/generated/google/apis/mirror_v1/service.rb +1 -1
  172. data/generated/google/apis/monitoring_v3.rb +45 -0
  173. data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
  174. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  175. data/generated/google/apis/monitoring_v3/service.rb +711 -0
  176. data/generated/google/apis/oauth2_v2.rb +1 -1
  177. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  178. data/generated/google/apis/plus_domains_v1.rb +1 -1
  179. data/generated/google/apis/plus_v1.rb +1 -1
  180. data/generated/google/apis/pubsub_v1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1/classes.rb +10 -9
  182. data/generated/google/apis/pubsub_v1/service.rb +128 -27
  183. data/generated/google/apis/qpx_express_v1.rb +1 -1
  184. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  185. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  186. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  187. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  188. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  189. data/generated/google/apis/script_v1.rb +1 -1
  190. data/generated/google/apis/script_v1/classes.rb +6 -0
  191. data/generated/google/apis/script_v1/representations.rb +1 -0
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +910 -89
  194. data/generated/google/apis/sheets_v4/representations.rb +194 -10
  195. data/generated/google/apis/sheets_v4/service.rb +216 -49
  196. data/generated/google/apis/slides_v1.rb +49 -0
  197. data/generated/google/apis/slides_v1/classes.rb +3926 -0
  198. data/generated/google/apis/slides_v1/representations.rb +1722 -0
  199. data/generated/google/apis/slides_v1/service.rb +202 -0
  200. data/generated/google/apis/speech_v1beta1.rb +34 -0
  201. data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
  202. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  203. data/generated/google/apis/speech_v1beta1/service.rb +271 -0
  204. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  205. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
  206. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  207. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  208. data/generated/google/apis/storage_v1.rb +1 -1
  209. data/generated/google/apis/storage_v1/classes.rb +43 -18
  210. data/generated/google/apis/storage_v1/representations.rb +4 -1
  211. data/generated/google/apis/storage_v1/service.rb +5 -2
  212. data/generated/google/apis/translate_v2.rb +2 -2
  213. data/generated/google/apis/translate_v2/service.rb +1 -1
  214. data/generated/google/apis/vision_v1.rb +1 -1
  215. data/generated/google/apis/vision_v1/classes.rb +12 -11
  216. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  217. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  218. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  219. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  220. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  221. data/generated/google/apis/youtube_v3.rb +1 -1
  222. data/generated/google/apis/youtube_v3/classes.rb +183 -21
  223. data/generated/google/apis/youtube_v3/representations.rb +85 -4
  224. data/generated/google/apis/youtube_v3/service.rb +41 -5
  225. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  226. data/google-api-client.gemspec +2 -1
  227. data/lib/google/apis/core/api_command.rb +4 -0
  228. data/lib/google/apis/core/base_service.rb +10 -4
  229. data/lib/google/apis/core/download.rb +7 -2
  230. data/lib/google/apis/core/http_command.rb +5 -1
  231. data/lib/google/apis/core/upload.rb +7 -1
  232. data/lib/google/apis/errors.rb +2 -2
  233. data/lib/google/apis/generator/annotator.rb +6 -0
  234. data/lib/google/apis/version.rb +1 -1
  235. data/samples/cli/lib/samples/bigquery.rb +101 -0
  236. data/samples/cli/lib/samples/sheets.rb +61 -0
  237. data/sync.rb +71 -0
  238. metadata +55 -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
@@ -172,6 +178,18 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class CreativeDealIds
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ class DealStatus
185
+ class Representation < Google::Apis::Core::JsonRepresentation; end
186
+
187
+ include Google::Apis::Core::JsonObjectSupport
188
+ end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class CreativesList
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -220,6 +238,12 @@ module Google
220
238
  include Google::Apis::Core::JsonObjectSupport
221
239
  end
222
240
 
241
+ class DealTermsRubiconNonGuaranteedTerms
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
223
247
  class DeleteOrderDealsRequest
224
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
249
 
@@ -609,11 +633,13 @@ module Google
609
633
  collection :corrections, as: 'corrections', class: Google::Apis::AdexchangebuyerV1_4::Creative::Correction, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Representation
610
634
 
611
635
  property :deals_status, as: 'dealsStatus'
636
+ collection :detected_domains, as: 'detectedDomains'
612
637
  property :filtering_reasons, as: 'filteringReasons', class: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons::Representation
613
638
 
614
639
  property :height, as: 'height'
615
640
  collection :impression_tracking_url, as: 'impressionTrackingUrl'
616
641
  property :kind, as: 'kind'
642
+ collection :languages, as: 'languages'
617
643
  property :native_ad, as: 'nativeAd', class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Representation
618
644
 
619
645
  property :open_auction_status, as: 'openAuctionStatus'
@@ -631,9 +657,21 @@ module Google
631
657
  class Correction
632
658
  # @private
633
659
  class Representation < Google::Apis::Core::JsonRepresentation
660
+ collection :contexts, as: 'contexts', class: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context::Representation
661
+
634
662
  collection :details, as: 'details'
635
663
  property :reason, as: 'reason'
636
664
  end
665
+
666
+ class Context
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ collection :auction_type, as: 'auctionType'
670
+ property :context_type, as: 'contextType'
671
+ collection :geo_criteria_id, as: 'geoCriteriaId'
672
+ collection :platform, as: 'platform'
673
+ end
674
+ end
637
675
  end
638
676
 
639
677
  class FilteringReasons
@@ -661,6 +699,7 @@ module Google
661
699
 
662
700
  property :body, as: 'body'
663
701
  property :call_to_action, as: 'callToAction'
702
+ property :click_link_url, as: 'clickLinkUrl'
664
703
  property :click_tracking_url, as: 'clickTrackingUrl'
665
704
  property :headline, as: 'headline'
666
705
  property :image, as: 'image', class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image::Representation
@@ -671,6 +710,7 @@ module Google
671
710
  property :price, as: 'price'
672
711
  property :star_rating, as: 'starRating'
673
712
  property :store, as: 'store'
713
+ property :video_url, as: 'videoURL'
674
714
  end
675
715
 
676
716
  class AppIcon
@@ -731,6 +771,24 @@ module Google
731
771
  end
732
772
  end
733
773
 
774
+ class CreativeDealIds
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ collection :deal_statuses, as: 'dealStatuses', class: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus, decorator: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus::Representation
778
+
779
+ property :kind, as: 'kind'
780
+ end
781
+
782
+ class DealStatus
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ property :arc_status, as: 'arcStatus'
786
+ property :deal_id, as: 'dealId'
787
+ property :web_property_id, as: 'webPropertyId'
788
+ end
789
+ end
790
+ end
791
+
734
792
  class CreativesList
735
793
  # @private
736
794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -752,9 +810,11 @@ module Google
752
810
  class DealServingMetadataDealPauseStatus
753
811
  # @private
754
812
  class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :buyer_pause_reason, as: 'buyerPauseReason'
755
814
  property :first_paused_by, as: 'firstPausedBy'
756
815
  property :has_buyer_paused, as: 'hasBuyerPaused'
757
816
  property :has_seller_paused, as: 'hasSellerPaused'
817
+ property :seller_pause_reason, as: 'sellerPauseReason'
758
818
  end
759
819
  end
760
820
 
@@ -762,6 +822,7 @@ module Google
762
822
  # @private
763
823
  class Representation < Google::Apis::Core::JsonRepresentation
764
824
  property :branding_type, as: 'brandingType'
825
+ property :cross_listed_external_deal_id_type, as: 'crossListedExternalDealIdType'
765
826
  property :description, as: 'description'
766
827
  property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
767
828
 
@@ -772,6 +833,8 @@ module Google
772
833
 
773
834
  property :non_guaranteed_fixed_price_terms, as: 'nonGuaranteedFixedPriceTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms::Representation
774
835
 
836
+ property :rubicon_non_guaranteed_terms, as: 'rubiconNonGuaranteedTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms::Representation
837
+
775
838
  property :seller_time_zone, as: 'sellerTimeZone'
776
839
  end
777
840
  end
@@ -785,6 +848,7 @@ module Google
785
848
 
786
849
  property :guaranteed_impressions, as: 'guaranteedImpressions'
787
850
  property :guaranteed_looks, as: 'guaranteedLooks'
851
+ property :minimum_daily_looks, as: 'minimumDailyLooks'
788
852
  end
789
853
  end
790
854
 
@@ -792,6 +856,7 @@ module Google
792
856
  # @private
793
857
  class Representation < Google::Apis::Core::JsonRepresentation
794
858
  property :currency_conversion_time_ms, as: 'currencyConversionTimeMs'
859
+ property :dfp_line_item_id, as: 'dfpLineItemId'
795
860
  property :original_contracted_quantity, as: 'originalContractedQuantity'
796
861
  property :price, as: 'price', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
797
862
 
@@ -815,6 +880,16 @@ module Google
815
880
  end
816
881
  end
817
882
 
883
+ class DealTermsRubiconNonGuaranteedTerms
884
+ # @private
885
+ class Representation < Google::Apis::Core::JsonRepresentation
886
+ property :priority_price, as: 'priorityPrice', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
887
+
888
+ property :standard_price, as: 'standardPrice', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
889
+
890
+ end
891
+ end
892
+
818
893
  class DeleteOrderDealsRequest
819
894
  # @private
820
895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -866,6 +941,7 @@ module Google
866
941
  class Representation < Google::Apis::Core::JsonRepresentation
867
942
  property :id, as: 'id'
868
943
  property :name, as: 'name'
944
+ property :percentage, as: 'percentage'
869
945
  end
870
946
  end
871
947
 
@@ -947,6 +1023,7 @@ module Google
947
1023
  property :flight_end_time_ms, as: 'flightEndTimeMs'
948
1024
  property :flight_start_time_ms, as: 'flightStartTimeMs'
949
1025
  property :inventory_description, as: 'inventoryDescription'
1026
+ property :is_rfp_template, as: 'isRfpTemplate'
950
1027
  property :kind, as: 'kind'
951
1028
  property :last_update_time_ms, as: 'lastUpdateTimeMs'
952
1029
  property :name, as: 'name'
@@ -1063,6 +1140,7 @@ module Google
1063
1140
 
1064
1141
  collection :platforms, as: 'platforms'
1065
1142
  collection :supported_creative_attributes, as: 'supportedCreativeAttributes'
1143
+ collection :user_identifier_data_required, as: 'userIdentifierDataRequired'
1066
1144
  collection :user_lists, as: 'userLists'
1067
1145
  collection :vendor_types, as: 'vendorTypes'
1068
1146
  collection :verticals, as: 'verticals'
@@ -1118,6 +1196,7 @@ module Google
1118
1196
  class Representation < Google::Apis::Core::JsonRepresentation
1119
1197
  property :amount_micros, as: 'amountMicros'
1120
1198
  property :currency_code, as: 'currencyCode'
1199
+ property :expected_cpm_micros, as: 'expectedCpmMicros'
1121
1200
  property :pricing_type, as: 'pricingType'
1122
1201
  end
1123
1202
  end
@@ -1188,6 +1267,7 @@ module Google
1188
1267
 
1189
1268
  property :buyer_private_data, as: 'buyerPrivateData', class: Google::Apis::AdexchangebuyerV1_4::PrivateData, decorator: Google::Apis::AdexchangebuyerV1_4::PrivateData::Representation
1190
1269
 
1270
+ collection :dbm_advertiser_ids, as: 'dbmAdvertiserIds'
1191
1271
  property :has_buyer_signed_off, as: 'hasBuyerSignedOff'
1192
1272
  property :has_seller_signed_off, as: 'hasSellerSignedOff'
1193
1273
  property :inventory_source, as: 'inventorySource'
@@ -1292,6 +1372,7 @@ module Google
1292
1372
  property :creative_size_type, as: 'creativeSizeType'
1293
1373
  property :size, as: 'size', class: Google::Apis::AdexchangebuyerV1_4::TargetingValueSize, decorator: Google::Apis::AdexchangebuyerV1_4::TargetingValueSize::Representation
1294
1374
 
1375
+ property :skippable_ad_type, as: 'skippableAdType'
1295
1376
  end
1296
1377
  end
1297
1378
 
@@ -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?
@@ -556,6 +562,44 @@ module Google
556
562
  execute_or_queue_command(command, &block)
557
563
  end
558
564
 
565
+ # Lists the external deal ids associated with the creative.
566
+ # @param [Fixnum] account_id
567
+ # The id for the account that will serve this creative.
568
+ # @param [String] buyer_creative_id
569
+ # The buyer-specific id for this creative.
570
+ # @param [String] fields
571
+ # Selector specifying which fields to include in a partial response.
572
+ # @param [String] quota_user
573
+ # Available to use for quota purposes for server-side applications. Can be any
574
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
575
+ # Overrides userIp if both are provided.
576
+ # @param [String] user_ip
577
+ # IP address of the site where the request originates. Use this if you want to
578
+ # enforce per-user limits.
579
+ # @param [Google::Apis::RequestOptions] options
580
+ # Request-specific options
581
+ #
582
+ # @yield [result, err] Result & error if block supplied
583
+ # @yieldparam result [Google::Apis::AdexchangebuyerV1_4::CreativeDealIds] parsed result object
584
+ # @yieldparam err [StandardError] error object if request failed
585
+ #
586
+ # @return [Google::Apis::AdexchangebuyerV1_4::CreativeDealIds]
587
+ #
588
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
589
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
590
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
591
+ def list_creative_deals(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
592
+ command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}/listDeals', options)
593
+ command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::Representation
594
+ command.response_class = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds
595
+ command.params['accountId'] = account_id unless account_id.nil?
596
+ command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil?
597
+ command.query['fields'] = fields unless fields.nil?
598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
599
+ command.query['userIp'] = user_ip unless user_ip.nil?
600
+ execute_or_queue_command(command, &block)
601
+ end
602
+
559
603
  # Remove a deal id associated with the creative.
560
604
  # @param [Fixnum] account_id
561
605
  # The id for the account that will serve this creative.
@@ -673,8 +717,8 @@ module Google
673
717
 
674
718
  # List all the deals for a given proposal
675
719
  # @param [String] proposal_id
676
- # The proposalId to get deals for. To search across proposals specify order_id =
677
- # '-' as part of the URL.
720
+ # The proposalId to get deals for. To search across all proposals specify
721
+ # order_id = '-' as part of the URL.
678
722
  # @param [String] pql_query
679
723
  # Query string to retrieve specific deals.
680
724
  # @param [String] fields
@@ -788,7 +832,12 @@ module Google
788
832
 
789
833
  # Get all the notes associated with a proposal
790
834
  # @param [String] proposal_id
791
- # The proposalId to get notes for.
835
+ # The proposalId to get notes for. To search across all proposals specify
836
+ # order_id = '-' as part of the URL.
837
+ # @param [String] pql_query
838
+ # Query string to retrieve specific notes. To search the text contents of notes,
839
+ # please use syntax like "WHERE note.note = "foo" or "WHERE note.note LIKE "%bar%
840
+ # "
792
841
  # @param [String] fields
793
842
  # Selector specifying which fields to include in a partial response.
794
843
  # @param [String] quota_user
@@ -810,11 +859,12 @@ module Google
810
859
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
811
860
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
812
861
  # @raise [Google::Apis::AuthorizationError] Authorization is required
813
- def list_marketplacenotes(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
862
+ def list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
814
863
  command = make_simple_command(:get, 'proposals/{proposalId}/notes', options)
815
864
  command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse::Representation
816
865
  command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse
817
866
  command.params['proposalId'] = proposal_id unless proposal_id.nil?
867
+ command.query['pqlQuery'] = pql_query unless pql_query.nil?
818
868
  command.query['fields'] = fields unless fields.nil?
819
869
  command.query['quotaUser'] = quota_user unless quota_user.nil?
820
870
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1285,7 +1335,8 @@ module Google
1285
1335
  # should then fetch the latest proposal at head revision and retry the update at
1286
1336
  # that revision.
1287
1337
  # @param [String] update_action
1288
- # The proposed action to take on the proposal.
1338
+ # The proposed action to take on the proposal. This field is required and it
1339
+ # must be set when updating a proposal.
1289
1340
  # @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object
1290
1341
  # @param [String] fields
1291
1342
  # Selector specifying which fields to include in a partial response.
@@ -1400,7 +1451,8 @@ module Google
1400
1451
  # should then fetch the latest proposal at head revision and retry the update at
1401
1452
  # that revision.
1402
1453
  # @param [String] update_action
1403
- # The proposed action to take on the proposal.
1454
+ # The proposed action to take on the proposal. This field is required and it
1455
+ # must be set when updating a proposal.
1404
1456
  # @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object
1405
1457
  # @param [String] fields
1406
1458
  # 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 = '20161020'
30
30
 
31
31
  # View and manage customer related information
32
32
  AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
@@ -574,6 +574,32 @@ module Google
574
574
  end
575
575
  end
576
576
 
577
+ # JSON request template for firing actions on ChromeOs Device in Directory
578
+ # Devices API.
579
+ class ChromeOsDeviceAction
580
+ include Google::Apis::Core::Hashable
581
+
582
+ # Action to be taken on the ChromeOs Device
583
+ # Corresponds to the JSON property `action`
584
+ # @return [String]
585
+ attr_accessor :action
586
+
587
+ #
588
+ # Corresponds to the JSON property `deprovisionReason`
589
+ # @return [String]
590
+ attr_accessor :deprovision_reason
591
+
592
+ def initialize(**args)
593
+ update!(**args)
594
+ end
595
+
596
+ # Update properties of this object
597
+ def update!(**args)
598
+ @action = args[:action] if args.key?(:action)
599
+ @deprovision_reason = args[:deprovision_reason] if args.key?(:deprovision_reason)
600
+ end
601
+ end
602
+
577
603
  # JSON response template for List Chrome OS Devices operation in Directory API.
578
604
  class ChromeOsDevices
579
605
  include Google::Apis::Core::Hashable
@@ -1064,6 +1090,11 @@ module Google
1064
1090
  # @return [String]
1065
1091
  attr_accessor :role
1066
1092
 
1093
+ # Status of member (Immutable)
1094
+ # Corresponds to the JSON property `status`
1095
+ # @return [String]
1096
+ attr_accessor :status
1097
+
1067
1098
  # Type of member (Immutable)
1068
1099
  # Corresponds to the JSON property `type`
1069
1100
  # @return [String]
@@ -1080,6 +1111,7 @@ module Google
1080
1111
  @id = args[:id] if args.key?(:id)
1081
1112
  @kind = args[:kind] if args.key?(:kind)
1082
1113
  @role = args[:role] if args.key?(:role)
1114
+ @status = args[:status] if args.key?(:status)
1083
1115
  @type = args[:type] if args.key?(:type)
1084
1116
  end
1085
1117
  end
@@ -1141,6 +1173,16 @@ module Google
1141
1173
  # @return [String]
1142
1174
  attr_accessor :baseband_version
1143
1175
 
1176
+ # Mobile Device Bootloader version (Read-only)
1177
+ # Corresponds to the JSON property `bootloaderVersion`
1178
+ # @return [String]
1179
+ attr_accessor :bootloader_version
1180
+
1181
+ # Mobile Device Brand (Read-only)
1182
+ # Corresponds to the JSON property `brand`
1183
+ # @return [String]
1184
+ attr_accessor :brand
1185
+
1144
1186
  # Mobile Device Build number (Read-only)
1145
1187
  # Corresponds to the JSON property `buildNumber`
1146
1188
  # @return [String]
@@ -1167,11 +1209,21 @@ module Google
1167
1209
  # @return [String]
1168
1210
  attr_accessor :device_id
1169
1211
 
1212
+ # DevicePasswordStatus (Read-only)
1213
+ # Corresponds to the JSON property `devicePasswordStatus`
1214
+ # @return [String]
1215
+ attr_accessor :device_password_status
1216
+
1170
1217
  # List of owner user's email addresses (Read-only)
1171
1218
  # Corresponds to the JSON property `email`
1172
1219
  # @return [Array<String>]
1173
1220
  attr_accessor :email
1174
1221
 
1222
+ # Mobile Device Encryption Status (Read-only)
1223
+ # Corresponds to the JSON property `encryptionStatus`
1224
+ # @return [String]
1225
+ attr_accessor :encryption_status
1226
+
1175
1227
  # ETag of the resource.
1176
1228
  # Corresponds to the JSON property `etag`
1177
1229
  # @return [String]
@@ -1183,6 +1235,11 @@ module Google
1183
1235
  # @return [DateTime]
1184
1236
  attr_accessor :first_sync
1185
1237
 
1238
+ # Mobile Device Hardware (Read-only)
1239
+ # Corresponds to the JSON property `hardware`
1240
+ # @return [String]
1241
+ attr_accessor :hardware
1242
+
1186
1243
  # Mobile Device Hardware Id (Read-only)
1187
1244
  # Corresponds to the JSON property `hardwareId`
1188
1245
  # @return [String]
@@ -1216,6 +1273,11 @@ module Google
1216
1273
  attr_accessor :managed_account_is_on_owner_profile
1217
1274
  alias_method :managed_account_is_on_owner_profile?, :managed_account_is_on_owner_profile
1218
1275
 
1276
+ # Mobile Device manufacturer (Read-only)
1277
+ # Corresponds to the JSON property `manufacturer`
1278
+ # @return [String]
1279
+ attr_accessor :manufacturer
1280
+
1219
1281
  # Mobile Device MEID number (Read-only)
1220
1282
  # Corresponds to the JSON property `meid`
1221
1283
  # @return [String]
@@ -1246,11 +1308,26 @@ module Google
1246
1308
  # @return [Array<String>]
1247
1309
  attr_accessor :other_accounts_info
1248
1310
 
1311
+ # DMAgentPermission (Read-only)
1312
+ # Corresponds to the JSON property `privilege`
1313
+ # @return [String]
1314
+ attr_accessor :privilege
1315
+
1316
+ # Mobile Device release version version (Read-only)
1317
+ # Corresponds to the JSON property `releaseVersion`
1318
+ # @return [String]
1319
+ attr_accessor :release_version
1320
+
1249
1321
  # Unique identifier of Mobile Device (Read-only)
1250
1322
  # Corresponds to the JSON property `resourceId`
1251
1323
  # @return [String]
1252
1324
  attr_accessor :resource_id
1253
1325
 
1326
+ # Mobile Device Security patch level (Read-only)
1327
+ # Corresponds to the JSON property `securityPatchLevel`
1328
+ # @return [String]
1329
+ attr_accessor :security_patch_level
1330
+
1254
1331
  # Mobile Device SSN or Serial Number (Read-only)
1255
1332
  # Corresponds to the JSON property `serialNumber`
1256
1333
  # @return [String]
@@ -1297,27 +1374,36 @@ module Google
1297
1374
  @adb_status = args[:adb_status] if args.key?(:adb_status)
1298
1375
  @applications = args[:applications] if args.key?(:applications)
1299
1376
  @baseband_version = args[:baseband_version] if args.key?(:baseband_version)
1377
+ @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
1378
+ @brand = args[:brand] if args.key?(:brand)
1300
1379
  @build_number = args[:build_number] if args.key?(:build_number)
1301
1380
  @default_language = args[:default_language] if args.key?(:default_language)
1302
1381
  @developer_options_status = args[:developer_options_status] if args.key?(:developer_options_status)
1303
1382
  @device_compromised_status = args[:device_compromised_status] if args.key?(:device_compromised_status)
1304
1383
  @device_id = args[:device_id] if args.key?(:device_id)
1384
+ @device_password_status = args[:device_password_status] if args.key?(:device_password_status)
1305
1385
  @email = args[:email] if args.key?(:email)
1386
+ @encryption_status = args[:encryption_status] if args.key?(:encryption_status)
1306
1387
  @etag = args[:etag] if args.key?(:etag)
1307
1388
  @first_sync = args[:first_sync] if args.key?(:first_sync)
1389
+ @hardware = args[:hardware] if args.key?(:hardware)
1308
1390
  @hardware_id = args[:hardware_id] if args.key?(:hardware_id)
1309
1391
  @imei = args[:imei] if args.key?(:imei)
1310
1392
  @kernel_version = args[:kernel_version] if args.key?(:kernel_version)
1311
1393
  @kind = args[:kind] if args.key?(:kind)
1312
1394
  @last_sync = args[:last_sync] if args.key?(:last_sync)
1313
1395
  @managed_account_is_on_owner_profile = args[:managed_account_is_on_owner_profile] if args.key?(:managed_account_is_on_owner_profile)
1396
+ @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
1314
1397
  @meid = args[:meid] if args.key?(:meid)
1315
1398
  @model = args[:model] if args.key?(:model)
1316
1399
  @name = args[:name] if args.key?(:name)
1317
1400
  @network_operator = args[:network_operator] if args.key?(:network_operator)
1318
1401
  @os = args[:os] if args.key?(:os)
1319
1402
  @other_accounts_info = args[:other_accounts_info] if args.key?(:other_accounts_info)
1403
+ @privilege = args[:privilege] if args.key?(:privilege)
1404
+ @release_version = args[:release_version] if args.key?(:release_version)
1320
1405
  @resource_id = args[:resource_id] if args.key?(:resource_id)
1406
+ @security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level)
1321
1407
  @serial_number = args[:serial_number] if args.key?(:serial_number)
1322
1408
  @status = args[:status] if args.key?(:status)
1323
1409
  @supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile)