google-apis-remotebuildexecution_v1alpha 0.1.0 → 0.6.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/remotebuildexecution_v1alpha/classes.rb +169 -36
- data/lib/google/apis/remotebuildexecution_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/remotebuildexecution_v1alpha/representations.rb +34 -6
- data/lib/google/apis/remotebuildexecution_v1alpha/service.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03e4fc5a3055ddb0793089c6b711a81f79feaa627414e8e4037facca5419a85d
|
|
4
|
+
data.tar.gz: f60acd3c602ee458a047097e1445180804f0d1d89a203ffbcc62fce7b96a9970
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89deb24e40d1eb3b783feac7dadb79e63d4f4409577d50b72569039197035182802a595b048006f1166c86fdbcffe1ee8e3f80f4b58bd4e4d15770223dc15d99
|
|
7
|
+
data.tar.gz: 1fdd2d3a9c86988b8d41ffff9439247a044d1e072a61b3dd25362ad2464d454cbd6d1efbdf936bffd56fc8cc8219329b873f4fc174cbbe2cbd851efd7da870a5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Release history for google-apis-remotebuildexecution_v1alpha
|
|
2
2
|
|
|
3
|
+
### v0.6.0 (2021-03-18)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20210316
|
|
6
|
+
* Regenerated using generator version 0.2.0
|
|
7
|
+
|
|
8
|
+
### v0.5.0 (2021-03-04)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20210302
|
|
11
|
+
|
|
12
|
+
### v0.4.0 (2021-02-26)
|
|
13
|
+
|
|
14
|
+
* Regenerated from discovery document revision 20210224
|
|
15
|
+
|
|
16
|
+
### v0.3.0 (2021-02-11)
|
|
17
|
+
|
|
18
|
+
* Regenerated from discovery document revision 20210209
|
|
19
|
+
|
|
20
|
+
### v0.2.0 (2021-02-04)
|
|
21
|
+
|
|
22
|
+
* Regenerated from discovery document revision 20210202
|
|
23
|
+
* Regenerated using generator version 0.1.2
|
|
24
|
+
|
|
3
25
|
### v0.1.0 (2021-01-07)
|
|
4
26
|
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
|
@@ -101,15 +101,23 @@ module Google
|
|
|
101
101
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest]
|
|
102
102
|
attr_accessor :input_root_digest
|
|
103
103
|
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
#
|
|
108
|
-
#
|
|
109
|
-
#
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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::RemotebuildexecutionV1alpha::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,12 +145,16 @@ 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
|
-
@
|
|
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
|
|
144
153
|
|
|
145
|
-
# An ActionResult represents the result of an Action being run.
|
|
154
|
+
# An ActionResult represents the result of an Action being run. It is advised
|
|
155
|
+
# that at least one field (for example `ActionResult.execution_metadata.Worker`)
|
|
156
|
+
# have a non-default value, to ensure that the serialized value is non-empty,
|
|
157
|
+
# which can then be used as a basic data sanity check.
|
|
146
158
|
class BuildBazelRemoteExecutionV2ActionResult
|
|
147
159
|
include Google::Apis::Core::Hashable
|
|
148
160
|
|
|
@@ -405,6 +417,18 @@ module Google
|
|
|
405
417
|
# @return [Array<String>]
|
|
406
418
|
attr_accessor :output_files
|
|
407
419
|
|
|
420
|
+
# A list of keys for node properties the client expects to retrieve for output
|
|
421
|
+
# files and directories. Keys are either names of string-based NodeProperty or
|
|
422
|
+
# names of fields in NodeProperties. In order to ensure that equivalent `Action`
|
|
423
|
+
# s always hash to the same value, the node properties MUST be lexicographically
|
|
424
|
+
# sorted by name. Sorting of strings is done by code point, equivalently, by the
|
|
425
|
+
# UTF-8 bytes. The interpretation of string-based properties is server-dependent.
|
|
426
|
+
# If a property is not recognized by the server, the server will return an `
|
|
427
|
+
# INVALID_ARGUMENT`.
|
|
428
|
+
# Corresponds to the JSON property `outputNodeProperties`
|
|
429
|
+
# @return [Array<String>]
|
|
430
|
+
attr_accessor :output_node_properties
|
|
431
|
+
|
|
408
432
|
# A list of the output paths that the client expects to retrieve from the action.
|
|
409
433
|
# Only the listed paths will be returned to the client as output. The type of
|
|
410
434
|
# the output (file or directory) is not specified, and will be determined by the
|
|
@@ -453,6 +477,7 @@ module Google
|
|
|
453
477
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
|
454
478
|
@output_directories = args[:output_directories] if args.key?(:output_directories)
|
|
455
479
|
@output_files = args[:output_files] if args.key?(:output_files)
|
|
480
|
+
@output_node_properties = args[:output_node_properties] if args.key?(:output_node_properties)
|
|
456
481
|
@output_paths = args[:output_paths] if args.key?(:output_paths)
|
|
457
482
|
@platform = args[:platform] if args.key?(:platform)
|
|
458
483
|
@working_directory = args[:working_directory] if args.key?(:working_directory)
|
|
@@ -573,9 +598,10 @@ module Google
|
|
|
573
598
|
# @return [Array<Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2FileNode>]
|
|
574
599
|
attr_accessor :files
|
|
575
600
|
|
|
576
|
-
#
|
|
601
|
+
# Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
|
|
602
|
+
# responsible for specifying the properties that it accepts.
|
|
577
603
|
# Corresponds to the JSON property `nodeProperties`
|
|
578
|
-
# @return [
|
|
604
|
+
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties]
|
|
579
605
|
attr_accessor :node_properties
|
|
580
606
|
|
|
581
607
|
# The symlinks in the directory.
|
|
@@ -683,14 +709,14 @@ module Google
|
|
|
683
709
|
# @return [String]
|
|
684
710
|
attr_accessor :stage
|
|
685
711
|
|
|
686
|
-
# If set, the client can use this name with ByteStream.Read to stream
|
|
687
|
-
# standard error.
|
|
712
|
+
# If set, the client can use this resource name with ByteStream.Read to stream
|
|
713
|
+
# the standard error from the endpoint hosting streamed responses.
|
|
688
714
|
# Corresponds to the JSON property `stderrStreamName`
|
|
689
715
|
# @return [String]
|
|
690
716
|
attr_accessor :stderr_stream_name
|
|
691
717
|
|
|
692
|
-
# If set, the client can use this name with ByteStream.Read to stream
|
|
693
|
-
# standard output.
|
|
718
|
+
# If set, the client can use this resource name with ByteStream.Read to stream
|
|
719
|
+
# the standard output from the endpoint hosting streamed responses.
|
|
694
720
|
# Corresponds to the JSON property `stdoutStreamName`
|
|
695
721
|
# @return [String]
|
|
696
722
|
attr_accessor :stdout_stream_name
|
|
@@ -725,7 +751,10 @@ module Google
|
|
|
725
751
|
# @return [String]
|
|
726
752
|
attr_accessor :message
|
|
727
753
|
|
|
728
|
-
# An ActionResult represents the result of an Action being run.
|
|
754
|
+
# An ActionResult represents the result of an Action being run. It is advised
|
|
755
|
+
# that at least one field (for example `ActionResult.execution_metadata.Worker`)
|
|
756
|
+
# have a non-default value, to ensure that the serialized value is non-empty,
|
|
757
|
+
# which can then be used as a basic data sanity check.
|
|
729
758
|
# Corresponds to the JSON property `result`
|
|
730
759
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2ActionResult]
|
|
731
760
|
attr_accessor :result
|
|
@@ -768,6 +797,12 @@ module Google
|
|
|
768
797
|
class BuildBazelRemoteExecutionV2ExecutedActionMetadata
|
|
769
798
|
include Google::Apis::Core::Hashable
|
|
770
799
|
|
|
800
|
+
# Details that are specific to the kind of worker used. For example, on POSIX-
|
|
801
|
+
# like systems this could contain a message with getrusage(2) statistics.
|
|
802
|
+
# Corresponds to the JSON property `auxiliaryMetadata`
|
|
803
|
+
# @return [Array<Hash<String,Object>>]
|
|
804
|
+
attr_accessor :auxiliary_metadata
|
|
805
|
+
|
|
771
806
|
# When the worker completed executing the action command.
|
|
772
807
|
# Corresponds to the JSON property `executionCompletedTimestamp`
|
|
773
808
|
# @return [String]
|
|
@@ -824,6 +859,7 @@ module Google
|
|
|
824
859
|
|
|
825
860
|
# Update properties of this object
|
|
826
861
|
def update!(**args)
|
|
862
|
+
@auxiliary_metadata = args[:auxiliary_metadata] if args.key?(:auxiliary_metadata)
|
|
827
863
|
@execution_completed_timestamp = args[:execution_completed_timestamp] if args.key?(:execution_completed_timestamp)
|
|
828
864
|
@execution_start_timestamp = args[:execution_start_timestamp] if args.key?(:execution_start_timestamp)
|
|
829
865
|
@input_fetch_completed_timestamp = args[:input_fetch_completed_timestamp] if args.key?(:input_fetch_completed_timestamp)
|
|
@@ -880,9 +916,10 @@ module Google
|
|
|
880
916
|
# @return [String]
|
|
881
917
|
attr_accessor :name
|
|
882
918
|
|
|
883
|
-
#
|
|
919
|
+
# Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
|
|
920
|
+
# responsible for specifying the properties that it accepts.
|
|
884
921
|
# Corresponds to the JSON property `nodeProperties`
|
|
885
|
-
# @return [
|
|
922
|
+
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties]
|
|
886
923
|
attr_accessor :node_properties
|
|
887
924
|
|
|
888
925
|
def initialize(**args)
|
|
@@ -951,6 +988,38 @@ module Google
|
|
|
951
988
|
end
|
|
952
989
|
end
|
|
953
990
|
|
|
991
|
+
# Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
|
|
992
|
+
# responsible for specifying the properties that it accepts.
|
|
993
|
+
class BuildBazelRemoteExecutionV2NodeProperties
|
|
994
|
+
include Google::Apis::Core::Hashable
|
|
995
|
+
|
|
996
|
+
# The file's last modification timestamp.
|
|
997
|
+
# Corresponds to the JSON property `mtime`
|
|
998
|
+
# @return [String]
|
|
999
|
+
attr_accessor :mtime
|
|
1000
|
+
|
|
1001
|
+
# A list of string-based NodeProperties.
|
|
1002
|
+
# Corresponds to the JSON property `properties`
|
|
1003
|
+
# @return [Array<Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperty>]
|
|
1004
|
+
attr_accessor :properties
|
|
1005
|
+
|
|
1006
|
+
# The UNIX file mode, e.g., 0755.
|
|
1007
|
+
# Corresponds to the JSON property `unixMode`
|
|
1008
|
+
# @return [Fixnum]
|
|
1009
|
+
attr_accessor :unix_mode
|
|
1010
|
+
|
|
1011
|
+
def initialize(**args)
|
|
1012
|
+
update!(**args)
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
# Update properties of this object
|
|
1016
|
+
def update!(**args)
|
|
1017
|
+
@mtime = args[:mtime] if args.key?(:mtime)
|
|
1018
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
1019
|
+
@unix_mode = args[:unix_mode] if args.key?(:unix_mode)
|
|
1020
|
+
end
|
|
1021
|
+
end
|
|
1022
|
+
|
|
954
1023
|
# A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server
|
|
955
1024
|
# is responsible for specifying the property `name`s that it accepts. If
|
|
956
1025
|
# permitted by the server, the same `name` may occur multiple times.
|
|
@@ -1079,9 +1148,10 @@ module Google
|
|
|
1079
1148
|
attr_accessor :is_executable
|
|
1080
1149
|
alias_method :is_executable?, :is_executable
|
|
1081
1150
|
|
|
1082
|
-
#
|
|
1151
|
+
# Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
|
|
1152
|
+
# responsible for specifying the properties that it accepts.
|
|
1083
1153
|
# Corresponds to the JSON property `nodeProperties`
|
|
1084
|
-
# @return [
|
|
1154
|
+
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties]
|
|
1085
1155
|
attr_accessor :node_properties
|
|
1086
1156
|
|
|
1087
1157
|
# The full path of the file relative to the working directory, including the
|
|
@@ -1110,9 +1180,10 @@ module Google
|
|
|
1110
1180
|
class BuildBazelRemoteExecutionV2OutputSymlink
|
|
1111
1181
|
include Google::Apis::Core::Hashable
|
|
1112
1182
|
|
|
1113
|
-
#
|
|
1183
|
+
# Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
|
|
1184
|
+
# responsible for specifying the properties that it accepts.
|
|
1114
1185
|
# Corresponds to the JSON property `nodeProperties`
|
|
1115
|
-
# @return [
|
|
1186
|
+
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties]
|
|
1116
1187
|
attr_accessor :node_properties
|
|
1117
1188
|
|
|
1118
1189
|
# The full path of the symlink relative to the working directory, including the
|
|
@@ -1125,9 +1196,8 @@ module Google
|
|
|
1125
1196
|
# The target path of the symlink. The path separator is a forward slash `/`. The
|
|
1126
1197
|
# target path can be relative to the parent directory of the symlink or it can
|
|
1127
1198
|
# be an absolute path starting with `/`. Support for absolute paths can be
|
|
1128
|
-
# checked using the Capabilities API.
|
|
1129
|
-
#
|
|
1130
|
-
# target path.
|
|
1199
|
+
# checked using the Capabilities API. `..` components are allowed anywhere in
|
|
1200
|
+
# the target path.
|
|
1131
1201
|
# Corresponds to the JSON property `target`
|
|
1132
1202
|
# @return [String]
|
|
1133
1203
|
attr_accessor :target
|
|
@@ -1180,7 +1250,10 @@ module Google
|
|
|
1180
1250
|
# on which the action must be performed may require an exact match with the
|
|
1181
1251
|
# worker's OS. The server MAY use the `value` of one or more properties to
|
|
1182
1252
|
# determine how it sets up the execution environment, such as by making specific
|
|
1183
|
-
# system files available to the worker.
|
|
1253
|
+
# system files available to the worker. Both names and values are typically case-
|
|
1254
|
+
# sensitive. Note that the platform is implicitly part of the action digest, so
|
|
1255
|
+
# even tiny changes in the names or values (like changing case) may result in
|
|
1256
|
+
# different action cache entries.
|
|
1184
1257
|
class BuildBazelRemoteExecutionV2PlatformProperty
|
|
1185
1258
|
include Google::Apis::Core::Hashable
|
|
1186
1259
|
|
|
@@ -1225,12 +1298,33 @@ module Google
|
|
|
1225
1298
|
# @return [String]
|
|
1226
1299
|
attr_accessor :action_id
|
|
1227
1300
|
|
|
1301
|
+
# A brief description of the kind of action, for example, CppCompile or GoLink.
|
|
1302
|
+
# There is no standard agreed set of values for this, and they are expected to
|
|
1303
|
+
# vary between different client tools.
|
|
1304
|
+
# Corresponds to the JSON property `actionMnemonic`
|
|
1305
|
+
# @return [String]
|
|
1306
|
+
attr_accessor :action_mnemonic
|
|
1307
|
+
|
|
1308
|
+
# An identifier for the configuration in which the target was built, e.g. for
|
|
1309
|
+
# differentiating building host tools or different target platforms. There is no
|
|
1310
|
+
# expectation that this value will have any particular structure, or equality
|
|
1311
|
+
# across invocations, though some client tools may offer these guarantees.
|
|
1312
|
+
# Corresponds to the JSON property `configurationId`
|
|
1313
|
+
# @return [String]
|
|
1314
|
+
attr_accessor :configuration_id
|
|
1315
|
+
|
|
1228
1316
|
# An identifier to tie multiple tool invocations together. For example, runs of
|
|
1229
1317
|
# foo_test, bar_test and baz_test on a post-submit of a given patch.
|
|
1230
1318
|
# Corresponds to the JSON property `correlatedInvocationsId`
|
|
1231
1319
|
# @return [String]
|
|
1232
1320
|
attr_accessor :correlated_invocations_id
|
|
1233
1321
|
|
|
1322
|
+
# An identifier for the target which produced this action. No guarantees are
|
|
1323
|
+
# made around how many actions may relate to a single target.
|
|
1324
|
+
# Corresponds to the JSON property `targetId`
|
|
1325
|
+
# @return [String]
|
|
1326
|
+
attr_accessor :target_id
|
|
1327
|
+
|
|
1234
1328
|
# Details for the tool used to call the API.
|
|
1235
1329
|
# Corresponds to the JSON property `toolDetails`
|
|
1236
1330
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2ToolDetails]
|
|
@@ -1249,7 +1343,10 @@ module Google
|
|
|
1249
1343
|
# Update properties of this object
|
|
1250
1344
|
def update!(**args)
|
|
1251
1345
|
@action_id = args[:action_id] if args.key?(:action_id)
|
|
1346
|
+
@action_mnemonic = args[:action_mnemonic] if args.key?(:action_mnemonic)
|
|
1347
|
+
@configuration_id = args[:configuration_id] if args.key?(:configuration_id)
|
|
1252
1348
|
@correlated_invocations_id = args[:correlated_invocations_id] if args.key?(:correlated_invocations_id)
|
|
1349
|
+
@target_id = args[:target_id] if args.key?(:target_id)
|
|
1253
1350
|
@tool_details = args[:tool_details] if args.key?(:tool_details)
|
|
1254
1351
|
@tool_invocation_id = args[:tool_invocation_id] if args.key?(:tool_invocation_id)
|
|
1255
1352
|
end
|
|
@@ -1264,17 +1361,20 @@ module Google
|
|
|
1264
1361
|
# @return [String]
|
|
1265
1362
|
attr_accessor :name
|
|
1266
1363
|
|
|
1267
|
-
#
|
|
1364
|
+
# Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
|
|
1365
|
+
# responsible for specifying the properties that it accepts.
|
|
1268
1366
|
# Corresponds to the JSON property `nodeProperties`
|
|
1269
|
-
# @return [
|
|
1367
|
+
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties]
|
|
1270
1368
|
attr_accessor :node_properties
|
|
1271
1369
|
|
|
1272
1370
|
# The target path of the symlink. The path separator is a forward slash `/`. The
|
|
1273
1371
|
# target path can be relative to the parent directory of the symlink or it can
|
|
1274
1372
|
# be an absolute path starting with `/`. Support for absolute paths can be
|
|
1275
|
-
# checked using the Capabilities API.
|
|
1276
|
-
#
|
|
1277
|
-
#
|
|
1373
|
+
# checked using the Capabilities API. `..` components are allowed anywhere in
|
|
1374
|
+
# the target path as logical canonicalization may lead to different behavior in
|
|
1375
|
+
# the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `
|
|
1376
|
+
# bar`). To reduce potential cache misses, canonicalization is still recommended
|
|
1377
|
+
# where this is possible without impacting correctness.
|
|
1278
1378
|
# Corresponds to the JSON property `target`
|
|
1279
1379
|
# @return [String]
|
|
1280
1380
|
attr_accessor :target
|
|
@@ -1375,6 +1475,17 @@ module Google
|
|
|
1375
1475
|
class GoogleDevtoolsRemotebuildbotCommandDurations
|
|
1376
1476
|
include Google::Apis::Core::Hashable
|
|
1377
1477
|
|
|
1478
|
+
# The time spent to release the CAS blobs used by the task.
|
|
1479
|
+
# Corresponds to the JSON property `casRelease`
|
|
1480
|
+
# @return [String]
|
|
1481
|
+
attr_accessor :cas_release
|
|
1482
|
+
|
|
1483
|
+
# The time spent waiting for Container Manager to assign an asynchronous
|
|
1484
|
+
# container for execution.
|
|
1485
|
+
# Corresponds to the JSON property `cmWaitForAssignment`
|
|
1486
|
+
# @return [String]
|
|
1487
|
+
attr_accessor :cm_wait_for_assignment
|
|
1488
|
+
|
|
1378
1489
|
# The time spent preparing the command to be run in a Docker container (includes
|
|
1379
1490
|
# pulling the Docker image, if necessary).
|
|
1380
1491
|
# Corresponds to the JSON property `dockerPrep`
|
|
@@ -1438,6 +1549,8 @@ module Google
|
|
|
1438
1549
|
|
|
1439
1550
|
# Update properties of this object
|
|
1440
1551
|
def update!(**args)
|
|
1552
|
+
@cas_release = args[:cas_release] if args.key?(:cas_release)
|
|
1553
|
+
@cm_wait_for_assignment = args[:cm_wait_for_assignment] if args.key?(:cm_wait_for_assignment)
|
|
1441
1554
|
@docker_prep = args[:docker_prep] if args.key?(:docker_prep)
|
|
1442
1555
|
@docker_prep_start_time = args[:docker_prep_start_time] if args.key?(:docker_prep_start_time)
|
|
1443
1556
|
@download = args[:download] if args.key?(:download)
|
|
@@ -1457,6 +1570,11 @@ module Google
|
|
|
1457
1570
|
class GoogleDevtoolsRemotebuildbotCommandEvents
|
|
1458
1571
|
include Google::Apis::Core::Hashable
|
|
1459
1572
|
|
|
1573
|
+
# Indicates if and how Container Manager is being used for task execution.
|
|
1574
|
+
# Corresponds to the JSON property `cmUsage`
|
|
1575
|
+
# @return [String]
|
|
1576
|
+
attr_accessor :cm_usage
|
|
1577
|
+
|
|
1460
1578
|
# Indicates whether we are using a cached Docker image (true) or had to pull the
|
|
1461
1579
|
# Docker image (false) for this command.
|
|
1462
1580
|
# Corresponds to the JSON property `dockerCacheHit`
|
|
@@ -1484,17 +1602,32 @@ module Google
|
|
|
1484
1602
|
# @return [Fixnum]
|
|
1485
1603
|
attr_accessor :num_warnings
|
|
1486
1604
|
|
|
1605
|
+
# Indicates whether output files and/or output directories were found relative
|
|
1606
|
+
# to the execution root or to the user provided work directory or both or none.
|
|
1607
|
+
# Corresponds to the JSON property `outputLocation`
|
|
1608
|
+
# @return [String]
|
|
1609
|
+
attr_accessor :output_location
|
|
1610
|
+
|
|
1611
|
+
# Indicates whether an asynchronous container was used for execution.
|
|
1612
|
+
# Corresponds to the JSON property `usedAsyncContainer`
|
|
1613
|
+
# @return [Boolean]
|
|
1614
|
+
attr_accessor :used_async_container
|
|
1615
|
+
alias_method :used_async_container?, :used_async_container
|
|
1616
|
+
|
|
1487
1617
|
def initialize(**args)
|
|
1488
1618
|
update!(**args)
|
|
1489
1619
|
end
|
|
1490
1620
|
|
|
1491
1621
|
# Update properties of this object
|
|
1492
1622
|
def update!(**args)
|
|
1623
|
+
@cm_usage = args[:cm_usage] if args.key?(:cm_usage)
|
|
1493
1624
|
@docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit)
|
|
1494
1625
|
@docker_image_name = args[:docker_image_name] if args.key?(:docker_image_name)
|
|
1495
1626
|
@input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss)
|
|
1496
1627
|
@num_errors = args[:num_errors] if args.key?(:num_errors)
|
|
1497
1628
|
@num_warnings = args[:num_warnings] if args.key?(:num_warnings)
|
|
1629
|
+
@output_location = args[:output_location] if args.key?(:output_location)
|
|
1630
|
+
@used_async_container = args[:used_async_container] if args.key?(:used_async_container)
|
|
1498
1631
|
end
|
|
1499
1632
|
end
|
|
1500
1633
|
|
|
@@ -1983,8 +2116,8 @@ module Google
|
|
|
1983
2116
|
# OR` operators, using parentheses to specify precedence. If neither operator is
|
|
1984
2117
|
# specified, `AND` is assumed. Examples: Include only pools with more than 100
|
|
1985
2118
|
# reserved workers: `(worker_count > 100) (worker_config.reserved = true)`
|
|
1986
|
-
# Include only pools with a certain label or machines of the
|
|
1987
|
-
# `worker_config.labels.key1 : * OR worker_config.machine_type:
|
|
2119
|
+
# Include only pools with a certain label or machines of the e2-standard family:
|
|
2120
|
+
# `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`
|
|
1988
2121
|
# Corresponds to the JSON property `filter`
|
|
1989
2122
|
# @return [String]
|
|
1990
2123
|
attr_accessor :filter
|
|
@@ -2135,7 +2268,7 @@ module Google
|
|
|
2135
2268
|
# @return [Hash<String,String>]
|
|
2136
2269
|
attr_accessor :labels
|
|
2137
2270
|
|
|
2138
|
-
# Required. Machine type of the worker, such as `
|
|
2271
|
+
# Required. Machine type of the worker, such as `e2-standard-2`. See https://
|
|
2139
2272
|
# cloud.google.com/compute/docs/machine-types for a list of supported machine
|
|
2140
2273
|
# types. Note that `f1-micro` and `g1-small` are not yet supported.
|
|
2141
2274
|
# Corresponds to the JSON property `machineType`
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module RemotebuildexecutionV1alpha
|
|
18
18
|
# Version of the google-apis-remotebuildexecution_v1alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.6.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210316"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -94,6 +94,12 @@ module Google
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
class BuildBazelRemoteExecutionV2NodeProperties
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
97
103
|
class BuildBazelRemoteExecutionV2NodeProperty
|
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
105
|
|
|
@@ -402,7 +408,9 @@ module Google
|
|
|
402
408
|
property :do_not_cache, as: 'doNotCache'
|
|
403
409
|
property :input_root_digest, as: 'inputRootDigest', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest::Representation
|
|
404
410
|
|
|
405
|
-
|
|
411
|
+
property :platform, as: 'platform', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Platform, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Platform::Representation
|
|
412
|
+
|
|
413
|
+
property :salt, :base64 => true, as: 'salt'
|
|
406
414
|
property :timeout, as: 'timeout'
|
|
407
415
|
end
|
|
408
416
|
end
|
|
@@ -440,6 +448,7 @@ module Google
|
|
|
440
448
|
|
|
441
449
|
collection :output_directories, as: 'outputDirectories'
|
|
442
450
|
collection :output_files, as: 'outputFiles'
|
|
451
|
+
collection :output_node_properties, as: 'outputNodeProperties'
|
|
443
452
|
collection :output_paths, as: 'outputPaths'
|
|
444
453
|
property :platform, as: 'platform', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Platform, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Platform::Representation
|
|
445
454
|
|
|
@@ -470,7 +479,7 @@ module Google
|
|
|
470
479
|
|
|
471
480
|
collection :files, as: 'files', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2FileNode, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2FileNode::Representation
|
|
472
481
|
|
|
473
|
-
|
|
482
|
+
property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties::Representation
|
|
474
483
|
|
|
475
484
|
collection :symlinks, as: 'symlinks', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2SymlinkNode, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2SymlinkNode::Representation
|
|
476
485
|
|
|
@@ -514,6 +523,7 @@ module Google
|
|
|
514
523
|
class BuildBazelRemoteExecutionV2ExecutedActionMetadata
|
|
515
524
|
# @private
|
|
516
525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
526
|
+
collection :auxiliary_metadata, as: 'auxiliaryMetadata'
|
|
517
527
|
property :execution_completed_timestamp, as: 'executionCompletedTimestamp'
|
|
518
528
|
property :execution_start_timestamp, as: 'executionStartTimestamp'
|
|
519
529
|
property :input_fetch_completed_timestamp, as: 'inputFetchCompletedTimestamp'
|
|
@@ -534,7 +544,7 @@ module Google
|
|
|
534
544
|
|
|
535
545
|
property :is_executable, as: 'isExecutable'
|
|
536
546
|
property :name, as: 'name'
|
|
537
|
-
|
|
547
|
+
property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties::Representation
|
|
538
548
|
|
|
539
549
|
end
|
|
540
550
|
end
|
|
@@ -548,6 +558,16 @@ module Google
|
|
|
548
558
|
end
|
|
549
559
|
end
|
|
550
560
|
|
|
561
|
+
class BuildBazelRemoteExecutionV2NodeProperties
|
|
562
|
+
# @private
|
|
563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
564
|
+
property :mtime, as: 'mtime'
|
|
565
|
+
collection :properties, as: 'properties', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperty, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperty::Representation
|
|
566
|
+
|
|
567
|
+
property :unix_mode, as: 'unixMode'
|
|
568
|
+
end
|
|
569
|
+
end
|
|
570
|
+
|
|
551
571
|
class BuildBazelRemoteExecutionV2NodeProperty
|
|
552
572
|
# @private
|
|
553
573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -572,7 +592,7 @@ module Google
|
|
|
572
592
|
property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest::Representation
|
|
573
593
|
|
|
574
594
|
property :is_executable, as: 'isExecutable'
|
|
575
|
-
|
|
595
|
+
property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties::Representation
|
|
576
596
|
|
|
577
597
|
property :path, as: 'path'
|
|
578
598
|
end
|
|
@@ -581,7 +601,7 @@ module Google
|
|
|
581
601
|
class BuildBazelRemoteExecutionV2OutputSymlink
|
|
582
602
|
# @private
|
|
583
603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
584
|
-
|
|
604
|
+
property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties::Representation
|
|
585
605
|
|
|
586
606
|
property :path, as: 'path'
|
|
587
607
|
property :target, as: 'target'
|
|
@@ -608,7 +628,10 @@ module Google
|
|
|
608
628
|
# @private
|
|
609
629
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
610
630
|
property :action_id, as: 'actionId'
|
|
631
|
+
property :action_mnemonic, as: 'actionMnemonic'
|
|
632
|
+
property :configuration_id, as: 'configurationId'
|
|
611
633
|
property :correlated_invocations_id, as: 'correlatedInvocationsId'
|
|
634
|
+
property :target_id, as: 'targetId'
|
|
612
635
|
property :tool_details, as: 'toolDetails', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2ToolDetails, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2ToolDetails::Representation
|
|
613
636
|
|
|
614
637
|
property :tool_invocation_id, as: 'toolInvocationId'
|
|
@@ -619,7 +642,7 @@ module Google
|
|
|
619
642
|
# @private
|
|
620
643
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
621
644
|
property :name, as: 'name'
|
|
622
|
-
|
|
645
|
+
property :node_properties, as: 'nodeProperties', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties::Representation
|
|
623
646
|
|
|
624
647
|
property :target, as: 'target'
|
|
625
648
|
end
|
|
@@ -646,6 +669,8 @@ module Google
|
|
|
646
669
|
class GoogleDevtoolsRemotebuildbotCommandDurations
|
|
647
670
|
# @private
|
|
648
671
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
672
|
+
property :cas_release, as: 'casRelease'
|
|
673
|
+
property :cm_wait_for_assignment, as: 'cmWaitForAssignment'
|
|
649
674
|
property :docker_prep, as: 'dockerPrep'
|
|
650
675
|
property :docker_prep_start_time, as: 'dockerPrepStartTime'
|
|
651
676
|
property :download, as: 'download'
|
|
@@ -663,11 +688,14 @@ module Google
|
|
|
663
688
|
class GoogleDevtoolsRemotebuildbotCommandEvents
|
|
664
689
|
# @private
|
|
665
690
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
691
|
+
property :cm_usage, as: 'cmUsage'
|
|
666
692
|
property :docker_cache_hit, as: 'dockerCacheHit'
|
|
667
693
|
property :docker_image_name, as: 'dockerImageName'
|
|
668
694
|
property :input_cache_miss, as: 'inputCacheMiss'
|
|
669
695
|
property :num_errors, :numeric_string => true, as: 'numErrors'
|
|
670
696
|
property :num_warnings, :numeric_string => true, as: 'numWarnings'
|
|
697
|
+
property :output_location, as: 'outputLocation'
|
|
698
|
+
property :used_async_container, as: 'usedAsyncContainer'
|
|
671
699
|
end
|
|
672
700
|
end
|
|
673
701
|
|
|
@@ -351,8 +351,8 @@ module Google
|
|
|
351
351
|
# OR` operators, using parentheses to specify precedence. If neither operator is
|
|
352
352
|
# specified, `AND` is assumed. Examples: Include only pools with more than 100
|
|
353
353
|
# reserved workers: `(worker_count > 100) (worker_config.reserved = true)`
|
|
354
|
-
# Include only pools with a certain label or machines of the
|
|
355
|
-
# `worker_config.labels.key1 : * OR worker_config.machine_type:
|
|
354
|
+
# Include only pools with a certain label or machines of the e2-standard family:
|
|
355
|
+
# `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`
|
|
356
356
|
# @param [String] fields
|
|
357
357
|
# Selector specifying which fields to include in a partial response.
|
|
358
358
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-remotebuildexecution_v1alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.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-
|
|
11
|
+
date: 2021-03-22 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_v1alpha/CHANGELOG.md
|
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-remotebuildexecution_v1alpha/v0.
|
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-remotebuildexecution_v1alpha/v0.6.0
|
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-remotebuildexecution_v1alpha
|
|
57
57
|
post_install_message:
|
|
58
58
|
rdoc_options: []
|
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
requirements:
|
|
63
63
|
- - ">="
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
|
-
version: '2.
|
|
65
|
+
version: '2.5'
|
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
requirements:
|
|
68
68
|
- - ">="
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
|
-
rubygems_version: 3.
|
|
72
|
+
rubygems_version: 3.2.13
|
|
73
73
|
signing_key:
|
|
74
74
|
specification_version: 4
|
|
75
75
|
summary: Simple REST client for Remote Build Execution API V1alpha
|