google-api-client 0.30.2 → 0.30.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190429'
30
+ REVISION = '20190607'
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'
@@ -1316,6 +1316,11 @@ module Google
1316
1316
  # @return [String]
1317
1317
  attr_accessor :key_algorithm
1318
1318
 
1319
+ # The key origin.
1320
+ # Corresponds to the JSON property `keyOrigin`
1321
+ # @return [String]
1322
+ attr_accessor :key_origin
1323
+
1319
1324
  # The resource name of the service account key in the following format
1320
1325
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
1321
1326
  # Corresponds to the JSON property `name`
@@ -1366,6 +1371,7 @@ module Google
1366
1371
  # Update properties of this object
1367
1372
  def update!(**args)
1368
1373
  @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
1374
+ @key_origin = args[:key_origin] if args.key?(:key_origin)
1369
1375
  @name = args[:name] if args.key?(:name)
1370
1376
  @private_key_data = args[:private_key_data] if args.key?(:private_key_data)
1371
1377
  @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
@@ -596,6 +596,7 @@ module Google
596
596
  # @private
597
597
  class Representation < Google::Apis::Core::JsonRepresentation
598
598
  property :key_algorithm, as: 'keyAlgorithm'
599
+ property :key_origin, as: 'keyOrigin'
599
600
  property :name, as: 'name'
600
601
  property :private_key_data, :base64 => true, as: 'privateKeyData'
601
602
  property :private_key_type, as: 'privateKeyType'
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/logging/docs/
29
29
  module LoggingV2
30
30
  VERSION = 'V2'
31
- REVISION = '20190531'
31
+ REVISION = '20190608'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190530'
28
+ REVISION = '20190614'
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'
@@ -330,6 +330,11 @@ module Google
330
330
  # @return [Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput]
331
331
  attr_accessor :built_in_algorithm_output
332
332
 
333
+ # Output only. End time for the trial.
334
+ # Corresponds to the JSON property `endTime`
335
+ # @return [String]
336
+ attr_accessor :end_time
337
+
333
338
  # An observed value of a metric.
334
339
  # Corresponds to the JSON property `finalMetric`
335
340
  # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric]
@@ -346,6 +351,16 @@ module Google
346
351
  attr_accessor :is_trial_stopped_early
347
352
  alias_method :is_trial_stopped_early?, :is_trial_stopped_early
348
353
 
354
+ # Output only. Start time for the trial.
355
+ # Corresponds to the JSON property `startTime`
356
+ # @return [String]
357
+ attr_accessor :start_time
358
+
359
+ # Output only. The detailed state of the trial.
360
+ # Corresponds to the JSON property `state`
361
+ # @return [String]
362
+ attr_accessor :state
363
+
349
364
  # The trial id for these results.
350
365
  # Corresponds to the JSON property `trialId`
351
366
  # @return [String]
@@ -359,9 +374,12 @@ module Google
359
374
  def update!(**args)
360
375
  @all_metrics = args[:all_metrics] if args.key?(:all_metrics)
361
376
  @built_in_algorithm_output = args[:built_in_algorithm_output] if args.key?(:built_in_algorithm_output)
377
+ @end_time = args[:end_time] if args.key?(:end_time)
362
378
  @final_metric = args[:final_metric] if args.key?(:final_metric)
363
379
  @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters)
364
380
  @is_trial_stopped_early = args[:is_trial_stopped_early] if args.key?(:is_trial_stopped_early)
381
+ @start_time = args[:start_time] if args.key?(:start_time)
382
+ @state = args[:state] if args.key?(:state)
365
383
  @trial_id = args[:trial_id] if args.key?(:trial_id)
366
384
  end
367
385
  end
@@ -348,10 +348,13 @@ module Google
348
348
 
349
349
  property :built_in_algorithm_output, as: 'builtInAlgorithmOutput', class: Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput::Representation
350
350
 
351
+ property :end_time, as: 'endTime'
351
352
  property :final_metric, as: 'finalMetric', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation
352
353
 
353
354
  hash :hyperparameters, as: 'hyperparameters'
354
355
  property :is_trial_stopped_early, as: 'isTrialStoppedEarly'
356
+ property :start_time, as: 'startTime'
357
+ property :state, as: 'state'
355
358
  property :trial_id, as: 'trialId'
