google-api-client 0.23.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +114 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/MIGRATING.md +1 -5
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +3 -3
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
  15. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  19. data/generated/google/apis/appengine_v1.rb +1 -1
  20. data/generated/google/apis/appengine_v1/classes.rb +34 -1
  21. data/generated/google/apis/appengine_v1/representations.rb +16 -0
  22. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
  25. data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
  26. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -4
  31. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  32. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
  33. data/generated/google/apis/chat_v1.rb +2 -2
  34. data/generated/google/apis/chat_v1/classes.rb +76 -0
  35. data/generated/google/apis/chat_v1/representations.rb +25 -0
  36. data/generated/google/apis/chat_v1/service.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +1 -1
  39. data/generated/google/apis/classroom_v1/service.rb +12 -12
  40. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  41. data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
  42. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  47. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  48. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
  49. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
  50. data/generated/google/apis/cloudiot_v1.rb +1 -1
  51. data/generated/google/apis/cloudiot_v1/service.rb +0 -331
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
  54. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  61. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
  62. data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
  63. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
  65. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
  66. data/generated/google/apis/cloudshell_v1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
  70. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
  71. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  75. data/generated/google/apis/compute_alpha.rb +1 -1
  76. data/generated/google/apis/compute_alpha/classes.rb +49 -18
  77. data/generated/google/apis/compute_alpha/representations.rb +6 -1
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +1114 -103
  80. data/generated/google/apis/compute_beta/representations.rb +431 -0
  81. data/generated/google/apis/compute_beta/service.rb +605 -0
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +95 -1
  84. data/generated/google/apis/compute_v1/representations.rb +33 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +1 -1
  87. data/generated/google/apis/container_v1/service.rb +1 -1
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/container_v1beta1/classes.rb +348 -2
  90. data/generated/google/apis/container_v1beta1/representations.rb +121 -0
  91. data/generated/google/apis/container_v1beta1/service.rb +114 -2
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +147 -0
  94. data/generated/google/apis/content_v2/representations.rb +65 -0
  95. data/generated/google/apis/content_v2/service.rb +81 -1
  96. data/generated/google/apis/content_v2sandbox.rb +1 -1
  97. data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
  98. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
  101. data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +164 -1
  104. data/generated/google/apis/dataproc_v1/representations.rb +70 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  110. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  111. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  113. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  114. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
  117. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
  122. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  123. data/generated/google/apis/dlp_v2.rb +1 -1
  124. data/generated/google/apis/dlp_v2/classes.rb +70 -26
  125. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  126. data/generated/google/apis/dlp_v2/service.rb +78 -17
  127. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  131. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
  134. data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
  135. data/generated/google/apis/genomics_v1.rb +1 -1
  136. data/generated/google/apis/genomics_v1/classes.rb +0 -1
  137. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  138. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  139. data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
  140. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
  143. data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
  144. data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
  145. data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
  146. data/generated/google/apis/indexing_v3.rb +32 -0
  147. data/generated/google/apis/indexing_v3/classes.rb +115 -0
  148. data/generated/google/apis/indexing_v3/representations.rb +72 -0
  149. data/generated/google/apis/indexing_v3/service.rb +122 -0
  150. data/generated/google/apis/jobs_v2.rb +1 -1
  151. data/generated/google/apis/jobs_v2/classes.rb +73 -72
  152. data/generated/google/apis/jobs_v2/representations.rb +0 -1
  153. data/generated/google/apis/jobs_v2/service.rb +8 -7
  154. data/generated/google/apis/language_v1.rb +1 -1
  155. data/generated/google/apis/language_v1beta1.rb +1 -1
  156. data/generated/google/apis/language_v1beta2.rb +1 -1
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +42 -0
  159. data/generated/google/apis/logging_v2/representations.rb +17 -0
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
  162. data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
  163. data/generated/google/apis/manufacturers_v1.rb +1 -1
  164. data/generated/google/apis/ml_v1.rb +1 -1
  165. data/generated/google/apis/ml_v1/classes.rb +17 -0
  166. data/generated/google/apis/ml_v1/representations.rb +1 -0
  167. data/generated/google/apis/ml_v1/service.rb +4 -2
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +91 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  171. data/generated/google/apis/oslogin_v1.rb +1 -1
  172. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  174. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  175. data/generated/google/apis/partners_v2.rb +1 -1
  176. data/generated/google/apis/people_v1.rb +1 -1
  177. data/generated/google/apis/poly_v1.rb +1 -1
  178. data/generated/google/apis/poly_v1/classes.rb +12 -2
  179. data/generated/google/apis/poly_v1/representations.rb +1 -0
  180. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1.rb +1 -1
  182. data/generated/google/apis/pubsub_v1/classes.rb +57 -4
  183. data/generated/google/apis/pubsub_v1/representations.rb +19 -0
  184. data/generated/google/apis/pubsub_v1/service.rb +40 -2
  185. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  186. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  187. data/generated/google/apis/redis_v1beta1.rb +1 -1
  188. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  189. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  190. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  191. data/generated/google/apis/script_v1.rb +4 -1
  192. data/generated/google/apis/searchconsole_v1.rb +1 -1
  193. data/generated/google/apis/servicebroker_v1.rb +1 -1
  194. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  195. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  196. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
  197. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
  198. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  199. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
  202. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  203. data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
  204. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  205. data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
  206. data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
  207. data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
  208. data/generated/google/apis/serviceusage_v1/service.rb +423 -0
  209. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  210. data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
  211. data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
  212. data/generated/google/apis/serviceuser_v1.rb +1 -1
  213. data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
  214. data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
  215. data/generated/google/apis/serviceuser_v1/service.rb +2 -2
  216. data/generated/google/apis/sheets_v4.rb +1 -1
  217. data/generated/google/apis/slides_v1.rb +1 -1
  218. data/generated/google/apis/slides_v1/classes.rb +9 -3
  219. data/generated/google/apis/spanner_v1.rb +1 -1
  220. data/generated/google/apis/speech_v1.rb +2 -2
  221. data/generated/google/apis/speech_v1/service.rb +1 -1
  222. data/generated/google/apis/speech_v1beta1.rb +2 -2
  223. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/testing_v1.rb +1 -1
  226. data/generated/google/apis/testing_v1/classes.rb +1 -1
  227. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  228. data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
  229. data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
  230. data/generated/google/apis/videointelligence_v1.rb +1 -1
  231. data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
  232. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  233. data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +4 -2
  236. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  237. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
  238. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
  240. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  241. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  242. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  243. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  244. data/lib/google/apis/version.rb +1 -1
  245. metadata +15 -10
  246. data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
  247. data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
  248. data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
  249. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  250. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  251. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -587,7 +587,7 @@ module Google
