google-api-client 0.30.9 → 0.30.10

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 +89 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
  9. data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
  10. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
  14. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +32 -9
  17. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  18. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  19. data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
  20. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
  21. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
  22. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
  23. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  24. data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
  25. data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
  26. data/generated/google/apis/binaryauthorization_v1.rb +35 -0
  27. data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
  28. data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
  29. data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
  30. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  31. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
  32. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
  33. data/generated/google/apis/calendar_v3.rb +1 -1
  34. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
  37. data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
  38. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
  40. data/generated/google/apis/cloudiot_v1.rb +1 -1
  41. data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
  44. data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
  45. data/generated/google/apis/cloudkms_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  47. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
  48. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
  51. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
  55. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
  57. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
  59. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  60. data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
  61. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  62. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  63. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  65. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  66. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
  67. data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
  68. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  69. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
  70. data/generated/google/apis/composer_v1.rb +1 -1
  71. data/generated/google/apis/composer_v1/classes.rb +17 -24
  72. data/generated/google/apis/composer_v1beta1.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
  74. data/generated/google/apis/compute_alpha.rb +1 -1
  75. data/generated/google/apis/compute_alpha/classes.rb +1139 -284
  76. data/generated/google/apis/compute_alpha/representations.rb +304 -1
  77. data/generated/google/apis/compute_alpha/service.rb +935 -23
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +554 -98
  80. data/generated/google/apis/compute_beta/representations.rb +117 -0
  81. data/generated/google/apis/compute_beta/service.rb +63 -19
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1187 -165
  84. data/generated/google/apis/compute_v1/representations.rb +402 -0
  85. data/generated/google/apis/compute_v1/service.rb +832 -12
  86. data/generated/google/apis/container_v1.rb +1 -1
  87. data/generated/google/apis/container_v1/classes.rb +36 -0
  88. data/generated/google/apis/container_v1/representations.rb +16 -0
  89. data/generated/google/apis/container_v1beta1.rb +1 -1
  90. data/generated/google/apis/container_v1beta1/classes.rb +153 -0
  91. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +93 -2
  94. data/generated/google/apis/content_v2/representations.rb +37 -0
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +86 -2
  97. data/generated/google/apis/content_v2_1/representations.rb +36 -0
  98. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  99. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
  100. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
  101. data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +7 -0
  104. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1/classes.rb +9 -75
  110. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  111. data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
  112. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  113. data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
  114. data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
  115. data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
  116. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +42 -0
  122. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  123. data/generated/google/apis/dlp_v2/service.rb +125 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +128 -0
  126. data/generated/google/apis/docs_v1/representations.rb +49 -0
  127. data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
  128. data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
  129. data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
  130. data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +10 -1
  133. data/generated/google/apis/drive_v2/representations.rb +1 -0
  134. data/generated/google/apis/drive_v3.rb +1 -1
  135. data/generated/google/apis/drive_v3/classes.rb +10 -1
  136. data/generated/google/apis/drive_v3/representations.rb +1 -0
  137. data/generated/google/apis/driveactivity_v2.rb +1 -1
  138. data/generated/google/apis/firestore_v1.rb +1 -1
  139. data/generated/google/apis/firestore_v1/classes.rb +21 -130
  140. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  141. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
  142. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  143. data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
  144. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  145. data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
  146. data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
  147. data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
  148. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  149. data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
  150. data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
  151. data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
  152. data/generated/google/apis/homegraph_v1.rb +31 -0
  153. data/generated/google/apis/homegraph_v1/classes.rb +692 -0
  154. data/generated/google/apis/homegraph_v1/representations.rb +323 -0
  155. data/generated/google/apis/homegraph_v1/service.rb +255 -0
  156. data/generated/google/apis/logging_v2.rb +1 -1
  157. data/generated/google/apis/logging_v2/classes.rb +8 -7
  158. data/generated/google/apis/logging_v2/service.rb +40 -35
  159. data/generated/google/apis/ml_v1.rb +1 -1
  160. data/generated/google/apis/monitoring_v3.rb +1 -1
  161. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  162. data/generated/google/apis/pubsub_v1.rb +1 -1
  163. data/generated/google/apis/pubsub_v1/classes.rb +6 -1
  164. data/generated/google/apis/pubsub_v1/service.rb +15 -9
  165. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  166. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
  167. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
  168. data/generated/google/apis/run_v1alpha1.rb +1 -1
  169. data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
  170. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  171. data/generated/google/apis/run_v1alpha1/service.rb +5 -3
  172. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  173. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
  174. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
  175. data/generated/google/apis/script_v1.rb +1 -1
  176. data/generated/google/apis/script_v1/service.rb +6 -5
  177. data/generated/google/apis/securitycenter_v1.rb +1 -1
  178. data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
  179. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  180. data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
  181. data/generated/google/apis/servicebroker_v1.rb +1 -1
  182. data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
  183. data/generated/google/apis/servicebroker_v1/service.rb +5 -3
  184. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  185. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
  186. data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
  187. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  188. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
  189. data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
  190. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  191. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
  194. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
  198. data/generated/google/apis/serviceusage_v1.rb +1 -1
  199. data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
  200. data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
  201. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
  203. data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +1 -1
  206. data/generated/google/apis/speech_v1.rb +1 -1
  207. data/generated/google/apis/speech_v1/classes.rb +9 -7
  208. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  209. data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
  210. data/generated/google/apis/speech_v2beta.rb +1 -1
  211. data/generated/google/apis/speech_v2beta/classes.rb +3 -3
  212. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  213. data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
  214. data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
  215. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  216. data/generated/google/apis/storage_v1.rb +1 -1
  217. data/generated/google/apis/storage_v1/classes.rb +7 -1
  218. data/generated/google/apis/storage_v1/representations.rb +2 -2
  219. data/generated/google/apis/storage_v1/service.rb +6 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
  222. data/generated/google/apis/testing_v1.rb +1 -1
  223. data/generated/google/apis/testing_v1/classes.rb +19 -0
  224. data/generated/google/apis/testing_v1/representations.rb +3 -0
  225. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  226. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
  227. data/generated/google/apis/translate_v3beta1.rb +1 -1
  228. data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
  229. data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
  230. data/generated/google/apis/verifiedaccess_v1.rb +35 -0
  231. data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
  232. data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
  233. data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +204 -2375
  236. data/generated/google/apis/vision_v1/representations.rb +701 -1634
  237. data/generated/google/apis/vision_v1/service.rb +17 -17
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_v3.rb +1 -1
  246. data/generated/google/apis/youtube_v3/classes.rb +8 -2
  247. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  248. data/lib/google/apis/version.rb +1 -1
  249. metadata +22 -6
  250. data/generated/google/apis/appstate_v1/classes.rb +0 -154
  251. data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/logging/docs/