356
359
  end
357
360
  end
@@ -30,7 +30,7 @@ module Google
30
30
  # @see https://cloud.google.com/monitoring/api/
31
31
  module MonitoringV3
32
32
  VERSION = 'V3'
33
- REVISION = '20190604'
33
+ REVISION = '20190613'
34
34
 
35
35
  # View and manage your data across Google Cloud Platform services
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1972,7 +1972,7 @@ module Google
1972
1972
  # the use of the labels "instance_id" and "zone" to identify particular VM
1973
1973
  # instances.Different APIs can support different monitored resource types. APIs
1974
1974
  # generally provide a list method that returns the monitored resource
1975
- # descriptors used by the API.Next ID: 10
1975
+ # descriptors used by the API.
1976
1976
  class MonitoredResourceDescriptor
1977
1977
  include Google::Apis::Core::Hashable
1978
1978
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190516'
28
+ REVISION = '20190611'
29
29
 
30
30
  # See, edit, download, and permanently delete your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
@@ -399,43 +399,10 @@ module Google
399
399
 
400
400
  # The `Status` type defines a logical error model that is suitable for
401
401
  # different programming environments, including REST APIs and RPC APIs. It is
402
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
403
- # - Simple to use and understand for most users
404
- # - Flexible enough to meet unexpected needs
405
- # # Overview
406
- # The `Status` message contains three pieces of data: error code, error
407
- # message, and error details. The error code should be an enum value of
408
- # google.rpc.Code, but it may accept additional error codes if needed. The
409
- # error message should be a developer-facing English message that helps
410
- # developers *understand* and *resolve* the error. If a localized user-facing
411
- # error message is needed, put the localized message in the error details or
412
- # localize it in the client. The optional error details may contain arbitrary
413
- # information about the error. There is a predefined set of error detail types
414
- # in the package `google.rpc` that can be used for common error conditions.
415
- # # Language mapping
416
- # The `Status` message is the logical representation of the error model, but it
417
- # is not necessarily the actual wire format. When the `Status` message is
418
- # exposed in different client libraries and different wire protocols, it can be
419
- # mapped differently. For example, it will likely be mapped to some exceptions
420
- # in Java, but more likely mapped to some error codes in C.
421
- # # Other uses
422
- # The error model and the `Status` message can be used in a variety of
423
- # environments, either with or without APIs, to provide a
424
- # consistent developer experience across different environments.
425
- # Example uses of this error model include:
426
- # - Partial errors. If a service needs to return partial errors to the client,
427
- # it may embed the `Status` in the normal response to indicate the partial
428
- # errors.
429
- # - Workflow errors. A typical workflow has multiple steps. Each step may
430
- # have a `Status` message for error reporting.
431
- # - Batch operations. If a client uses batch request and batch response, the
432
- # `Status` message should be used directly inside batch response, one for
433
- # each error sub-response.
434
- # - Asynchronous operations. If an API call embeds asynchronous operation
435
- # results in its response, the status of those operations should be
436
- # represented directly using the `Status` message.
437
- # - Logging. If some API errors are stored in logs, the message `Status` could
438
- # be used directly after any stripping needed for security/privacy reasons.
402
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
403
+ # three pieces of data: error code, error message, and error details.
404
+ # You can find out more about this error model and how to work with it in the
405
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
439
406
  # Corresponds to the JSON property `status`
440
407
  # @return [Google::Apis::PeopleV1::Status]
441
408
  attr_accessor :status
@@ -1625,43 +1592,10 @@ module Google
1625
1592
 
1626
1593
  # The `Status` type defines a logical error model that is suitable for
1627
1594
  # different programming environments, including REST APIs and RPC APIs. It is
