google-apis-remotebuildexecution_v2 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ccd90925b50af764ff4ea46bfcdc5b62fd66cac6a144c40995c3c5583f0e885
4
- data.tar.gz: bd46957725c58d9ac1fa386b4af59a7bef8412ee208f78a693ca60eebfa0db3e
3
+ metadata.gz: 53cd52820b5dcc28f0a2b8ebe184982bb8be20744ca806e2a3d7ef2552499b58
4
+ data.tar.gz: 3b9e326efd9af3df51d831552e106b654ee9b91578ababf7be723b5708ddf7c0
5
5
  SHA512:
6
- metadata.gz: df78cbab079540192c94730a9020abdb85a58b88a51727a043ccb2bdbcc7bad6d66f20feb1404edbccfdbecf47986fe2ef291e8d1dea1e9973c55c82dbbade61
7
- data.tar.gz: eff4be8b923fe7126658ae0def8c0b20b33b79f8471770942a9fc6a269ac2c6795d199b38cb1c8bf9196a2d874153ae91a44b712dfb69ad67f16996115391f60
6
+ metadata.gz: 30bbe2386423debfd3119c38b00e47e7e9334df38a60e65154b750faf167e4fad887a8f0274f898937771ca4ab351f596c2f06b2bc53a1d84df56eb86645c537
7
+ data.tar.gz: c6761e0ddcbbfa385ba9c8c3a6fec7bf22ff1eb6ee0a9880e6abd841875c50ecb40c718d874bde4df66d1a21e6c2912bd722c9e750c571c45bed3cf1e8743a08
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-remotebuildexecution_v2
2
2
 
3
+ ### v0.4.0 (2021-02-26)
4
+
5
+ * Regenerated from discovery document revision 20210224
6
+
3
7
  ### v0.3.0 (2021-02-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20210209
@@ -101,15 +101,23 @@ module Google
101
101
  # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest]
102
102
  attr_accessor :input_root_digest
103
103
 
104
- # List of required supported NodeProperty keys. In order to ensure that
105
- # equivalent `Action`s always hash to the same value, the supported node
106
- # properties MUST be lexicographically sorted by name. Sorting of strings is
107
- # done by code point, equivalently, by the UTF-8 bytes. The interpretation of
108
- # these properties is server-dependent. If a property is not recognized by the
109
- # server, the server will return an `INVALID_ARGUMENT` error.
110
- # Corresponds to the JSON property `outputNodeProperties`
111
- # @return [Array<String>]
112
- attr_accessor :output_node_properties
104
+ # A `Platform` is a set of requirements, such as hardware, operating system, or
105
+ # compiler toolchain, for an Action's execution environment. A `Platform` is
106
+ # represented as a series of key-value pairs representing the properties that
107
+ # are required of the platform.
108
+ # Corresponds to the JSON property `platform`
109
+ # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Platform]
110
+ attr_accessor :platform
111
+
112
+ # An optional additional salt value used to place this `Action` into a separate
113
+ # cache namespace from other instances having the same field contents. This salt
114
+ # typically comes from operational configuration specific to sources such as
115
+ # repo and service configuration, and allows disowning an entire set of
116
+ # ActionResults that might have been poisoned by buggy software or tool failures.
117
+ # Corresponds to the JSON property `salt`
118
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
119
+ # @return [String]
120
+ attr_accessor :salt
113
121
 
114
122
  # A timeout after which the execution should be killed. If the timeout is absent,
115
123
  # then the client is specifying that the execution should continue as long as
@@ -137,7 +145,8 @@ module Google
137
145
  @command_digest = args[:command_digest] if args.key?(:command_digest)
138
146
  @do_not_cache = args[:do_not_cache] if args.key?(:do_not_cache)
139
147
  @input_root_digest = args[:input_root_digest] if args.key?(:input_root_digest)
140
- @output_node_properties = args[:output_node_properties] if args.key?(:output_node_properties)
148
+ @platform = args[:platform] if args.key?(:platform)
149
+ @salt = args[:salt] if args.key?(:salt)
141
150
  @timeout = args[:timeout] if args.key?(:timeout)