29
29
  module LoggingV2
30
30
  VERSION = 'V2'
31
- REVISION = '20190803'
31
+ REVISION = '20190902'
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'
@@ -849,10 +849,11 @@ module Google
849
849
  end
850
850
 
851
851
  # Specifies a set of log entries that are not to be stored in Logging. If your
852
- # project receives a large volume of logs, you might be able to use exclusions
853
- # to reduce your chargeable logs. Exclusions are processed after log sinks, so
854
- # you can export log entries before they are excluded. Audit log entries and log
855
- # entries from Amazon Web Services are never excluded.
852
+ # GCP resource receives a large volume of logs, you can use exclusions to reduce
853
+ # your chargeable logs. Exclusions are processed after log sinks, so you can
854
+ # export log entries before they are excluded. Note that organization-level and
855
+ # folder-level exclusions don't apply to child resources, and that you can't
856
+ # exclude audit log entries.
856
857
  class LogExclusion
857
858
  include Google::Apis::Core::Hashable
858
859
 
@@ -877,9 +878,9 @@ module Google
877
878
 
878
879
  # Required. An advanced logs filter that matches the log entries to be excluded.
879
880
  # By using the sample function, you can exclude less than 100% of the matching
880
- # log entries. For example, the following filter matches 99% of low-severity log
881
- # entries from load balancers:"resource.type=http_load_balancer severity<ERROR
882
- # sample(insertId, 0.99)"
881
+ # log entries. For example, the following query matches 99% of low-severity log
882
+ # entries from Google Cloud Storage buckets:"resource.type=gcs_bucket severity<
883
+ # ERROR sample(insertId, 0.99)"
883
884
  # Corresponds to the JSON property `filter`
884
885
  # @return [String]
885
886
  attr_accessor :filter