1628
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1629
- # - Simple to use and understand for most users
1630
- # - Flexible enough to meet unexpected needs
1631
- # # Overview
1632
- # The `Status` message contains three pieces of data: error code, error
1633
- # message, and error details. The error code should be an enum value of
1634
- # google.rpc.Code, but it may accept additional error codes if needed. The
1635
- # error message should be a developer-facing English message that helps
1636
- # developers *understand* and *resolve* the error. If a localized user-facing
1637
- # error message is needed, put the localized message in the error details or
1638
- # localize it in the client. The optional error details may contain arbitrary
1639
- # information about the error. There is a predefined set of error detail types
1640
- # in the package `google.rpc` that can be used for common error conditions.
1641
- # # Language mapping
1642
- # The `Status` message is the logical representation of the error model, but it
1643
- # is not necessarily the actual wire format. When the `Status` message is
1644
- # exposed in different client libraries and different wire protocols, it can be
1645
- # mapped differently. For example, it will likely be mapped to some exceptions
1646
- # in Java, but more likely mapped to some error codes in C.
1647
- # # Other uses
1648
- # The error model and the `Status` message can be used in a variety of
1649
- # environments, either with or without APIs, to provide a
1650
- # consistent developer experience across different environments.
1651
- # Example uses of this error model include:
1652
- # - Partial errors. If a service needs to return partial errors to the client,
1653
- # it may embed the `Status` in the normal response to indicate the partial
1654
- # errors.
1655
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1656
- # have a `Status` message for error reporting.
1657
- # - Batch operations. If a client uses batch request and batch response, the
1658
- # `Status` message should be used directly inside batch response, one for
1659
- # each error sub-response.
1660
- # - Asynchronous operations. If an API call embeds asynchronous operation
1661
- # results in its response, the status of those operations should be
1662
- # represented directly using the `Status` message.
1663
- # - Logging. If some API errors are stored in logs, the message `Status` could
1664
- # be used directly after any stripping needed for security/privacy reasons.
1595
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1596
+ # three pieces of data: error code, error message, and error details.
1597
+ # You can find out more about this error model and how to work with it in the
1598
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1665
1599
  # Corresponds to the JSON property `status`
1666
1600
  # @return [Google::Apis::PeopleV1::Status]
1667
1601
  attr_accessor :status
@@ -2085,43 +2019,10 @@ module Google
2085
2019
 
2086
2020
  # The `Status` type defines a logical error model that is suitable for
2087
2021
  # different programming environments, including REST APIs and RPC APIs. It is
2088
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2089
- # - Simple to use and understand for most users
2090
- # - Flexible enough to meet unexpected needs
2091
- # # Overview
2092
- # The `Status` message contains three pieces of data: error code, error
2093
- # message, and error details. The error code should be an enum value of
2094
- # google.rpc.Code, but it may accept additional error codes if needed. The
2095
- # error message should be a developer-facing English message that helps
2096
- # developers *understand* and *resolve* the error. If a localized user-facing
2097
- # error message is needed, put the localized message in the error details or
2098
- # localize it in the client. The optional error details may contain arbitrary
2099
- # information about the error. There is a predefined set of error detail types
2100
- # in the package `google.rpc` that can be used for common error conditions.
2101
- # # Language mapping
2102
- # The `Status` message is the logical representation of the error model, but it
2103
- # is not necessarily the actual wire format. When the `Status` message is
2104
- # exposed in different client libraries and different wire protocols, it can be
2105
- # mapped differently. For example, it will likely be mapped to some exceptions
2106
- # in Java, but more likely mapped to some error codes in C.
2107
- # # Other uses
2108
- # The error model and the `Status` message can be used in a variety of
2109
- # environments, either with or without APIs, to provide a
2110
- # consistent developer experience across different environments.
2111
- # Example uses of this error model include:
2112
- # - Partial errors. If a service needs to return partial errors to the client,
2113
- # it may embed the `Status` in the normal response to indicate the partial
2114
- # errors.
2115
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2116
- # have a `Status` message for error reporting.
2117
- # - Batch operations. If a client uses batch request and batch response, the
2118
- # `Status` message should be used directly inside batch response, one for
2119
- # each error sub-response.
2120
- # - Asynchronous operations. If an API call embeds asynchronous operation
2121
- # results in its response, the status of those operations should be
2122
- # represented directly using the `Status` message.
2123
- # - Logging. If some API errors are stored in logs, the message `Status` could
2124
- # be used directly after any stripping needed for security/privacy reasons.
2022
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2023
+ # three pieces of data: error code, error message, and error details.
2024
+ # You can find out more about this error model and how to work with it in the
2025
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2125
2026
  class Status
2126
2027
  include Google::Apis::Core::Hashable
2127
2028
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190429'
28
+ REVISION = '20190606'
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'
@@ -348,6 +348,30 @@ module Google
348
348
  end