142
151
  end
143
152
  end
@@ -162,7 +171,10 @@ module Google
162
171
  end
163
172
  end
164
173
 
165
- # An ActionResult represents the result of an Action being run.
174
+ # An ActionResult represents the result of an Action being run. It is advised
175
+ # that at least one field (for example `ActionResult.execution_metadata.Worker`)
176
+ # have a non-default value, to ensure that the serialized value is non-empty,
177
+ # which can then be used as a basic data sanity check.
166
178
  class BuildBazelRemoteExecutionV2ActionResult
167
179
  include Google::Apis::Core::Hashable
168
180
 
@@ -605,8 +617,8 @@ module Google
605
617
  # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities]
606
618
  attr_accessor :action_cache_update_capabilities
607
619
 
608
- # Allowed values for priority in ResultsCachePolicy Used for querying both cache
609
- # and execution valid priority ranges.
620
+ # Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for
621
+ # querying both cache and execution valid priority ranges.
610
622
  # Corresponds to the JSON property `cachePriorityCapabilities`
611
623
  # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities]
612
624
  attr_accessor :cache_priority_capabilities
@@ -710,6 +722,18 @@ module Google
710
722
  # @return [Array<String>]
711
723
  attr_accessor :output_files
712
724
 
725
+ # A list of keys for node properties the client expects to retrieve for output
726
+ # files and directories. Keys are either names of string-based NodeProperty or
727
+ # names of fields in NodeProperties. In order to ensure that equivalent `Action`
728
+ # s always hash to the same value, the node properties MUST be lexicographically
729
+ # sorted by name. Sorting of strings is done by code point, equivalently, by the
730
+ # UTF-8 bytes. The interpretation of string-based properties is server-dependent.
731
+ # If a property is not recognized by the server, the server will return an `
732
+ # INVALID_ARGUMENT`.
733
+ # Corresponds to the JSON property `outputNodeProperties`
734
+ # @return [Array<String>]
735
+ attr_accessor :output_node_properties
736
+
713
737
  # A list of the output paths that the client expects to retrieve from the action.
714
738
  # Only the listed paths will be returned to the client as output. The type of
715
739
  # the output (file or directory) is not specified, and will be determined by the
@@ -758,6 +782,7 @@ module Google
758
782
  @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
759
783
  @output_directories = args[:output_directories] if args.key?(:output_directories)
760
784
  @output_files = args[:output_files] if args.key?(:output_files)
785
+ @output_node_properties = args[:output_node_properties] if args.key?(:output_node_properties)
761
786
  @output_paths = args[:output_paths] if args.key?(:output_paths)
762
787
  @platform = args[:platform] if args.key?(:platform)
763
788
  @working_directory = args[:working_directory] if args.key?(:working_directory)
@@ -878,9 +903,10 @@ module Google
878
903
  # @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2FileNode>]
879
904
  attr_accessor :files
880
905
 
881
- # The node properties of the Directory.
906
+ # Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
907
+ # responsible for specifying the properties that it accepts.
882
908
  # Corresponds to the JSON property `nodeProperties`
883
- # @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>]
909
+ # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties]
884
910
  attr_accessor :node_properties
885
911
 
886
912
  # The symlinks in the directory.
@@ -988,14 +1014,14 @@ module Google
988
1014
  # @return [String]
989
1015
  attr_accessor :stage
990
1016
 
991
- # If set, the client can use this name with ByteStream.Read to stream the
992
- # standard error.
1017
+ # If set, the client can use this resource name with ByteStream.Read to stream
1018
+ # the standard error from the endpoint hosting streamed responses.
993
1019
  # Corresponds to the JSON property `stderrStreamName`
994
1020
  # @return [String]
995
1021
  attr_accessor :stderr_stream_name
996
1022
 
