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
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/video-intelligence/docs/
26
26
  module VideointelligenceV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20180530'
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'
@@ -239,24 +239,24 @@ module Google
239
239
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
240
240
  include Google::Apis::Core::Hashable
241
241
 
242
- # Output only. Video file location in
242
+ # Video file location in
243
243
  # [Google Cloud Storage](https://cloud.google.com/storage/).
244
244
  # Corresponds to the JSON property `inputUri`
245
245
  # @return [String]
246
246
  attr_accessor :input_uri
247
247
 
248
- # Output only. Approximate percentage processed thus far. Guaranteed to be
248
+ # Approximate percentage processed thus far. Guaranteed to be
249
249
  # 100 when fully processed.
250
250
  # Corresponds to the JSON property `progressPercent`
251
251
  # @return [Fixnum]
252
252
  attr_accessor :progress_percent
253
253
 
254
- # Output only. Time when the request was received.
254
+ # Time when the request was received.
255
255
  # Corresponds to the JSON property `startTime`
256
256
  # @return [String]
257
257
  attr_accessor :start_time
258
258
 
259
- # Output only. Time of the most recent update.
259
+ # Time of the most recent update.
260
260
  # Corresponds to the JSON property `updateTime`
261
261
  # @return [String]
262
262
  attr_accessor :update_time
@@ -334,7 +334,7 @@ module Google
334
334
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
335
335
  attr_accessor :frame_label_annotations
336
336
 
337
- # Output only. Video file location in
337
+ # Video file location in
338
338
  # [Google Cloud Storage](https://cloud.google.com/storage/).
339
339
  # Corresponds to the JSON property `inputUri`
340
340
  # @return [String]
@@ -765,24 +765,24 @@ module Google
765
765
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
766
766
  include Google::Apis::Core::Hashable
767
767
 
768
- # Output only. Video file location in
768
+ # Video file location in
769
769
  # [Google Cloud Storage](https://cloud.google.com/storage/).
770
770
  # Corresponds to the JSON property `inputUri`
771
771
  # @return [String]
772
772
  attr_accessor :input_uri
773
773
 
774
- # Output only. Approximate percentage processed thus far. Guaranteed to be
774
+ # Approximate percentage processed thus far. Guaranteed to be
775
775
  # 100 when fully processed.
776
776
  # Corresponds to the JSON property `progressPercent`
777
777
  # @return [Fixnum]
778
778
  attr_accessor :progress_percent
779
779
 
780
- # Output only. Time when the request was received.
780
+ # Time when the request was received.
781
781
  # Corresponds to the JSON property `startTime`
782
782
  # @return [String]
783
783
  attr_accessor :start_time
784
784
 
785
- # Output only. Time of the most recent update.
785
+ # Time of the most recent update.
786
786
  # Corresponds to the JSON property `updateTime`
787
787
  # @return [String]
788
788
  attr_accessor :update_time
@@ -860,7 +860,7 @@ module Google
860
860
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
861
861
  attr_accessor :frame_label_annotations
862
862
 
863
- # Output only. Video file location in
863
+ # Video file location in
864
864
  # [Google Cloud Storage](https://cloud.google.com/storage/).
865
865
  # Corresponds to the JSON property `inputUri`
866
866
  # @return [String]
@@ -913,9 +913,9 @@ module Google
913
913
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig]
914
914
  attr_accessor :label_detection_config
915
915
 
916
- # Non-streaming request only. Video segments to annotate. The segments may
917
- # overlap and are not required to be contiguous or span the whole video. If
918
- # unspecified, each video is treated as a single segment.
916
+ # Video segments to annotate. The segments may overlap and are not required
917
+ # to be contiguous or span the whole video. If unspecified, each video is
918
+ # treated as a single segment.
919
919
  # Corresponds to the JSON property `segments`
920
920
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]
921
921
  attr_accessor :segments
@@ -1182,7 +1182,7 @@ module Google
1182
1182
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
1183
1183
  include Google::Apis::Core::Hashable
1184
1184
 
1185
- # Output only. The confidence estimate between 0.0 and 1.0. A higher number
1185
+ # The confidence estimate between 0.0 and 1.0. A higher number
1186
1186
  # indicates an estimated greater likelihood that the recognized words are
1187
1187
  # correct. This field is typically provided only for the top hypothesis, and
1188
1188
  # only for `is_final=true` results. Clients should not rely on the
@@ -1192,12 +1192,12 @@ module Google
1192
1192
  # @return [Float]
1193
1193
  attr_accessor :confidence
1194
1194
 
1195
- # Output only. Transcript text representing the words that the user spoke.
1195
+ # Transcript text representing the words that the user spoke.
1196
1196
  # Corresponds to the JSON property `transcript`
1197
1197
  # @return [String]
1198
1198
  attr_accessor :transcript
1199
1199
 
1200
- # Output only. A list of word-specific information for each recognized word.
1200
+ # A list of word-specific information for each recognized word.
1201
1201
  # Corresponds to the JSON property `words`