587
587
  # @param [String] parent
588
588
  # The name of the database this index will apply to. For example:
589
589
  # `projects/`project_id`/databases/`database_id``
590
- # @param [Google::Apis::FirestoreV1beta1::Index] index_object
590
+ # @param [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index] google_firestore_admin_v1beta1_index_object
591
591
  # @param [String] fields
592
592
  # Selector specifying which fields to include in a partial response.
593
593
  # @param [String] quota_user
@@ -597,20 +597,20 @@ module Google
597
597
  # Request-specific options
598
598
  #
599
599
  # @yield [result, err] Result & error if block supplied
600
- # @yieldparam result [Google::Apis::FirestoreV1beta1::Operation] parsed result object
600
+ # @yieldparam result [Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation] parsed result object
601
601
  # @yieldparam err [StandardError] error object if request failed
602
602
  #
603
- # @return [Google::Apis::FirestoreV1beta1::Operation]
603
+ # @return [Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation]
604
604
  #
605
605
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
606
606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607
607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
608
- def create_project_database_index(parent, index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
608
+ def create_project_database_index(parent, google_firestore_admin_v1beta1_index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
609
609
  command = make_simple_command(:post, 'v1beta1/{+parent}/indexes', options)
610
- command.request_representation = Google::Apis::FirestoreV1beta1::Index::Representation
611
- command.request_object = index_object
612
- command.response_representation = Google::Apis::FirestoreV1beta1::Operation::Representation
613
- command.response_class = Google::Apis::FirestoreV1beta1::Operation
610
+ command.request_representation = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index::Representation
611
+ command.request_object = google_firestore_admin_v1beta1_index_object
612
+ command.response_representation = Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation::Representation
613
+ command.response_class = Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation
614
614
  command.params['parent'] = parent unless parent.nil?
615
615
  command.query['fields'] = fields unless fields.nil?
616
616
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -661,18 +661,18 @@ module Google
661
661
  # Request-specific options
662
662
  #
663
663
  # @yield [result, err] Result & error if block supplied
664
- # @yieldparam result [Google::Apis::FirestoreV1beta1::Index] parsed result object
664
+ # @yieldparam result [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index] parsed result object
665
665
  # @yieldparam err [StandardError] error object if request failed
666
666
  #
667
- # @return [Google::Apis::FirestoreV1beta1::Index]
667
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index]
668
668
  #
669
669
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
670
670
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
671
671
  # @raise [Google::Apis::AuthorizationError] Authorization is required
672
672
  def get_project_database_index(name, fields: nil, quota_user: nil, options: nil, &block)
673
673
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
674
- command.response_representation = Google::Apis::FirestoreV1beta1::Index::Representation
675
- command.response_class = Google::Apis::FirestoreV1beta1::Index
674
+ command.response_representation = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index::Representation
675
+ command.response_class = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index
676
676
  command.params['name'] = name unless name.nil?
677
677
  command.query['fields'] = fields unless fields.nil?
678
678
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -697,18 +697,18 @@ module Google
697
697
  # Request-specific options
698
698
  #
699
699
  # @yield [result, err] Result & error if block supplied
700
- # @yieldparam result [Google::Apis::FirestoreV1beta1::ListIndexesResponse] parsed result object
700
+ # @yieldparam result [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse] parsed result object
701
701
  # @yieldparam err [StandardError] error object if request failed
702
702
  #
703
- # @return [Google::Apis::FirestoreV1beta1::ListIndexesResponse]
703
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse]
704
704
  #
