google-api-client 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (265) hide show
  1. checksums.yaml +4 -4
  2. data/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
  4. data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
  5. data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
  6. data/.kokoro/build.bat +8 -0
  7. data/.kokoro/build.sh +36 -0
  8. data/.kokoro/common.cfg +22 -0
  9. data/.kokoro/continuous/common.cfg +20 -0
  10. data/.kokoro/continuous/linux.cfg +15 -0
  11. data/.kokoro/continuous/osx.cfg +3 -0
  12. data/.kokoro/continuous/windows.cfg +3 -0
  13. data/.kokoro/osx.sh +35 -0
  14. data/.kokoro/presubmit/common.cfg +19 -0
  15. data/.kokoro/presubmit/linux.cfg +14 -0
  16. data/.kokoro/presubmit/osx.cfg +3 -0
  17. data/.kokoro/presubmit/windows.cfg +3 -0
  18. data/.kokoro/trampoline.sh +24 -0
  19. data/.kokoro/windows.sh +32 -0
  20. data/CHANGELOG.md +83 -0
  21. data/Gemfile +2 -2
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  24. data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
  25. data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
  26. data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
  27. data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
  28. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  29. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
  30. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
  31. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
  36. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  37. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  40. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  41. data/generated/google/apis/appengine_v1.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/bigquery_v2.rb +1 -1
  44. data/generated/google/apis/bigquery_v2/classes.rb +87 -29
  45. data/generated/google/apis/bigquery_v2/representations.rb +21 -0
  46. data/generated/google/apis/bigquery_v2/service.rb +7 -9
  47. data/generated/google/apis/calendar_v3.rb +2 -2
  48. data/generated/google/apis/calendar_v3/classes.rb +14 -6
  49. data/generated/google/apis/classroom_v1.rb +1 -1
  50. data/generated/google/apis/classroom_v1/service.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
  53. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  54. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  55. data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
  58. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
  60. data/generated/google/apis/cloudiot_v1.rb +1 -1
  61. data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
  62. data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
  63. data/generated/google/apis/cloudiot_v1/service.rb +172 -2
  64. data/generated/google/apis/cloudkms_v1.rb +1 -1
  65. data/generated/google/apis/cloudkms_v1/service.rb +107 -0
  66. data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
  67. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
  68. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
  69. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
  70. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  71. data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
  72. data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
  73. data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +9 -0
  76. data/generated/google/apis/composer_v1/representations.rb +1 -0
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +938 -117
  79. data/generated/google/apis/compute_alpha/representations.rb +310 -2
  80. data/generated/google/apis/compute_alpha/service.rb +1203 -245
  81. data/generated/google/apis/compute_beta.rb +1 -1
  82. data/generated/google/apis/compute_beta/classes.rb +1175 -219
  83. data/generated/google/apis/compute_beta/representations.rb +375 -2
  84. data/generated/google/apis/compute_beta/service.rb +907 -139
  85. data/generated/google/apis/compute_v1.rb +1 -1
  86. data/generated/google/apis/compute_v1/classes.rb +1485 -143
  87. data/generated/google/apis/compute_v1/representations.rb +503 -0
  88. data/generated/google/apis/compute_v1/service.rb +1375 -85
  89. data/generated/google/apis/container_v1.rb +3 -3
  90. data/generated/google/apis/container_v1/classes.rb +99 -6
  91. data/generated/google/apis/container_v1/representations.rb +39 -0
  92. data/generated/google/apis/container_v1/service.rb +2 -2
  93. data/generated/google/apis/container_v1beta1.rb +3 -3
  94. data/generated/google/apis/container_v1beta1/classes.rb +162 -9
  95. data/generated/google/apis/container_v1beta1/representations.rb +80 -0
  96. data/generated/google/apis/container_v1beta1/service.rb +3 -3
  97. data/generated/google/apis/content_v2.rb +1 -1
  98. data/generated/google/apis/content_v2/classes.rb +40 -32
  99. data/generated/google/apis/content_v2/representations.rb +0 -1
  100. data/generated/google/apis/content_v2/service.rb +3 -3
  101. data/generated/google/apis/content_v2_1.rb +35 -0
  102. data/generated/google/apis/content_v2_1/classes.rb +9104 -0
  103. data/generated/google/apis/content_v2_1/representations.rb +3967 -0
  104. data/generated/google/apis/content_v2_1/service.rb +3463 -0
  105. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  106. data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
  107. data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
  108. data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
  109. data/generated/google/apis/dataproc_v1.rb +1 -1
  110. data/generated/google/apis/dataproc_v1/classes.rb +15 -1
  111. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  112. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  113. data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
  114. data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
  117. data/generated/google/apis/dialogflow_v2/service.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
  122. data/generated/google/apis/dlp_v2.rb +1 -1
  123. data/generated/google/apis/dlp_v2/classes.rb +4 -4
  124. data/generated/google/apis/dns_v1beta2.rb +1 -1
  125. data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
  126. data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
  127. data/generated/google/apis/dns_v1beta2/service.rb +246 -0
  128. data/generated/google/apis/drive_v2.rb +3 -3
  129. data/generated/google/apis/drive_v3.rb +3 -3
  130. data/generated/google/apis/driveactivity_v2.rb +37 -0
  131. data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
  132. data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
  133. data/generated/google/apis/driveactivity_v2/service.rb +89 -0
  134. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  135. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
  136. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  137. data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
  138. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
  139. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
  140. data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
  141. data/generated/google/apis/firestore_v1.rb +1 -1
  142. data/generated/google/apis/firestore_v1/classes.rb +2225 -520
  143. data/generated/google/apis/firestore_v1/representations.rb +800 -33
  144. data/generated/google/apis/firestore_v1/service.rb +526 -0
  145. data/generated/google/apis/fitness_v1.rb +1 -1
  146. data/generated/google/apis/fitness_v1/classes.rb +1 -2
  147. data/generated/google/apis/fitness_v1/service.rb +7 -3
  148. data/generated/google/apis/games_management_v1management.rb +1 -4
  149. data/generated/google/apis/games_v1.rb +1 -4
  150. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  151. data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
  152. data/generated/google/apis/gmail_v1.rb +2 -2
  153. data/generated/google/apis/iap_v1.rb +34 -0
  154. data/generated/google/apis/iap_v1/classes.rb +308 -0
  155. data/generated/google/apis/iap_v1/representations.rb +126 -0
  156. data/generated/google/apis/iap_v1/service.rb +725 -0
  157. data/generated/google/apis/iap_v1beta1.rb +1 -1
  158. data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
  159. data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
  160. data/generated/google/apis/jobs_v2.rb +1 -1
  161. data/generated/google/apis/jobs_v2/classes.rb +8 -9
  162. data/generated/google/apis/jobs_v3.rb +1 -1
  163. data/generated/google/apis/jobs_v3/classes.rb +6 -6
  164. data/generated/google/apis/jobs_v3/service.rb +8 -8
  165. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  166. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
  167. data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +20 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  171. data/generated/google/apis/monitoring_v3/service.rb +0 -365
  172. data/generated/google/apis/pagespeedonline_v5.rb +32 -0
  173. data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
  174. data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
  175. data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
  176. data/generated/google/apis/people_v1.rb +3 -3
  177. data/generated/google/apis/pubsub_v1.rb +1 -1
  178. data/generated/google/apis/pubsub_v1/classes.rb +63 -12
  179. data/generated/google/apis/pubsub_v1/representations.rb +15 -0
  180. data/generated/google/apis/pubsub_v1/service.rb +26 -18
  181. data/generated/google/apis/redis_v1.rb +2 -3
  182. data/generated/google/apis/redis_v1/service.rb +1 -2
  183. data/generated/google/apis/redis_v1beta1.rb +2 -3
  184. data/generated/google/apis/redis_v1beta1/service.rb +1 -2
  185. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  186. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  187. data/generated/google/apis/script_v1.rb +24 -6
  188. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  189. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
  190. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  191. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
  192. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  194. data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
  195. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
  198. data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
  199. data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
  200. data/generated/google/apis/serviceusage_v1.rb +1 -1
  201. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  203. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  204. data/generated/google/apis/sheets_v4.rb +4 -4
  205. data/generated/google/apis/slides_v1.rb +4 -4
  206. data/generated/google/apis/slides_v1/classes.rb +187 -2
  207. data/generated/google/apis/slides_v1/representations.rb +67 -0
  208. data/generated/google/apis/slides_v1/service.rb +4 -3
  209. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  210. data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
  211. data/generated/google/apis/speech_v1.rb +1 -1
  212. data/generated/google/apis/speech_v1/classes.rb +58 -10
  213. data/generated/google/apis/speech_v1/representations.rb +29 -1
  214. data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
  215. data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
  216. data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
  217. data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
  218. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  219. data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
  220. data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
  221. data/generated/google/apis/storage_v1.rb +1 -1
  222. data/generated/google/apis/storage_v1/classes.rb +54 -0
  223. data/generated/google/apis/storage_v1/representations.rb +31 -0
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
  226. data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
  227. data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
  228. data/generated/google/apis/tasks_v1.rb +1 -1
  229. data/generated/google/apis/testing_v1.rb +1 -1
  230. data/generated/google/apis/testing_v1/classes.rb +49 -19
  231. data/generated/google/apis/testing_v1/representations.rb +20 -2
  232. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  233. data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
  234. data/generated/google/apis/vault_v1.rb +1 -1
  235. data/generated/google/apis/vault_v1/classes.rb +78 -7
  236. data/generated/google/apis/vault_v1/representations.rb +34 -1
  237. data/generated/google/apis/vault_v1/service.rb +141 -0
  238. data/generated/google/apis/vision_v1.rb +1 -1
  239. data/generated/google/apis/vision_v1/classes.rb +33 -0
  240. data/generated/google/apis/vision_v1/representations.rb +16 -0
  241. data/generated/google/apis/vision_v1/service.rb +2 -2
  242. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  243. data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
  244. data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
  245. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  246. data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
  247. data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
  248. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  249. data/google-api-client.gemspec +1 -1
  250. data/lib/google/api_client/auth/installed_app.rb +17 -2
  251. data/lib/google/api_client/client_secrets.rb +1 -1
  252. data/lib/google/apis/core/download.rb +2 -2
  253. data/lib/google/apis/errors.rb +9 -0
  254. data/lib/google/apis/generator/annotator.rb +2 -2
  255. data/lib/google/apis/version.rb +1 -1
  256. metadata +46 -17
  257. data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
  258. data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
  259. data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
  260. data/generated/google/apis/dfareporting_v3_0.rb +0 -40
  261. data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
  262. data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
  263. data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
  264. data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
  265. data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