349
349
  end
350
350
 
351
+ #
352
+ class MessageStoragePolicy
353
+ include Google::Apis::Core::Hashable
354
+
355
+ # The list of GCP region IDs where messages that are published to the topic
356
+ # may be persisted in storage. Messages published by publishers running in
357
+ # non-allowed GCP regions (or running outside of GCP altogether) will be
358
+ # routed for storage in one of the allowed regions. An empty list indicates a
359
+ # misconfiguration at the project or organization level, which will result in
360
+ # all Publish operations failing.
361
+ # Corresponds to the JSON property `allowedPersistenceRegions`
362
+ # @return [Array<String>]
363
+ attr_accessor :allowed_persistence_regions
364
+
365
+ def initialize(**args)
366
+ update!(**args)
367
+ end
368
+
369
+ # Update properties of this object
370
+ def update!(**args)
371
+ @allowed_persistence_regions = args[:allowed_persistence_regions] if args.key?(:allowed_persistence_regions)
372
+ end
373
+ end
374
+
351
375
  # Request for the ModifyAckDeadline method.
352
376
  class ModifyAckDeadlineRequest
353
377
  include Google::Apis::Core::Hashable
@@ -1038,12 +1062,29 @@ module Google
1038
1062
  class Topic
1039
1063
  include Google::Apis::Core::Hashable
1040
1064
 
1065
+ # The resource name of the Cloud KMS CryptoKey to be used to protect access
1066
+ # to messages published on this topic.
1067
+ # The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
1068
+ # Corresponds to the JSON property `kmsKeyName`
1069
+ # @return [String]
1070
+ attr_accessor :kms_key_name
1071
+
1041
1072
  # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
1042
1073
  # managing labels</a>.
1043
1074
  # Corresponds to the JSON property `labels`
1044
1075
  # @return [Hash<String,String>]
1045
1076
  attr_accessor :labels
1046
1077
 
1078
+ # Policy constraining how messages published to the topic may be stored. It
1079
+ # is determined when the topic is created based on the policy configured at
1080
+ # the project level. It must not be set by the caller in the request to
1081
+ # CreateTopic or to UpdateTopic. This field will be populated in the
1082
+ # responses for GetTopic, CreateTopic, and UpdateTopic: if not present in the
1083
+ # response, then no constraints are in effect.
1084
+ # Corresponds to the JSON property `messageStoragePolicy`
1085
+ # @return [Google::Apis::PubsubV1::MessageStoragePolicy]
1086
+ attr_accessor :message_storage_policy
1087
+
1047
1088
  # The name of the topic. It must have the format
1048
1089
  # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
1049
1090
  # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
@@ -1060,7 +1101,9 @@ module Google
1060
1101
 
1061
1102
  # Update properties of this object
1062
1103
  def update!(**args)
1104
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1063
1105
  @labels = args[:labels] if args.key?(:labels)
1106
+ @message_storage_policy = args[:message_storage_policy] if args.key?(:message_storage_policy)
1064
1107
  @name = args[:name] if args.key?(:name)
1065
1108
  end
1066
1109
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class MessageStoragePolicy
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class ModifyAckDeadlineRequest
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -311,6 +317,13 @@ module Google
311
317
  end
312
318
  end
313
319
 
320
+ class MessageStoragePolicy
321
+ # @private
322
+ class Representation < Google::Apis::Core::JsonRepresentation
323
+ collection :allowed_persistence_regions, as: 'allowedPersistenceRegions'
324
+ end
325
+ end
326
+
314
327
  class ModifyAckDeadlineRequest
315
328
  # @private
316
329
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -470,7 +483,10 @@ module Google
470
483
  class Topic
471
484
  # @private
472
485
  class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :kms_key_name, as: 'kmsKeyName'
473
487
  hash :labels, as: 'labels'
488
+ property :message_storage_policy, as: 'messageStoragePolicy', class: Google::Apis::PubsubV1::MessageStoragePolicy, decorator: Google::Apis::PubsubV1::MessageStoragePolicy::Representation
489
+
474
490
  property :name, as: 'name'
475
491
  end
476
492
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190604'
28
+ REVISION = '20190618'
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'
@@ -75,7 +75,8 @@ module Google
75
75
  # @return [Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2Digest]