@@ -215,7 +215,7 @@ module Google
215
215
  # Example: "projects/my-project-id/exclusions/my-exclusion-id".
216
216
  # @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
217
217
  # @param [String] update_mask
218
- # Required. A nonempty list of fields to change in the existing exclusion. New
218
+ # Required. A non-empty list of fields to change in the existing exclusion. New
219
219
  # values for the fields are taken from the corresponding fields in the
220
220
  # LogExclusion included in this request. Fields not mentioned in update_mask are
221
221
  # not changed and are ignored in the request.For example, to change the filter
@@ -293,11 +293,7 @@ module Google
293
293
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
294
294
  # logs that have entries are listed.
295
295
  # @param [String] parent
296
- # Required. The resource name that owns the logs:
297
- # "projects/[PROJECT_ID]"
298
- # "organizations/[ORGANIZATION_ID]"
299
- # "billingAccounts/[BILLING_ACCOUNT_ID]"
300
- # "folders/[FOLDER_ID]"
296
+ # Required. To be deprecated in Logging Data Model V2.
301
297
  # @param [Fixnum] page_size
302
298
  # Optional. The maximum number of results to return from this request. Non-
303
299
  # positive values are ignored. The presence of nextPageToken in the response
@@ -307,6 +303,10 @@ module Google
307
303
  # preceding call to this method. pageToken must be the value of nextPageToken
308
304
  # from the previous response. The values of other method parameters should be
309
305
  # identical to those in the previous call.
306
+ # @param [Array<String>, String] resource_names
307
+ # Required for Logging Data Model V2. The resource name that owns the logs: "
308
+ # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
309
+ # BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
310
310
  # @param [String] fields
311
311
  # Selector specifying which fields to include in a partial response.
312
312
  # @param [String] quota_user
@@ -324,13 +324,14 @@ module Google
324
324
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
325
325
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
326
326
  # @raise [Google::Apis::AuthorizationError] Authorization is required
327
- def list_billing_account_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
327
+ def list_billing_account_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
328
328
  command = make_simple_command(:get, 'v2/{+parent}/logs', options)
329
329
  command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
330
330
  command.response_class = Google::Apis::LoggingV2::ListLogsResponse
331
331
  command.params['parent'] = parent unless parent.nil?
332
332
  command.query['pageSize'] = page_size unless page_size.nil?
333
333
  command.query['pageToken'] = page_token unless page_token.nil?
334
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
334
335
  command.query['fields'] = fields unless fields.nil?
335
336
  command.query['quotaUser'] = quota_user unless quota_user.nil?
336
337
  execute_or_queue_command(command, &block)
@@ -860,7 +861,7 @@ module Google
860
861
  # Example: "projects/my-project-id/exclusions/my-exclusion-id".
861
862
  # @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
862
863
  # @param [String] update_mask
863
- # Required. A nonempty list of fields to change in the existing exclusion. New
864
+ # Required. A non-empty list of fields to change in the existing exclusion. New
864
865
  # values for the fields are taken from the corresponding fields in the
865
866
  # LogExclusion included in this request. Fields not mentioned in update_mask are
866
867
  # not changed and are ignored in the request.For example, to change the filter
@@ -1061,7 +1062,7 @@ module Google
1061
1062
  # Example: "projects/my-project-id/exclusions/my-exclusion-id".
1062
1063
  # @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
1063
1064
  # @param [String] update_mask
1064
- # Required. A nonempty list of fields to change in the existing exclusion. New
1065
+ # Required. A non-empty list of fields to change in the existing exclusion. New
1065
1066
  # values for the fields are taken from the corresponding fields in the
1066
1067
  # LogExclusion included in this request. Fields not mentioned in update_mask are
1067
1068
  # not changed and are ignored in the request.For example, to change the filter
@@ -1139,11 +1140,7 @@ module Google
1139
1140
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
1140
1141
  # logs that have entries are listed.
1141
1142
  # @param [String] parent
1142
- # Required. The resource name that owns the logs:
1143
- # "projects/[PROJECT_ID]"
1144
- # "organizations/[ORGANIZATION_ID]"
1145
- # "billingAccounts/[BILLING_ACCOUNT_ID]"
1146
- # "folders/[FOLDER_ID]"
1143
+ # Required. To be deprecated in Logging Data Model V2.
1147
1144
  # @param [Fixnum] page_size