997
- # If set, the client can use this name with ByteStream.Read to stream the
998
- # standard output.
1023
+ # If set, the client can use this resource name with ByteStream.Read to stream
1024
+ # the standard output from the endpoint hosting streamed responses.
999
1025
  # Corresponds to the JSON property `stdoutStreamName`
1000
1026
  # @return [String]
1001
1027
  attr_accessor :stdout_stream_name
@@ -1102,7 +1128,10 @@ module Google
1102
1128
  # @return [String]
1103
1129
  attr_accessor :message
1104
1130
 
1105
- # An ActionResult represents the result of an Action being run.
1131
+ # An ActionResult represents the result of an Action being run. It is advised
1132
+ # that at least one field (for example `ActionResult.execution_metadata.Worker`)
1133
+ # have a non-default value, to ensure that the serialized value is non-empty,
1134
+ # which can then be used as a basic data sanity check.
1106
1135
  # Corresponds to the JSON property `result`
1107
1136
  # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionResult]
1108
1137
  attr_accessor :result
@@ -1145,6 +1174,12 @@ module Google
1145
1174
  class BuildBazelRemoteExecutionV2ExecutedActionMetadata
1146
1175
  include Google::Apis::Core::Hashable
1147
1176
 
1177
+ # Details that are specific to the kind of worker used. For example, on POSIX-
1178
+ # like systems this could contain a message with getrusage(2) statistics.
1179
+ # Corresponds to the JSON property `auxiliaryMetadata`
1180
+ # @return [Array<Hash<String,Object>>]
1181
+ attr_accessor :auxiliary_metadata
1182
+
1148
1183
  # When the worker completed executing the action command.
1149
1184
  # Corresponds to the JSON property `executionCompletedTimestamp`
1150
1185
  # @return [String]
@@ -1201,6 +1236,7 @@ module Google
1201
1236
 
1202
1237
  # Update properties of this object
1203
1238
  def update!(**args)
1239
+ @auxiliary_metadata = args[:auxiliary_metadata] if args.key?(:auxiliary_metadata)
1204
1240
  @execution_completed_timestamp = args[:execution_completed_timestamp] if args.key?(:execution_completed_timestamp)
1205
1241
  @execution_start_timestamp = args[:execution_start_timestamp] if args.key?(:execution_start_timestamp)
1206
1242
  @input_fetch_completed_timestamp = args[:input_fetch_completed_timestamp] if args.key?(:input_fetch_completed_timestamp)
@@ -1229,8 +1265,8 @@ module Google
1229
1265
  attr_accessor :exec_enabled
1230
1266
  alias_method :exec_enabled?, :exec_enabled
1231
1267
 
1232
- # Allowed values for priority in ResultsCachePolicy Used for querying both cache
1233
- # and execution valid priority ranges.
1268
+ # Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for
1269
+ # querying both cache and execution valid priority ranges.
1234
1270
  # Corresponds to the JSON property `executionPriorityCapabilities`
1235
1271
  # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities]
1236
1272
  attr_accessor :execution_priority_capabilities
@@ -1322,9 +1358,10 @@ module Google
1322
1358
  # @return [String]
1323
1359
  attr_accessor :name
1324
1360
 
1325
- # The node properties of the FileNode.
1361
+ # Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
1362
+ # responsible for specifying the properties that it accepts.
1326
1363
  # Corresponds to the JSON property `nodeProperties`
1327
- # @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>]
1364
+ # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties]
1328
1365
  attr_accessor :node_properties
1329
1366
 
1330
1367
  def initialize(**args)
@@ -1458,6 +1495,38 @@ module Google
1458
1495
  end
1459
1496
  end
1460
1497
 