@@ -98,7 +98,8 @@ module Google
98
98
  class CreateSnapshotRequest
99
99
  include Google::Apis::Core::Hashable
100
100
 
101
- # See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
101
+ # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
102
+ # managing labels</a>.
102
103
  # Corresponds to the JSON property `labels`
103
104
  # @return [Hash<String,String>]
104
105
  attr_accessor :labels
@@ -146,6 +147,31 @@ module Google
146
147
  end
147
148
  end
148
149
 
150
+ # A policy that specifies the conditions for resource expiration (i.e.,
151
+ # automatic resource deletion).
152
+ class ExpirationPolicy
153
+ include Google::Apis::Core::Hashable
154
+
155
+ # Specifies the "time-to-live" duration for an associated resource. The
156
+ # resource expires if it is not active for a period of `ttl`. The definition
157
+ # of "activity" depends on the type of the associated resource. The minimum
158
+ # and maximum allowed values for `ttl` depend on the type of the associated
159
+ # resource, as well. If `ttl` is not set, the associated resource never
160
+ # expires.
161
+ # Corresponds to the JSON property `ttl`
162
+ # @return [String]
163
+ attr_accessor :ttl
164
+
165
+ def initialize(**args)
166
+ update!(**args)
167
+ end
168
+
169
+ # Update properties of this object
170
+ def update!(**args)
171
+ @ttl = args[:ttl] if args.key?(:ttl)
172
+ end
173
+ end
174
+
149
175
  # Represents an expression text. Example:
150
176
  # title: "User account presence"
151
177
  # description: "Determines whether the request has a user account"
@@ -501,6 +527,12 @@ module Google
501
527
 
502
528
  # A message that is published by publishers and consumed by subscribers. The
503
529
  # message must contain either a non-empty data field or at least one attribute.
530
+ # Note that client libraries represent this object differently
531
+ # depending on the language. See the corresponding
532
+ # <a href="https://cloud.google.com/pubsub/docs/reference/libraries">client
533
+ # library documentation</a> for more information. See
534
+ # <a href="https://cloud.google.com/pubsub/quotas">Quotas and limits</a>
535
+ # for more information about message limits.
504
536
  class Message
505
537
  include Google::Apis::Core::Hashable
506
538
 
@@ -648,6 +680,12 @@ module Google
648
680
 
649
681
  # A message that is published by publishers and consumed by subscribers. The
650
682
  # message must contain either a non-empty data field or at least one attribute.
683
+ # Note that client libraries represent this object differently
684
+ # depending on the language. See the corresponding
685
+ # <a href="https://cloud.google.com/pubsub/docs/reference/libraries">client
686
+ # library documentation</a> for more information. See
687
+ # <a href="https://cloud.google.com/pubsub/quotas">Quotas and limits</a>
688
+ # for more information about message limits.
651
689
  # Corresponds to the JSON property `message`
