google-api-client 0.27.3 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/service.rb +4 -4
  5. data/generated/google/apis/analytics_v3.rb +1 -1
  6. data/generated/google/apis/analytics_v3/classes.rb +18 -112
  7. data/generated/google/apis/analytics_v3/representations.rb +0 -36
  8. data/generated/google/apis/analytics_v3/service.rb +18 -18
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +20 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  13. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  14. data/generated/google/apis/cloudbilling_v1/classes.rb +7 -0
  15. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  18. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  19. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
  20. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  21. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -8
  22. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  23. data/generated/google/apis/composer_v1.rb +1 -1
  24. data/generated/google/apis/composer_v1/classes.rb +59 -0
  25. data/generated/google/apis/composer_v1/representations.rb +30 -0
  26. data/generated/google/apis/composer_v1/service.rb +37 -0
  27. data/generated/google/apis/composer_v1beta1.rb +1 -1
  28. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  29. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  30. data/generated/google/apis/composer_v1beta1/service.rb +37 -0
  31. data/generated/google/apis/dialogflow_v2.rb +1 -1
  32. data/generated/google/apis/dialogflow_v2/classes.rb +2 -0
  33. data/generated/google/apis/dialogflow_v2/service.rb +8 -16
  34. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  35. data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
  36. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -16
  37. data/generated/google/apis/firebasehosting_v1beta1.rb +4 -3
  38. data/generated/google/apis/firebasehosting_v1beta1/service.rb +3 -2
  39. data/generated/google/apis/fitness_v1.rb +1 -1
  40. data/generated/google/apis/fitness_v1/classes.rb +7 -6
  41. data/generated/google/apis/iam_v1.rb +1 -1
  42. data/generated/google/apis/iam_v1/classes.rb +37 -0
  43. data/generated/google/apis/iam_v1/representations.rb +15 -0
  44. data/generated/google/apis/iam_v1/service.rb +44 -0
  45. data/generated/google/apis/iap_v1.rb +1 -1
  46. data/generated/google/apis/iap_v1/service.rb +3 -558
  47. data/generated/google/apis/iap_v1beta1.rb +1 -1
  48. data/generated/google/apis/iap_v1beta1/service.rb +3 -568
  49. data/generated/google/apis/jobs_v2.rb +1 -1
  50. data/generated/google/apis/jobs_v2/classes.rb +1 -1
  51. data/generated/google/apis/jobs_v2/service.rb +2 -2
  52. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  53. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -0
  54. data/generated/google/apis/logging_v2.rb +1 -1
  55. data/generated/google/apis/logging_v2/classes.rb +52 -10
  56. data/generated/google/apis/logging_v2/representations.rb +6 -0
  57. data/generated/google/apis/logging_v2/service.rb +9 -9
  58. data/generated/google/apis/logging_v2beta1.rb +1 -1
  59. data/generated/google/apis/logging_v2beta1/classes.rb +37 -9
  60. data/generated/google/apis/logging_v2beta1/representations.rb +4 -0
  61. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  62. data/generated/google/apis/ml_v1.rb +1 -1
  63. data/generated/google/apis/ml_v1/classes.rb +10 -12
  64. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  65. data/generated/google/apis/remotebuildexecution_v1/classes.rb +111 -88
  66. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -1
  67. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  68. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +111 -88
  69. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -1
  70. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  71. data/generated/google/apis/remotebuildexecution_v2/classes.rb +141 -116
  72. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -1
  73. data/generated/google/apis/remotebuildexecution_v2/service.rb +6 -5
  74. data/generated/google/apis/script_v1.rb +1 -1
  75. data/generated/google/apis/script_v1/classes.rb +2 -1
  76. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  77. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  78. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  79. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -0
  80. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  81. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  82. data/generated/google/apis/servicenetworking_v1beta/classes.rb +71 -0
  83. data/generated/google/apis/servicenetworking_v1beta/representations.rb +30 -0
  84. data/generated/google/apis/serviceusage_v1.rb +1 -1
  85. data/generated/google/apis/serviceusage_v1/service.rb +0 -3
  86. data/generated/google/apis/speech_v1.rb +1 -1
  87. data/generated/google/apis/speech_v1/classes.rb +20 -0
  88. data/generated/google/apis/speech_v1/representations.rb +2 -0
  89. data/generated/google/apis/speech_v1/service.rb +111 -0
  90. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
  92. data/generated/google/apis/speech_v1p1beta1/service.rb +111 -0
  93. data/generated/google/apis/videointelligence_v1.rb +1 -1
  94. data/generated/google/apis/videointelligence_v1/classes.rb +14 -0
  95. data/generated/google/apis/videointelligence_v1/representations.rb +1 -0
  96. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  97. data/generated/google/apis/videointelligence_v1beta2/classes.rb +14 -0
  98. data/generated/google/apis/videointelligence_v1beta2/representations.rb +1 -0
  99. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  100. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +14 -0
  101. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +1 -0
  102. data/generated/google/apis/vision_v1.rb +1 -1
  103. data/generated/google/apis/vision_v1/classes.rb +2 -1
  104. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  105. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  106. data/lib/google/apis/version.rb +1 -1
  107. metadata +2 -6
  108. data/generated/google/apis/monitoring_v1.rb +0 -33
  109. data/generated/google/apis/monitoring_v1/classes.rb +0 -474
  110. data/generated/google/apis/monitoring_v1/representations.rb +0 -195
  111. data/generated/google/apis/monitoring_v1/service.rb +0 -211
