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
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://developers.google.com/authorized-buyers/apis/reference/rest/
28
28
  module Adexchangebuyer2V2beta1
29
29
  VERSION = 'V2beta1'
30
- REVISION = '20181024'
30
+ REVISION = '20181127'
31
31
 
32
32
  # Manage your Ad Exchange buyer account configuration
33
33
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -3712,7 +3712,9 @@ module Google
3712
3712
  include Google::Apis::Core::Hashable
3713
3713
 
3714
3714
  # The publisher identifier for this row, if a breakdown by
3715
- # BreakdownDimension.PUBLISHER_IDENTIFIER
3715
+ # [BreakdownDimension.PUBLISHER_IDENTIFIER](https://developers.google.com/
3716
+ # authorized-buyers/apis/reference/rest/v2beta1/bidders.accounts.filterSets#
3717
+ # FilterSet.BreakdownDimension)
3716
3718
  # was requested.
3717
3719
  # Corresponds to the JSON property `publisherIdentifier`
3718
3720
  # @return [String]
@@ -20,13 +20,15 @@ module Google
20
20
  module Apis
21
21
  # G Suite Alert Center API
22
22
  #
23
- # G Suite Alert Center API to view and manage alerts on issues affecting your
24
- # domain.
23
+ # Manages alerts on issues affecting your domain.
25
24
  #
26
25
  # @see https://developers.google.com/admin-sdk/alertcenter/
27
26
  module AlertcenterV1beta1
28
27
  VERSION = 'V1beta1'
29
- REVISION = '20181018'
28
+ REVISION = '20181206'
29
+
30
+ # See and delete your domain's G Suite alerts, and send alert feedback
31
+ AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
30
32
  end
31
33
  end
32
34
  end
@@ -26,12 +26,12 @@ module Google
26
26
  class AccountWarning
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Required. Email of the user that this event belongs to.
29
+ # Required. The email of the user that this event belongs to.
30
30
  # Corresponds to the JSON property `email`
31
31
  # @return [String]
32
32
  attr_accessor :email
33
33
 
34
- # Details of the login action
34
+ # The details of the login action.
35
35
  # Corresponds to the JSON property `loginDetails`
36
36
  # @return [Google::Apis::AlertcenterV1beta1::LoginDetails]
37
37
  attr_accessor :login_details
@@ -57,7 +57,7 @@ module Google
57
57
  # @return [String]
58
58
  attr_accessor :alert_id
59
59
 
60
- # Output only. The time this alert was created. Assigned by the server.
60
+ # Output only. The time this alert was created.
61
61
  # Corresponds to the JSON property `createTime`
62
62
  # @return [String]
63
63
  attr_accessor :create_time
@@ -67,70 +67,53 @@ module Google
67
67
  # @return [String]
68
68
  attr_accessor :customer_id
69
69
 
70
- # Optional. Specific data associated with this alert.
71
- # e.g. google.apps.alertcenter.type.DeviceCompromised.
70
+ # Optional. The data associated with this alert, for example
71
+ # google.apps.alertcenter.type.DeviceCompromised.
72
72
  # Corresponds to the JSON property `data`
73
73
  # @return [Hash<String,Object>]
74
74
  attr_accessor :data
75
75
 
76
- # Output only. Whether this alert has been marked for deletion.
76
+ # Output only. `True` if this alert is marked for deletion.
77
77
  # Corresponds to the JSON property `deleted`
78
78
  # @return [Boolean]
79
79
  attr_accessor :deleted
80
80
  alias_method :deleted?, :deleted
81
81
 
82
- # Optional. The time this alert was no longer active. If provided, the
83
- # end time must not be earlier than the start time. If not provided, the end
84
- # time will default to the start time.
82
+ # Optional. The time the event that caused this alert ceased being active.
83
+ # If provided, the end time must not be earlier than the start time.
84
+ # If not provided, the end time defaults to the start time.
85
85
  # Corresponds to the JSON property `endTime`
86
86
  # @return [String]
87
87
  attr_accessor :end_time
88
88
 
89
- # Output only. An optional Security Investigation Tool query for this
90
- # alert.
89
+ # Output only. An optional
90
+ # [Security Investigation Tool](https://support.google.com/a/answer/7575955)
91
+ # query for this alert.
91
92
  # Corresponds to the JSON property `securityInvestigationToolLink`
