google-api-client 0.23.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +114 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/MIGRATING.md +1 -5
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +3 -3
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
  15. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  19. data/generated/google/apis/appengine_v1.rb +1 -1
  20. data/generated/google/apis/appengine_v1/classes.rb +34 -1
  21. data/generated/google/apis/appengine_v1/representations.rb +16 -0
  22. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
  25. data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
  26. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -4
  31. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  32. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
  33. data/generated/google/apis/chat_v1.rb +2 -2
  34. data/generated/google/apis/chat_v1/classes.rb +76 -0
  35. data/generated/google/apis/chat_v1/representations.rb +25 -0
  36. data/generated/google/apis/chat_v1/service.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +1 -1
  39. data/generated/google/apis/classroom_v1/service.rb +12 -12
  40. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  41. data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
  42. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  47. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  48. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
  49. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
  50. data/generated/google/apis/cloudiot_v1.rb +1 -1
  51. data/generated/google/apis/cloudiot_v1/service.rb +0 -331
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
  54. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  61. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
  62. data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
  63. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
  65. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
  66. data/generated/google/apis/cloudshell_v1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
  70. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
  71. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  75. data/generated/google/apis/compute_alpha.rb +1 -1
  76. data/generated/google/apis/compute_alpha/classes.rb +49 -18
  77. data/generated/google/apis/compute_alpha/representations.rb +6 -1
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +1114 -103
  80. data/generated/google/apis/compute_beta/representations.rb +431 -0
  81. data/generated/google/apis/compute_beta/service.rb +605 -0
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +95 -1
  84. data/generated/google/apis/compute_v1/representations.rb +33 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +1 -1
  87. data/generated/google/apis/container_v1/service.rb +1 -1
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/container_v1beta1/classes.rb +348 -2
  90. data/generated/google/apis/container_v1beta1/representations.rb +121 -0
  91. data/generated/google/apis/container_v1beta1/service.rb +114 -2
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +147 -0
  94. data/generated/google/apis/content_v2/representations.rb +65 -0
  95. data/generated/google/apis/content_v2/service.rb +81 -1
  96. data/generated/google/apis/content_v2sandbox.rb +1 -1
  97. data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
  98. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
  101. data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +164 -1
  104. data/generated/google/apis/dataproc_v1/representations.rb +70 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  110. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  111. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  113. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  114. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
  117. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
  122. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  123. data/generated/google/apis/dlp_v2.rb +1 -1
  124. data/generated/google/apis/dlp_v2/classes.rb +70 -26
  125. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  126. data/generated/google/apis/dlp_v2/service.rb +78 -17
  127. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  131. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
  134. data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
  135. data/generated/google/apis/genomics_v1.rb +1 -1
  136. data/generated/google/apis/genomics_v1/classes.rb +0 -1
  137. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  138. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  139. data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
  140. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
  143. data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
  144. data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
  145. data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
  146. data/generated/google/apis/indexing_v3.rb +32 -0
  147. data/generated/google/apis/indexing_v3/classes.rb +115 -0
  148. data/generated/google/apis/indexing_v3/representations.rb +72 -0
  149. data/generated/google/apis/indexing_v3/service.rb +122 -0
  150. data/generated/google/apis/jobs_v2.rb +1 -1
  151. data/generated/google/apis/jobs_v2/classes.rb +73 -72
  152. data/generated/google/apis/jobs_v2/representations.rb +0 -1
  153. data/generated/google/apis/jobs_v2/service.rb +8 -7
  154. data/generated/google/apis/language_v1.rb +1 -1
  155. data/generated/google/apis/language_v1beta1.rb +1 -1
  156. data/generated/google/apis/language_v1beta2.rb +1 -1
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +42 -0
  159. data/generated/google/apis/logging_v2/representations.rb +17 -0
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
  162. data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
  163. data/generated/google/apis/manufacturers_v1.rb +1 -1
  164. data/generated/google/apis/ml_v1.rb +1 -1
  165. data/generated/google/apis/ml_v1/classes.rb +17 -0
  166. data/generated/google/apis/ml_v1/representations.rb +1 -0
  167. data/generated/google/apis/ml_v1/service.rb +4 -2
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +91 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  171. data/generated/google/apis/oslogin_v1.rb +1 -1
  172. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  174. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  175. data/generated/google/apis/partners_v2.rb +1 -1
  176. data/generated/google/apis/people_v1.rb +1 -1
  177. data/generated/google/apis/poly_v1.rb +1 -1
  178. data/generated/google/apis/poly_v1/classes.rb +12 -2
  179. data/generated/google/apis/poly_v1/representations.rb +1 -0
  180. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1.rb +1 -1
  182. data/generated/google/apis/pubsub_v1/classes.rb +57 -4
  183. data/generated/google/apis/pubsub_v1/representations.rb +19 -0
  184. data/generated/google/apis/pubsub_v1/service.rb +40 -2
  185. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  186. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  187. data/generated/google/apis/redis_v1beta1.rb +1 -1
  188. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  189. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  190. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  191. data/generated/google/apis/script_v1.rb +4 -1
  192. data/generated/google/apis/searchconsole_v1.rb +1 -1
  193. data/generated/google/apis/servicebroker_v1.rb +1 -1
  194. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  195. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  196. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
  197. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
  198. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  199. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
  202. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  203. data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
  204. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  205. data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
  206. data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
  207. data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
  208. data/generated/google/apis/serviceusage_v1/service.rb +423 -0
  209. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  210. data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
  211. data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
  212. data/generated/google/apis/serviceuser_v1.rb +1 -1
  213. data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
  214. data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
  215. data/generated/google/apis/serviceuser_v1/service.rb +2 -2
  216. data/generated/google/apis/sheets_v4.rb +1 -1
  217. data/generated/google/apis/slides_v1.rb +1 -1
  218. data/generated/google/apis/slides_v1/classes.rb +9 -3
  219. data/generated/google/apis/spanner_v1.rb +1 -1
  220. data/generated/google/apis/speech_v1.rb +2 -2
  221. data/generated/google/apis/speech_v1/service.rb +1 -1
  222. data/generated/google/apis/speech_v1beta1.rb +2 -2
  223. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/testing_v1.rb +1 -1
  226. data/generated/google/apis/testing_v1/classes.rb +1 -1
  227. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  228. data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
  229. data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
  230. data/generated/google/apis/videointelligence_v1.rb +1 -1
  231. data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
  232. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  233. data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +4 -2
  236. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  237. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
  238. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
  240. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  241. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  242. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  243. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  244. data/lib/google/apis/version.rb +1 -1
  245. metadata +15 -10
  246. data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
  247. data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
  248. data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
  249. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  250. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  251. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -856,7 +856,6 @@ module Google