@@ -567,6 +567,7 @@ module Google
567
567
  # @private
568
568
  class Representation < Google::Apis::Core::JsonRepresentation
569
569
  property :cached_result, as: 'cachedResult'
570
+ property :message, as: 'message'
570
571
  property :result, as: 'result', class: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2ActionResult, decorator: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2ActionResult::Representation
571
572
 
572
573
  hash :server_logs, as: 'serverLogs', class: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2LogFile, decorator: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2LogFile::Representation
@@ -772,6 +773,7 @@ module Google
772
773
  # @private
773
774
  class Representation < Google::Apis::Core::JsonRepresentation
774
775
  property :location, as: 'location'
776
+ property :logging_enabled, as: 'loggingEnabled'
775
777
  property :name, as: 'name'
776
778
  property :state, as: 'state'
777
779
  end
@@ -1032,10 +1034,10 @@ module Google
1032
1034
  class Representation < Google::Apis::Core::JsonRepresentation
1033
1035
  property :duration, as: 'duration'
1034
1036
  property :exit_code, as: 'exitCode'
1037
+ collection :metadata, as: 'metadata'
1035
1038
  property :outputs, as: 'outputs', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2Digest, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2Digest::Representation
1036
1039
 
1037
1040
  property :overhead, as: 'overhead'
1038
- collection :statistics, as: 'statistics'
1039
1041
  property :status, as: 'status', class: Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus, decorator: Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus::Representation
1040
1042
 
1041
1043
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20190103'
28
+ REVISION = '20190116'
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'
@@ -63,11 +63,11 @@ module Google
63
63
  # When a `Digest` is used to refer to a proto message, it always refers to the
64
64
  # message in binary encoded form. To ensure consistent hashing, clients and
65
65
  # servers MUST ensure that they serialize messages according to the following
66
- # rules, even if there are alternate valid encodings for the same message.
67
- # - Fields are serialized in tag order.
68
- # - There are no unknown fields.
69
- # - There are no duplicate fields.
70
- # - Fields are serialized according to the default semantics for their type.
66
+ # rules, even if there are alternate valid encodings for the same message:
67
+ # * Fields are serialized in tag order.
68
+ # * There are no unknown fields.
69
+ # * There are no duplicate fields.
70
+ # * Fields are serialized according to the default semantics for their type.
71
71
  # Most protocol buffer implementations will always follow these rules when
72
72
  # serializing, but care should be taken to avoid shortcuts. For instance,
73
73
  # concatenating two messages to merge them may produce duplicate fields.
@@ -100,11 +100,11 @@ module Google
100
100
  # When a `Digest` is used to refer to a proto message, it always refers to the
101
101
  # message in binary encoded form. To ensure consistent hashing, clients and
102
102
  # servers MUST ensure that they serialize messages according to the following
103
- # rules, even if there are alternate valid encodings for the same message.
104
- # - Fields are serialized in tag order.
105
- # - There are no unknown fields.
106
- # - There are no duplicate fields.
107
- # - Fields are serialized according to the default semantics for their type.
103
+ # rules, even if there are alternate valid encodings for the same message:
104
+ # * Fields are serialized in tag order.
105
+ # * There are no unknown fields.
106
+ # * There are no duplicate fields.
107
+ # * Fields are serialized according to the default semantics for their type.
108
108
  # Most protocol buffer implementations will always follow these rules when