652
690
  # @return [Google::Apis::PubsubV1::Message]
653
691
  attr_accessor :message
@@ -772,7 +810,8 @@ module Google
772
810
  end
773
811
 
774
812
  # A snapshot resource. Snapshots are used in
775
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
813
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
814
+ # operations, which allow
776
815
  # you to manage message acknowledgments in bulk. That is, you can set the
777
816
  # acknowledgment state of messages in an existing subscription to the state
778
817
  # captured by a snapshot.<br><br>
@@ -796,7 +835,8 @@ module Google
796
835
  # @return [String]
797
836
  attr_accessor :expire_time
798
837
 
799
- # See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
838
+ # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
839
+ # managing labels</a>.
800
840
  # Corresponds to the JSON property `labels`
801
841
  # @return [Hash<String,String>]
802
842
  attr_accessor :labels
@@ -828,11 +868,11 @@ module Google
828
868
  class Subscription
829
869
  include Google::Apis::Core::Hashable
830
870
 
831
- # This value is the maximum time after a subscriber receives a message
832
- # before the subscriber should acknowledge the message. After message
833
- # delivery but before the ack deadline expires and before the message is
834
- # acknowledged, it is an outstanding message and will not be delivered
835
- # again during that time (on a best-effort basis).
871
+ # The approximate amount of time (on a best-effort basis) Pub/Sub waits for
872
+ # the subscriber to acknowledge receipt before resending the message. In the
873
+ # interval after the message is delivered and before it is acknowledged, it
874
+ # is considered to be <i>outstanding</i>. During that time period, the
875
+ # message will not be redelivered (on a best-effort basis).
836
876
  # For pull subscriptions, this value is used as the initial value for the ack
837
877
  # deadline. To override this value for a given message, call
838
878
  # `ModifyAckDeadline` with the corresponding `ack_id` if using
@@ -849,7 +889,14 @@ module Google
849
889
  # @return [Fixnum]
850
890
  attr_accessor :ack_deadline_seconds
851
891
 
852
- # See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
892
+ # A policy that specifies the conditions for resource expiration (i.e.,
893
+ # automatic resource deletion).
894
+ # Corresponds to the JSON property `expirationPolicy`
895
+ # @return [Google::Apis::PubsubV1::ExpirationPolicy]
896
+ attr_accessor :expiration_policy
897
+
898
+ # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
899
+ # managing labels</a>.
853
900
  # Corresponds to the JSON property `labels`
854
901
  # @return [Hash<String,String>]
855
902
  attr_accessor :labels
@@ -886,7 +933,8 @@ module Google
886
933
  # messages are not expunged from the subscription's backlog, even if they are
887
934
  # acknowledged, until they fall out of the `message_retention_duration`
888
935
  # window. This must be true if you would like to
889
- # <a href="/pubsub/docs/replay-overview#seek_to_a_time">Seek to a timestamp</a>.
936
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time">
937
+ # Seek to a timestamp</a>.
890
938
  # <br><br>
891
939
  # <b>BETA:</b> This feature is part of a beta release. This API might be
892
940
  # changed in backward-incompatible ways and is not recommended for production
@@ -911,6 +959,7 @@ module Google
911
959
  # Update properties of this object
912
960
  def update!(**args)
913
961
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
962
+ @expiration_policy = args[:expiration_policy] if args.key?(:expiration_policy)
914
963
  @labels = args[:labels] if args.key?(:labels)