856
856
 
857
857
  property :publish_date_range, as: 'publishDateRange'
858
858
  property :query, as: 'query'
859
- property :tenant_job_only, as: 'tenantJobOnly'
860
859
  end
861
860
  end
862
861
 
@@ -265,7 +265,7 @@ module Google
265
265
  # Optional.
266
266
  # The requisition ID, also known as posting ID, assigned by the company
267
267
  # to the job.
268
- # The number of allowable characters is 225.
268
+ # The maximum number of allowable characters is 225.
269
269
  # @param [Fixnum] page_size
270
270
  # Optional.
271
271
  # The maximum number of jobs to be returned per page of results.
@@ -307,7 +307,7 @@ module Google
307
307
  execute_or_queue_command(command, &block)
308
308
  end
309
309
 
310
- # Deletes a list of Jobs by filter.
310
+ # Deletes a list of Job postings by filter.
311
311
  # @param [Google::Apis::JobsV2::BatchDeleteJobsRequest] batch_delete_jobs_request_object
312
312
  # @param [String] fields
313
313
  # Selector specifying which fields to include in a partial response.
@@ -570,8 +570,8 @@ module Google
570
570
  execute_or_queue_command(command, &block)
571
571
  end
572
572
 
573
- # Updates the specified job.
574
- # Typically, the updated contents become visible in search results within 10
573
+ # Updates specified job.
574
+ # Typically, updated contents become visible in search results within 10
575
575
  # seconds, but it may take up to 5 minutes.