109
109
  # serializing, but care should be taken to avoid shortcuts. For instance,
110
110
  # concatenating two messages to merge them may produce duplicate fields.
@@ -285,11 +285,11 @@ module Google
285
285
  # When a `Digest` is used to refer to a proto message, it always refers to the
286
286
  # message in binary encoded form. To ensure consistent hashing, clients and
287
287
  # servers MUST ensure that they serialize messages according to the following
288
- # rules, even if there are alternate valid encodings for the same message.
289
- # - Fields are serialized in tag order.
290
- # - There are no unknown fields.
291
- # - There are no duplicate fields.
292
- # - Fields are serialized according to the default semantics for their type.
288
+ # rules, even if there are alternate valid encodings for the same message:
289
+ # * Fields are serialized in tag order.
290
+ # * There are no unknown fields.
291
+ # * There are no duplicate fields.
292
+ # * Fields are serialized according to the default semantics for their type.
293
293
  # Most protocol buffer implementations will always follow these rules when
294
294
  # serializing, but care should be taken to avoid shortcuts. For instance,
295
295
  # concatenating two messages to merge them may produce duplicate fields.
@@ -327,11 +327,11 @@ module Google
327
327
  # When a `Digest` is used to refer to a proto message, it always refers to the
328
328
  # message in binary encoded form. To ensure consistent hashing, clients and
329
329
  # servers MUST ensure that they serialize messages according to the following
330
- # rules, even if there are alternate valid encodings for the same message.
331
- # - Fields are serialized in tag order.
332
- # - There are no unknown fields.
333
- # - There are no duplicate fields.
334
- # - Fields are serialized according to the default semantics for their type.
330
+ # rules, even if there are alternate valid encodings for the same message:
331
+ # * Fields are serialized in tag order.
332
+ # * There are no unknown fields.
333
+ # * There are no duplicate fields.
334
+ # * Fields are serialized according to the default semantics for their type.
335
335
  # Most protocol buffer implementations will always follow these rules when
336
336
  # serializing, but care should be taken to avoid shortcuts. For instance,
337
337
  # concatenating two messages to merge them may produce duplicate fields.
@@ -388,7 +388,8 @@ module Google
388
388
  # The environment variables to set when running the program. The worker may
389
389
  # provide its own default environment variables; these defaults can be
390
390
  # overridden using this field. Additional variables can also be specified.
391
- # In order to ensure that equivalent `Command`s always hash to the same
391
+ # In order to ensure that equivalent
392
+ # Commands always hash to the same
392
393
  # value, the environment variables MUST be lexicographically sorted by name.
393
394
  # Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
394
395
  # Corresponds to the JSON property `environmentVariables`
@@ -396,10 +397,12 @@ module Google
396
397
  attr_accessor :environment_variables
397
398
 
398
399
  # A list of the output directories that the client expects to retrieve from
399
- # the action. Only the contents of the indicated directories (recursively
400
- # including the contents of their subdirectories) will be
401
- # returned, as well as files listed in `output_files`. Other files that may
402
- # be created during command execution are discarded.
400
+ # the action. Only the listed directories will be returned (an entire
401
+ # directory structure will be returned as a
402
+ # Tree message digest, see
403
+ # OutputDirectory), as
404
+ # well as files listed in `output_files`. Other files or directories that
405
+ # may be created during command execution are discarded.
403
406
  # The paths are relative to the working directory of the action execution.
404
407
  # The paths are specified using a single forward slash (`/`) as a path
405
408
  # separator, even if the execution platform natively uses a different
@@ -410,9 +413,11 @@ module Google
410
413
  # In order to ensure consistent hashing of the same Action, the output paths
411
414
  # MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
412
415
  # bytes).
413
- # An output directory cannot be duplicated, be a parent of another output
414
- # directory, be a parent of a listed output file, or have the same path as
415
- # any of the listed output files.
416
+ # An output directory cannot be duplicated or have the same path as any of
417
+ # the listed output files.
418
+ # Directories leading up to the output directories (but not the output
419
+ # directories themselves) are created by the worker prior to execution, even
420
+ # if they are not explicitly part of the input root.
416
421
  # Corresponds to the JSON property `outputDirectories`
