google-api-client 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +75 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -35
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +958 -82
  7. data/generated/google/apis/admin_directory_v1.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1/classes.rb +147 -0
  9. data/generated/google/apis/admin_directory_v1/representations.rb +54 -0
  10. data/generated/google/apis/admin_directory_v1/service.rb +71 -1
  11. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  12. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -19
  13. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  14. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  15. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -11
  16. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -189
  18. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -120
  19. data/generated/google/apis/androidpublisher_v2/service.rb +0 -35
  20. data/generated/google/apis/appengine_v1.rb +1 -1
  21. data/generated/google/apis/appengine_v1/classes.rb +1 -46
  22. data/generated/google/apis/appengine_v1/representations.rb +0 -17
  23. data/generated/google/apis/appengine_v1/service.rb +5 -1
  24. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  25. data/generated/google/apis/appengine_v1alpha/classes.rb +0 -45
  26. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -17
  27. data/generated/google/apis/appengine_v1alpha/service.rb +5 -1
  28. data/generated/google/apis/appengine_v1beta.rb +1 -1
  29. data/generated/google/apis/appengine_v1beta/classes.rb +5 -47
  30. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  31. data/generated/google/apis/appengine_v1beta/service.rb +5 -1
  32. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta4/classes.rb +44 -45
  34. data/generated/google/apis/appengine_v1beta4/representations.rb +16 -17
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta5/classes.rb +4 -46
  37. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -17
  38. data/generated/google/apis/bigquery_v2.rb +1 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +41 -24
  40. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  41. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -7
  43. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +0 -1
  44. data/generated/google/apis/calendar_v3.rb +1 -1
  45. data/generated/google/apis/calendar_v3/service.rb +15 -3
  46. data/generated/google/apis/classroom_v1.rb +4 -1
  47. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  48. data/generated/google/apis/cloudbuild_v1/classes.rb +26 -0
  49. data/generated/google/apis/cloudbuild_v1/representations.rb +14 -0
  50. data/generated/google/apis/cloudbuild_v1/service.rb +91 -0
  51. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1/classes.rb +482 -0
  53. data/generated/google/apis/cloudfunctions_v1/representations.rb +210 -0
  54. data/generated/google/apis/cloudfunctions_v1/service.rb +288 -0
  55. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  56. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +119 -0
  57. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +68 -0
  58. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +77 -0
  59. data/generated/google/apis/cloudiot_v1.rb +1 -1
  60. data/generated/google/apis/cloudiot_v1/service.rb +7 -3
  61. data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
  62. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
  64. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  65. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -14
  66. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  67. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -7
  68. data/generated/google/apis/cloudtrace_v2/representations.rb +2 -2
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +143 -83
  71. data/generated/google/apis/compute_alpha/representations.rb +50 -30
  72. data/generated/google/apis/compute_alpha/service.rb +171 -5
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +47 -43
  75. data/generated/google/apis/compute_beta/representations.rb +1 -2
  76. data/generated/google/apis/compute_beta/service.rb +60 -5
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +1326 -168
  79. data/generated/google/apis/compute_v1/representations.rb +402 -0
  80. data/generated/google/apis/compute_v1/service.rb +751 -5
  81. data/generated/google/apis/container_v1beta1.rb +1 -1
  82. data/generated/google/apis/content_v2.rb +1 -1
  83. data/generated/google/apis/content_v2/classes.rb +23 -16
  84. data/generated/google/apis/content_v2/service.rb +142 -162
  85. data/generated/google/apis/content_v2sandbox.rb +1 -1
  86. data/generated/google/apis/content_v2sandbox/service.rb +43 -43
  87. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  88. data/generated/google/apis/dataflow_v1b3/classes.rb +44 -35
  89. data/generated/google/apis/dataflow_v1b3/representations.rb +6 -17
  90. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  91. data/generated/google/apis/dataproc_v1beta2/classes.rb +39 -37
  92. data/generated/google/apis/dataproc_v1beta2/service.rb +30 -30
  93. data/generated/google/apis/datastore_v1.rb +1 -1
  94. data/generated/google/apis/datastore_v1/classes.rb +39 -60
  95. data/generated/google/apis/datastore_v1/representations.rb +27 -0
  96. data/generated/google/apis/datastore_v1/service.rb +34 -0
  97. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  98. data/generated/google/apis/datastore_v1beta3/classes.rb +39 -60
  99. data/generated/google/apis/datastore_v1beta3/representations.rb +27 -0
  100. data/generated/google/apis/datastore_v1beta3/service.rb +34 -0
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_alpha/classes.rb +108 -0
  103. data/generated/google/apis/deploymentmanager_alpha/representations.rb +50 -0
  104. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  105. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
  106. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
  107. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  108. data/generated/google/apis/dlp_v2beta1/classes.rb +116 -10
  109. data/generated/google/apis/dlp_v2beta1/representations.rb +45 -0
  110. data/generated/google/apis/dns_v1beta2.rb +43 -0
  111. data/generated/google/apis/dns_v1beta2/classes.rb +915 -0
  112. data/generated/google/apis/dns_v1beta2/representations.rb +368 -0
  113. data/generated/google/apis/dns_v1beta2/service.rb +769 -0
  114. data/generated/google/apis/drive_v2.rb +1 -1
  115. data/generated/google/apis/drive_v2/classes.rb +6 -0
  116. data/generated/google/apis/drive_v2/representations.rb +2 -0
  117. data/generated/google/apis/drive_v2/service.rb +51 -8
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +6 -0
  120. data/generated/google/apis/drive_v3/representations.rb +2 -0
  121. data/generated/google/apis/drive_v3/service.rb +45 -7
  122. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  123. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +25 -0
  124. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +15 -0
  125. data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
  126. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +21 -1
  127. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +2 -0
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  131. data/generated/google/apis/firebaserules_v1/service.rb +37 -0
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +29 -146
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +8 -27
  134. data/generated/google/apis/firestore_v1beta1/service.rb +4 -8
  135. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  136. data/generated/google/apis/genomics_v1alpha2/classes.rb +18 -0
  137. data/generated/google/apis/genomics_v1alpha2/representations.rb +2 -0
  138. data/generated/google/apis/iam_v1.rb +1 -1
  139. data/generated/google/apis/iam_v1/classes.rb +5 -7
  140. data/generated/google/apis/language_v1.rb +1 -1
  141. data/generated/google/apis/language_v1/classes.rb +78 -0
  142. data/generated/google/apis/language_v1/representations.rb +45 -0
  143. data/generated/google/apis/language_v1/service.rb +30 -0
  144. data/generated/google/apis/language_v1beta2.rb +1 -1
  145. data/generated/google/apis/language_v1beta2/classes.rb +3 -1
  146. data/generated/google/apis/logging_v2.rb +1 -1
  147. data/generated/google/apis/logging_v2/classes.rb +9 -0
  148. data/generated/google/apis/logging_v2/representations.rb +1 -0
  149. data/generated/google/apis/logging_v2/service.rb +517 -0
  150. data/generated/google/apis/logging_v2beta1.rb +1 -1
  151. data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
  152. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  153. data/generated/google/apis/manufacturers_v1.rb +1 -1
  154. data/generated/google/apis/manufacturers_v1/classes.rb +6 -6
  155. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  156. data/generated/google/apis/ml_v1.rb +1 -1
  157. data/generated/google/apis/ml_v1/classes.rb +22 -6
  158. data/generated/google/apis/ml_v1/service.rb +8 -2
  159. data/generated/google/apis/monitoring_v3.rb +1 -1
  160. data/generated/google/apis/monitoring_v3/classes.rb +358 -0
  161. data/generated/google/apis/monitoring_v3/representations.rb +145 -0
  162. data/generated/google/apis/monitoring_v3/service.rb +229 -0
  163. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  164. data/generated/google/apis/oslogin_v1alpha/classes.rb +13 -8
  165. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  166. data/generated/google/apis/oslogin_v1alpha/service.rb +36 -1
  167. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  168. data/generated/google/apis/oslogin_v1beta/classes.rb +9 -4
  169. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  170. data/generated/google/apis/oslogin_v1beta/service.rb +36 -1
  171. data/generated/google/apis/partners_v2.rb +1 -1
  172. data/generated/google/apis/partners_v2/classes.rb +7 -60
  173. data/generated/google/apis/partners_v2/representations.rb +1 -0
  174. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  175. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  176. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -4
  177. data/generated/google/apis/script_v1.rb +2 -2
  178. data/generated/google/apis/script_v1/classes.rb +57 -51
  179. data/generated/google/apis/script_v1/representations.rb +0 -1
  180. data/generated/google/apis/script_v1/service.rb +2 -2
  181. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  182. data/generated/google/apis/servicecontrol_v1/classes.rb +5 -2
  183. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  184. data/generated/google/apis/servicemanagement_v1/classes.rb +13 -31
  185. data/generated/google/apis/serviceuser_v1.rb +1 -1
  186. data/generated/google/apis/serviceuser_v1/classes.rb +13 -31
  187. data/generated/google/apis/sheets_v4.rb +1 -1
  188. data/generated/google/apis/sheets_v4/classes.rb +1 -2
  189. data/generated/google/apis/slides_v1.rb +1 -1
  190. data/generated/google/apis/slides_v1/classes.rb +505 -11
  191. data/generated/google/apis/slides_v1/representations.rb +220 -0
  192. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  193. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
  194. data/generated/google/apis/speech_v1.rb +1 -1
  195. data/generated/google/apis/speech_v1/classes.rb +10 -1
  196. data/generated/google/apis/speech_v1/representations.rb +1 -0
  197. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  198. data/generated/google/apis/sqladmin_v1beta4/classes.rb +127 -0
  199. data/generated/google/apis/sqladmin_v1beta4/representations.rb +63 -0
  200. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  201. data/generated/google/apis/storage_v1.rb +1 -1
  202. data/generated/google/apis/storage_v1/service.rb +51 -72
  203. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  204. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -61
  205. data/generated/google/apis/streetviewpublish_v1/service.rb +2 -1
  206. data/generated/google/apis/testing_v1.rb +1 -1
  207. data/generated/google/apis/testing_v1/classes.rb +8 -3
  208. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  209. data/generated/google/apis/toolresults_v1beta3/classes.rb +17 -16
  210. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  211. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  212. data/generated/google/apis/youtube_partner_v1/classes.rb +108 -0
  213. data/generated/google/apis/youtube_partner_v1/representations.rb +49 -0
  214. data/generated/google/apis/youtube_partner_v1/service.rb +42 -0
  215. data/google-api-client.gemspec +1 -1
  216. data/lib/google/apis/generator/model.rb +9 -3
  217. data/lib/google/apis/generator/templates/_class.tmpl +1 -1
  218. data/lib/google/apis/version.rb +1 -1
  219. metadata +14 -12
  220. data/generated/google/apis/playmoviespartner_v1.rb +0 -34
  221. data/generated/google/apis/playmoviespartner_v1/classes.rb +0 -782
  222. data/generated/google/apis/playmoviespartner_v1/representations.rb +0 -191
  223. data/generated/google/apis/playmoviespartner_v1/service.rb +0 -354
  224. data/generated/google/apis/qpx_express_v1.rb +0 -31
  225. data/generated/google/apis/qpx_express_v1/classes.rb +0 -1274
  226. data/generated/google/apis/qpx_express_v1/representations.rb +0 -473
  227. data/generated/google/apis/qpx_express_v1/service.rb +0 -101
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170918'
29
+ REVISION = '20171009'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -388,11 +388,11 @@ module Google
388
388
  alias_method :policy_compliant?, :policy_compliant