576
576
  # @param [String] name
577
577
  # Required during job update.
@@ -642,9 +642,10 @@ module Google
642
642
  end
643
643
 
644
644
  # Searches for jobs using the provided SearchJobsRequest.
645
- # This call is intended to use for large, periodic tasks such as
646
- # email alert processing, and has different algorithmic adjustments that are
647
- # targeted to passive job seekers.
645
+ # This API call is intended for the use case of targeting passive job
646
+ # seekers (for example, job seekers who have signed up to receive email
647
+ # alerts about potential job opportunities), and has different algorithmic
648
+ # adjustments that are targeted to passive job seekers.
648
649
  # This call constrains the visibility of jobs
649
650
  # present in the database, and only returns jobs the caller has
650
651
  # permission to search against.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/natural-language/
28
28
  module LanguageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180514'
30
+ REVISION = '20180603'
31
31
 
32
32
  # Apply machine learning models to reveal the structure and meaning of text
33
33
  AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/natural-language/
28
28
  module LanguageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20180514'
30
+ REVISION = '20180603'
31
31
 
32
32
  # Apply machine learning models to reveal the structure and meaning of text
33
33
  AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/natural-language/
28
28
  module LanguageV1beta2
29
29
  VERSION = 'V1beta2'
30
- REVISION = '20180514'
30
+ REVISION = '20180603'
31
31
 
32
32
  # Apply machine learning models to reveal the structure and meaning of text
33
33
  AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180531'
28
+ REVISION = '20180625'
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'
@@ -1159,6 +1159,11 @@ module Google
1159
1159
  # @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
1160
1160
  attr_accessor :labels
1161
1161
 
1162
+ # Additional annotations that can be used to guide the usage of a metric.
1163
+ # Corresponds to the JSON property `metadata`
1164
+ # @return [Google::Apis::LoggingV2::MetricDescriptorMetadata]
1165
+ attr_accessor :metadata
1166
+
1162
1167
  # Whether the metric records instantaneous values, changes to a value, etc. Some
1163
1168
  # combinations of metric_kind and value_type might not be supported.
1164
1169
  # Corresponds to the JSON property `metricKind`
@@ -1246,6 +1251,7 @@ module Google
1246
1251
  @description = args[:description] if args.key?(:description)
1247
1252
  @display_name = args[:display_name] if args.key?(:display_name)
1248
1253
  @labels = args[:labels] if args.key?(:labels)
1254
+ @metadata = args[:metadata] if args.key?(:metadata)
1249
1255
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1250
1256
  @name = args[:name] if args.key?(:name)
1251
1257
  @type = args[:type] if args.key?(:type)
@@ -1254,6 +1260,42 @@ module Google
1254
1260
  end
1255
1261
  end
1256
1262
 