417
422
  # @return [Array<String>]
418
423
  attr_accessor :output_directories
@@ -420,7 +425,8 @@ module Google
420
425
  # A list of the output files that the client expects to retrieve from the
421
426
  # action. Only the listed files, as well as directories listed in
422
427
  # `output_directories`, will be returned to the client as output.
423
- # Other files that may be created during command execution are discarded.
428
+ # Other files or directories that may be created during command execution
429
+ # are discarded.
424
430
  # The paths are relative to the working directory of the action execution.
425
431
  # The paths are specified using a single forward slash (`/`) as a path
426
432
  # separator, even if the execution platform natively uses a different
@@ -429,9 +435,10 @@ module Google
429
435
  # In order to ensure consistent hashing of the same Action, the output paths
430
436
  # MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
431
437
  # bytes).
432
- # An output file cannot be duplicated, be a parent of another output file, be
433
- # a child of a listed output directory, or have the same path as any of the
434
- # listed output directories.
438
+ # An output file cannot be duplicated, be a parent of another output file, or
439
+ # have the same path as any of the listed output directories.
440
+ # Directories leading up to the output files are created by the worker prior
441
+ # to execution, even if they are not explicitly part of the input root.
435
442
  # Corresponds to the JSON property `outputFiles`
436
443
  # @return [Array<String>]
437
444
  attr_accessor :output_files
@@ -512,11 +519,11 @@ module Google
512
519
  # When a `Digest` is used to refer to a proto message, it always refers to the
513
520
  # message in binary encoded form. To ensure consistent hashing, clients and
514
521
  # servers MUST ensure that they serialize messages according to the following
515
- # rules, even if there are alternate valid encodings for the same message.
516
- # - Fields are serialized in tag order.
517
- # - There are no unknown fields.
518
- # - There are no duplicate fields.
519
- # - Fields are serialized according to the default semantics for their type.
522
+ # rules, even if there are alternate valid encodings for the same message:
523
+ # * Fields are serialized in tag order.
524
+ # * There are no unknown fields.
525
+ # * There are no duplicate fields.
526
+ # * Fields are serialized according to the default semantics for their type.
520
527
  # Most protocol buffer implementations will always follow these rules when
521
528
  # serializing, but care should be taken to avoid shortcuts. For instance,
522
529
  # concatenating two messages to merge them may produce duplicate fields.
@@ -555,10 +562,10 @@ module Google
555
562
  # In order to ensure that two equivalent directory trees hash to the same
556
563
  # value, the following restrictions MUST be obeyed when constructing a
557
564
  # a `Directory`:
558
- # - Every child in the directory must have a path of exactly one segment.
565
+ # * Every child in the directory must have a path of exactly one segment.
559
566
  # Multiple levels of directory hierarchy may not be collapsed.
560
- # - Each child in the directory must have a unique path segment (file name).
561
- # - The files, directories and symlinks in the directory must each be sorted
567
+ # * Each child in the directory must have a unique path segment (file name).
568
+ # * The files, directories and symlinks in the directory must each be sorted
562
569
  # in lexicographical order by path. The path strings must be sorted by code
563
570
  # point, equivalently, by UTF-8 bytes.
564
571
  # A `Directory` that obeys the restrictions is said to be in canonical form.
@@ -656,11 +663,11 @@ module Google
656
663
  # When a `Digest` is used to refer to a proto message, it always refers to the
657
664
  # message in binary encoded form. To ensure consistent hashing, clients and
658
665
  # servers MUST ensure that they serialize messages according to the following
659
- # rules, even if there are alternate valid encodings for the same message.
660
- # - Fields are serialized in tag order.
661
- # - There are no unknown fields.
662
- # - There are no duplicate fields.
663
- # - Fields are serialized according to the default semantics for their type.
666
+ # rules, even if there are alternate valid encodings for the same message:
667
+ # * Fields are serialized in tag order.
668
+ # * There are no unknown fields.
669
+ # * There are no duplicate fields.
670
+ # * Fields are serialized according to the default semantics for their type.
664
671
  # Most protocol buffer implementations will always follow these rules when
665
672
  # serializing, but care should be taken to avoid shortcuts. For instance,
666
673
  # concatenating two messages to merge them may produce duplicate fields.
@@ -711,11 +718,11 @@ module Google
711
718
  # When a `Digest` is used to refer to a proto message, it always refers to the