389
389
 
390
390
  # The name of the policy that is intended to be applied to the device. If empty,
391
- # the policy with id default is applied. This field may be modified by an update
392
- # request. The name of the policy is in the form enterprises/`enterpriseId`/
393
- # policies/`policyId`. It is also permissible to only specify the policyId when
394
- # updating this field as long as the policyId contains no slashes since the rest
395
- # of the policy name can be inferred from context.
391
+ # the policy_name for the user that owns this device is applied. This field may
392
+ # be modified by an update request. The name of the policy is in the form
393
+ # enterprises/`enterpriseId`/policies/`policyId`. It is also permissible to only
394
+ # specify the policyId when updating this field as long as the policyId contains
395
+ # no slashes since the rest of the policy name can be inferred from context.
396
396
  # Corresponds to the JSON property `policyName`
397
397
  # @return [String]
398
398
  attr_accessor :policy_name
@@ -425,9 +425,8 @@ module Google
425
425
  # @return [String]
426
426
  attr_accessor :state
427
427
 
428
- # The resource name of the user of the device in the form enterprises/`
429
- # enterpriseId`/users/`userId`. This is the name of the device account
430
- # automatically created for this device.
428
+ # The resource name of the user that owns this device in the form enterprises/`
429
+ # enterpriseId`/users/`userId`.
431
430
  # Corresponds to the JSON property `userName`