92
93
  # @return [String]
93
94
  attr_accessor :security_investigation_tool_link
94
95
 
95
96
  # Required. A unique identifier for the system that is reported the alert.
96
97
  # Supported sources are any of the following:
97
- # * "Google Operations"
98
- # * "Mobile device management"
99
- # * "Gmail phishing"
100
- # * "Domain wide takeout"
101
- # * "Government attack warning"
102
- # * "Google identity"
98
+ # * Google Operations
99
+ # * Mobile device management
100
+ # * Gmail phishing
101
+ # * Domain wide takeout
102
+ # * Government attack warning
103
+ # * Google identity
103
104
  # Corresponds to the JSON property `source`
104
105
  # @return [String]
105
106
  attr_accessor :source
106
107
 
107
- # Required. The time this alert became active.
108
+ # Required. The time the event that caused this alert was started or
109
+ # detected.
108
110
  # Corresponds to the JSON property `startTime`
109
111
  # @return [String]
110
112
  attr_accessor :start_time
111
113
 
112
114
  # Required. The type of the alert.
113
- # Supported types are any of the following:
114
- # * "Google Operations"
115
- # * "Device compromised"
116
- # * "Suspicious activity"
117
- # * "User reported phishing"
118
- # * "Misconfigured whitelist"
119
- # * "Customer takeout initiated"
120
- # * "Government attack warning"
121
- # * "User reported spam spike"
122
- # * "Suspicious message reported"
123
- # * "Phishing reclassification"
124
- # * "Malware reclassification"
125
- # LINT.IfChange
126
- # * "Suspicious login"
127
- # * "Suspicious login (less secure app)"
128
- # * "User suspended"
129
- # * "Leaked password"
130
- # * "User suspended (suspicious activity)"
131
- # * "User suspended (spam)"
132
- # * "User suspended (spam through relay)"
133
- # LINT.ThenChange(//depot/google3/apps/albert/data/albert_enums.proto)
115
+ # For a list of available alert types see
116
+ # [G Suite Alert types](/admin-sdk/alertcenter/reference/alert-types).
134
117
  # Corresponds to the JSON property `type`
135
118
  # @return [String]
136
119
  attr_accessor :type
@@ -163,7 +146,7 @@ module Google
163
146
  # @return [String]
164
147
  attr_accessor :alert_id
165
148
 
166
- # Output only. The time this feedback was created. Assigned by the server.
149
+ # Output only. The time this feedback was created.
167
150
  # Corresponds to the JSON property `createTime`
168
151
  # @return [String]
169
152
  attr_accessor :create_time
@@ -178,8 +161,7 @@ module Google
178
161
  # @return [String]
179
162
  attr_accessor :email
180
163
 
181
- # Output only. A unique identifier for the feedback. When creating a new
182
- # feedback the system will assign one.
164
+ # Output only. The unique identifier for the feedback.
183
165
  # Corresponds to the JSON property `feedbackId`
184
166
  # @return [String]
185
167
  attr_accessor :feedback_id
@@ -208,7 +190,7 @@ module Google
208
190
  class Attachment
209
191
  include Google::Apis::Core::Hashable
210
192
 
211
- # Representation of a CSV file attachment, as a list of column headers and
193
+ # A representation of a CSV file attachment, as a list of column headers and
212
194
  # a list of data rows.
213
195
  # Corresponds to the JSON property `csv`
214
196
  # @return [Google::Apis::AlertcenterV1beta1::Csv]
@@ -224,12 +206,12 @@ module Google
224
206
  end
225
207
  end
226
208
 
227
- # Alert for setting the domain or ip that malicious email comes from as
228
- # whitelisted domain or ip in Gmail advanced settings.
209
+ # Alert for setting the domain or IP that malicious email comes from as
210
+ # whitelisted domain or IP in Gmail advanced settings.
229
211
  class BadWhitelist
230
212
  include Google::Apis::Core::Hashable
231
213
 
232
- # Domain id of Gmail phishing alerts.
214
+ # Domain ID of Gmail phishing alerts.
233
215
  # Corresponds to the JSON property `domainId`
234
216
  # @return [Google::Apis::AlertcenterV1beta1::DomainId]