1202
1202
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
1203
1203
  attr_accessor :words
@@ -1218,10 +1218,10 @@ module Google
1218
1218
  class GoogleCloudVideointelligenceV1p1beta1SpeechTranscription
1219
1219
  include Google::Apis::Core::Hashable
1220
1220
 
1221
- # Output only. May contain one or more recognition hypotheses (up to the
1222
- # maximum specified in `max_alternatives`).
1223
- # These alternatives are ordered in terms of accuracy, with the top (first)
1224
- # alternative being the most probable, as ranked by the recognizer.
1221
+ # May contain one or more recognition hypotheses (up to the maximum specified
1222
+ # in `max_alternatives`). These alternatives are ordered in terms of
1223
+ # accuracy, with the top (first) alternative being the most probable, as
1224
+ # ranked by the recognizer.
1225
1225
  # Corresponds to the JSON property `alternatives`
1226
1226
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
1227
1227
  attr_accessor :alternatives
@@ -1240,24 +1240,24 @@ module Google
1240
1240
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
1241
1241
  include Google::Apis::Core::Hashable
1242
1242
 
1243
- # Output only. Video file location in
1243
+ # Video file location in
1244
1244
  # [Google Cloud Storage](https://cloud.google.com/storage/).
1245
1245
  # Corresponds to the JSON property `inputUri`
1246
1246
  # @return [String]
1247
1247
  attr_accessor :input_uri
1248
1248
 
1249
- # Output only. Approximate percentage processed thus far. Guaranteed to be
1249
+ # Approximate percentage processed thus far. Guaranteed to be
1250
1250
  # 100 when fully processed.
1251
1251
  # Corresponds to the JSON property `progressPercent`
1252
1252
  # @return [Fixnum]
1253
1253
  attr_accessor :progress_percent
1254
1254
 
1255
- # Output only. Time when the request was received.
1255
+ # Time when the request was received.
1256
1256
  # Corresponds to the JSON property `startTime`
1257
1257
  # @return [String]
1258
1258
  attr_accessor :start_time
1259
1259
 
1260
- # Output only. Time of the most recent update.
1260
+ # Time of the most recent update.
1261
1261
  # Corresponds to the JSON property `updateTime`
1262
1262
  # @return [String]
1263
1263
  attr_accessor :update_time
@@ -1335,7 +1335,7 @@ module Google
1335
1335
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
1336
1336
  attr_accessor :frame_label_annotations
1337
1337
 
1338
- # Output only. Video file location in
1338
+ # Video file location in
1339
1339
  # [Google Cloud Storage](https://cloud.google.com/storage/).
1340
1340
  # Corresponds to the JSON property `inputUri`
1341
1341
  # @return [String]
@@ -1413,7 +1413,7 @@ module Google
1413
1413
  class GoogleCloudVideointelligenceV1p1beta1WordInfo
1414
1414
  include Google::Apis::Core::Hashable
1415
1415
 
1416
- # Output only. Time offset relative to the beginning of the audio, and
1416
+ # Time offset relative to the beginning of the audio, and
1417
1417
  # corresponding to the end of the spoken word. This field is only set if
1418
1418
  # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
1419
1419
  # experimental feature and the accuracy of the time offset can vary.
@@ -1421,7 +1421,7 @@ module Google
1421
1421
  # @return [String]
1422
1422
  attr_accessor :end_time
1423
1423
 
1424
- # Output only. Time offset relative to the beginning of the audio, and
1424
+ # Time offset relative to the beginning of the audio, and
1425
1425
  # corresponding to the start of the spoken word. This field is only set if
1426
1426
  # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
1427
1427
  # experimental feature and the accuracy of the time offset can vary.
@@ -1429,7 +1429,7 @@ module Google
1429
1429
  # @return [String]
1430
1430
  attr_accessor :start_time
1431
1431
 
1432
- # Output only. The word corresponding to this set of information.
1432
+ # The word corresponding to this set of information.
1433
1433
  # Corresponds to the JSON property `word`
1434
1434
  # @return [String]
1435
1435
  attr_accessor :word
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180515'
30
+ REVISION = '20180609'
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'
@@ -2438,7 +2438,8 @@ module Google
2438
2438
  class GoogleCloudVisionV1p2beta1WebDetection
2439
2439
  include Google::Apis::Core::Hashable
2440
2440
 
2441
- # Best guess text labels for the request image.
2441
+ # The service's best guess as to the topic of the request image.
2442
+ # Inferred from similar images on the open web.
2442
2443
  # Corresponds to the JSON property `bestGuessLabels`
2443
2444
  # @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebLabel>]
2444
2445
  attr_accessor :best_guess_labels
@@ -3747,7 +3748,8 @@ module Google
3747
3748
  class WebDetection
3748
3749
  include Google::Apis::Core::Hashable
3749
3750
 