432
431
  # @return [String]
433
432
  attr_accessor :user_name
@@ -575,9 +574,11 @@ module Google
575
574
 
576
575
  # The name of the policy that will be initially applied to the enrolled device
577
576
  # in the form enterprises/`enterpriseId`/policies/`policyId`. If not specified,
578
- # the policy with id default is applied. It is permissible to only specify the
579
- # policyId when updating this field as long as the policyId contains no slashes
580
- # since the rest of the policy name can be inferred from context.
577
+ # the policy_name for the user that owns the device is applied. If user_name
578
+ # also isn't specified, the policy defaults to enterprises/`enterpriseId`/
579
+ # policies/default. It is permissible to only specify the policyId when updating
580
+ # this field as long as the policyId contains no slashes since the rest of the
581
+ # policy name can be inferred from context.
581
582
  # Corresponds to the JSON property `policyName`
582
583
  # @return [String]
583
584
  attr_accessor :policy_name
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20170913'
28
+ REVISION = '20171030'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -876,157 +876,6 @@ module Google
876
876
  end
877
877
  end
878
878
 
879
- #
880
- class InAppProductsBatchRequest
881
- include Google::Apis::Core::Hashable
882
-
883
- #
884
- # Corresponds to the JSON property `entrys`
885
- # @return [Array<Google::Apis::AndroidpublisherV2::InAppProductsBatchRequestEntry>]
886
- attr_accessor :entrys
887
-
888
- def initialize(**args)
889
- update!(**args)
890
- end
891
-
892
- # Update properties of this object
893
- def update!(**args)
894
- @entrys = args[:entrys] if args.key?(:entrys)
895
- end
896
- end
897
-
898
- #
899
- class InAppProductsBatchRequestEntry
900
- include Google::Apis::Core::Hashable
901
-
902
- #
903
- # Corresponds to the JSON property `batchId`
904
- # @return [Fixnum]
905
- attr_accessor :batch_id
906
-
907
- #
908
- # Corresponds to the JSON property `inappproductsinsertrequest`
909
- # @return [Google::Apis::AndroidpublisherV2::InsertInAppProductsRequest]
910
- attr_accessor :inappproductsinsertrequest
911
-
912
- #
913
- # Corresponds to the JSON property `inappproductsupdaterequest`
914
- # @return [Google::Apis::AndroidpublisherV2::UpdateInAppProductsRequest]
915
- attr_accessor :inappproductsupdaterequest
916
-
917
- #
918
- # Corresponds to the JSON property `methodName`
919
- # @return [String]
920
- attr_accessor :method_name
921
-
922
- def initialize(**args)
923
- update!(**args)
924
- end
925
-
926
- # Update properties of this object
927
- def update!(**args)
928
- @batch_id = args[:batch_id] if args.key?(:batch_id)
929
- @inappproductsinsertrequest = args[:inappproductsinsertrequest] if args.key?(:inappproductsinsertrequest)
930
- @inappproductsupdaterequest = args[:inappproductsupdaterequest] if args.key?(:inappproductsupdaterequest)
931
- @method_name = args[:method_name] if args.key?(:method_name)
932
- end
933
- end
934
-
935
- #
936
- class InAppProductsBatchResponse
937
- include Google::Apis::Core::Hashable
938
-
939
- #
940
- # Corresponds to the JSON property `entrys`
941
- # @return [Array<Google::Apis::AndroidpublisherV2::InAppProductsBatchResponseEntry>]
942
- attr_accessor :entrys
943
-
944
- # Identifies what kind of resource this is. Value: the fixed string "
945
- # androidpublisher#inappproductsBatchResponse".
946
- # Corresponds to the JSON property `kind`
947
- # @return [String]
948
- attr_accessor :kind
949
-
950
- def initialize(**args)
951
- update!(**args)
952
- end
953
-
954
- # Update properties of this object
955
- def update!(**args)
956
- @entrys = args[:entrys] if args.key?(:entrys)
957
- @kind = args[:kind] if args.key?(:kind)
958
- end
959
- end
960
-
961
- #
962
- class InAppProductsBatchResponseEntry
963
- include Google::Apis::Core::Hashable
964
-
965
- #
966
- # Corresponds to the JSON property `batchId`
967
- # @return [Fixnum]
968
- attr_accessor :batch_id
969
-
970
- #
971
- # Corresponds to the JSON property `inappproductsinsertresponse`
972
- # @return [Google::Apis::AndroidpublisherV2::InsertInAppProductsResponse]
973
- attr_accessor :inappproductsinsertresponse
974
-
975
- #
976
- # Corresponds to the JSON property `inappproductsupdateresponse`
977
- # @return [Google::Apis::AndroidpublisherV2::UpdateInAppProductsResponse]
978
- attr_accessor :inappproductsupdateresponse
979
-
980
- def initialize(**args)
981
- update!(**args)
982
- end
983
-
984
- # Update properties of this object
985
- def update!(**args)
986
- @batch_id = args[:batch_id] if args.key?(:batch_id)
987
- @inappproductsinsertresponse = args[:inappproductsinsertresponse] if args.key?(:inappproductsinsertresponse)
988
- @inappproductsupdateresponse = args[:inappproductsupdateresponse] if args.key?(:inappproductsupdateresponse)
989
- end
990
- end
991
-
992
- #
993
- class InsertInAppProductsRequest
994
- include Google::Apis::Core::Hashable
995
-
996
- #
997
- # Corresponds to the JSON property `inappproduct`
998
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
999
- attr_accessor :inappproduct
1000
-
1001
- def initialize(**args)
1002
- update!(**args)
1003
- end
1004
-
1005
- # Update properties of this object
1006
- def update!(**args)
1007
- @inappproduct = args[:inappproduct] if args.key?(:inappproduct)
1008
- end
1009
- end
1010
-
1011
- #
1012
- class InsertInAppProductsResponse
1013
- include Google::Apis::Core::Hashable
1014
-
1015
- #
1016
- # Corresponds to the JSON property `inappproduct`
1017
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
1018
- attr_accessor :inappproduct
1019
-
1020
- def initialize(**args)
1021
- update!(**args)
1022
- end
1023
-
1024
- # Update properties of this object
1025
- def update!(**args)
1026
- @inappproduct = args[:inappproduct] if args.key?(:inappproduct)
1027
- end
1028
- end
1029
-
1030
879
  #