712
719
  # message in binary encoded form. To ensure consistent hashing, clients and
713
720
  # servers MUST ensure that they serialize messages according to the following
714
- # rules, even if there are alternate valid encodings for the same message.
715
- # - Fields are serialized in tag order.
716
- # - There are no unknown fields.
717
- # - There are no duplicate fields.
718
- # - Fields are serialized according to the default semantics for their type.
721
+ # rules, even if there are alternate valid encodings for the same message:
722
+ # * Fields are serialized in tag order.
723
+ # * There are no unknown fields.
724
+ # * There are no duplicate fields.
725
+ # * Fields are serialized according to the default semantics for their type.
719
726
  # Most protocol buffer implementations will always follow these rules when
720
727
  # serializing, but care should be taken to avoid shortcuts. For instance,
721
728
  # concatenating two messages to merge them may produce duplicate fields.
@@ -769,6 +776,12 @@ module Google
769
776
  attr_accessor :cached_result
770
777
  alias_method :cached_result?, :cached_result
771
778
 
779
+ # Freeform informational message with details on the execution of the action
780
+ # that may be displayed to the user upon failure or when requested explicitly.
781
+ # Corresponds to the JSON property `message`
782
+ # @return [String]
783
+ attr_accessor :message
784
+
772
785
  # An ActionResult represents the result of an
773
786
  # Action being run.
774
787
  # Corresponds to the JSON property `result`
@@ -836,6 +849,7 @@ module Google
836
849
  # Update properties of this object
837
850
  def update!(**args)
838
851
  @cached_result = args[:cached_result] if args.key?(:cached_result)
852
+ @message = args[:message] if args.key?(:message)
839
853
  @result = args[:result] if args.key?(:result)
840
854
  @server_logs = args[:server_logs] if args.key?(:server_logs)
841
855
  @status = args[:status] if args.key?(:status)
@@ -938,11 +952,11 @@ module Google
938
952
  # When a `Digest` is used to refer to a proto message, it always refers to the
939
953
  # message in binary encoded form. To ensure consistent hashing, clients and
940
954
  # servers MUST ensure that they serialize messages according to the following
941
- # rules, even if there are alternate valid encodings for the same message.
942
- # - Fields are serialized in tag order.
943
- # - There are no unknown fields.
944
- # - There are no duplicate fields.
945
- # - Fields are serialized according to the default semantics for their type.
955
+ # rules, even if there are alternate valid encodings for the same message:
956
+ # * Fields are serialized in tag order.
957
+ # * There are no unknown fields.
958
+ # * There are no duplicate fields.
959
+ # * Fields are serialized according to the default semantics for their type.
946
960
  # Most protocol buffer implementations will always follow these rules when
947
961
  # serializing, but care should be taken to avoid shortcuts. For instance,
948
962
  # concatenating two messages to merge them may produce duplicate fields.
@@ -996,11 +1010,11 @@ module Google
996
1010
  # When a `Digest` is used to refer to a proto message, it always refers to the
997
1011
  # message in binary encoded form. To ensure consistent hashing, clients and
998
1012
  # servers MUST ensure that they serialize messages according to the following
999
- # rules, even if there are alternate valid encodings for the same message.
1000
- # - Fields are serialized in tag order.
1001
- # - There are no unknown fields.
1002
- # - There are no duplicate fields.
1003
- # - Fields are serialized according to the default semantics for their type.
1013
+ # rules, even if there are alternate valid encodings for the same message:
1014
+ # * Fields are serialized in tag order.
1015
+ # * There are no unknown fields.
1016
+ # * There are no duplicate fields.
1017
+ # * Fields are serialized according to the default semantics for their type.
1004
1018
  # Most protocol buffer implementations will always follow these rules when
1005
1019
  # serializing, but care should be taken to avoid shortcuts. For instance,
1006
1020
  # concatenating two messages to merge them may produce duplicate fields.
@@ -1061,11 +1075,11 @@ module Google
1061
1075
  # When a `Digest` is used to refer to a proto message, it always refers to the
1062
1076
  # message in binary encoded form. To ensure consistent hashing, clients and
1063
1077
  # servers MUST ensure that they serialize messages according to the following