1148
1145
  # Optional. The maximum number of results to return from this request. Non-
1149
1146
  # positive values are ignored. The presence of nextPageToken in the response
@@ -1153,6 +1150,10 @@ module Google
1153
1150
  # preceding call to this method. pageToken must be the value of nextPageToken
1154
1151
  # from the previous response. The values of other method parameters should be
1155
1152
  # identical to those in the previous call.
1153
+ # @param [Array<String>, String] resource_names
1154
+ # Required for Logging Data Model V2. The resource name that owns the logs: "
1155
+ # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
1156
+ # BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
1156
1157
  # @param [String] fields
1157
1158
  # Selector specifying which fields to include in a partial response.
1158
1159
  # @param [String] quota_user
@@ -1170,13 +1171,14 @@ module Google
1170
1171
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1171
1172
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1172
1173
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1173
- def list_folder_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1174
+ def list_folder_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
1174
1175
  command = make_simple_command(:get, 'v2/{+parent}/logs', options)
1175
1176
  command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
1176
1177
  command.response_class = Google::Apis::LoggingV2::ListLogsResponse
1177
1178
  command.params['parent'] = parent unless parent.nil?
1178
1179
  command.query['pageSize'] = page_size unless page_size.nil?
1179
1180
  command.query['pageToken'] = page_token unless page_token.nil?
1181
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
1180
1182
  command.query['fields'] = fields unless fields.nil?
1181
1183
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1182
1184
  execute_or_queue_command(command, &block)
@@ -1517,11 +1519,7 @@ module Google
1517
1519
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
1518
1520
  # logs that have entries are listed.
1519
1521
  # @param [String] parent
1520
- # Required. The resource name that owns the logs:
1521
- # "projects/[PROJECT_ID]"
1522
- # "organizations/[ORGANIZATION_ID]"
1523
- # "billingAccounts/[BILLING_ACCOUNT_ID]"
1524
- # "folders/[FOLDER_ID]"
1522
+ # Required. To be deprecated in Logging Data Model V2.
1525
1523
  # @param [Fixnum] page_size
1526
1524
  # Optional. The maximum number of results to return from this request. Non-
1527
1525
  # positive values are ignored. The presence of nextPageToken in the response
@@ -1531,6 +1529,10 @@ module Google
1531
1529
  # preceding call to this method. pageToken must be the value of nextPageToken
1532
1530
  # from the previous response. The values of other method parameters should be
1533
1531
  # identical to those in the previous call.
1532
+ # @param [Array<String>, String] resource_names
1533
+ # Required for Logging Data Model V2. The resource name that owns the logs: "
1534
+ # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
1535
+ # BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
1534
1536
  # @param [String] fields
1535
1537
  # Selector specifying which fields to include in a partial response.
1536
1538
  # @param [String] quota_user
@@ -1548,13 +1550,14 @@ module Google
1548
1550
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1549
1551
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1550
1552
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1551
- def list_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1553
+ def list_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
1552
1554
  command = make_simple_command(:get, 'v2/{+parent}/logs', options)
1553
1555
  command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
1554
1556
  command.response_class = Google::Apis::LoggingV2::ListLogsResponse
1555
1557
  command.params['parent'] = parent unless parent.nil?
1556
1558
  command.query['pageSize'] = page_size unless page_size.nil?
1557
1559
  command.query['pageToken'] = page_token unless page_token.nil?
1560
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
1558
1561
  command.query['fields'] = fields unless fields.nil?
1559
1562
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1560
1563
  execute_or_queue_command(command, &block)
@@ -1763,7 +1766,7 @@ module Google
1763
1766
  # Example: "projects/my-project-id/exclusions/my-exclusion-id".
1764
1767
  # @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
1765
1768
  # @param [String] update_mask
1766
- # Required. A nonempty list of fields to change in the existing exclusion. New
1769
+ # Required. A non-empty list of fields to change in the existing exclusion. New
1767
1770
  # values for the fields are taken from the corresponding fields in the
1768
1771
  # LogExclusion included in this request. Fields not mentioned in update_mask are
1769
1772
  # not changed and are ignored in the request.For example, to change the filter
@@ -1841,11 +1844,7 @@ module Google
1841
1844
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
1842
1845
  # logs that have entries are listed.