76
76
  attr_accessor :command_digest
77
77
 
78
- # If true, then the `Action`'s result cannot be cached.
78
+ # If true, then the `Action`'s result cannot be cached, and in-flight
79
+ # requests for the same `Action` may not be merged.
79
80
  # Corresponds to the JSON property `doNotCache`
80
81
  # @return [Boolean]
81
82
  attr_accessor :do_not_cache
@@ -216,6 +217,8 @@ module Google
216
217
  # `
217
218
  # `
218
219
  # ```
220
+ # If an output of the same name was found, but was not a directory, the
221
+ # server will return a FAILED_PRECONDITION.
219
222
  # Corresponds to the JSON property `outputDirectories`
220
223
  # @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2OutputDirectory>]
221
224
  attr_accessor :output_directories
@@ -226,11 +229,12 @@ module Google
226
229
  # if the server supports
227
230
  # SymlinkAbsolutePathStrategy.ALLOWED.
228
231
  # For each output directory requested in the `output_directories` field of
229
- # the Action, if the directory file existed after
230
- # the action completed, a single entry will be present either in this field,
231
- # or in the `output_directories` field, if the directory was not a symbolic link.
232
- # If the action does not produce the requested output, or produces a
233
- # file where a directory is expected or vice versa, then that output
232
+ # the Action, if the directory existed after the action completed, a
233
+ # single entry will be present either in this field, or in the
234
+ # `output_directories` field, if the directory was not a symbolic link.
235
+ # If an output of the same name was found, but was a symbolic link to a file
236
+ # instead of a directory, the server will return a FAILED_PRECONDITION.
237
+ # If the action does not produce the requested output, then that output
234
238
  # will be omitted from the list. The server is free to arrange the output
235
239
  # list as desired; clients MUST NOT assume that the output list is sorted.
236
240
  # Corresponds to the JSON property `outputDirectorySymlinks`
@@ -245,8 +249,9 @@ module Google
245
249
  # if the corresponding file existed after
246
250
  # the action completed, a single entry will be present either in this field,
247
251
  # or in the `output_files` field, if the file was not a symbolic link.
248
- # If the action does not produce the requested output, or produces a
249
- # directory where a regular file is expected or vice versa, then that output
252
+ # If an output symbolic link of the same name was found, but its target
253
+ # type was not a regular file, the server will return a FAILED_PRECONDITION.
254
+ # If the action does not produce the requested output, then that output
250
255
  # will be omitted from the list. The server is free to arrange the output
251
256
  # list as desired; clients MUST NOT assume that the output list is sorted.
252
257
  # Corresponds to the JSON property `outputFileSymlinks`
@@ -256,10 +261,11 @@ module Google
256
261
  # The output files of the action. For each output file requested in the
257
262
  # `output_files` field of the Action, if the corresponding file existed after
258
263
  # the action completed, a single entry will be present either in this field,
259
- # or in the output_file_symlinks field, if the file was a symbolic link to
264
+ # or the `output_file_symlinks` field if the file was a symbolic link to
260
265
  # another file.
261
- # If the action does not produce the requested output, or produces a
262
- # directory where a regular file is expected or vice versa, then that output
266
+ # If an output of the same name was found, but was a directory rather
267
+ # than a regular file, the server will return a FAILED_PRECONDITION.
268
+ # If the action does not produce the requested output, then that output
263
269
  # will be omitted from the list. The server is free to arrange the output
264
270
  # list as desired; clients MUST NOT assume that the output list is sorted.
265
271
  # Corresponds to the JSON property `outputFiles`
@@ -297,12 +303,12 @@ module Google
297
303
  # @return [Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2Digest]
298
304
  attr_accessor :stderr_digest
299
305
 
300
- # The standard error buffer of the action. The server will determine, based
301
- # on the size of the buffer, whether to return it in raw form or to return
302
- # a digest in `stderr_digest` that points to the buffer. If neither is set,
303
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
304
- # the raw buffer or a digest on any given request and should be prepared to
305
- # handle either.
306
+ # The standard error buffer of the action. The server SHOULD NOT inline
307
+ # stderr unless requested by the client in the
308
+ # GetActionResultRequest
309
+ # message. The server MAY omit inlining, even if requested, and MUST do so if
310
+ # inlining
311
+ # would cause the response to exceed message size limits.
306
312
  # Corresponds to the JSON property `stderrRaw`