1498
+ # Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
1499
+ # responsible for specifying the properties that it accepts.
1500
+ class BuildBazelRemoteExecutionV2NodeProperties
1501
+ include Google::Apis::Core::Hashable
1502
+
1503
+ # The file's last modification timestamp.
1504
+ # Corresponds to the JSON property `mtime`
1505
+ # @return [String]
1506
+ attr_accessor :mtime
1507
+
1508
+ # A list of string-based NodeProperties.
1509
+ # Corresponds to the JSON property `properties`
1510
+ # @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>]
1511
+ attr_accessor :properties
1512
+
1513
+ # The UNIX file mode, e.g., 0755.
1514
+ # Corresponds to the JSON property `unixMode`
1515
+ # @return [Fixnum]
1516
+ attr_accessor :unix_mode
1517
+
1518
+ def initialize(**args)
1519
+ update!(**args)
1520
+ end
1521
+
1522
+ # Update properties of this object
1523
+ def update!(**args)
1524
+ @mtime = args[:mtime] if args.key?(:mtime)
1525
+ @properties = args[:properties] if args.key?(:properties)
1526
+ @unix_mode = args[:unix_mode] if args.key?(:unix_mode)
1527
+ end
1528
+ end
1529
+
1461
1530
  # A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server
1462
1531
  # is responsible for specifying the property `name`s that it accepts. If
1463
1532
  # permitted by the server, the same `name` may occur multiple times.
@@ -1586,9 +1655,10 @@ module Google
1586
1655
  attr_accessor :is_executable
1587
1656
  alias_method :is_executable?, :is_executable
1588
1657
 
1589
- # The supported node properties of the OutputFile, if requested by the Action.
1658
+ # Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
1659
+ # responsible for specifying the properties that it accepts.
1590
1660
  # Corresponds to the JSON property `nodeProperties`
1591
- # @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>]
1661
+ # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties]
1592
1662
  attr_accessor :node_properties
1593
1663
 
1594
1664
  # The full path of the file relative to the working directory, including the
@@ -1617,9 +1687,10 @@ module Google
1617
1687
  class BuildBazelRemoteExecutionV2OutputSymlink
1618
1688
  include Google::Apis::Core::Hashable
1619
1689
 
1620
- # The supported node properties of the OutputSymlink, if requested by the Action.
1690
+ # Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
1691
+ # responsible for specifying the properties that it accepts.
1621
1692
  # Corresponds to the JSON property `nodeProperties`
1622
- # @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>]
1693
+ # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties]
1623
1694
  attr_accessor :node_properties
1624
1695
 
1625
1696
  # The full path of the symlink relative to the working directory, including the
@@ -1632,9 +1703,8 @@ module Google
1632
1703
  # The target path of the symlink. The path separator is a forward slash `/`. The
1633
1704
  # target path can be relative to the parent directory of the symlink or it can
1634
1705
  # be an absolute path starting with `/`. Support for absolute paths can be
1635
- # checked using the Capabilities API. The canonical form forbids the substrings `
1636
- # /./` and `//` in the target path. `..` components are allowed anywhere in the
1637
- # target path.
1706
+ # checked using the Capabilities API. `..` components are allowed anywhere in
1707
+ # the target path.
1638
1708
  # Corresponds to the JSON property `target`
1639
1709
  # @return [String]
1640
1710
  attr_accessor :target
@@ -1687,7 +1757,10 @@ module Google
1687
1757
  # on which the action must be performed may require an exact match with the
1688
1758
  # worker's OS. The server MAY use the `value` of one or more properties to
1689
1759
  # determine how it sets up the execution environment, such as by making specific
1690
- # system files available to the worker.
1760
+ # system files available to the worker. Both names and values are typically case-
1761
+ # sensitive. Note that the platform is implicitly part of the action digest, so
1762
+ # even tiny changes in the names or values (like changing case) may result in
1763
+ # different action cache entries.
1691
1764
  class BuildBazelRemoteExecutionV2PlatformProperty
1692
1765
  include Google::Apis::Core::Hashable
1693
1766
 
@@ -1712,8 +1785,8 @@ module Google
1712
1785
  end
1713
1786
  end
1714
1787
 