1843
1846
  # @param [String] parent
1844
- # Required. The resource name that owns the logs:
1845
- # "projects/[PROJECT_ID]"
1846
- # "organizations/[ORGANIZATION_ID]"
1847
- # "billingAccounts/[BILLING_ACCOUNT_ID]"
1848
- # "folders/[FOLDER_ID]"
1847
+ # Required. To be deprecated in Logging Data Model V2.
1849
1848
  # @param [Fixnum] page_size
1850
1849
  # Optional. The maximum number of results to return from this request. Non-
1851
1850
  # positive values are ignored. The presence of nextPageToken in the response
@@ -1855,6 +1854,10 @@ module Google
1855
1854
  # preceding call to this method. pageToken must be the value of nextPageToken
1856
1855
  # from the previous response. The values of other method parameters should be
1857
1856
  # identical to those in the previous call.
1857
+ # @param [Array<String>, String] resource_names
1858
+ # Required for Logging Data Model V2. The resource name that owns the logs: "
1859
+ # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
1860
+ # BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
1858
1861
  # @param [String] fields
1859
1862
  # Selector specifying which fields to include in a partial response.
1860
1863
  # @param [String] quota_user
@@ -1872,13 +1875,14 @@ module Google
1872
1875
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1873
1876
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1874
1877
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1875
- def list_organization_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1878
+ def list_organization_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
1876
1879
  command = make_simple_command(:get, 'v2/{+parent}/logs', options)
1877
1880
  command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
1878
1881
  command.response_class = Google::Apis::LoggingV2::ListLogsResponse
1879
1882
  command.params['parent'] = parent unless parent.nil?
1880
1883
  command.query['pageSize'] = page_size unless page_size.nil?
1881
1884
  command.query['pageToken'] = page_token unless page_token.nil?
1885
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
1882
1886
  command.query['fields'] = fields unless fields.nil?
1883
1887
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1884
1888
  execute_or_queue_command(command, &block)
@@ -2342,7 +2346,7 @@ module Google
2342
2346
  # Example: "projects/my-project-id/exclusions/my-exclusion-id".
2343
2347
  # @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
2344
2348
  # @param [String] update_mask
2345
- # Required. A nonempty list of fields to change in the existing exclusion. New
2349
+ # Required. A non-empty list of fields to change in the existing exclusion. New
2346
2350
  # values for the fields are taken from the corresponding fields in the
2347
2351
  # LogExclusion included in this request. Fields not mentioned in update_mask are
2348
2352
  # not changed and are ignored in the request.For example, to change the filter
@@ -2420,11 +2424,7 @@ module Google
2420
2424
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
2421
2425
  # logs that have entries are listed.
2422
2426
  # @param [String] parent
2423
- # Required. The resource name that owns the logs:
2424
- # "projects/[PROJECT_ID]"
2425
- # "organizations/[ORGANIZATION_ID]"
2426
- # "billingAccounts/[BILLING_ACCOUNT_ID]"
2427
- # "folders/[FOLDER_ID]"
2427
+ # Required. To be deprecated in Logging Data Model V2.
2428
2428
  # @param [Fixnum] page_size
2429
2429
  # Optional. The maximum number of results to return from this request. Non-
2430
2430
  # positive values are ignored. The presence of nextPageToken in the response
@@ -2434,6 +2434,10 @@ module Google
2434
2434
  # preceding call to this method. pageToken must be the value of nextPageToken
2435
2435
  # from the previous response. The values of other method parameters should be
2436
2436
  # identical to those in the previous call.
2437
+ # @param [Array<String>, String] resource_names
2438
+ # Required for Logging Data Model V2. The resource name that owns the logs: "
2439
+ # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
2440
+ # BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
2437
2441
  # @param [String] fields
2438
2442
  # Selector specifying which fields to include in a partial response.
2439
2443
  # @param [String] quota_user
@@ -2451,13 +2455,14 @@ module Google
2451
2455
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2452
2456
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2453
2457
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2454
- def list_project_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2458
+ def list_project_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
2455
2459
  command = make_simple_command(:get, 'v2/{+parent}/logs', options)
2456
2460
  command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
2457
2461
  command.response_class = Google::Apis::LoggingV2::ListLogsResponse
2458
2462
  command.params['parent'] = parent unless parent.nil?