235
217
  attr_accessor :domain_id
@@ -239,12 +221,13 @@ module Google
239
221
  # @return [Google::Apis::AlertcenterV1beta1::MaliciousEntity]
240
222
  attr_accessor :malicious_entity
241
223
 
242
- # Every alert could contain multiple messages.
224
+ # The list of messages contained by this alert.
243
225
  # Corresponds to the JSON property `messages`
244
226
  # @return [Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>]
245
227
  attr_accessor :messages
246
228
 
247
- # The source ip address of the malicious email. e.g. "127.0.0.1".
229
+ # The source IP address of the malicious email, for example,
230
+ # `127.0.0.1`.
248
231
  # Corresponds to the JSON property `sourceIp`
249
232
  # @return [String]
250
233
  attr_accessor :source_ip
@@ -262,18 +245,18 @@ module Google
262
245
  end
263
246
  end
264
247
 
265
- # Representation of a CSV file attachment, as a list of column headers and
248
+ # A representation of a CSV file attachment, as a list of column headers and
266
249
  # a list of data rows.
267
250
  class Csv
268
251
  include Google::Apis::Core::Hashable
269
252
 
270
- # List of data rows in a CSV file, as string arrays rather than as a
253
+ # The list of data rows in a CSV file, as string arrays rather than as a
271
254
  # single comma-separated string.
272
255
  # Corresponds to the JSON property `dataRows`
273
256
  # @return [Array<Google::Apis::AlertcenterV1beta1::CsvRow>]
274
257
  attr_accessor :data_rows
275
258
 
276
- # List of headers for data columns in a CSV file.
259
+ # The list of headers for data columns in a CSV file.
277
260
  # Corresponds to the JSON property `headers`
278
261
  # @return [Array<String>]
279
262
  attr_accessor :headers
@@ -289,12 +272,12 @@ module Google
289
272
  end
290
273
  end
291
274
 
292
- # Representation of a single data row in a CSV file.
275
+ # A representation of a single data row in a CSV file.
293
276
  class CsvRow
294
277
  include Google::Apis::Core::Hashable
295
278
 
296
- # Data entries in a CSV file row, as a string array rather than a single
297
- # comma-separated string.
279
+ # The data entries in a CSV file row, as a string array rather than a
280
+ # single comma-separated string.
298
281
  # Corresponds to the JSON property `entries`
299
282
  # @return [Array<String>]
300
283
  attr_accessor :entries
@@ -318,7 +301,7 @@ module Google
318
301
  # @return [String]
319
302
  attr_accessor :email
320
303
 
321
- # Required. List of security events.
304
+ # Required. The list of security events.
322
305
  # Corresponds to the JSON property `events`
323
306
  # @return [Array<Google::Apis::AlertcenterV1beta1::DeviceCompromisedSecurityDetail>]
324
307
  attr_accessor :events
@@ -338,12 +321,13 @@ module Google
338
321
  class DeviceCompromisedSecurityDetail
339
322
  include Google::Apis::Core::Hashable
340
323
 
341
- # Device compromised state includes: "Compromised" and "Not Compromised".
324
+ # The device compromised state. Possible values are "`Compromised`" or
325
+ # "`Not Compromised`".
342
326
  # Corresponds to the JSON property `deviceCompromisedState`
343
327
  # @return [String]
344
328
  attr_accessor :device_compromised_state
345
329
 
346
- # Required. Device Info.
330
+ # Required. The device ID.
347
331
  # Corresponds to the JSON property `deviceId`
348
332
  # @return [String]
349
333
  attr_accessor :device_id
@@ -358,12 +342,12 @@ module Google
358
342
  # @return [String]
359
343
  attr_accessor :device_type
360
344
 
361
- # Required for IOS, empty for others.
345
+ # Required for iOS, empty for others.
362
346
  # Corresponds to the JSON property `iosVendorId`
363
347
  # @return [String]
364
348
  attr_accessor :ios_vendor_id
365
349
 
366
- # The device resource id.
350
+ # The device resource ID.
367
351
  # Corresponds to the JSON property `resourceId`
368
352
  # @return [String]
369
353
  attr_accessor :resource_id
@@ -389,7 +373,7 @@ module Google
389
373
  end
390
374
  end
391
375
 