1715
- # Allowed values for priority in ResultsCachePolicy Used for querying both cache
1716
- # and execution valid priority ranges.
1788
+ # Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for
1789
+ # querying both cache and execution valid priority ranges.
1717
1790
  class BuildBazelRemoteExecutionV2PriorityCapabilities
1718
1791
  include Google::Apis::Core::Hashable
1719
1792
 
@@ -1736,12 +1809,14 @@ module Google
1736
1809
  class BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange
1737
1810
  include Google::Apis::Core::Hashable
1738
1811
 
1739
- #
1812
+ # The maximum numeric value for this priority range, which represents the least
1813
+ # urgent task or shortest retained item.
1740
1814
  # Corresponds to the JSON property `maxPriority`
1741
1815
  # @return [Fixnum]
1742
1816
  attr_accessor :max_priority
1743
1817
 
1744
- #
1818
+ # The minimum numeric value for this priority range, which represents the most
1819
+ # urgent task or longest retained item.
1745
1820
  # Corresponds to the JSON property `minPriority`
1746
1821
  # @return [Fixnum]
1747
1822
  attr_accessor :min_priority
@@ -1885,17 +1960,20 @@ module Google
1885
1960
  # @return [String]
1886
1961
  attr_accessor :name
1887
1962
 
1888
- # The node properties of the SymlinkNode.
1963
+ # Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
1964
+ # responsible for specifying the properties that it accepts.
1889
1965
  # Corresponds to the JSON property `nodeProperties`
1890
- # @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>]
1966
+ # @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties]
1891
1967
  attr_accessor :node_properties
1892
1968
 
1893
1969
  # The target path of the symlink. The path separator is a forward slash `/`. The
1894
1970
  # target path can be relative to the parent directory of the symlink or it can
1895
1971
  # be an absolute path starting with `/`. Support for absolute paths can be
1896
- # checked using the Capabilities API. The canonical form forbids the substrings `
1897
- # /./` and `//` in the target path. `..` components are allowed anywhere in the
1898
- # target path.
1972
+ # checked using the Capabilities API. `..` components are allowed anywhere in
1973
+ # the target path as logical canonicalization may lead to different behavior in
1974
+ # the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `
1975
+ # bar`). To reduce potential cache misses, canonicalization is still recommended
1976
+ # where this is possible without impacting correctness.
1899
1977
  # Corresponds to the JSON property `target`
1900
1978
  # @return [String]
1901
1979
  attr_accessor :target
@@ -2048,6 +2126,11 @@ module Google
2048
2126
  class GoogleDevtoolsRemotebuildbotCommandDurations
2049
2127
  include Google::Apis::Core::Hashable
2050
2128
 
2129
+ # The time spent to release the CAS blobs used by the task.
2130
+ # Corresponds to the JSON property `casRelease`
2131
+ # @return [String]
2132
+ attr_accessor :cas_release
2133
+
2051
2134
  # The time spent waiting for Container Manager to assign an asynchronous
2052
2135
  # container for execution.
2053
2136
  # Corresponds to the JSON property `cmWaitForAssignment`
@@ -2117,6 +2200,7 @@ module Google
2117
2200
 
2118
2201
  # Update properties of this object
2119
2202
  def update!(**args)
2203
+ @cas_release = args[:cas_release] if args.key?(:cas_release)
2120
2204
  @cm_wait_for_assignment = args[:cm_wait_for_assignment] if args.key?(:cm_wait_for_assignment)
2121
2205
  @docker_prep = args[:docker_prep] if args.key?(:docker_prep)