915
964
  @message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
916
965
  @name = args[:name] if args.key?(:name)
@@ -966,7 +1015,8 @@ module Google
966
1015
  class Topic
967
1016
  include Google::Apis::Core::Hashable
968
1017
 
969
- # See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
1018
+ # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
1019
+ # managing labels</a>.
970
1020
  # Corresponds to the JSON property `labels`
971
1021
  # @return [Hash<String,String>]
972
1022
  attr_accessor :labels
@@ -1000,7 +1050,8 @@ module Google
1000
1050
  include Google::Apis::Core::Hashable
1001
1051
 
1002
1052
  # A snapshot resource. Snapshots are used in
1003
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
1053
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
1054
+ # operations, which allow
1004
1055
  # you to manage message acknowledgments in bulk. That is, you can set the
1005
1056
  # acknowledgment state of messages in an existing subscription to the state
1006
1057
  # captured by a snapshot.<br><br>
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ExpirationPolicy
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Expr
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -239,6 +245,13 @@ module Google
239
245
  end
240
246
  end
241
247
 
248
+ class ExpirationPolicy
249
+ # @private
250
+ class Representation < Google::Apis::Core::JsonRepresentation
251
+ property :ttl, as: 'ttl'
252
+ end
253
+ end
254
+
242
255
  class Expr
243
256
  # @private
244
257
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -412,6 +425,8 @@ module Google
412
425
  # @private
413
426
  class Representation < Google::Apis::Core::JsonRepresentation
414
427
  property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
428
+ property :expiration_policy, as: 'expirationPolicy', class: Google::Apis::PubsubV1::ExpirationPolicy, decorator: Google::Apis::PubsubV1::ExpirationPolicy::Representation
429
+
415
430
  hash :labels, as: 'labels'
416
431
  property :message_retention_duration, as: 'messageRetentionDuration'
417
432
  property :name, as: 'name'
@@ -48,7 +48,8 @@ module Google
48
48
  end
49
49
 
50
50
  # Creates a snapshot from the requested subscription. Snapshots are used in
51
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
51
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
52
+ # operations, which allow
52
53
  # you to manage message acknowledgments in bulk. That is, you can set the
53
54
  # acknowledgment state of messages in an existing subscription to the state
54
55
  # captured by a snapshot.
@@ -63,17 +64,17 @@ module Google
63
64
  # See also the `Snapshot.expire_time` field. If the name is not provided in
64
65
  # the request, the server will assign a random
65
66
  # name for this snapshot on the same project as the subscription, conforming
66
- # to the [resource name format](https://cloud.google.com/pubsub/docs/overview#
67
- # names).
68
- # The generated
69
- # name is populated in the returned Snapshot object. Note that for REST API
70
- # requests, you must specify a name in the request.
67
+ # to the
68
+ # [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
69
+ # The generated name is populated in the returned Snapshot object. Note that
70
+ # for REST API requests, you must specify a name in the request.
71
71
  # @param [String] name
72
72
  # Optional user-provided name for this snapshot.
73
73
  # If the name is not provided in the request, the server will assign a random
74
74
  # name for this snapshot on the same project as the subscription.
75
75
  # Note that for REST API requests, you must specify a name. See the
76
- # <a href="/pubsub/docs/admin#resource_names">resource name rules</a>.
76
+ # <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
77
+ # resource name rules</a>.
77
78
  # Format is `projects/`project`/snapshots/`snap``.
78
79
  # @param [Google::Apis::PubsubV1::CreateSnapshotRequest] create_snapshot_request_object
79
80
  # @param [String] fields
@@ -106,7 +107,8 @@ module Google
106
107
  end
107
108
 
108
109
  # Removes an existing snapshot. Snapshots are used in
109
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
110
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
111
+ # operations, which allow
110
112
  # you to manage message acknowledgments in bulk. That is, you can set the
111
113
  # acknowledgment state of messages in an existing subscription to the state
112
114
  # captured by a snapshot.<br><br>
@@ -148,10 +150,10 @@ module Google
148
150
  end
149
151
 
150
152
  # Gets the configuration details of a snapshot. Snapshots are used in