1263
+ # Additional annotations that can be used to guide the usage of a metric.
1264
+ class MetricDescriptorMetadata
1265
+ include Google::Apis::Core::Hashable
1266
+
1267
+ # The delay of data points caused by ingestion. Data points older than this age
1268
+ # are guaranteed to be ingested and available to be read, excluding data loss
1269
+ # due to errors.
1270
+ # Corresponds to the JSON property `ingestDelay`
1271
+ # @return [String]
1272
+ attr_accessor :ingest_delay
1273
+
1274
+ # The launch stage of the metric definition.
1275
+ # Corresponds to the JSON property `launchStage`
1276
+ # @return [String]
1277
+ attr_accessor :launch_stage
1278
+
1279
+ # The sampling period of metric data points. For metrics which are written
1280
+ # periodically, consecutive data points are stored at this time interval,
1281
+ # excluding data loss due to errors. Metrics with a higher granularity have a
1282
+ # smaller sampling period.
1283
+ # Corresponds to the JSON property `samplePeriod`
1284
+ # @return [String]
1285
+ attr_accessor :sample_period
1286
+
1287
+ def initialize(**args)
1288
+ update!(**args)
1289
+ end
1290
+
1291
+ # Update properties of this object
1292
+ def update!(**args)
1293
+ @ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
1294
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1295
+ @sample_period = args[:sample_period] if args.key?(:sample_period)
1296
+ end
1297
+ end
1298
+
1257
1299
  # An object representing a resource that can be used for monitoring, logging,
1258
1300
  # billing, or other purposes. Examples include virtual machine instances,
1259
1301
  # databases, and storage devices such as disks. The type field identifies a
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class MetricDescriptorMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class MonitoredResource
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -444,6 +450,8 @@ module Google
444
450
  property :display_name, as: 'displayName'
445
451
  collection :labels, as: 'labels', class: Google::Apis::LoggingV2::LabelDescriptor, decorator: Google::Apis::LoggingV2::LabelDescriptor::Representation
446
452
 
453
+ property :metadata, as: 'metadata', class: Google::Apis::LoggingV2::MetricDescriptorMetadata, decorator: Google::Apis::LoggingV2::MetricDescriptorMetadata::Representation
454
+
447
455
  property :metric_kind, as: 'metricKind'
448
456
  property :name, as: 'name'
449
457
  property :type, as: 'type'
@@ -452,6 +460,15 @@ module Google
452
460
  end
453
461
  end
454
462
 
463
+ class MetricDescriptorMetadata
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :ingest_delay, as: 'ingestDelay'
467
+ property :launch_stage, as: 'launchStage'
468
+ property :sample_period, as: 'samplePeriod'
469
+ end
470
+ end
471
+
455
472
  class MonitoredResource
456
473
  # @private
457
474
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2beta1
27
27
  VERSION = 'V2beta1'
28
- REVISION = '20180424'
28
+ REVISION = '20180625'
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'
@@ -1082,6 +1082,11 @@ module Google
1082
1082
  # @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
1083
1083
  attr_accessor :labels
1084
1084
 
1085
+ # Additional annotations that can be used to guide the usage of a metric.
1086
+ # Corresponds to the JSON property `metadata`
1087
+ # @return [Google::Apis::LoggingV2beta1::MetricDescriptorMetadata]
1088
+ attr_accessor :metadata
1089
+
1085
1090
  # Whether the metric records instantaneous values, changes to a value, etc. Some
1086
1091
  # combinations of metric_kind and value_type might not be supported.
1087
1092
  # Corresponds to the JSON property `metricKind`
@@ -1169,6 +1174,7 @@ module Google
1169
1174
  @description = args[:description] if args.key?(:description)
1170
1175
  @display_name = args[:display_name] if args.key?(:display_name)
1171
1176
  @labels = args[:labels] if args.key?(:labels)
1177
+ @metadata = args[:metadata] if args.key?(:metadata)
1172
1178
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1173
1179
  @name = args[:name] if args.key?(:name)
1174
1180
  @type = args[:type] if args.key?(:type)
@@ -1177,6 +1183,42 @@ module Google
1177
1183
  end
1178
1184
  end
1179
1185
 