705
705
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
706
706
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
707
707
  # @raise [Google::Apis::AuthorizationError] Authorization is required
708
708
  def list_project_database_indexes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
709
709
  command = make_simple_command(:get, 'v1beta1/{+parent}/indexes', options)
710
- command.response_representation = Google::Apis::FirestoreV1beta1::ListIndexesResponse::Representation
711
- command.response_class = Google::Apis::FirestoreV1beta1::ListIndexesResponse
710
+ command.response_representation = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse::Representation
711
+ command.response_class = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse
712
712
  command.params['parent'] = parent unless parent.nil?
713
713
  command.query['filter'] = filter unless filter.nil?
714
714
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180501'
28
+ REVISION = '20180702'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -258,7 +258,6 @@ module Google
258
258
 
259
259
  # Role that is assigned to `members`.
260
260
  # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
261
- # Required
262
261
  # Corresponds to the JSON property `role`
263
262
  # @return [String]
264
263
  attr_accessor :role
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV1alpha2
27
27
  VERSION = 'V1alpha2'
28
- REVISION = '20180501'
28
+ REVISION = '20180607'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV2alpha1
27
27
  VERSION = 'V2alpha1'
28
- REVISION = '20180528'
28
+ REVISION = '20180623'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -458,7 +458,7 @@ module Google
458
458
  # @return [String]
459
459
  attr_accessor :source_image
460
460
 
461
- # The Compute Engine disk type. If unspecified, 'standard-pd' is used.
461
+ # The Compute Engine disk type. If unspecified, 'pd-standard' is used.
462
462
  # Corresponds to the JSON property `type`