151
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
152
- # you to manage message acknowledgments in bulk. That is, you can set the
153
- # acknowledgment state of messages in an existing subscription to the state
154
- # captured by a snapshot.<br><br>
153
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
154
+ # operations, which allow you to manage message acknowledgments in bulk. That
155
+ # is, you can set the acknowledgment state of messages in an existing
156
+ # subscription to the state captured by a snapshot.<br><br>
155
157
  # <b>BETA:</b> This feature is part of a beta release. This API might be
156
158
  # changed in backward-incompatible ways and is not recommended for production
157
159
  # use. It is not subject to any SLA or deprecation policy.
@@ -219,7 +221,8 @@ module Google
219
221
  end
220
222
 
221
223
  # Lists the existing snapshots. Snapshots are used in
222
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
224
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
225
+ # operations, which allow
223
226
  # you to manage message acknowledgments in bulk. That is, you can set the
224
227
  # acknowledgment state of messages in an existing subscription to the state
225
228
  # captured by a snapshot.<br><br>
@@ -265,7 +268,8 @@ module Google
265
268
  end
266
269
 
267
270
  # Updates an existing snapshot. Snapshots are used in
268
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
271
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
272
+ # operations, which allow
269
273
  # you to manage message acknowledgments in bulk. That is, you can set the
270
274
  # acknowledgment state of messages in an existing subscription to the state
271
275
  # captured by a snapshot.<br><br>
@@ -419,7 +423,8 @@ module Google
419
423
  end
420
424
 
421
425
  # Creates a subscription to a given topic. See the
422
- # <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
426
+ # <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
427
+ # resource name rules</a>.
423
428
  # If the subscription already exists, returns `ALREADY_EXISTS`.
424
429
  # If the corresponding topic doesn't exist, returns `NOT_FOUND`.
425
430
  # If the name is not provided in the request, the server will assign a random
@@ -756,7 +761,8 @@ module Google
756
761
 
757
762
  # Seeks an existing subscription to a point in time or to a given snapshot,
758
763
  # whichever is provided in the request. Snapshots are used in
759
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
764
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
765
+ # operations, which allow
760
766
  # you to manage message acknowledgments in bulk. That is, you can set the
761
767
  # acknowledgment state of messages in an existing subscription to the state
762
768
  # captured by a snapshot. Note that both the subscription and the snapshot
@@ -871,7 +877,8 @@ module Google
871
877
  end
872
878
 
873
879
  # Creates the given topic with the given name. See the
874
- # <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
880
+ # <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
881
+ # resource name rules</a>.
875
882
  # @param [String] name
876
883
  # The name of the topic. It must have the format
877
884
  # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
@@ -1196,7 +1203,8 @@ module Google
1196
1203
  end
1197
1204
 
1198
1205
  # Lists the names of the snapshots on this topic. Snapshots are used in
1199
- # <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
1206
+ # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
1207
+ # operations, which allow
1200
1208
  # you to manage message acknowledgments in bulk. That is, you can set the
1201
1209
  # acknowledgment state of messages in an existing subscription to the state
1202
1210
  # captured by a snapshot.<br><br>
@@ -20,13 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Google Cloud Memorystore for Redis API
22
22
  #
23
- # The Google Cloud Memorystore for Redis API is used for creating and managing
24
- # Redis instances on the Google Cloud Platform.
23
+ # Creates and manages Redis instances on the Google Cloud Platform.
25
24
  #
26
25
  # @see https://cloud.google.com/memorystore/docs/redis/
27
26
  module RedisV1
28
27
  VERSION = 'V1'
29
- REVISION = '20181031'
28
+ REVISION = '20181203'
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'
@@ -22,8 +22,7 @@ module Google
22
22
  module RedisV1
23
23
  # Google Cloud Memorystore for Redis API
24
24
  #
25
- # The Google Cloud Memorystore for Redis API is used for creating and managing
26
- # Redis instances on the Google Cloud Platform.
25
+ # Creates and manages Redis instances on the Google Cloud Platform.
27
26
  #
28
27
  # @example
29
28
  # require 'google/apis/redis_v1'
@@ -20,13 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Google Cloud Memorystore for Redis API
22
22
  #
23
- # The Google Cloud Memorystore for Redis API is used for creating and managing
24
- # Redis instances on the Google Cloud Platform.
23
+ # Creates and manages Redis instances on the Google Cloud Platform.
25
24
  #
26
25
  # @see https://cloud.google.com/memorystore/docs/redis/