392
- # Domain id of Gmail phishing alerts.
376
+ # Domain ID of Gmail phishing alerts.
393
377
  class DomainId
394
378
  include Google::Apis::Core::Hashable
395
379
 
@@ -413,12 +397,12 @@ module Google
413
397
  class DomainWideTakeoutInitiated
414
398
  include Google::Apis::Core::Hashable
415
399
 
416
- # Email of the admin who initiated the takeout.
400
+ # The email of the admin who initiated the takeout.
417
401
  # Corresponds to the JSON property `email`
418
402
  # @return [String]
419
403
  attr_accessor :email
420
404
 
421
- # takeout request id.
405
+ # The takeout request ID.
422
406
  # Corresponds to the JSON property `takeoutRequestId`
423
407
  # @return [String]
424
408
  attr_accessor :takeout_request_id
@@ -457,7 +441,7 @@ module Google
457
441
  class GmailMessageInfo
458
442
  include Google::Apis::Core::Hashable
459
443
 
460
- # SHA256 Hash of email's attachment and all MIME parts.
444
+ # The `SHA256` hash of email's attachment and all MIME parts.
461
445
  # Corresponds to the JSON property `attachmentsSha256Hash`
462
446
  # @return [Array<String>]
463
447
  attr_accessor :attachments_sha256_hash
@@ -467,32 +451,32 @@ module Google
467
451
  # @return [String]
468
452
  attr_accessor :date
469
453
 
470
- # Hash of message body text.
454
+ # The hash of the message body text.
471
455
  # Corresponds to the JSON property `md5HashMessageBody`
472
456
  # @return [String]
473
457
  attr_accessor :md5_hash_message_body
474
458
 
475
- # MD5 Hash of email's subject. (Only available for reported emails).
459
+ # The MD5 Hash of email's subject (only available for reported emails).
476
460
  # Corresponds to the JSON property `md5HashSubject`
477
461
  # @return [String]
478
462
  attr_accessor :md5_hash_subject
479
463
 
480
- # Snippet of the message body text. (Only available for reported emails)
464
+ # The snippet of the message body text (only available for reported emails).
481
465
  # Corresponds to the JSON property `messageBodySnippet`
482
466
  # @return [String]
483
467
  attr_accessor :message_body_snippet
484
468
 
485
- # Message id.
469
+ # The message ID.
486
470
  # Corresponds to the JSON property `messageId`
487
471
  # @return [String]
488
472
  attr_accessor :message_id
489
473
 
490
- # Recipient of this email.
474
+ # The recipient of this email.
491
475
  # Corresponds to the JSON property `recipient`
492
476
  # @return [String]
493
477
  attr_accessor :recipient
494
478
 
495
- # Email subject text. (Only available for reported emails).
479
+ # The email subject text (only available for reported emails).
496
480
  # Corresponds to the JSON property `subjectText`
497
481
  # @return [String]
498
482
  attr_accessor :subject_text
@@ -518,7 +502,7 @@ module Google
518
502
  class GoogleOperations
519
503
  include Google::Apis::Core::Hashable
520
504
 
521
- # List of emails which correspond to the users directly affected by the
505
+ # The list of emails which correspond to the users directly affected by the
522
506
  # incident.
523
507
  # Corresponds to the JSON property `affectedUserEmails`
524
508
  # @return [Array<String>]
@@ -529,12 +513,12 @@ module Google
529
513
  # @return [Google::Apis::AlertcenterV1beta1::Attachment]
530
514
  attr_accessor :attachment_data
531
515
 
532
- # Detailed, freeform incident description.
516
+ # A detailed, freeform incident description.
533
517
  # Corresponds to the JSON property `description`
534
518
  # @return [String]
535
519
  attr_accessor :description
536
520
 
537
- # One-line incident description.
521
+ # A one-line incident description.
538
522
  # Corresponds to the JSON property `title`
539
523
  # @return [String]
540
524
  attr_accessor :title
@@ -557,7 +541,7 @@ module Google
557
541
  include Google::Apis::Core::Hashable
558
542
 
559
543
  # The list of alert feedback.
560
- # Result is ordered descending by creation time.
544
+ # Feedback entries for each alert are ordered by creation time descending.
561
545
  # Corresponds to the JSON property `feedback`