463
463
  # @return [String]
464
464
  attr_accessor :type
@@ -705,12 +705,25 @@ module Google
705
705
  class Network
706
706
  include Google::Apis::Core::Hashable
707
707
 
708
- # The network name to attach the VM's network interface to. If unspecified,
709
- # the global default network is used.
708
+ # The network name to attach the VM's network interface to. The value will
709
+ # be prefixed with "global/networks/" unless it contains a "/" in which case
710
+ # it is assumed to be a fully specified network resource URL.
711
+ # If unspecified, the global default network is used.
710
712
  # Corresponds to the JSON property `name`
711
713
  # @return [String]
712
714
  attr_accessor :name
713
715
 
716
+ # If the specified network is configured for custom subnet creation, the
717
+ # name of the subnetwork to attach the instance to must be specified here.
718
+ # The value is prefixed with "regions/*/subnetworks/" unless it contains a
719
+ # "/" in which case it is assumed to be a full specified subnetwork resource
720
+ # URL.
721
+ # If the '*' character appears in the value, it is replaced with the region
722
+ # that the virtual machine has been allocated in.
723
+ # Corresponds to the JSON property `subnetwork`
724
+ # @return [String]
725
+ attr_accessor :subnetwork
726
+
714
727
  # If set to true, do not attach a public IP address to the VM. Note that
715
728
  # without an public IP address, additional configuration is required to
716
729
  # allow the VM to access Google services.
@@ -728,6 +741,7 @@ module Google
728
741
  # Update properties of this object
729
742
  def update!(**args)
730
743
  @name = args[:name] if args.key?(:name)
744
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
731
745
  @use_private_address = args[:use_private_address] if args.key?(:use_private_address)
732
746
  end
733
747
  end
@@ -403,6 +403,7 @@ module Google
403
403
  # @private
404
404
  class Representation < Google::Apis::Core::JsonRepresentation
405
405
  property :name, as: 'name'
406
+ property :subnetwork, as: 'subnetwork'
406
407
  property :use_private_address, as: 'usePrivateAddress'
407
408
  end
408
409
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180420'
30
+ REVISION = '20180607'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -12,27 +12,23 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/sqladmin_v1beta3/service.rb'
16
- require 'google/apis/sqladmin_v1beta3/classes.rb'
17
- require 'google/apis/sqladmin_v1beta3/representations.rb'
15
+ require 'google/apis/iamcredentials_v1/service.rb'
16
+ require 'google/apis/iamcredentials_v1/classes.rb'
17
+ require 'google/apis/iamcredentials_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Cloud SQL Administration API
21
+ # IAM Service Account Credentials API
22
22
  #
23
- # Creates and configures Cloud SQL instances, which provide fully-managed MySQL
24
- # databases.
23
+ # IAM Service Account Credentials API
25
24
  #
26
- # @see https://cloud.google.com/sql/docs/reference/latest
27
- module SqladminV1beta3
28
- VERSION = 'V1beta3'
29
- REVISION = '20180314'
25
+ # @see https://developers.google.com/identity/protocols/OAuth2ServiceAccount
26
+ module IamcredentialsV1
27
+ VERSION = 'V1'
28
+ REVISION = '20180627'
30
29
 
31
30
  # View and manage your data across Google Cloud Platform services
32
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
-
34
- # Manage your Google SQL Service instances
35
- AUTH_SQLSERVICE_ADMIN = 'https://www.googleapis.com/auth/sqlservice.admin'
36
32
  end
37
33
  end
38
34
  end