1186
+ # Additional annotations that can be used to guide the usage of a metric.
1187
+ class MetricDescriptorMetadata
1188
+ include Google::Apis::Core::Hashable
1189
+
1190
+ # The delay of data points caused by ingestion. Data points older than this age
1191
+ # are guaranteed to be ingested and available to be read, excluding data loss
1192
+ # due to errors.
1193
+ # Corresponds to the JSON property `ingestDelay`
1194
+ # @return [String]
1195
+ attr_accessor :ingest_delay
1196
+
1197
+ # The launch stage of the metric definition.
1198
+ # Corresponds to the JSON property `launchStage`
1199
+ # @return [String]
1200
+ attr_accessor :launch_stage
1201
+
1202
+ # The sampling period of metric data points. For metrics which are written
1203
+ # periodically, consecutive data points are stored at this time interval,
1204
+ # excluding data loss due to errors. Metrics with a higher granularity have a
1205
+ # smaller sampling period.
1206
+ # Corresponds to the JSON property `samplePeriod`
1207
+ # @return [String]
1208
+ attr_accessor :sample_period
1209
+
1210
+ def initialize(**args)
1211
+ update!(**args)
1212
+ end
1213
+
1214
+ # Update properties of this object
1215
+ def update!(**args)
1216
+ @ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
1217
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1218
+ @sample_period = args[:sample_period] if args.key?(:sample_period)
1219
+ end
1220
+ end
1221
+
1180
1222
  # An object representing a resource that can be used for monitoring, logging,
1181
1223
  # billing, or other purposes. Examples include virtual machine instances,
1182
1224
  # databases, and storage devices such as disks. The type field identifies a
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class MetricDescriptorMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class MonitoredResource
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -413,6 +419,8 @@ module Google
413
419
  property :display_name, as: 'displayName'
414
420
  collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation
415
421
 
422
+ property :metadata, as: 'metadata', class: Google::Apis::LoggingV2beta1::MetricDescriptorMetadata, decorator: Google::Apis::LoggingV2beta1::MetricDescriptorMetadata::Representation
423
+
416
424
  property :metric_kind, as: 'metricKind'
417
425
  property :name, as: 'name'
418
426
  property :type, as: 'type'
@@ -421,6 +429,15 @@ module Google
421
429
  end
422
430
  end
423
431
 
432
+ class MetricDescriptorMetadata
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :ingest_delay, as: 'ingestDelay'
436
+ property :launch_stage, as: 'launchStage'
437
+ property :sample_period, as: 'samplePeriod'
438
+ end
439
+ end
440
+
424
441
  class MonitoredResource
425
442
  # @private
426
443
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/manufacturers/
26
26
  module ManufacturersV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180404'
28
+ REVISION = '20180605'
29
29
 
30
30
  # Manage your product listings for Google Manufacturer Center
31
31
  AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180521'
28
+ REVISION = '20180619'
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'
@@ -1311,6 +1311,22 @@ module Google
1311
1311
  # @return [String]
1312
1312
  attr_accessor :last_use_time
1313
1313
 
1314
+ # Optional. The type of machine on which to serve the model. Currently only
1315
+ # applies to online prediction service.
1316
+ # Naming design doc for CMLE online prediction Machine Types:
1317
+ # https://docs.google.com/document/d/
1318
+ # 1V3tko3VJ64PcpsmNxCXiPoPGccL9_K8gX1YjC8UofzQ/edit#heading=h.7lvy6owfx4eh.
1319
+ # The following are currently supported and will be deprecated in
1320
+ # Beta release.
1321
+ # mls1-highmem-1 1 core 2 Gb RAM
1322
+ # mls1-highcpu-4 4 core 2 Gb RAM
1323
+ # The following are available in Beta:
1324
+ # mls1-c1-m2 1 core 2 Gb RAM Default
1325
+ # mls1-c4-m2 4 core 2 Gb RAM
1326
+ # Corresponds to the JSON property `machineType`
1327
+ # @return [String]
1328
+ attr_accessor :machine_type
1329
+
1314
1330
  # Options for manually scaling a model.
1315
1331
  # Corresponds to the JSON property `manualScaling`