1031
880
  class ListInAppProductsResponse
1032
881
  include Google::Apis::Core::Hashable
@@ -1065,44 +914,6 @@ module Google
1065
914
  end
1066
915
  end
1067
916
 
1068
- #
1069
- class UpdateInAppProductsRequest
1070
- include Google::Apis::Core::Hashable
1071
-
1072
- #
1073
- # Corresponds to the JSON property `inappproduct`
1074
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
1075
- attr_accessor :inappproduct
1076
-
1077
- def initialize(**args)
1078
- update!(**args)
1079
- end
1080
-
1081
- # Update properties of this object
1082
- def update!(**args)
1083
- @inappproduct = args[:inappproduct] if args.key?(:inappproduct)
1084
- end
1085
- end
1086
-
1087
- #
1088
- class UpdateInAppProductsResponse
1089
- include Google::Apis::Core::Hashable
1090
-
1091
- #
1092
- # Corresponds to the JSON property `inappproduct`
1093
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
1094
- attr_accessor :inappproduct
1095
-
1096
- def initialize(**args)
1097
- update!(**args)
1098
- end
1099
-
1100
- # Update properties of this object
1101
- def update!(**args)
1102
- @inappproduct = args[:inappproduct] if args.key?(:inappproduct)
1103
- end
1104
- end
1105
-
1106
917
  #