562
546
  # @return [Array<Google::Apis::AlertcenterV1beta1::AlertFeedback>]
563
547
  attr_accessor :feedback
@@ -581,9 +565,10 @@ module Google
581
565
  # @return [Array<Google::Apis::AlertcenterV1beta1::Alert>]
582
566
  attr_accessor :alerts
583
567
 
584
- # If not empty, indicates that there may be more alerts that match the
585
- # request; this value can be passed in a new ListAlertsRequest to get the
586
- # next page of values.
568
+ # The token for the next page. If not empty, indicates that there may be more
569
+ # alerts that match the listing request; this value can be used in a
570
+ # subsequent ListAlertsRequest to get alerts continuing from last result
571
+ # of the current list call.
587
572
  # Corresponds to the JSON property `nextPageToken`
588
573
  # @return [String]
589
574
  attr_accessor :next_page_token
@@ -599,17 +584,18 @@ module Google
599
584
  end
600
585
  end
601
586
 
602
- # Details of the login action
587
+ # The details of the login action.
603
588
  class LoginDetails
604
589
  include Google::Apis::Core::Hashable
605
590
 
606
- # Optional. Human readable IP address (e.g., 11.22.33.44) that is
607
- # associated with the warning event.
591
+ # Optional. The human-readable IP address (for example,
592
+ # `11.22.33.44`) that is associated with the warning event.
608
593
  # Corresponds to the JSON property `ipAddress`
609
594
  # @return [String]
610
595
  attr_accessor :ip_address
611
596
 
612
- # Optional. Login time that is associated with the warning event.
597
+ # Optional. The successful login time that is associated with the warning
598
+ # event. This will not be present for blocked login attempts.
613
599
  # Corresponds to the JSON property `loginTime`
614
600
  # @return [String]
615
601
  attr_accessor :login_time
@@ -627,20 +613,20 @@ module Google
627
613
 
628
614
  # Proto for all phishing alerts with common payload.
629
615
  # Supported types are any of the following:
630
- # User reported phishing
631
- # User reported spam spike
632
- # Suspicious message reported
633
- # Phishing reclassification
634
- # Malware reclassification
616
+ # * User reported phishing
617
+ # * User reported spam spike
618
+ # * Suspicious message reported
619
+ # * Phishing reclassification
620
+ # * Malware reclassification
635
621
  class MailPhishing
636
622
  include Google::Apis::Core::Hashable
637
623
 
638
- # Domain id of Gmail phishing alerts.
624
+ # Domain ID of Gmail phishing alerts.
639
625
  # Corresponds to the JSON property `domainId`
640
626
  # @return [Google::Apis::AlertcenterV1beta1::DomainId]
641
627
  attr_accessor :domain_id
642
628
 
643
- # If true, the email is originated from within the organization.
629
+ # If `true`, the email originated from within the organization.
644
630
  # Corresponds to the JSON property `isInternal`
645
631
  # @return [Boolean]
646
632
  attr_accessor :is_internal
@@ -651,7 +637,7 @@ module Google
651
637
  # @return [Google::Apis::AlertcenterV1beta1::MaliciousEntity]
652
638
  attr_accessor :malicious_entity
653
639
 
654
- # Every alert could contain multiple messages.
640
+ # The list of messages contained by this alert.
655
641
  # Corresponds to the JSON property `messages`
656
642
  # @return [Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>]
657
643
  attr_accessor :messages
@@ -673,7 +659,7 @@ module Google
673
659
  class MaliciousEntity
674
660
  include Google::Apis::Core::Hashable
675
661
 
676
- # Sender email address.
662
+ # The sender email address.
677
663
  # Corresponds to the JSON property `fromHeader`
678
664
  # @return [String]
679
665
  attr_accessor :from_header
@@ -689,16 +675,18 @@ module Google
689
675
  end
690
676
 
691
677
  # Alert for a spike in user reported phishing.
692
- # This will be deprecated in favor of MailPhishing.
678
+ # <aside class="warning"><b>Warning</b>: This type has been deprecated. Use
679
+ # [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing)
680
+ # instead.</aside>
693
681
  class PhishingSpike
694
682
  include Google::Apis::Core::Hashable
695
683
 
696
- # Domain id of Gmail phishing alerts.
684
+ # Domain ID of Gmail phishing alerts.
697
685
  # Corresponds to the JSON property `domainId`
