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
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class Entrypoint
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class ErrorHandler
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -655,6 +661,14 @@ module Google
655
661
  class Representation < Google::Apis::Core::JsonRepresentation
656
662
  property :config_id, as: 'configId'
657
663
  property :name, as: 'name'
664
+ property :rollout_strategy, as: 'rolloutStrategy'
665
+ end
666
+ end
667
+
668
+ class Entrypoint
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :shell, as: 'shell'
658
672
  end
659
673
  end
660
674
 
@@ -1131,6 +1145,8 @@ module Google
1131
1145
  property :disk_usage_bytes, :numeric_string => true, as: 'diskUsageBytes'
1132
1146
  property :endpoints_api_service, as: 'endpointsApiService', class: Google::Apis::AppengineV1::EndpointsApiService, decorator: Google::Apis::AppengineV1::EndpointsApiService::Representation
1133
1147
 
1148
+ property :entrypoint, as: 'entrypoint', class: Google::Apis::AppengineV1::Entrypoint, decorator: Google::Apis::AppengineV1::Entrypoint::Representation
1149
+
1134
1150
  property :env, as: 'env'
1135
1151
  hash :env_variables, as: 'envVariables'
1136
1152
  collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1::ErrorHandler, decorator: Google::Apis::AppengineV1::ErrorHandler::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1alpha
28
28
  VERSION = 'V1alpha'
29
- REVISION = '20180320'
29
+ REVISION = '20180607'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20180511'
29
+ REVISION = '20180623'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -903,8 +903,8 @@ module Google
903
903
  # given the new configuration ID. The config_id field is used to give the
904
904
  # configuration ID and is required in this case.Endpoints also has a rollout
905
905
  # strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches
906
- # the latest configuration and does not need to be told the configuration ID. In
907
- # this case, config_id must be omitted.
906
+ # the latest configuration and does not need the configuration ID. In this case,
907
+ # config_id must be omitted.
908
908
  # Corresponds to the JSON property `configId`
909
909
  # @return [String]
910
910
  attr_accessor :config_id
@@ -933,6 +933,25 @@ module Google
933
933
  end
934
934
  end
935
935
 
936
+ # The entrypoint for the application.
937
+ class Entrypoint
938
+ include Google::Apis::Core::Hashable
939
+
940
+ # The format should be a shell command that can be fed to bash -c.
941
+ # Corresponds to the JSON property `shell`
942
+ # @return [String]
943
+ attr_accessor :shell
944
+
945
+ def initialize(**args)
946
+ update!(**args)
947
+ end
948
+
949
+ # Update properties of this object
950
+ def update!(**args)
951
+ @shell = args[:shell] if args.key?(:shell)
952
+ end
953
+ end
954
+
936
955
  # Custom static error page to be served when an error occurs.
937
956
  class ErrorHandler
938
957
  include Google::Apis::Core::Hashable
@@ -1156,6 +1175,11 @@ module Google
1156
1175
  # @return [String]
1157
1176
  attr_accessor :oauth2_client_id
1158
1177
 
1178
+ # InputOnly OAuth client info required to generate client id to be used for IAP.
1179
+ # Corresponds to the JSON property `oauth2ClientInfo`
1180
+ # @return [Google::Apis::AppengineV1beta::OAuth2ClientInfo]
1181
+ attr_accessor :oauth2_client_info
1182
+
1159
1183
  # OAuth2 client secret to use for the authentication flow.For security reasons,
1160
1184
  # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
1161
1185
  # value is returned in the oauth2_client_secret_sha256 field.@InputOnly
@@ -1176,6 +1200,7 @@ module Google
1176
1200
  def update!(**args)
1177
1201
  @enabled = args[:enabled] if args.key?(:enabled)
1178
1202
  @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
1203
+ @oauth2_client_info = args[:oauth2_client_info] if args.key?(:oauth2_client_info)
1179
1204
  @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
1180
1205
  @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
1181
1206
  end
@@ -1832,6 +1857,38 @@ module Google
1832
1857
  end
1833
1858
  end
1834
1859
 