1107
918
  class Listing
1108
919
  include Google::Apis::Core::Hashable
@@ -178,60 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class InAppProductsBatchRequest
182
- class Representation < Google::Apis::Core::JsonRepresentation; end
183
-
184
- include Google::Apis::Core::JsonObjectSupport
185
- end
186
-
187
- class InAppProductsBatchRequestEntry
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
- class InAppProductsBatchResponse
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
- class InAppProductsBatchResponseEntry
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
- class InsertInAppProductsRequest
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
- class InsertInAppProductsResponse
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
181
  class ListInAppProductsResponse
218
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
183
 
220
184
  include Google::Apis::Core::JsonObjectSupport
221
185
  end
222
186
 
223
- class UpdateInAppProductsRequest
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
227
- end
228
-
229
- class UpdateInAppProductsResponse
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
187
  class Listing
236
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
189
 
@@ -640,62 +592,6 @@ module Google
640
592
  end
641
593
  end
642
594
 
643
- class InAppProductsBatchRequest
644
- # @private
645
- class Representation < Google::Apis::Core::JsonRepresentation
646
- collection :entrys, as: 'entrys', class: Google::Apis::AndroidpublisherV2::InAppProductsBatchRequestEntry, decorator: Google::Apis::AndroidpublisherV2::InAppProductsBatchRequestEntry::Representation
647
-
648
- end
649
- end
650
-
651
- class InAppProductsBatchRequestEntry
652
- # @private
653
- class Representation < Google::Apis::Core::JsonRepresentation
654
- property :batch_id, as: 'batchId'
655
- property :inappproductsinsertrequest, as: 'inappproductsinsertrequest', class: Google::Apis::AndroidpublisherV2::InsertInAppProductsRequest, decorator: Google::Apis::AndroidpublisherV2::InsertInAppProductsRequest::Representation
656
-
657
- property :inappproductsupdaterequest, as: 'inappproductsupdaterequest', class: Google::Apis::AndroidpublisherV2::UpdateInAppProductsRequest, decorator: Google::Apis::AndroidpublisherV2::UpdateInAppProductsRequest::Representation
658
-
659
- property :method_name, as: 'methodName'
660
- end
661
- end
662
-
663
- class InAppProductsBatchResponse
664
- # @private
665
- class Representation < Google::Apis::Core::JsonRepresentation
666
- collection :entrys, as: 'entrys', class: Google::Apis::AndroidpublisherV2::InAppProductsBatchResponseEntry, decorator: Google::Apis::AndroidpublisherV2::InAppProductsBatchResponseEntry::Representation
667
-
668
- property :kind, as: 'kind'
669
- end
670
- end
671
-
672
- class InAppProductsBatchResponseEntry
673
- # @private
674
- class Representation < Google::Apis::Core::JsonRepresentation
675
- property :batch_id, as: 'batchId'
676
- property :inappproductsinsertresponse, as: 'inappproductsinsertresponse', class: Google::Apis::AndroidpublisherV2::InsertInAppProductsResponse, decorator: Google::Apis::AndroidpublisherV2::InsertInAppProductsResponse::Representation
677
-
678
- property :inappproductsupdateresponse, as: 'inappproductsupdateresponse', class: Google::Apis::AndroidpublisherV2::UpdateInAppProductsResponse, decorator: Google::Apis::AndroidpublisherV2::UpdateInAppProductsResponse::Representation
679
-
680
- end
681
- end
682
-
683
- class InsertInAppProductsRequest
684
- # @private
685
- class Representation < Google::Apis::Core::JsonRepresentation
686
- property :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV2::InAppProduct, decorator: Google::Apis::AndroidpublisherV2::InAppProduct::Representation
687
-
688
- end
689
- end
690
-
691
- class InsertInAppProductsResponse
692
- # @private
693
- class Representation < Google::Apis::Core::JsonRepresentation
694
- property :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV2::InAppProduct, decorator: Google::Apis::AndroidpublisherV2::InAppProduct::Representation
695
-
696
- end
697
- end
698
-
699
595
  class ListInAppProductsResponse