3750
- # Best guess text labels for the request image.
3751
+ # The service's best guess as to the topic of the request image.
3752
+ # Inferred from similar images on the open web.
3751
3753
  # Corresponds to the JSON property `bestGuessLabels`
3752
3754
  # @return [Array<Google::Apis::VisionV1::WebLabel>]
3753
3755
  attr_accessor :best_guess_labels
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p1beta1
29
29
  VERSION = 'V1p1beta1'
30
- REVISION = '20180515'
30
+ REVISION = '20180609'
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'
@@ -2424,7 +2424,8 @@ module Google
2424
2424
  class GoogleCloudVisionV1p1beta1WebDetection
2425
2425
  include Google::Apis::Core::Hashable
2426
2426
 
2427
- # Best guess text labels for the request image.
2427
+ # The service's best guess as to the topic of the request image.
2428
+ # Inferred from similar images on the open web.
2428
2429
  # Corresponds to the JSON property `bestGuessLabels`
2429
2430
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebLabel>]
2430
2431
  attr_accessor :best_guess_labels
@@ -3955,7 +3956,8 @@ module Google
3955
3956
  class GoogleCloudVisionV1p2beta1WebDetection
3956
3957
  include Google::Apis::Core::Hashable
3957
3958
 
3958
- # Best guess text labels for the request image.
3959
+ # The service's best guess as to the topic of the request image.
3960
+ # Inferred from similar images on the open web.
3959
3961
  # Corresponds to the JSON property `bestGuessLabels`
3960
3962
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebLabel>]
3961
3963
  attr_accessor :best_guess_labels
@@ -5092,7 +5094,8 @@ module Google
5092
5094
  class WebDetection
5093
5095
  include Google::Apis::Core::Hashable
5094
5096
 
5095
- # Best guess text labels for the request image.
5097
+ # The service's best guess as to the topic of the request image.
5098
+ # Inferred from similar images on the open web.
5096
5099
  # Corresponds to the JSON property `bestGuessLabels`
5097
5100
  # @return [Array<Google::Apis::VisionV1p1beta1::WebLabel>]
5098
5101
  attr_accessor :best_guess_labels
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '20180515'
30
+ REVISION = '20180609'
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'
@@ -2553,7 +2553,8 @@ module Google
2553
2553
  class GoogleCloudVisionV1p2beta1WebDetection
2554
2554
  include Google::Apis::Core::Hashable
2555
2555
 
2556
- # Best guess text labels for the request image.
2556
+ # The service's best guess as to the topic of the request image.
2557
+ # Inferred from similar images on the open web.
2557
2558
  # Corresponds to the JSON property `bestGuessLabels`
2558
2559
  # @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1WebDetectionWebLabel>]
2559
2560
  attr_accessor :best_guess_labels
@@ -3710,7 +3711,8 @@ module Google
3710
3711
  class WebDetection
3711
3712
  include Google::Apis::Core::Hashable
3712
3713
 
3713
- # Best guess text labels for the request image.
3714
+ # The service's best guess as to the topic of the request image.
3715
+ # Inferred from similar images on the open web.
3714
3716
  # Corresponds to the JSON property `bestGuessLabels`
3715
3717
  # @return [Array<Google::Apis::VisionV1p2beta1::WebLabel>]
3716
3718
  attr_accessor :best_guess_labels
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/security-scanner/
26
26
  module WebsecurityscannerV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20180423'
28
+ REVISION = '20180601'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/analytics
26
26
  module YoutubeAnalyticsV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180514'
28
+ REVISION = '20180601'
29
29
 
30
30
  # Manage your YouTube account
31
31
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180518'
28
+ REVISION = ''
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/youtube/reporting/v1/reports/
27
27
  module YoutubereportingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180325'
29
+ REVISION = '20180601'
30
30
 
31
31
  # View monetary and non-monetary YouTube Analytics reports for your YouTube content
32
32
  AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.23.0'
18
+ VERSION = '0.23.1'
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-06-04 00:00:00.000000000 Z
14
+ date: 2018-07-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -170,6 +170,7 @@ files:
170
170
  - ".travis.yml"
171
171
  - ".yardopts"
172
172
  - CHANGELOG.md
173
+ - CODE_OF_CONDUCT.md
173
174
  - CONTRIBUTING.md
174
175
  - Gemfile
175
176
  - LICENSE
@@ -614,10 +615,18 @@ files:
614
615
  - generated/google/apis/iam_v1/classes.rb
615
616
  - generated/google/apis/iam_v1/representations.rb
616
617
  - generated/google/apis/iam_v1/service.rb
618
+ - generated/google/apis/iamcredentials_v1.rb
619
+ - generated/google/apis/iamcredentials_v1/classes.rb
620
+ - generated/google/apis/iamcredentials_v1/representations.rb
621
+ - generated/google/apis/iamcredentials_v1/service.rb
617
622
  - generated/google/apis/identitytoolkit_v3.rb
618
623
  - generated/google/apis/identitytoolkit_v3/classes.rb