2122
2206
  @docker_prep_start_time = args[:docker_prep_start_time] if args.key?(:docker_prep_start_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RemotebuildexecutionV2
18
18
  # Version of the google-apis-remotebuildexecution_v2 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210209"
25
+ REVISION = "20210224"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class BuildBazelRemoteExecutionV2NodeProperties
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class BuildBazelRemoteExecutionV2NodeProperty
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -528,7 +534,9 @@ module Google
528
534
  property :do_not_cache, as: 'doNotCache'
529
535
  property :input_root_digest, as: 'inputRootDigest', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest::Representation
530
536
 
531
- collection :output_node_properties, as: 'outputNodeProperties'
537
+ property :platform, as: 'platform', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Platform, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Platform::Representation
538
+
539
+ property :salt, :base64 => true, as: 'salt'
532
540
  property :timeout, as: 'timeout'
533
541
  end
534
542
  end
@@ -648,6 +656,7 @@ module Google
648
656
 
649
657
  collection :output_directories, as: 'outputDirectories'
650
658
  collection :output_files, as: 'outputFiles'
659
+ collection :output_node_properties, as: 'outputNodeProperties'
651
660
  collection :output_paths, as: 'outputPaths'
652
661
  property :platform, as: 'platform', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Platform, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Platform::Representation
653
662
 
@@ -678,7 +687,7 @@ module Google
678
687
 
679
688
  collection :files, as: 'files', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2FileNode, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2FileNode::Representation
680
689
 
681
- collection :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty::Representation
690
+ property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties::Representation
682
691
 
683
692
  collection :symlinks, as: 'symlinks', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode::Representation
684
693
 
@@ -735,6 +744,7 @@ module Google
735
744
  class BuildBazelRemoteExecutionV2ExecutedActionMetadata
736
745
  # @private
737
746
  class Representation < Google::Apis::Core::JsonRepresentation
747
+ collection :auxiliary_metadata, as: 'auxiliaryMetadata'
738
748
  property :execution_completed_timestamp, as: 'executionCompletedTimestamp'
739
749
  property :execution_start_timestamp, as: 'executionStartTimestamp'
740
750
  property :input_fetch_completed_timestamp, as: 'inputFetchCompletedTimestamp'
@@ -773,7 +783,7 @@ module Google
773
783
 
774
784
  property :is_executable, as: 'isExecutable'
775
785
  property :name, as: 'name'
776
- collection :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty::Representation
786
+ property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties::Representation
777
787
 
778
788
  end
779
789
  end
@@ -812,6 +822,16 @@ module Google
812
822
  end
813
823
  end
814
824
 
825
+ class BuildBazelRemoteExecutionV2NodeProperties
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :mtime, as: 'mtime'
829
+ collection :properties, as: 'properties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty::Representation
830
+
831
+ property :unix_mode, as: 'unixMode'
832
+ end
833
+ end
834
+
815
835
  class BuildBazelRemoteExecutionV2NodeProperty
816
836
  # @private
817
837
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -836,7 +856,7 @@ module Google
836
856
  property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest::Representation
837
857
 
838
858
  property :is_executable, as: 'isExecutable'
839
- collection :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty::Representation
859
+ property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties::Representation
840
860
 
841
861
  property :path, as: 'path'
842
862
  end
@@ -845,7 +865,7 @@ module Google
845
865
  class BuildBazelRemoteExecutionV2OutputSymlink
846
866
  # @private
847
867
  class Representation < Google::Apis::Core::JsonRepresentation
848
- collection :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty::Representation
868
+ property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties::Representation
849
869
 
850
870
  property :path, as: 'path'
851
871
  property :target, as: 'target'
@@ -922,7 +942,7 @@ module Google
922
942
  # @private
923
943
  class Representation < Google::Apis::Core::JsonRepresentation
924
944
  property :name, as: 'name'
925
- collection :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty::Representation
945
+ property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties::Representation
926
946
 
927
947
  property :target, as: 'target'
928
948
  end
@@ -965,6 +985,7 @@ module Google
965
985
  class GoogleDevtoolsRemotebuildbotCommandDurations
966
986
  # @private
967
987
  class Representation < Google::Apis::Core::JsonRepresentation
988
+ property :cas_release, as: 'casRelease'
968
989
  property :cm_wait_for_assignment, as: 'cmWaitForAssignment'
969
990
  property :docker_prep, as: 'dockerPrep'
970
991
  property :docker_prep_start_time, as: 'dockerPrepStartTime'
@@ -52,7 +52,7 @@ module Google
52
52
  # Retrieve a cached execution result. Implementations SHOULD ensure that any
53
53
  # blobs referenced from the ContentAddressableStorage are available at the time
54
54
  # of returning the ActionResult and will be for some period of time afterwards.
55
- # The TTLs of the referenced blobs SHOULD be increased if necessary and
55
+ # The lifetimes of the referenced blobs SHOULD be increased if necessary and
56
56
  # applicable. Errors: * `NOT_FOUND`: The requested `ActionResult` is not in the
57
57
  # cache.
58
58
  # @param [String] instance_name
@@ -67,7 +67,8 @@ module Google
67
67
  # The size of the blob, in bytes.
68
68
  # @param [Array<String>, String] inline_output_files
69
69
  # A hint to the server to inline the contents of the listed output files. Each
70
- # path needs to exactly match one path in `output_files` in the Command message.
70
+ # path needs to exactly match one file path in either `output_paths` or `
71
+ # output_files` (DEPRECATED since v2.1) in the Command message.
71
72
  # @param [Boolean] inline_stderr
72
73
  # A hint to the server to request inlining stderr in the ActionResult message.
73
74
  # @param [Boolean] inline_stdout
@@ -107,11 +108,12 @@ module Google
107
108
  # Upload a new execution result. In order to allow the server to perform access
108
109
  # control based on the type of action, and to assist with client debugging, the
109
110
  # client MUST first upload the Action that produced the result, along with its
110
- # Command, into the `ContentAddressableStorage`. Errors: * `INVALID_ARGUMENT`:
111
- # One or more arguments are invalid. * `FAILED_PRECONDITION`: One or more errors
112
- # occurred in updating the action result, such as a missing command or action. *
113
- # `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the entry to
114
- # the cache.
111
+ # Command, into the `ContentAddressableStorage`. Server implementations MAY
112
+ # modify the `UpdateActionResultRequest.action_result` and return an equivalent
113
+ # value. Errors: * `INVALID_ARGUMENT`: One or more arguments are invalid. * `
114
+ # FAILED_PRECONDITION`: One or more errors occurred in updating the action
115
+ # result, such as a missing command or action. * `RESOURCE_EXHAUSTED`: There is
116
+ # insufficient storage space to add the entry to the cache.
115
117
  # @param [String] instance_name
116
118
  # The instance of the execution system to operate against. A server may support
117
119
  # multiple instances of the execution system (with their own workers, storage,
@@ -201,7 +203,10 @@ module Google
201
203
  # additionally send a PreconditionFailure error detail where, for each requested
202
204
  # blob not present in the CAS, there is a `Violation` with a `type` of `MISSING`
203
205
  # and a `subject` of `"blobs/`hash`/`size`"` indicating the digest of the
204
- # missing blob.
206
+ # missing blob. The server does not need to guarantee that a call to this method
207
+ # leads to at most one execution of the action. The server MAY execute the
208
+ # action multiple times, potentially in parallel. These redundant executions MAY
209
+ # continue to run, even if the operation is completed.
205
210
  # @param [String] instance_name
206
211
  # The instance of the execution system to operate against. A server may support
207
212
  # multiple instances of the execution system (with their own workers, storage,
@@ -329,7 +334,7 @@ module Google
329
334
 
330
335
  # Determine if blobs are present in the CAS. Clients can use this API before
331
336
  # uploading blobs to determine which ones are already present in the CAS and do
332
- # not need to be uploaded again. Servers SHOULD increase the TTLs of the
337
+ # not need to be uploaded again. Servers SHOULD increase the lifetimes of the
333
338
  # referenced blobs if necessary and applicable. There are no method-specific
334
339
  # errors.
335
340
  # @param [String] instance_name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-remotebuildexecution_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2021-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-remotebuildexecution_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-remotebuildexecution_v2/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-remotebuildexecution_v2/v0.4.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-remotebuildexecution_v2
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.11
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Remote Build Execution API V2