1860
+ #
1861
+ class OAuth2ClientInfo
1862
+ include Google::Apis::Core::Hashable
1863
+
1864
+ # Application name to be used in OAuth consent screen.
1865
+ # Corresponds to the JSON property `applicationName`
1866
+ # @return [String]
1867
+ attr_accessor :application_name
1868
+
1869
+ # Nameof the client to be generated. Optional - If not provided, the name will
1870
+ # be autogenerated by the backend.
1871
+ # Corresponds to the JSON property `clientName`
1872
+ # @return [String]
1873
+ attr_accessor :client_name
1874
+
1875
+ # Developer's information to be used in OAuth consent screen.
1876
+ # Corresponds to the JSON property `developerEmailAddress`
1877
+ # @return [String]
1878
+ attr_accessor :developer_email_address
1879
+
1880
+ def initialize(**args)
1881
+ update!(**args)
1882
+ end
1883
+
1884
+ # Update properties of this object
1885
+ def update!(**args)
1886
+ @application_name = args[:application_name] if args.key?(:application_name)
1887
+ @client_name = args[:client_name] if args.key?(:client_name)
1888
+ @developer_email_address = args[:developer_email_address] if args.key?(:developer_email_address)
1889
+ end
1890
+ end
1891
+
1835
1892
  # This resource represents a long-running operation that is the result of a
1836
1893
  # network API call.
1837
1894
  class Operation
@@ -2743,7 +2800,8 @@ module Google
2743
2800
  # @return [String]
2744
2801
  attr_accessor :auth_fail_action
2745
2802
 
2746
- # Level of login required to access this resource.
2803
+ # Level of login required to access this resource. Not supported for Node.js in
2804
+ # the App Engine standard environment.
2747
2805
  # Corresponds to the JSON property `login`
2748
2806
  # @return [String]
2749
2807
  attr_accessor :login
@@ -2867,6 +2925,11 @@ module Google
2867
2925
  # @return [Google::Apis::AppengineV1beta::EndpointsApiService]
2868
2926
  attr_accessor :endpoints_api_service
2869
2927
 
2928
+ # The entrypoint for the application.
2929
+ # Corresponds to the JSON property `entrypoint`
2930
+ # @return [Google::Apis::AppengineV1beta::Entrypoint]
2931
+ attr_accessor :entrypoint
2932
+
2870
2933
  # App Engine execution environment for this version.Defaults to standard.
2871
2934
  # Corresponds to the JSON property `env`
2872
2935
  # @return [String]
@@ -3030,6 +3093,7 @@ module Google
3030
3093
  @deployment = args[:deployment] if args.key?(:deployment)
3031
3094
  @disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes)
3032
3095
  @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
3096
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
3033
3097
  @env = args[:env] if args.key?(:env)
3034
3098
  @env_variables = args[:env_variables] if args.key?(:env_variables)
3035
3099
  @error_handlers = args[:error_handlers] if args.key?(:error_handlers)
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class Entrypoint
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class ErrorHandler
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -310,6 +316,12 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class OAuth2ClientInfo
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
313
325
  class Operation
314
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
327
 
@@ -693,6 +705,13 @@ module Google
693
705
  end
694
706
  end
695
707
 
708
+ class Entrypoint
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :shell, as: 'shell'
712
+ end
713
+ end
714
+
696
715
  class ErrorHandler
697
716
  # @private
698
717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -747,6 +766,8 @@ module Google
747
766
  class Representation < Google::Apis::Core::JsonRepresentation
748
767
  property :enabled, as: 'enabled'
749
768
  property :oauth2_client_id, as: 'oauth2ClientId'
769
+ property :oauth2_client_info, as: 'oauth2ClientInfo', class: Google::Apis::AppengineV1beta::OAuth2ClientInfo, decorator: Google::Apis::AppengineV1beta::OAuth2ClientInfo::Representation
770
+
750
771
  property :oauth2_client_secret, as: 'oauth2ClientSecret'
751
772
  property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
752
773
  end
@@ -931,6 +952,15 @@ module Google
931
952
  end
932
953
  end
933
954
 
955
+ class OAuth2ClientInfo
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :application_name, as: 'applicationName'
959
+ property :client_name, as: 'clientName'
960
+ property :developer_email_address, as: 'developerEmailAddress'
961
+ end
962
+ end
963
+
934
964
  class Operation
935
965
  # @private
936
966
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1168,6 +1198,8 @@ module Google
1168
1198
  property :disk_usage_bytes, :numeric_string => true, as: 'diskUsageBytes'
1169
1199
  property :endpoints_api_service, as: 'endpointsApiService', class: Google::Apis::AppengineV1beta::EndpointsApiService, decorator: Google::Apis::AppengineV1beta::EndpointsApiService::Representation