1316
1332
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling]
@@ -1354,6 +1370,7 @@ module Google
1354
1370
  @framework = args[:framework] if args.key?(:framework)
1355
1371
  @is_default = args[:is_default] if args.key?(:is_default)
1356
1372
  @last_use_time = args[:last_use_time] if args.key?(:last_use_time)
1373
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1357
1374
  @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
1358
1375
  @name = args[:name] if args.key?(:name)
1359
1376
  @python_version = args[:python_version] if args.key?(:python_version)
@@ -524,6 +524,7 @@ module Google
524
524
  property :framework, as: 'framework'
525
525
  property :is_default, as: 'isDefault'
526
526
  property :last_use_time, as: 'lastUseTime'
527
+ property :machine_type, as: 'machineType'
527
528
  property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation
528
529
 
529
530
  property :name, as: 'name'
@@ -917,7 +917,8 @@ module Google
917
917
  end
918
918
 
919
919
  # Updates the specified Version resource.
920
- # Currently the only supported field to update is `description`.
920
+ # Currently the only update-able fields are `description` and
921
+ # `autoScaling.minNodes`.
921
922
  # @param [String] name
922
923
  # Required. The name of the model.
923
924
  # @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
@@ -930,7 +931,8 @@ module Google
930
931
  # `
931
932
  # "description": "foo"
932
933
  # `
933
- # Currently the only supported update mask is`description`.
934
+ # Currently the only supported update mask fields are `description` and
935
+ # `autoScaling.minNodes`.
934
936
  # @param [String] fields
935
937
  # Selector specifying which fields to include in a partial response.
936
938
  # @param [String] quota_user
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/monitoring/api/
28
28
  module MonitoringV3
29
29
  VERSION = 'V3'
30
- REVISION = '20180529'
30
+ REVISION = '20180626'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -711,8 +711,7 @@ module Google
711
711
  # @return [Fixnum]
712
712
  attr_accessor :count
713
713
 
714
- # Must be in increasing order of |value| field. The current requirement enforced
715
- # by the backend is that at most one Exemplar will fall into any bucket.
714
+ # Must be in increasing order of value field.
716
715
  # Corresponds to the JSON property `exemplars`
717
716
  # @return [Array<Google::Apis::MonitoringV3::Exemplar>]
718
717
  attr_accessor :exemplars
@@ -1692,6 +1691,11 @@ module Google
1692
1691
  # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
1693
1692
  attr_accessor :labels
1694
1693
 
1694
+ # Additional annotations that can be used to guide the usage of a metric.
1695
+ # Corresponds to the JSON property `metadata`
1696
+ # @return [Google::Apis::MonitoringV3::MetricDescriptorMetadata]
1697
+ attr_accessor :metadata
1698
+
1695
1699
  # Whether the metric records instantaneous values, changes to a value, etc. Some
1696
1700
  # combinations of metric_kind and value_type might not be supported.
1697
1701
  # Corresponds to the JSON property `metricKind`
@@ -1712,11 +1716,54 @@ module Google
1712
1716
  # @return [String]
1713
1717
  attr_accessor :type
1714
1718
 