619
624
  - generated/google/apis/identitytoolkit_v3/representations.rb
620
625
  - generated/google/apis/identitytoolkit_v3/service.rb
626
+ - generated/google/apis/indexing_v3.rb
627
+ - generated/google/apis/indexing_v3/classes.rb
628
+ - generated/google/apis/indexing_v3/representations.rb
629
+ - generated/google/apis/indexing_v3/service.rb
621
630
  - generated/google/apis/jobs_v2.rb
622
631
  - generated/google/apis/jobs_v2/classes.rb
623
632
  - generated/google/apis/jobs_v2/representations.rb
@@ -750,10 +759,6 @@ files:
750
759
  - generated/google/apis/replicapool_v1beta1/classes.rb
751
760
  - generated/google/apis/replicapool_v1beta1/representations.rb
752
761
  - generated/google/apis/replicapool_v1beta1/service.rb
753
- - generated/google/apis/replicapool_v1beta2.rb
754
- - generated/google/apis/replicapool_v1beta2/classes.rb
755
- - generated/google/apis/replicapool_v1beta2/representations.rb
756
- - generated/google/apis/replicapool_v1beta2/service.rb
757
762
  - generated/google/apis/replicapoolupdater_v1beta1.rb
758
763
  - generated/google/apis/replicapoolupdater_v1beta1/classes.rb
759
764
  - generated/google/apis/replicapoolupdater_v1beta1/representations.rb
@@ -806,6 +811,10 @@ files:
806
811
  - generated/google/apis/servicemanagement_v1/classes.rb
807
812
  - generated/google/apis/servicemanagement_v1/representations.rb
808
813
  - generated/google/apis/servicemanagement_v1/service.rb
814
+ - generated/google/apis/serviceusage_v1.rb
815
+ - generated/google/apis/serviceusage_v1/classes.rb
816
+ - generated/google/apis/serviceusage_v1/representations.rb
817
+ - generated/google/apis/serviceusage_v1/service.rb
809
818
  - generated/google/apis/serviceusage_v1beta1.rb
810
819
  - generated/google/apis/serviceusage_v1beta1/classes.rb
811
820
  - generated/google/apis/serviceusage_v1beta1/representations.rb
@@ -846,10 +855,6 @@ files:
846
855
  - generated/google/apis/speech_v1beta1/classes.rb
847
856
  - generated/google/apis/speech_v1beta1/representations.rb
848
857
  - generated/google/apis/speech_v1beta1/service.rb
849
- - generated/google/apis/sqladmin_v1beta3.rb
850
- - generated/google/apis/sqladmin_v1beta3/classes.rb
851
- - generated/google/apis/sqladmin_v1beta3/representations.rb
852
- - generated/google/apis/sqladmin_v1beta3/service.rb
853
858
  - generated/google/apis/sqladmin_v1beta4.rb
854
859
  - generated/google/apis/sqladmin_v1beta4/classes.rb
855
860
  - generated/google/apis/sqladmin_v1beta4/representations.rb