1170
1200
 
1201
+ property :entrypoint, as: 'entrypoint', class: Google::Apis::AppengineV1beta::Entrypoint, decorator: Google::Apis::AppengineV1beta::Entrypoint::Representation
1202
+
1171
1203
  property :env, as: 'env'
1172
1204
  hash :env_variables, as: 'envVariables'
1173
1205
  collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1beta::ErrorHandler, decorator: Google::Apis::AppengineV1beta::ErrorHandler::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1beta4
28
28
  VERSION = 'V1beta4'
29
- REVISION = '20180320'
29
+ REVISION = '20180607'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1beta5
28
28
  VERSION = 'V1beta5'
29
- REVISION = '20180320'
29
+ REVISION = '20180607'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/google-apps/marketplace/v2/developers_guide
27
27
  module AppsmarketV2
28
28
  VERSION = 'V2'
29
- REVISION = '20160920'
29
+ REVISION = ''
30
30
 
31
31
  # View your installed application's licensing information
32
32
  AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180517'
28
+ REVISION = '20180603'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -2139,10 +2139,12 @@ module Google
2139
2139
  # standard-sql/data-manipulation-language "UPDATE": UPDATE query; see https://
2140
2140
  # cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-
2141
2141
  # language "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/
2142
- # reference/standard-sql/data-manipulation-language "CREATE_TABLE": CREATE [OR
2143
- # REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE]
2144
- # TABLE ... AS SELECT ... "DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE
2145
- # [OR REPLACE] VIEW ... AS SELECT ... "DROP_VIEW": DROP VIEW query.
2142
+ # reference/standard-sql/data-manipulation-language "MERGE": MERGE query; see
2143
+ # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
2144
+ # manipulation-language "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS
2145
+ # SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... "
2146
+ # DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS
2147
+ # SELECT ... "DROP_VIEW": DROP VIEW query.
2146
2148
  # Corresponds to the JSON property `statementType`
2147
2149
  # @return [String]
2148
2150
  attr_accessor :statement_type
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/bigquery/
27
27
  module BigquerydatatransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180521'
29
+ REVISION = '20180630'
30
30
 
31
31
  # View and manage your data in Google BigQuery
32
32
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -71,7 +71,6 @@ module Google
71
71
  attr_accessor :authorization_type
72
72
 
73
73
  # Data source client id which should be used to receive refresh token.
74
- # When not supplied, no offline credentials are populated for data transfer.
75
74
  # Corresponds to the JSON property `clientId`
76
75
  # @return [String]
77
76
  attr_accessor :client_id
@@ -141,10 +140,9 @@ module Google
141
140
  # @return [Array<Google::Apis::BigquerydatatransferV1::DataSourceParameter>]
142
141
  attr_accessor :parameters
143
142
 
144
- # Api auth scopes for which refresh token needs to be obtained. Only valid
145
- # when `client_id` is specified. Ignored otherwise. These are scopes needed
146
- # by a data source to prepare data and ingest them into BigQuery,
147
- # e.g., https://www.googleapis.com/auth/bigquery
143
+ # Api auth scopes for which refresh token needs to be obtained. These are
144
+ # scopes needed by a data source to prepare data and ingest them into
145
+ # BigQuery, e.g., https://www.googleapis.com/auth/bigquery
148
146
  # Corresponds to the JSON property `scopes`
149
147
  # @return [Array<String>]
150
148
  attr_accessor :scopes
@@ -877,7 +875,7 @@ module Google
877
875
  # created as part of a regular schedule. For batch transfer runs that are
878
876
  # scheduled manually, this is empty.
879
877
  # NOTE: the system might choose to delay the schedule depending on the
880
- # current load, so `schedule_time` doesn't always matches this.
878
+ # current load, so `schedule_time` doesn't always match this.
881
879
  # Corresponds to the JSON property `schedule`
882
880
  # @return [String]
883
881
  attr_accessor :schedule
@@ -20,12 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Hangouts Chat API
22
22
  #
23
- # Enables bots to fetch information and perform actions in the new Hangouts Chat.
23
+ # Enables bots to fetch information and perform actions in Hangouts Chat.
24
24
  #
25
25
  # @see https://developers.google.com/hangouts/chat
26
26
  module ChatV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180424'
28
+ REVISION = '20180623'
29
29
  end
30
30
  end