1715
- # Optional. The unit in which the metric value is reported. For example, kBy/s
1716
- # means kilobytes/sec, and 1 is the dimensionless unit. The supported units are
1717
- # a subset of The Unified Code for Units of Measure standard (http://
1718
- # unitsofmeasure.org/ucum.html).<br><br> This field is part of the metric's
1719
- # documentation, but it is ignored by Stackdriver.
1719
+ # The unit in which the metric value is reported. It is only applicable if the
1720
+ # value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset
1721
+ # of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html)
1722
+ # standard:Basic units (UNIT)
1723
+ # bit bit
1724
+ # By byte
1725
+ # s second
1726
+ # min minute
1727
+ # h hour
1728
+ # d dayPrefixes (PREFIX)
1729
+ # k kilo (10**3)
1730
+ # M mega (10**6)
1731
+ # G giga (10**9)
1732
+ # T tera (10**12)
1733
+ # P peta (10**15)
1734
+ # E exa (10**18)
1735
+ # Z zetta (10**21)
1736
+ # Y yotta (10**24)
1737
+ # m milli (10**-3)
1738
+ # u micro (10**-6)
1739
+ # n nano (10**-9)
1740
+ # p pico (10**-12)
1741
+ # f femto (10**-15)
1742
+ # a atto (10**-18)
1743
+ # z zepto (10**-21)
1744
+ # y yocto (10**-24)
1745
+ # Ki kibi (2**10)
1746
+ # Mi mebi (2**20)
1747
+ # Gi gibi (2**30)
1748
+ # Ti tebi (2**40)GrammarThe grammar also includes these connectors:
1749
+ # / division (as an infix operator, e.g. 1/s).
1750
+ # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
1751
+ # as follows:
1752
+ # Expression = Component ` "." Component ` ` "/" Component ` ;
1753
+ # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
1754
+ # | Annotation
1755
+ # | "1"
1756
+ # ;
1757
+ # Annotation = "`" NAME "`" ;
1758
+ # Notes:
1759
+ # Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
1760
+ # it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
1761
+ # s.
1762
+ # NAME is a sequence of non-blank printable ASCII characters not containing '`'
1763
+ # or '`'.
1764
+ # 1 represents dimensionless value 1, such as in 1/s.
1765
+ # % represents dimensionless value 1/100, and annotates values giving a
1766
+ # percentage.
1720
1767
  # Corresponds to the JSON property `unit`
1721
1768
  # @return [String]
1722
1769
  attr_accessor :unit
@@ -1736,6 +1783,7 @@ module Google
1736
1783
  @description = args[:description] if args.key?(:description)
1737
1784
  @display_name = args[:display_name] if args.key?(:display_name)
1738
1785
  @labels = args[:labels] if args.key?(:labels)
1786
+ @metadata = args[:metadata] if args.key?(:metadata)
1739
1787
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1740
1788
  @name = args[:name] if args.key?(:name)
1741
1789
  @type = args[:type] if args.key?(:type)
@@ -1744,6 +1792,42 @@ module Google
1744
1792
  end
1745
1793
  end
1746
1794
 
1795
+ # Additional annotations that can be used to guide the usage of a metric.
1796
+ class MetricDescriptorMetadata
1797
+ include Google::Apis::Core::Hashable
1798
+
1799
+ # The delay of data points caused by ingestion. Data points older than this age
1800
+ # are guaranteed to be ingested and available to be read, excluding data loss
1801
+ # due to errors.
1802
+ # Corresponds to the JSON property `ingestDelay`
1803
+ # @return [String]
1804
+ attr_accessor :ingest_delay
1805
+
1806
+ # The launch stage of the metric definition.
1807
+ # Corresponds to the JSON property `launchStage`
1808
+ # @return [String]
1809
+ attr_accessor :launch_stage
1810
+
1811
+ # The sampling period of metric data points. For metrics which are written
1812
+ # periodically, consecutive data points are stored at this time interval,
1813
+ # excluding data loss due to errors. Metrics with a higher granularity have a
1814
+ # smaller sampling period.
1815
+ # Corresponds to the JSON property `samplePeriod`
1816
+ # @return [String]
1817
+ attr_accessor :sample_period
1818
+
1819
+ def initialize(**args)
1820
+ update!(**args)
1821
+ end
1822
+
1823
+ # Update properties of this object
1824
+ def update!(**args)
1825
+ @ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
1826
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1827
+ @sample_period = args[:sample_period] if args.key?(:sample_period)
1828
+ end
1829
+ end
1830
+
1747
1831
  # A condition type that compares a collection of time series against a threshold.
1748
1832
  class MetricThreshold
1749
1833
  include Google::Apis::Core::Hashable