698
686
  # @return [Google::Apis::AlertcenterV1beta1::DomainId]
699
687
  attr_accessor :domain_id
700
688
 
701
- # If true, the email is originated from within the organization.
689
+ # If `true`, the email originated from within the organization.
702
690
  # Corresponds to the JSON property `isInternal`
703
691
  # @return [Boolean]
704
692
  attr_accessor :is_internal
@@ -709,7 +697,7 @@ module Google
709
697
  # @return [Google::Apis::AlertcenterV1beta1::MaliciousEntity]
710
698
  attr_accessor :malicious_entity
711
699
 
712
- # Every alert could contain multiple messages.
700
+ # The list of messages contained by this alert.
713
701
  # Corresponds to the JSON property `messages`
714
702
  # @return [Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>]
715
703
  attr_accessor :messages
@@ -727,7 +715,7 @@ module Google
727
715
  end
728
716
  end
729
717
 
730
- # A state sponsored attack alert. Derived from audit logs.
718
+ # A state-sponsored attack alert. Derived from audit logs.
731
719
  class StateSponsoredAttack
732
720
  include Google::Apis::Core::Hashable
733
721
 
@@ -755,7 +743,7 @@ module Google
755
743
  # @return [String]
756
744
  attr_accessor :email
757
745
 
758
- # Required. List of security events.
746
+ # Required. The list of security events.
759
747
  # Corresponds to the JSON property `events`
760
748
  # @return [Array<Google::Apis::AlertcenterV1beta1::SuspiciousActivitySecurityDetail>]
761
749
  attr_accessor :events
@@ -775,7 +763,7 @@ module Google
775
763
  class SuspiciousActivitySecurityDetail
776
764
  include Google::Apis::Core::Hashable
777
765
 
778
- # Required. Device Info.
766
+ # Required. The device ID.
779
767
  # Corresponds to the JSON property `deviceId`
780
768
  # @return [String]
781
769
  attr_accessor :device_id
@@ -785,7 +773,7 @@ module Google
785
773
  # @return [String]
786
774
  attr_accessor :device_model
787
775
 
788
- # Device property which is changed.
776
+ # The device property which was changed.
789
777
  # Corresponds to the JSON property `deviceProperty`
790
778
  # @return [String]
791
779
  attr_accessor :device_property
@@ -795,22 +783,22 @@ module Google
795
783
  # @return [String]
796
784
  attr_accessor :device_type
797
785
 
798
- # Required for IOS, empty for others.
786
+ # Required for iOS, empty for others.
799
787
  # Corresponds to the JSON property `iosVendorId`
800
788
  # @return [String]
801
789
  attr_accessor :ios_vendor_id
802
790
 
803
- # New value of the device property after change.
791
+ # The new value of the device property after the change.
804
792
  # Corresponds to the JSON property `newValue`
805
793
  # @return [String]
806
794
  attr_accessor :new_value
807
795
 
808
- # Old value of the device property before change.
796
+ # The old value of the device property before the change.
809
797
  # Corresponds to the JSON property `oldValue`
810
798
  # @return [String]
811
799
  attr_accessor :old_value
812
800
 
813
- # The device resource id.
801
+ # The device resource ID.
814
802
  # Corresponds to the JSON property `resourceId`
815
803
  # @return [String]
816
804
  attr_accessor :resource_id
@@ -837,6 +825,27 @@ module Google
837
825
  @serial_number = args[:serial_number] if args.key?(:serial_number)
838
826
  end
839
827
  end
828
+
829
+ # A request to undelete a specific alert that was marked for deletion.
830
+ class UndeleteAlertRequest
831
+ include Google::Apis::Core::Hashable
832
+
833
+ # Optional. The unique identifier of the G Suite organization account of the
834
+ # customer the alert is associated with.
835
+ # Inferred from the caller identity if not provided.
836
+ # Corresponds to the JSON property `customerId`
837
+ # @return [String]
838
+ attr_accessor :customer_id
839
+
840
+ def initialize(**args)
841
+ update!(**args)
842
+ end
843
+
844
+ # Update properties of this object
845
+ def update!(**args)
846
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
847
+ end
848
+ end
840
849
  end
841
850
  end
842
851
  end