31
31
  end
@@ -264,6 +264,82 @@ module Google
264
264
  end
265
265
  end
266
266
 
267
+ # Hangouts Chat events.
268
+ class DeprecatedEvent
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # A form action describes the behavior when the form is submitted.
272
+ # For example, an Apps Script can be invoked to handle the form.
273
+ # Corresponds to the JSON property `action`
274
+ # @return [Google::Apis::ChatV1::FormAction]
275
+ attr_accessor :action
276
+
277
+ # The URL the bot should redirect the user to after they have completed an
278
+ # authorization or configuration flow outside of Hangouts Chat. See the
279
+ # [Authorizing access to 3p services guide](/hangouts/chat/how-tos/auth-3p)
280
+ # for more information.
281
+ # Corresponds to the JSON property `configCompleteRedirectUrl`
282
+ # @return [String]
283
+ attr_accessor :config_complete_redirect_url
284
+
285
+ # The timestamp indicating when the event was dispatched.
286
+ # Corresponds to the JSON property `eventTime`
287
+ # @return [String]
288
+ attr_accessor :event_time
289
+
290
+ # A message in Hangouts Chat.
291
+ # Corresponds to the JSON property `message`
292
+ # @return [Google::Apis::ChatV1::Message]
293
+ attr_accessor :message
294
+
295
+ # A room or DM in Hangouts Chat.
296
+ # Corresponds to the JSON property `space`
297
+ # @return [Google::Apis::ChatV1::Space]
298
+ attr_accessor :space
299
+
300
+ # The bot-defined key for the thread related to the event. See the
301
+ # thread_key field of the
302
+ # `spaces.message.create` request for more information.
303
+ # Corresponds to the JSON property `threadKey`
304
+ # @return [String]
305
+ attr_accessor :thread_key
306
+
307
+ # A secret value that bots can use to verify if a request is from Google. The
308
+ # token is randomly generated by Google, remains static, and can be obtained
309
+ # from the Hangouts Chat API configuration page in the Cloud Console.
310
+ # Developers can revoke/regenerate it if needed from the same page.
311
+ # Corresponds to the JSON property `token`
312
+ # @return [String]
313
+ attr_accessor :token
314
+
315
+ # The type of the event.
316
+ # Corresponds to the JSON property `type`
317
+ # @return [String]
318
+ attr_accessor :type
319
+
320
+ # A user in Hangouts Chat.
321
+ # Corresponds to the JSON property `user`
322
+ # @return [Google::Apis::ChatV1::User]
323
+ attr_accessor :user
324
+
325
+ def initialize(**args)
326
+ update!(**args)
327
+ end
328
+
329
+ # Update properties of this object
330
+ def update!(**args)
331
+ @action = args[:action] if args.key?(:action)
332
+ @config_complete_redirect_url = args[:config_complete_redirect_url] if args.key?(:config_complete_redirect_url)
333
+ @event_time = args[:event_time] if args.key?(:event_time)
334
+ @message = args[:message] if args.key?(:message)
335
+ @space = args[:space] if args.key?(:space)
336
+ @thread_key = args[:thread_key] if args.key?(:thread_key)
337
+ @token = args[:token] if args.key?(:token)
338
+ @type = args[:type] if args.key?(:type)
339
+ @user = args[:user] if args.key?(:user)
340
+ end
341
+ end
342
+
267
343
  # A generic empty message that you can re-use to avoid defining duplicated
268
344
  # empty messages in your APIs. A typical example is to use it as the request
269
345
  # or the response type of an API method. For instance:
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class DeprecatedEvent
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class Empty
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -247,6 +253,25 @@ module Google
247
253
  end
248
254
  end
249
255
 
256
+ class DeprecatedEvent
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ property :action, as: 'action', class: Google::Apis::ChatV1::FormAction, decorator: Google::Apis::ChatV1::FormAction::Representation
260
+
261
+ property :config_complete_redirect_url, as: 'configCompleteRedirectUrl'
262
+ property :event_time, as: 'eventTime'
263
+ property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
264
+
265
+ property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
266
+
267
+ property :thread_key, as: 'threadKey'
268
+ property :token, as: 'token'
269
+ property :type, as: 'type'
270
+ property :user, as: 'user', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
271
+
272
+ end
273
+ end
274
+
250
275
  class Empty
251
276
  # @private
252
277
  class Representation < Google::Apis::Core::JsonRepresentation