@@ -0,0 +1,272 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module IamcredentialsV1
24
+
25
+ #
26
+ class GenerateAccessTokenRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The sequence of service accounts in a delegation chain. Each service
30
+ # account must be granted the `roles/iam.serviceAccountTokenCreator` role
31
+ # on its next service account in the chain. The last service account in the
32
+ # chain must be granted the `roles/iam.serviceAccountTokenCreator` role
33
+ # on the service account that is specified in the `name` field of the
34
+ # request.
35
+ # The delegates must have the following format:
36
+ # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
37
+ # Corresponds to the JSON property `delegates`
38
+ # @return [Array<String>]
39
+ attr_accessor :delegates
40
+
41
+ # The desired lifetime duration of the access token in seconds.
42
+ # Must be set to a value less than or equal to 3600 (1 hour). If a value is
43
+ # not specified, the token's lifetime will be set to a default value of one
44
+ # hour.
45
+ # Corresponds to the JSON property `lifetime`
46
+ # @return [String]
47
+ attr_accessor :lifetime
48
+
49
+ # Code to identify ApiScope (OAuth scope to be precise) to be included in the
50
+ # OAuth token.
51
+ # See https://developers.google.com/identity/protocols/googlescopes for more
52
+ # information.
53
+ # At least one value required.
54
+ # Corresponds to the JSON property `scope`
55
+ # @return [Array<String>]
56
+ attr_accessor :scope
57
+
58
+ def initialize(**args)
59
+ update!(**args)
60
+ end
61
+
62
+ # Update properties of this object
63
+ def update!(**args)
64
+ @delegates = args[:delegates] if args.key?(:delegates)
65
+ @lifetime = args[:lifetime] if args.key?(:lifetime)
66
+ @scope = args[:scope] if args.key?(:scope)
67
+ end
68
+ end
69
+
70
+ #
71
+ class GenerateAccessTokenResponse
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # The OAuth 2.0 access token.
75
+ # Corresponds to the JSON property `accessToken`
76
+ # @return [String]
77
+ attr_accessor :access_token
78
+
79
+ # Token expiration time.
80
+ # Corresponds to the JSON property `expireTime`
81
+ # @return [String]
82
+ attr_accessor :expire_time
83
+
84
+ def initialize(**args)
85
+ update!(**args)
86
+ end
87
+
88
+ # Update properties of this object
89
+ def update!(**args)
90
+ @access_token = args[:access_token] if args.key?(:access_token)
91
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
92
+ end
93
+ end
94
+
95
+ #
96
+ class GenerateIdTokenRequest
97
+ include Google::Apis::Core::Hashable
98
+
99
+ # The audience for the token, such as the API or account that this token
100
+ # grants access to.
101
+ # Corresponds to the JSON property `audience`
102
+ # @return [String]
103
+ attr_accessor :audience
104
+
105
+ # The sequence of service accounts in a delegation chain. Each service
106
+ # account must be granted the `roles/iam.serviceAccountTokenCreator` role
107
+ # on its next service account in the chain. The last service account in the
108
+ # chain must be granted the `roles/iam.serviceAccountTokenCreator` role
109
+ # on the service account that is specified in the `name` field of the
110
+ # request.
111
+ # The delegates must have the following format:
112
+ # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
113
+ # Corresponds to the JSON property `delegates`
114
+ # @return [Array<String>]
115
+ attr_accessor :delegates
116
+
117
+ # Include the service account email in the token. If set to `true`, the
118
+ # token will contain `email` and `email_verified` claims.
119
+ # Corresponds to the JSON property `includeEmail`
120
+ # @return [Boolean]
121
+ attr_accessor :include_email
122
+ alias_method :include_email?, :include_email
123
+
124
+ def initialize(**args)
125
+ update!(**args)
126
+ end
127
+
128
+ # Update properties of this object
129
+ def update!(**args)
130
+ @audience = args[:audience] if args.key?(:audience)
131
+ @delegates = args[:delegates] if args.key?(:delegates)
132
+ @include_email = args[:include_email] if args.key?(:include_email)
133
+ end
134
+ end
135
+
136
+ #
137
+ class GenerateIdTokenResponse
138
+ include Google::Apis::Core::Hashable
139
+
140
+ # The OpenId Connect ID token.
141
+ # Corresponds to the JSON property `token`
142
+ # @return [String]
143
+ attr_accessor :token
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @token = args[:token] if args.key?(:token)
152
+ end
153
+ end
154
+
155
+ #
156
+ class SignBlobRequest
157
+ include Google::Apis::Core::Hashable
158
+
159
+ # The sequence of service accounts in a delegation chain. Each service
160
+ # account must be granted the `roles/iam.serviceAccountTokenCreator` role
161
+ # on its next service account in the chain. The last service account in the
162
+ # chain must be granted the `roles/iam.serviceAccountTokenCreator` role
163
+ # on the service account that is specified in the `name` field of the
164
+ # request.
165
+ # The delegates must have the following format:
166
+ # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
167
+ # Corresponds to the JSON property `delegates`
168
+ # @return [Array<String>]
169
+ attr_accessor :delegates
170
+
171
+ # The bytes to sign.
172
+ # Corresponds to the JSON property `payload`
173
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
174
+ # @return [String]
175
+ attr_accessor :payload
176
+
177
+ def initialize(**args)
178
+ update!(**args)
179
+ end
180
+
181
+ # Update properties of this object
182
+ def update!(**args)
183
+ @delegates = args[:delegates] if args.key?(:delegates)
184
+ @payload = args[:payload] if args.key?(:payload)
185
+ end
186
+ end
187
+
188
+ #
189
+ class SignBlobResponse
190
+ include Google::Apis::Core::Hashable
191
+
192
+ # The ID of the key used to sign the blob.
193
+ # Corresponds to the JSON property `keyId`
194
+ # @return [String]
195
+ attr_accessor :key_id
196
+
197
+ # The signed blob.
198
+ # Corresponds to the JSON property `signedBlob`
199
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
200
+ # @return [String]
201
+ attr_accessor :signed_blob
202
+
203
+ def initialize(**args)
204
+ update!(**args)
205
+ end
206
+
207
+ # Update properties of this object
208
+ def update!(**args)
209
+ @key_id = args[:key_id] if args.key?(:key_id)
210
+ @signed_blob = args[:signed_blob] if args.key?(:signed_blob)
211
+ end
212
+ end
213
+
214
+ #
215
+ class SignJwtRequest
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # The sequence of service accounts in a delegation chain. Each service
219
+ # account must be granted the `roles/iam.serviceAccountTokenCreator` role
220
+ # on its next service account in the chain. The last service account in the
221
+ # chain must be granted the `roles/iam.serviceAccountTokenCreator` role
222
+ # on the service account that is specified in the `name` field of the
223
+ # request.
224
+ # The delegates must have the following format:
225
+ # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
226
+ # Corresponds to the JSON property `delegates`
227
+ # @return [Array<String>]
228
+ attr_accessor :delegates
229
+
230
+ # The JWT payload to sign: a JSON object that contains a JWT Claims Set.
231
+ # Corresponds to the JSON property `payload`
232
+ # @return [String]
233
+ attr_accessor :payload
234
+
235
+ def initialize(**args)
236
+ update!(**args)
237
+ end
238
+
239
+ # Update properties of this object
240
+ def update!(**args)
241
+ @delegates = args[:delegates] if args.key?(:delegates)
242
+ @payload = args[:payload] if args.key?(:payload)
243
+ end
244
+ end
245
+
246
+ #
247
+ class SignJwtResponse
248
+ include Google::Apis::Core::Hashable
249
+
250
+ # The ID of the key used to sign the JWT.
251
+ # Corresponds to the JSON property `keyId`
252
+ # @return [String]
253
+ attr_accessor :key_id
254
+
255
+ # The signed JWT.
256
+ # Corresponds to the JSON property `signedJwt`
257
+ # @return [String]
258
+ attr_accessor :signed_jwt
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @key_id = args[:key_id] if args.key?(:key_id)
267
+ @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
268
+ end
269
+ end
270
+ end
271
+ end
272
+ end