1064
- # rules, even if there are alternate valid encodings for the same message.
1065
- # - Fields are serialized in tag order.
1066
- # - There are no unknown fields.
1067
- # - There are no duplicate fields.
1068
- # - Fields are serialized according to the default semantics for their type.
1078
+ # rules, even if there are alternate valid encodings for the same message:
1079
+ # * Fields are serialized in tag order.
1080
+ # * There are no unknown fields.
1081
+ # * There are no duplicate fields.
1082
+ # * Fields are serialized according to the default semantics for their type.
1069
1083
  # Most protocol buffer implementations will always follow these rules when
1070
1084
  # serializing, but care should be taken to avoid shortcuts. For instance,
1071
1085
  # concatenating two messages to merge them may produce duplicate fields.
@@ -1111,11 +1125,11 @@ module Google
1111
1125
  # When a `Digest` is used to refer to a proto message, it always refers to the
1112
1126
  # message in binary encoded form. To ensure consistent hashing, clients and
1113
1127
  # servers MUST ensure that they serialize messages according to the following
1114
- # rules, even if there are alternate valid encodings for the same message.
1115
- # - Fields are serialized in tag order.
1116
- # - There are no unknown fields.
1117
- # - There are no duplicate fields.
1118
- # - Fields are serialized according to the default semantics for their type.
1128
+ # rules, even if there are alternate valid encodings for the same message:
1129
+ # * Fields are serialized in tag order.
1130
+ # * There are no unknown fields.
1131
+ # * There are no duplicate fields.
1132
+ # * Fields are serialized according to the default semantics for their type.
1119
1133
  # Most protocol buffer implementations will always follow these rules when
1120
1134
  # serializing, but care should be taken to avoid shortcuts. For instance,
1121
1135
  # concatenating two messages to merge them may produce duplicate fields.
@@ -1252,8 +1266,8 @@ module Google
1252
1266
  # external context of the request. The server may use this for logging or other
1253
1267
  # purposes. To use it, the client attaches the header to the call using the
1254
1268
  # canonical proto serialization:
1255
- # name: build.bazel.remote.execution.v2.requestmetadata-bin
1256
- # contents: the base64 encoded binary RequestMetadata message.
1269
+ # * name: `build.bazel.remote.execution.v2.requestmetadata-bin`
1270
+ # * contents: the base64 encoded binary `RequestMetadata` message.
1257
1271
  class BuildBazelRemoteExecutionV2RequestMetadata
1258
1272
  include Google::Apis::Core::Hashable
1259
1273
 
@@ -1373,10 +1387,10 @@ module Google
1373
1387
  # In order to ensure that two equivalent directory trees hash to the same
1374
1388
  # value, the following restrictions MUST be obeyed when constructing a
1375
1389
  # a `Directory`:
1376
- # - Every child in the directory must have a path of exactly one segment.
1390
+ # * Every child in the directory must have a path of exactly one segment.
1377
1391
  # Multiple levels of directory hierarchy may not be collapsed.
1378
- # - Each child in the directory must have a unique path segment (file name).
1379
- # - The files, directories and symlinks in the directory must each be sorted
1392
+ # * Each child in the directory must have a unique path segment (file name).
1393
+ # * The files, directories and symlinks in the directory must each be sorted
1380
1394
  # in lexicographical order by path. The path strings must be sorted by code
1381
1395
  # point, equivalently, by UTF-8 bytes.
1382
1396
  # A `Directory` that obeys the restrictions is said to be in canonical form.
@@ -1701,6 +1715,12 @@ module Google
1701
1715
  # @return [String]
1702
1716
  attr_accessor :location
1703
1717
 
1718
+ # Output only. Whether stack driver logging is enabled for the instance.
1719
+ # Corresponds to the JSON property `loggingEnabled`
1720
+ # @return [Boolean]
1721
+ attr_accessor :logging_enabled
1722
+ alias_method :logging_enabled?, :logging_enabled
1723
+
1704
1724
  # Output only. Instance resource name formatted as:
1705
1725
  # `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
1706
1726
  # Name should not be populated when creating an instance since it is provided
@@ -1721,6 +1741,7 @@ module Google
1721
1741
  # Update properties of this object
1722
1742
  def update!(**args)
1723
1743
  @location = args[:location] if args.key?(:location)
1744
+ @logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled)
1724
1745
  @name = args[:name] if args.key?(:name)
1725
1746
  @state = args[:state] if args.key?(:state)
1726
1747
  end
@@ -1867,8 +1888,10 @@ module Google
1867
1888
  # @return [String]