700
596
  # @private
701
597
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -709,22 +605,6 @@ module Google
709
605
  end
710
606
  end
711
607
 
712
- class UpdateInAppProductsRequest
713
- # @private
714
- class Representation < Google::Apis::Core::JsonRepresentation
715
- property :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV2::InAppProduct, decorator: Google::Apis::AndroidpublisherV2::InAppProduct::Representation
716
-
717
- end
718
- end
719
-
720
- class UpdateInAppProductsResponse
721
- # @private
722
- class Representation < Google::Apis::Core::JsonRepresentation
723
- property :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV2::InAppProduct, decorator: Google::Apis::AndroidpublisherV2::InAppProduct::Representation
724
-
725
- end
726
- end
727
-
728
608
  class Listing
729
609
  # @private
730
610
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1839,41 +1839,6 @@ module Google
1839
1839
  execute_or_queue_command(command, &block)
1840
1840
  end
1841
1841
 
1842
- #
1843
- # @param [Google::Apis::AndroidpublisherV2::InAppProductsBatchRequest] in_app_products_batch_request_object
1844
- # @param [String] fields
1845
- # Selector specifying which fields to include in a partial response.
1846
- # @param [String] quota_user
1847
- # Available to use for quota purposes for server-side applications. Can be any
1848
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1849
- # Overrides userIp if both are provided.
1850
- # @param [String] user_ip
1851
- # IP address of the site where the request originates. Use this if you want to
1852
- # enforce per-user limits.
1853
- # @param [Google::Apis::RequestOptions] options
1854
- # Request-specific options
1855
- #
1856
- # @yield [result, err] Result & error if block supplied
1857
- # @yieldparam result [Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse] parsed result object
1858
- # @yieldparam err [StandardError] error object if request failed
1859
- #
1860
- # @return [Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse]
1861
- #
1862
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1863
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1864
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1865
- def batch_update_in_app_products(in_app_products_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1866
- command = make_simple_command(:post, 'inappproducts/batch', options)
1867
- command.request_representation = Google::Apis::AndroidpublisherV2::InAppProductsBatchRequest::Representation
1868
- command.request_object = in_app_products_batch_request_object
1869
- command.response_representation = Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse::Representation
1870
- command.response_class = Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse
1871
- command.query['fields'] = fields unless fields.nil?
1872
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1873
- command.query['userIp'] = user_ip unless user_ip.nil?
1874
- execute_or_queue_command(command, &block)
1875
- end
1876
-
1877
1842
  # Delete an in-app product for an app.
1878
1843
  # @param [String] package_name
1879
1844
  # Unique identifier for the Android app with the in-app product; for example, "