2459
2463
  command.query['pageSize'] = page_size unless page_size.nil?
2460
2464
  command.query['pageToken'] = page_token unless page_token.nil?
2465
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
2461
2466
  command.query['fields'] = fields unless fields.nil?
2462
2467
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2463
2468
  execute_or_queue_command(command, &block)
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190816'
28
+ REVISION = '20190910'
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'
@@ -30,7 +30,7 @@ module Google
30
30
  # @see https://cloud.google.com/monitoring/api/
31
31
  module MonitoringV3
32
32
  VERSION = 'V3'
33
- REVISION = '20190816'
33
+ REVISION = '20190904'
34
34
 
35
35
  # View and manage your data across Google Cloud Platform services
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/speed/docs/insights/v5/get-started
27
27
  module PagespeedonlineV5
28
28
  VERSION = 'V5'
29
- REVISION = '20190821'
29
+ REVISION = '20190906'
30
30
  end
31
31
  end
32
32
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190812'
28
+ REVISION = '20190826'
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'
@@ -518,7 +518,12 @@ module Google
518
518
  # @return [String]
519
519
  attr_accessor :etag
520
520
 
521
- # Deprecated.
521
+ # Specifies the format of the policy.
522
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
523
+ # rejected.
524
+ # Policies with any conditional bindings must specify version 3. Policies
525
+ # without any conditional bindings may specify any valid value or leave the
526
+ # field unset.
522
527
  # Corresponds to the JSON property `version`
523
528
  # @return [Fixnum]
524
529
  attr_accessor :version
@@ -186,9 +186,11 @@ module Google
186
186
  # See the operation documentation for the appropriate value for this field.
187
187
  # @param [Fixnum] options_requested_policy_version
188
188
  # Optional. The policy format version to be returned.
189
- # Acceptable values are 0, 1, and 3.
190
- # If the value is 0, or the field is omitted, policy format version 1 will be
191
- # returned.
189
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
190
+ # rejected.
191
+ # Requests for policies with any conditional bindings must specify version 3.
192
+ # Policies without any conditional bindings may specify any valid value or
193
+ # leave the field unset.
192
194
  # @param [String] fields
193
195
  # Selector specifying which fields to include in a partial response.
194
196
  # @param [String] quota_user
@@ -535,9 +537,11 @@ module Google
535
537
  # See the operation documentation for the appropriate value for this field.
536
538
  # @param [Fixnum] options_requested_policy_version
537
539
  # Optional. The policy format version to be returned.
538
- # Acceptable values are 0, 1, and 3.
539
- # If the value is 0, or the field is omitted, policy format version 1 will be
540
- # returned.
540
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
541
+ # rejected.
542
+ # Requests for policies with any conditional bindings must specify version 3.
543
+ # Policies without any conditional bindings may specify any valid value or
544
+ # leave the field unset.
541
545
  # @param [String] fields
542
546
  # Selector specifying which fields to include in a partial response.
543
547
  # @param [String] quota_user
@@ -984,9 +988,11 @@ module Google
984
988
  # See the operation documentation for the appropriate value for this field.
985
989
  # @param [Fixnum] options_requested_policy_version
986
990
  # Optional. The policy format version to be returned.
987
- # Acceptable values are 0, 1, and 3.
988
- # If the value is 0, or the field is omitted, policy format version 1 will be
989
- # returned.
991
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
992
+ # rejected.
993
+ # Requests for policies with any conditional bindings must specify version 3.
994
+ # Policies without any conditional bindings may specify any valid value or
995
+ # leave the field unset.
990
996
  # @param [String] fields
991
997
  # Selector specifying which fields to include in a partial response.
992
998
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20190808'
28
+ REVISION = '20190826'
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'
@@ -387,7 +387,12 @@ module Google
387
387
  # @return [String]
388
388
  attr_accessor :etag
389
389
 
390
- # Deprecated.
390
+ # Specifies the format of the policy.
391
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
392
+ # rejected.
393
+ # Policies with any conditional bindings must specify version 3. Policies
394
+ # without any conditional bindings may specify any valid value or leave the
395
+ # field unset.
391
396
  # Corresponds to the JSON property `version`
392
397
  # @return [Fixnum]
393
398
  attr_accessor :version
@@ -200,9 +200,11 @@ module Google
200
200
  # See the operation documentation for the appropriate value for this field.