27
26
  module RedisV1beta1
28
27
  VERSION = 'V1beta1'
29
- REVISION = '20181031'
28
+ REVISION = '20181203'
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'
@@ -22,8 +22,7 @@ module Google
22
22
  module RedisV1beta1
23
23
  # Google Cloud Memorystore for Redis API
24
24
  #
25
- # The Google Cloud Memorystore for Redis API is used for creating and managing
26
- # Redis instances on the Google Cloud Platform.
25
+ # Creates and manages Redis instances on the Google Cloud Platform.
27
26
  #
28
27
  # @example
29
28
  # require 'google/apis/redis_v1beta1'
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/deployment-manager/runtime-configurator/
29
29
  module RuntimeconfigV1beta1
30
30
  VERSION = 'V1beta1'
31
- REVISION = '20181022'
31
+ REVISION = '20181105'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -683,7 +683,7 @@ module Google
683
683
  # The name of the variable resource, in the format:
684
684
  # projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]
685
685
  # The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a
686
- # valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system
686
+ # valid RuntimeConfig resource and `[VARIABLE_NAME]` follows Unix file system
687
687
  # file path naming.
688
688
  # The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and
689
689
  # dashes. Slashes are used as path element separators and are not part of the
@@ -697,7 +697,7 @@ module Google
697
697
  # @return [String]
698
698
  attr_accessor :name
699
699
 
700
- # [Ouput only] The current state of the variable. The variable state indicates
700
+ # Output only. The current state of the variable. The variable state indicates
701
701
  # the outcome of the `variables().watch` call and is visible through the
702
702
  # `get` and `list` calls.
703
703
  # Corresponds to the JSON property `state`
@@ -25,15 +25,15 @@ module Google
25
25
  # @see https://developers.google.com/apps-script/api/
26
26
  module ScriptV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181015'
28
+ REVISION = '20181202'
29
29
 
30
- # Read, send, delete, and manage your email
30
+ # Read, compose, send, and permanently delete all your email from Gmail
31
31
  AUTH_SCOPE = 'https://mail.google.com/'
32
32
 
33
- # Manage your calendars
33
+ # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
34
34
  CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds'
35
35
 
36
- # Manage your contacts
36
+ # See, edit, download, and permanently delete your contacts
37
37
  M8_FEEDS = 'https://www.google.com/m8/feeds'
38
38
 
39
39
  # View and manage the provisioning of groups on your domain
@@ -45,7 +45,7 @@ module Google
45
45
  # View and manage your Google Docs documents
46
46
  AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
47
47
 
48
- # View and manage the files in your Google Drive
48
+ # See, edit, create, and delete all of your Google Drive files
49
49
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
50
50
 
51
51
  # View and manage your forms in Google Drive
@@ -57,7 +57,25 @@ module Google
57
57
  # View and manage your Google Groups
58
58
  AUTH_GROUPS = 'https://www.googleapis.com/auth/groups'
59
59
 
60
- # View and manage your spreadsheets in Google Drive
60
+ # Create and update Google Apps Script deployments
61
+ AUTH_SCRIPT_DEPLOYMENTS = 'https://www.googleapis.com/auth/script.deployments'
62
+
63
+ # View Google Apps Script deployments
64
+ AUTH_SCRIPT_DEPLOYMENTS_READONLY = 'https://www.googleapis.com/auth/script.deployments.readonly'
65
+
66
+ # View Google Apps Script project's metrics
67
+ AUTH_SCRIPT_METRICS = 'https://www.googleapis.com/auth/script.metrics'
68
+
69
+ # View Google Apps Script processes
70
+ AUTH_SCRIPT_PROCESSES = 'https://www.googleapis.com/auth/script.processes'
71
+
72
+ # Create and update Google Apps Script projects
73
+ AUTH_SCRIPT_PROJECTS = 'https://www.googleapis.com/auth/script.projects'
74
+
75
+ # View Google Apps Script projects
76
+ AUTH_SCRIPT_PROJECTS_READONLY = 'https://www.googleapis.com/auth/script.projects.readonly'
77
+
78
+ # See, edit, create, and delete your spreadsheets in Google Drive
61
79
  AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
62
80
 
63
81
  # View your email address
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181030'
28
+ REVISION = '20181205'
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'