307
313
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
308
314
  # @return [String]
@@ -339,12 +345,12 @@ module Google
339
345
  # @return [Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2Digest]
340
346
  attr_accessor :stdout_digest
341
347
 
342
- # The standard output buffer of the action. The server will determine, based
343
- # on the size of the buffer, whether to return it in raw form or to return
344
- # a digest in `stdout_digest` that points to the buffer. If neither is set,
345
- # then the buffer is empty. The client SHOULD NOT assume it will get one of
346
- # the raw buffer or a digest on any given request and should be prepared to
347
- # handle either.
348
+ # The standard output buffer of the action. The server SHOULD NOT inline
349
+ # stdout unless requested by the client in the
350
+ # GetActionResultRequest
351
+ # message. The server MAY omit inlining, even if requested, and MUST do so if
352
+ # inlining
353
+ # would cause the response to exceed message size limits.
348
354
  # Corresponds to the JSON property `stdoutRaw`
349
355
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
350
356
  # @return [String]
@@ -414,7 +420,8 @@ module Google
414
420
  # MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
415
421
  # bytes).
416
422
  # An output directory cannot be duplicated or have the same path as any of
417
- # the listed output files.
423
+ # the listed output files. An output directory is allowed to be a parent of
424
+ # another output directory.
418
425
  # Directories leading up to the output directories (but not the output
419
426
  # directories themselves) are created by the worker prior to execution, even
420
427
  # if they are not explicitly part of the input root.
@@ -565,6 +572,11 @@ module Google
565
572
  # * Every child in the directory must have a path of exactly one segment.
566
573
  # Multiple levels of directory hierarchy may not be collapsed.
567
574
  # * Each child in the directory must have a unique path segment (file name).
575
+ # Note that while the API itself is case-sensitive, the environment where
576
+ # the Action is executed may or may not be case-sensitive. That is, it is
577
+ # legal to call the API with a Directory that has both "Foo" and "foo" as
578
+ # children, but the Action may be rejected by the remote system upon
579
+ # execution.
568
580
  # * The files, directories and symlinks in the directory must each be sorted
569
581
  # in lexicographical order by path. The path strings must be sorted by code
570
582
  # point, equivalently, by UTF-8 bytes.
@@ -730,7 +742,7 @@ module Google
730
742
  # @return [Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2Digest]
731
743
  attr_accessor :action_digest
732
744
 
733
- #
745
+ # The current stage of execution.
734
746
  # Corresponds to the JSON property `stage`
735
747
  # @return [String]
736
748
  attr_accessor :stage
@@ -1069,10 +1081,21 @@ module Google
1069
1081
  # FileNode, but it is used as an
1070
1082
  # output in an `ActionResult`. It allows a full file path rather than
1071
1083
  # only a name.
1072
- # `OutputFile` is binary-compatible with `FileNode`.
1073
1084
  class BuildBazelRemoteExecutionV2OutputFile
1074
1085
  include Google::Apis::Core::Hashable
1075
1086
 
1087
+ # The contents of the file if inlining was requested. The server SHOULD NOT
1088
+ # inline
1089
+ # file contents unless requested by the client in the
1090
+ # GetActionResultRequest
1091
+ # message. The server MAY omit inlining, even if requested, and MUST do so if
1092
+ # inlining
1093
+ # would cause the response to exceed message size limits.
1094
+ # Corresponds to the JSON property `contents`
1095
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1096
+ # @return [String]
1097
+ attr_accessor :contents
1098
+
1076
1099
  # A content digest. A digest for a given blob consists of the size of the blob
1077
1100
  # and its hash. The hash algorithm to use is defined by the server, but servers
1078
1101
  # SHOULD use SHA-256.
@@ -1123,6 +1146,7 @@ module Google
1123
1146
 
1124
1147
  # Update properties of this object
1125
1148
  def update!(**args)
1149
+ @contents = args[:contents] if args.key?(:contents)
1126
1150
  @digest = args[:digest] if args.key?(:digest)
1127
1151
  @is_executable = args[:is_executable] if args.key?(:is_executable)
1128
1152
  @path = args[:path] if args.key?(:path)
@@ -1235,6 +1259,12 @@ module Google
1235
1259
  # canonical proto serialization:
1236
1260
  # * name: `build.bazel.remote.execution.v2.requestmetadata-bin`
1237
1261
  # * contents: the base64 encoded binary `RequestMetadata` message.
1262
+ # Note: the gRPC library serializes binary headers encoded in base 64 by
1263
+ # default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#
1264
+ # requests).
1265
+ # Therefore, if the gRPC library is used to pass/retrieve this
1266
+ # metadata, the user may ignore the base64 encoding and assume it is simply
1267
+ # serialized as a binary message.
1238
1268
  class BuildBazelRemoteExecutionV2RequestMetadata
1239
1269
  include Google::Apis::Core::Hashable
1240
1270
 
@@ -1357,6 +1387,11 @@ module Google
1357
1387
  # * Every child in the directory must have a path of exactly one segment.
1358
1388
  # Multiple levels of directory hierarchy may not be collapsed.
1359
1389
  # * Each child in the directory must have a unique path segment (file name).
1390
+ # Note that while the API itself is case-sensitive, the environment where
1391
+ # the Action is executed may or may not be case-sensitive. That is, it is
1392
+ # legal to call the API with a Directory that has both "Foo" and "foo" as
1393
+ # children, but the Action may be rejected by the remote system upon
1394
+ # execution.
1360
1395
  # * The files, directories and symlinks in the directory must each be sorted
1361
1396
  # in lexicographical order by path. The path strings must be sorted by code
1362
1397
  # point, equivalently, by UTF-8 bytes.
@@ -1807,6 +1842,22 @@ module Google
1807
1842
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
1808
1843
  include Google::Apis::Core::Hashable
1809
1844
 
1845
+ # Optional. A filter to constrain the pools returned. Filters have the form:
1846
+ # <field> <operator> <value> [[AND|OR] <field> <operator> <value>]...
1847
+ # <field> is the path for a field or map key in the Pool proto message.
1848
+ # e.g. "configuration.disk_size_gb" or "configuration.labels.key".
1849
+ # <operator> can be one of "<", "<=", ">=", ">", "=", "!=", ":".
1850
+ # ":" is a HAS operation for strings and repeated primitive fields.
1851
+ # <value> is the value to test, case-insensitive for strings. "*" stands for
1852
+ # any value and can be used to test for key presence.
1853
+ # Parenthesis determine AND/OR precedence. In space separated restrictions,
1854
+ # AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y".
1855
+ # Example filter:
1856
+ # configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING)
1857
+ # Corresponds to the JSON property `filter`
1858
+ # @return [String]
1859
+ attr_accessor :filter
1860
+
1810
1861
  # Resource name of the instance.
1811
1862
  # Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
1812
1863
  # Corresponds to the JSON property `parent`
@@ -1819,6 +1870,7 @@ module Google
1819
1870
 
1820
1871
  # Update properties of this object
1821
1872
  def update!(**args)
1873
+ @filter = args[:filter] if args.key?(:filter)
1822
1874
  @parent = args[:parent] if args.key?(:parent)
1823
1875
  end
1824
1876
  end
@@ -1893,6 +1945,16 @@ module Google
1893
1945
  # @return [String]
1894
1946
  attr_accessor :disk_type
1895
1947
 
1948
+ # Labels associated with the workers.
1949
+ # Label keys and values can be no longer than 63 characters, can only contain
1950
+ # lowercase letters, numeric characters, underscores and dashes.
1951
+ # International letters are permitted. Keys must start with a letter but
1952
+ # values are optional.
1953
+ # There can not be more than 64 labels per resource.
1954
+ # Corresponds to the JSON property `labels`
1955
+ # @return [Hash<String,String>]
1956
+ attr_accessor :labels
1957
+
1896
1958
  # Required. Machine type of the worker, such as `n1-standard-2`.
1897
1959
  # See https://cloud.google.com/compute/docs/machine-types for a list of
1898
1960
  # supported machine types. Note that `f1-micro` and `g1-small` are not yet
@@ -1924,6 +1986,7 @@ module Google
1924
1986
  def update!(**args)
1925
1987
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1926
1988
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1989
+ @labels = args[:labels] if args.key?(:labels)
1927
1990
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1928
1991
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1929
1992
  @reserved = args[:reserved] if args.key?(:reserved)