201
201
  # @param [Fixnum] options_requested_policy_version
202
202
  # Optional. The policy format version to be returned.
203
- # Acceptable values are 0, 1, and 3.
204
- # If the value is 0, or the field is omitted, policy format version 1 will be
205
- # returned.
203
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
204
+ # rejected.
205
+ # Requests for policies with any conditional bindings must specify version 3.
206
+ # Policies without any conditional bindings may specify any valid value or
207
+ # leave the field unset.
206
208
  # @param [String] fields
207
209
  # Selector specifying which fields to include in a partial response.
208
210
  # @param [String] quota_user
@@ -563,9 +565,11 @@ module Google
563
565
  # See the operation documentation for the appropriate value for this field.
564
566
  # @param [Fixnum] options_requested_policy_version
565
567
  # Optional. The policy format version to be returned.
566
- # Acceptable values are 0, 1, and 3.
567
- # If the value is 0, or the field is omitted, policy format version 1 will be
568
- # returned.
568
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
569
+ # rejected.
570
+ # Requests for policies with any conditional bindings must specify version 3.
571
+ # Policies without any conditional bindings may specify any valid value or
572
+ # leave the field unset.
569
573
  # @param [String] fields
570
574
  # Selector specifying which fields to include in a partial response.
571
575
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190816'
29
+ REVISION = '20190903'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2631,7 +2631,12 @@ module Google
2631
2631
  # @return [String]
2632
2632
  attr_accessor :etag
2633
2633
 
2634
- # Deprecated.
2634
+ # Specifies the format of the policy.
2635
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2636
+ # rejected.
2637
+ # Policies with any conditional bindings must specify version 3. Policies
2638
+ # without any conditional bindings may specify any valid value or leave the
2639
+ # field unset.
2635
2640
  # Corresponds to the JSON property `version`
2636
2641
  # @return [Fixnum]
2637
2642
  attr_accessor :version
@@ -2980,12 +2985,13 @@ module Google
2980
2985
  # @return [Google::Apis::RunV1alpha1::Container]
2981
2986
  attr_accessor :container
2982
2987
 
2988
+ # (Optional)
2983
2989
  # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
2984
- # requests per container of the Revision. Values are:
2985
- # - `0` thread-safe, the system should manage the max concurrency. This is
2986
- # the default value.
2987
- # - `1` not-thread-safe. Single concurrency
2988
- # - `2-N` thread-safe, max concurrency of N
2990
+ # requests per container instance of the Revision.
2991
+ # Cloud Run fully managed: supported, defaults to 80
2992
+ # Cloud Run on GKE: supported, defaults to 0, which means concurrency
2993
+ # to the application is not limited, and the system decides the
2994
+ # target concurrency for the autoscaler.
2989
2995
  # Corresponds to the JSON property `containerConcurrency`
2990
2996
  # @return [Fixnum]
2991
2997
  attr_accessor :container_concurrency
@@ -4321,6 +4327,19 @@ module Google
4321
4327
  class TriggerFilter
4322
4328
  include Google::Apis::Core::Hashable
4323
4329
 
4330
+ # Cloud Run fully managed: not supported
4331
+ # Cloud Run on GKE: supported
4332
+ # Attributes filters events by exact match on event context attributes.
4333
+ # Each key in the map is compared with the equivalent key in the event
4334
+ # context. An event passes the filter if all values are equal to the
4335
+ # specified values.
4336
+ # Nested context attributes are not supported as keys.
4337
+ # Only string values are supported.
4338
+ # +optional
4339
+ # Corresponds to the JSON property `attributes`
4340
+ # @return [Hash<String,String>]
4341
+ attr_accessor :attributes
4342
+
4324
4343
  # TriggerFilterSourceAndType filters events based on exact matches on the cloud
4325
4344
  # event's type and source attributes. Only exact matches will pass the filter.
4326
4345
  # Corresponds to the JSON property `sourceAndType`
@@ -4333,6 +4352,7 @@ module Google
4333
4352
 
4334
4353
  # Update properties of this object
4335
4354
  def update!(**args)
4355
+ @attributes = args[:attributes] if args.key?(:attributes)
4336
4356
  @source_and_type = args[:source_and_type] if args.key?(:source_and_type)
4337
4357
  end
4338
4358
  end