1868
1889
  attr_accessor :min_cpu_platform
1869
1890
 
1870
- # Output only. `reserved=true` means the worker is reserved and won't be
1871
- # preempted.
1891
+ # Determines whether the worker is reserved (and therefore won't be
1892
+ # preempted).
1893
+ # See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
1894
+ # details.
1872
1895
  # Corresponds to the JSON property `reserved`
1873
1896
  # @return [Boolean]
1874
1897
  attr_accessor :reserved
@@ -3102,6 +3125,16 @@ module Google
3102
3125
  # @return [Fixnum]
3103
3126
  attr_accessor :exit_code
3104
3127
 
3128
+ # Implementation-dependent metadata about the task. Both servers and bots
3129
+ # may define messages which can be encoded here; bots are free to provide
3130
+ # metadata in multiple formats, and servers are free to choose one or more
3131
+ # of the values to process and ignore others. In particular, it is *not*
3132
+ # considered an error for the bot to provide the server with a field that it
3133
+ # doesn't know about.
3134
+ # Corresponds to the JSON property `metadata`
3135
+ # @return [Array<Hash<String,Object>>]
3136
+ attr_accessor :metadata
3137
+
3105
3138
  # The CommandTask and CommandResult messages assume the existence of a service
3106
3139
  # that can serve blobs of content, identified by a hash and size known as a
3107
3140
  # "digest." The method by which these blobs may be retrieved is not specified
@@ -3120,16 +3153,6 @@ module Google
3120
3153
  # @return [String]
3121
3154
  attr_accessor :overhead
3122
3155
 
3123
- # Implementation-dependent statistics about the task. Both servers and bots
3124
- # may define messages which can be encoded here; bots are free to provide
3125
- # statistics in multiple formats, and servers are free to choose one or more
3126
- # of the values to process and ignore others. In particular, it is *not*
3127
- # considered an error for the bot to provide the server with a field that it
3128
- # doesn't know about.
3129
- # Corresponds to the JSON property `statistics`
3130
- # @return [Array<Hash<String,Object>>]
3131
- attr_accessor :statistics
3132
-
3133
3156
  # The `Status` type defines a logical error model that is suitable for different
3134
3157
  # programming environments, including REST APIs and RPC APIs. It is used by
3135
3158
  # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -3181,9 +3204,9 @@ module Google
3181
3204
  def update!(**args)
3182
3205
  @duration = args[:duration] if args.key?(:duration)
3183
3206
  @exit_code = args[:exit_code] if args.key?(:exit_code)
3207
+ @metadata = args[:metadata] if args.key?(:metadata)
3184
3208
  @outputs = args[:outputs] if args.key?(:outputs)
3185
3209
  @overhead = args[:overhead] if args.key?(:overhead)
3186
- @statistics = args[:statistics] if args.key?(:statistics)
3187
3210
  @status = args[:status] if args.key?(:status)
3188
3211
  end
3189
3212
  end
@@ -531,6 +531,7 @@ module Google
531
531
  # @private
532
532
  class Representation < Google::Apis::Core::JsonRepresentation
533
533
  property :cached_result, as: 'cachedResult'
534
+ property :message, as: 'message'
534
535
  property :result, as: 'result', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2ActionResult, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2ActionResult::Representation
535
536
 
536
537
  hash :server_logs, as: 'serverLogs', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2LogFile, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2LogFile::Representation
@@ -729,6 +730,7 @@ module Google
729
730
  # @private
730
731
  class Representation < Google::Apis::Core::JsonRepresentation
731
732
  property :location, as: 'location'
733
+ property :logging_enabled, as: 'loggingEnabled'
732
734
  property :name, as: 'name'
733
735
  property :state, as: 'state'
734
736
  end
@@ -989,10 +991,10 @@ module Google
989
991
  class Representation < Google::Apis::Core::JsonRepresentation
990
992
  property :duration, as: 'duration'
991
993
  property :exit_code, as: 'exitCode'
994
+ collection :metadata, as: 'metadata'
992
995
  property :outputs, as: 'outputs', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2Digest, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2Digest::Representation
993
996
 
994
997
  property :overhead, as: 'overhead'
995
- collection :statistics, as: 'statistics'
996
998
  property :status, as: 'status', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus::Representation
997
999
 
998
1000
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190103'
28
+ REVISION = '20190116'
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'