@@ -1,633 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module ReplicapoolV1beta2
24
-
25
- # An Instance Group Manager resource.
26
- class InstanceGroupManager
27
- include Google::Apis::Core::Hashable
28
-
29
- # The autohealing policy for this managed instance group. You can specify only
30
- # one value.
31
- # Corresponds to the JSON property `autoHealingPolicies`
32
- # @return [Array<Google::Apis::ReplicapoolV1beta2::ReplicaPoolAutoHealingPolicy>]
33
- attr_accessor :auto_healing_policies
34
-
35
- # The base instance name to use for instances in this group. The value must be a
36
- # valid RFC1035 name. Supported characters are lowercase letters, numbers, and
37
- # hyphens (-). Instances are named by appending a hyphen and a random four-
38
- # character string to the base instance name.
39
- # Corresponds to the JSON property `baseInstanceName`
40
- # @return [String]
41
- attr_accessor :base_instance_name
42
-
43
- # [Output only] The time the instance group manager was created, in RFC3339 text
44
- # format.
45
- # Corresponds to the JSON property `creationTimestamp`
46
- # @return [String]
47
- attr_accessor :creation_timestamp
48
-
49
- # [Output only] The number of instances that currently exist and are a part of
50
- # this group. This includes instances that are starting but are not yet RUNNING,
51
- # and instances that are in the process of being deleted or abandoned.
52
- # Corresponds to the JSON property `currentSize`
53
- # @return [Fixnum]
54
- attr_accessor :current_size
55
-
56
- # An optional textual description of the instance group manager.
57
- # Corresponds to the JSON property `description`
58
- # @return [String]
59
- attr_accessor :description
60
-
61
- # [Output only] Fingerprint of the instance group manager. This field is used
62
- # for optimistic locking. An up-to-date fingerprint must be provided in order to
63
- # modify the Instance Group Manager resource.
64
- # Corresponds to the JSON property `fingerprint`
65
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
66
- # @return [String]
67
- attr_accessor :fingerprint
68
-
69
- # [Output only] The full URL of the instance group created by the manager. This
70
- # group contains all of the instances being managed, and cannot contain non-
71
- # managed instances.
72
- # Corresponds to the JSON property `group`
73
- # @return [String]
74
- attr_accessor :group
75
-
76
- # [Output only] A server-assigned unique identifier for the resource.
77
- # Corresponds to the JSON property `id`
78
- # @return [Fixnum]
79
- attr_accessor :id
80
-
81
- # The full URL to an instance template from which all new instances will be
82
- # created.
83
- # Corresponds to the JSON property `instanceTemplate`
84
- # @return [String]
85
- attr_accessor :instance_template
86
-
87
- # [Output only] The resource type. Always replicapool#instanceGroupManager.
88
- # Corresponds to the JSON property `kind`
89
- # @return [String]
90
- attr_accessor :kind
91
-
92
- # The name of the instance group manager. Must be 1-63 characters long and
93
- # comply with RFC1035. Supported characters include lowercase letters, numbers,
94
- # and hyphens.
95
- # Corresponds to the JSON property `name`
96
- # @return [String]
97
- attr_accessor :name
98
-
99
- # [Output only] The fully qualified URL for this resource.
100
- # Corresponds to the JSON property `selfLink`
101
- # @return [String]
102
- attr_accessor :self_link
103
-
104
- # The full URL of all target pools to which new instances in the group are added.
105
- # Updating the target pool values does not affect existing instances.
106
- # Corresponds to the JSON property `targetPools`
107
- # @return [Array<String>]
108
- attr_accessor :target_pools
109
-
110
- # [Output only] The number of instances that the manager is attempting to
111
- # maintain. Deleting or abandoning instances affects this number, as does
112
- # resizing the group.
113
- # Corresponds to the JSON property `targetSize`
114
- # @return [Fixnum]
115
- attr_accessor :target_size
116
-
117
- def initialize(**args)
118
- update!(**args)
119
- end
120
-
121
- # Update properties of this object
122
- def update!(**args)
123
- @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
124
- @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
125
- @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
126
- @current_size = args[:current_size] if args.key?(:current_size)
127
- @description = args[:description] if args.key?(:description)
128
- @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
129
- @group = args[:group] if args.key?(:group)
130
- @id = args[:id] if args.key?(:id)
131
- @instance_template = args[:instance_template] if args.key?(:instance_template)
132
- @kind = args[:kind] if args.key?(:kind)
133
- @name = args[:name] if args.key?(:name)
134
- @self_link = args[:self_link] if args.key?(:self_link)
135
- @target_pools = args[:target_pools] if args.key?(:target_pools)
136
- @target_size = args[:target_size] if args.key?(:target_size)
137
- end
138
- end
139
-
140
- #
141
- class InstanceGroupManagerList
142
- include Google::Apis::Core::Hashable
143
-
144
- # Unique identifier for the resource; defined by the server (output only).
145
- # Corresponds to the JSON property `id`
146
- # @return [String]
147
- attr_accessor :id
148
-
149
- # A list of instance resources.
150
- # Corresponds to the JSON property `items`
151
- # @return [Array<Google::Apis::ReplicapoolV1beta2::InstanceGroupManager>]
152
- attr_accessor :items
153
-
154
- # Type of resource.
155
- # Corresponds to the JSON property `kind`
156
- # @return [String]
157
- attr_accessor :kind
158
-
159
- # A token used to continue a truncated list request (output only).
160
- # Corresponds to the JSON property `nextPageToken`
161
- # @return [String]
162
- attr_accessor :next_page_token
163
-
164
- # Server defined URL for this resource (output only).
165
- # Corresponds to the JSON property `selfLink`
166
- # @return [String]
167
- attr_accessor :self_link
168
-
169
- def initialize(**args)
170
- update!(**args)
171
- end
172
-
173
- # Update properties of this object
174
- def update!(**args)
175
- @id = args[:id] if args.key?(:id)
176
- @items = args[:items] if args.key?(:items)
177
- @kind = args[:kind] if args.key?(:kind)
178
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
179
- @self_link = args[:self_link] if args.key?(:self_link)
180
- end
181
- end
182
-
183
- #
184
- class AbandonInstancesRequest
185
- include Google::Apis::Core::Hashable
186
-
187
- # The names of one or more instances to abandon. For example:
188
- # ` 'instances': [ 'instance-c3po', 'instance-r2d2' ] `
189
- # Corresponds to the JSON property `instances`
190
- # @return [Array<String>]
191
- attr_accessor :instances
192
-
193
- def initialize(**args)
194
- update!(**args)
195
- end
196
-
197
- # Update properties of this object
198
- def update!(**args)
199
- @instances = args[:instances] if args.key?(:instances)
200
- end
201
- end
202
-
203
- #
204
- class DeleteInstancesRequest
205
- include Google::Apis::Core::Hashable
206
-
207
- # Names of instances to delete.
208
- # Example: 'instance-foo', 'instance-bar'
209
- # Corresponds to the JSON property `instances`
210
- # @return [Array<String>]
211
- attr_accessor :instances
212
-
213
- def initialize(**args)
214
- update!(**args)
215
- end
216
-
217
- # Update properties of this object
218
- def update!(**args)
219
- @instances = args[:instances] if args.key?(:instances)
220
- end
221
- end
222
-
223
- #
224
- class RecreateInstancesRequest
225
- include Google::Apis::Core::Hashable
226
-
227
- # The names of one or more instances to recreate. For example:
228
- # ` 'instances': [ 'instance-c3po', 'instance-r2d2' ] `
229
- # Corresponds to the JSON property `instances`
230
- # @return [Array<String>]
231
- attr_accessor :instances
232
-
233
- def initialize(**args)
234
- update!(**args)
235
- end
236
-
237
- # Update properties of this object
238
- def update!(**args)
239
- @instances = args[:instances] if args.key?(:instances)
240
- end
241
- end
242
-
243
- #
244
- class SetInstanceTemplateRequest
245
- include Google::Apis::Core::Hashable
246
-
247
- # The full URL to an Instance Template from which all new instances will be
248
- # created.
249
- # Corresponds to the JSON property `instanceTemplate`
250
- # @return [String]
251
- attr_accessor :instance_template
252
-
253
- def initialize(**args)
254
- update!(**args)
255
- end
256
-
257
- # Update properties of this object
258
- def update!(**args)
259
- @instance_template = args[:instance_template] if args.key?(:instance_template)
260
- end
261
- end
262
-
263
- #
264
- class SetTargetPoolsRequest
265
- include Google::Apis::Core::Hashable
266
-
267
- # The current fingerprint of the Instance Group Manager resource. If this does
268
- # not match the server-side fingerprint of the resource, then the request will
269
- # be rejected.
270
- # Corresponds to the JSON property `fingerprint`
271
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
272
- # @return [String]
273
- attr_accessor :fingerprint
274
-
275
- # A list of fully-qualified URLs to existing Target Pool resources. New
276
- # instances in the Instance Group Manager will be added to the specified target
277
- # pools; existing instances are not affected.
278
- # Corresponds to the JSON property `targetPools`
279
- # @return [Array<String>]
280
- attr_accessor :target_pools
281
-
282
- def initialize(**args)
283
- update!(**args)
284
- end
285
-
286
- # Update properties of this object
287
- def update!(**args)
288
- @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
289
- @target_pools = args[:target_pools] if args.key?(:target_pools)
290
- end
291
- end
292
-
293
- # An operation resource, used to manage asynchronous API requests.
294
- class Operation
295
- include Google::Apis::Core::Hashable
296
-
297
- # [Output only] An optional identifier specified by the client when the mutation
298
- # was initiated. Must be unique for all operation resources in the project.
299
- # Corresponds to the JSON property `clientOperationId`
300
- # @return [String]
301
- attr_accessor :client_operation_id
302
-
303
- # [Output Only] The time that this operation was requested, in RFC3339 text
304
- # format.
305
- # Corresponds to the JSON property `creationTimestamp`
306
- # @return [String]
307
- attr_accessor :creation_timestamp
308
-
309
- # [Output Only] The time that this operation was completed, in RFC3339 text
310
- # format.
311
- # Corresponds to the JSON property `endTime`
312
- # @return [String]
313
- attr_accessor :end_time
314
-
315
- # [Output Only] If errors occurred during processing of this operation, this
316
- # field will be populated.
317
- # Corresponds to the JSON property `error`
318
- # @return [Google::Apis::ReplicapoolV1beta2::Operation::Error]
319
- attr_accessor :error
320
-
321
- # [Output only] If operation fails, the HTTP error message returned.
322
- # Corresponds to the JSON property `httpErrorMessage`
323
- # @return [String]
324
- attr_accessor :http_error_message
325
-
326
- # [Output only] If operation fails, the HTTP error status code returned.
327
- # Corresponds to the JSON property `httpErrorStatusCode`
328
- # @return [Fixnum]
329
- attr_accessor :http_error_status_code
330
-
331
- # [Output Only] Unique identifier for the resource, generated by the server.
332
- # Corresponds to the JSON property `id`
333
- # @return [Fixnum]
334
- attr_accessor :id
335
-
336
- # [Output Only] The time that this operation was requested, in RFC3339 text
337
- # format.
338
- # Corresponds to the JSON property `insertTime`
339
- # @return [String]
340
- attr_accessor :insert_time
341
-
342
- # [Output only] Type of the resource.
343
- # Corresponds to the JSON property `kind`
344
- # @return [String]
345
- attr_accessor :kind
346
-
347
- # [Output Only] Name of the resource.
348
- # Corresponds to the JSON property `name`
349
- # @return [String]
350
- attr_accessor :name
351
-
352
- # [Output only] Type of the operation. Operations include insert, update, and
353
- # delete.
354
- # Corresponds to the JSON property `operationType`
355
- # @return [String]
356
- attr_accessor :operation_type
357
-
358
- # [Output only] An optional progress indicator that ranges from 0 to 100. There
359
- # is no requirement that this be linear or support any granularity of operations.
360
- # This should not be used to guess at when the operation will be complete. This
361
- # number should be monotonically increasing as the operation progresses.
362
- # Corresponds to the JSON property `progress`
363
- # @return [Fixnum]
364
- attr_accessor :progress
365
-
366
- # [Output Only] URL of the region where the operation resides. Only available
367
- # when performing regional operations.
368
- # Corresponds to the JSON property `region`
369
- # @return [String]
370
- attr_accessor :region
371
-
372
- # [Output Only] Server-defined fully-qualified URL for this resource.
373
- # Corresponds to the JSON property `selfLink`
374
- # @return [String]
375
- attr_accessor :self_link
376
-
377
- # [Output Only] The time that this operation was started by the server, in
378
- # RFC3339 text format.
379
- # Corresponds to the JSON property `startTime`
380
- # @return [String]
381
- attr_accessor :start_time
382
-
383
- # [Output Only] Status of the operation.
384
- # Corresponds to the JSON property `status`
385
- # @return [String]
386
- attr_accessor :status
387
-
388
- # [Output Only] An optional textual description of the current status of the
389
- # operation.
390
- # Corresponds to the JSON property `statusMessage`
391
- # @return [String]
392
- attr_accessor :status_message
393
-
394
- # [Output Only] Unique target ID which identifies a particular incarnation of
395
- # the target.
396
- # Corresponds to the JSON property `targetId`
397
- # @return [Fixnum]
398
- attr_accessor :target_id
399
-
400
- # [Output only] URL of the resource the operation is mutating.
401
- # Corresponds to the JSON property `targetLink`
402
- # @return [String]
403
- attr_accessor :target_link
404
-
405
- # [Output Only] User who requested the operation, for example: user@example.com.
406
- # Corresponds to the JSON property `user`
407
- # @return [String]
408
- attr_accessor :user
409
-
410
- # [Output Only] If there are issues with this operation, a warning is returned.
411
- # Corresponds to the JSON property `warnings`
412
- # @return [Array<Google::Apis::ReplicapoolV1beta2::Operation::Warning>]
413
- attr_accessor :warnings
414
-
415
- # [Output Only] URL of the zone where the operation resides. Only available when
416
- # performing per-zone operations.
417
- # Corresponds to the JSON property `zone`
418
- # @return [String]
419
- attr_accessor :zone
420
-
421
- def initialize(**args)
422
- update!(**args)
423
- end
424
-
425
- # Update properties of this object
426
- def update!(**args)
427
- @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
428
- @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
429
- @end_time = args[:end_time] if args.key?(:end_time)
430
- @error = args[:error] if args.key?(:error)
431
- @http_error_message = args[:http_error_message] if args.key?(:http_error_message)
432
- @http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
433
- @id = args[:id] if args.key?(:id)
434
- @insert_time = args[:insert_time] if args.key?(:insert_time)
435
- @kind = args[:kind] if args.key?(:kind)
436
- @name = args[:name] if args.key?(:name)
437
- @operation_type = args[:operation_type] if args.key?(:operation_type)
438
- @progress = args[:progress] if args.key?(:progress)
439
- @region = args[:region] if args.key?(:region)
440
- @self_link = args[:self_link] if args.key?(:self_link)
441
- @start_time = args[:start_time] if args.key?(:start_time)
442
- @status = args[:status] if args.key?(:status)
443
- @status_message = args[:status_message] if args.key?(:status_message)
444
- @target_id = args[:target_id] if args.key?(:target_id)
445
- @target_link = args[:target_link] if args.key?(:target_link)
446
- @user = args[:user] if args.key?(:user)
447
- @warnings = args[:warnings] if args.key?(:warnings)
448
- @zone = args[:zone] if args.key?(:zone)
449
- end
450
-
451
- # [Output Only] If errors occurred during processing of this operation, this
452
- # field will be populated.
453
- class Error
454
- include Google::Apis::Core::Hashable
455
-
456
- # [Output Only] The array of errors encountered while processing this operation.
457
- # Corresponds to the JSON property `errors`
458
- # @return [Array<Google::Apis::ReplicapoolV1beta2::Operation::Error::Error>]
459
- attr_accessor :errors
460
-
461
- def initialize(**args)
462
- update!(**args)
463
- end
464
-
465
- # Update properties of this object
466
- def update!(**args)
467
- @errors = args[:errors] if args.key?(:errors)
468
- end
469
-
470
- #
471
- class Error
472
- include Google::Apis::Core::Hashable
473
-
474
- # [Output Only] The error type identifier for this error.
475
- # Corresponds to the JSON property `code`
476
- # @return [String]
477
- attr_accessor :code
478
-
479
- # [Output Only] Indicates the field in the request which caused the error. This
480
- # property is optional.
481
- # Corresponds to the JSON property `location`
482
- # @return [String]
483
- attr_accessor :location
484
-
485
- # [Output Only] An optional, human-readable error message.
486
- # Corresponds to the JSON property `message`
487
- # @return [String]
488
- attr_accessor :message
489
-
490
- def initialize(**args)
491
- update!(**args)
492
- end
493
-
494
- # Update properties of this object
495
- def update!(**args)
496
- @code = args[:code] if args.key?(:code)
497
- @location = args[:location] if args.key?(:location)
498
- @message = args[:message] if args.key?(:message)
499
- end
500
- end
501
- end
502
-
503
- #
504
- class Warning
505
- include Google::Apis::Core::Hashable
506
-
507
- # [Output only] The warning type identifier for this warning.
508
- # Corresponds to the JSON property `code`
509
- # @return [String]
510
- attr_accessor :code
511
-
512
- # [Output only] Metadata for this warning in key:value format.
513
- # Corresponds to the JSON property `data`
514
- # @return [Array<Google::Apis::ReplicapoolV1beta2::Operation::Warning::Datum>]
515
- attr_accessor :data
516
-
517
- # [Output only] Optional human-readable details for this warning.
518
- # Corresponds to the JSON property `message`
519
- # @return [String]
520
- attr_accessor :message
521
-
522
- def initialize(**args)
523
- update!(**args)
524
- end
525
-
526
- # Update properties of this object
527
- def update!(**args)
528
- @code = args[:code] if args.key?(:code)
529
- @data = args[:data] if args.key?(:data)
530
- @message = args[:message] if args.key?(:message)
531
- end
532
-
533
- #
534
- class Datum
535
- include Google::Apis::Core::Hashable
536
-
537
- # [Output Only] Metadata key for this warning.
538
- # Corresponds to the JSON property `key`
539
- # @return [String]
540
- attr_accessor :key
541
-
542
- # [Output Only] Metadata value for this warning.
543
- # Corresponds to the JSON property `value`
544
- # @return [String]
545
- attr_accessor :value
546
-
547
- def initialize(**args)
548
- update!(**args)
549
- end
550
-
551
- # Update properties of this object
552
- def update!(**args)
553
- @key = args[:key] if args.key?(:key)
554
- @value = args[:value] if args.key?(:value)
555
- end
556
- end
557
- end
558
- end
559
-
560
- #
561
- class OperationList
562
- include Google::Apis::Core::Hashable
563
-
564
- # Unique identifier for the resource; defined by the server (output only).
565
- # Corresponds to the JSON property `id`
566
- # @return [String]
567
- attr_accessor :id
568
-
569
- # The operation resources.
570
- # Corresponds to the JSON property `items`
571
- # @return [Array<Google::Apis::ReplicapoolV1beta2::Operation>]
572
- attr_accessor :items
573
-
574
- # Type of resource.
575
- # Corresponds to the JSON property `kind`
576
- # @return [String]
577
- attr_accessor :kind
578
-
579
- # A token used to continue a truncated list request (output only).
580
- # Corresponds to the JSON property `nextPageToken`
581
- # @return [String]
582
- attr_accessor :next_page_token
583
-
584
- # Server defined URL for this resource (output only).
585
- # Corresponds to the JSON property `selfLink`
586
- # @return [String]
587
- attr_accessor :self_link
588
-
589
- def initialize(**args)
590
- update!(**args)
591
- end
592
-
593
- # Update properties of this object
594
- def update!(**args)
595
- @id = args[:id] if args.key?(:id)
596
- @items = args[:items] if args.key?(:items)
597
- @kind = args[:kind] if args.key?(:kind)
598
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
599
- @self_link = args[:self_link] if args.key?(:self_link)
600
- end
601
- end
602
-
603
- #
604
- class ReplicaPoolAutoHealingPolicy
605
- include Google::Apis::Core::Hashable
606
-
607
- # The action to perform when an instance becomes unhealthy. Possible values are
608
- # RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new
609
- # instance that is based on the instance template for this managed instance
610
- # group. REBOOT performs a soft reboot on an instance. If the instance cannot
611
- # reboot, the instance performs a hard restart.
612
- # Corresponds to the JSON property `actionType`
613
- # @return [String]
614
- attr_accessor :action_type
615
-
616
- # The URL for the HealthCheck that signals autohealing.
617
- # Corresponds to the JSON property `healthCheck`
618
- # @return [String]
619
- attr_accessor :health_check
620
-
621
- def initialize(**args)
622
- update!(**args)
623
- end
624
-
625
- # Update properties of this object
626
- def update!(**args)
627
- @action_type = args[:action_type] if args.key?(:action_type)
628
- @health_check = args[:health_check] if args.key?(:health_check)
629
- end
630
- end
631
- end
632
- end
633
- end