google-api-client 0.30.2 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -630,6 +630,7 @@ module Google
|
|
|
630
630
|
class BuildBazelRemoteExecutionV2OutputFile
|
|
631
631
|
# @private
|
|
632
632
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
633
|
+
property :contents, :base64 => true, as: 'contents'
|
|
633
634
|
property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2Digest, decorator: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2Digest::Representation
|
|
634
635
|
|
|
635
636
|
property :is_executable, as: 'isExecutable'
|
|
@@ -812,6 +813,7 @@ module Google
|
|
|
812
813
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
|
|
813
814
|
# @private
|
|
814
815
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
816
|
+
property :filter, as: 'filter'
|
|
815
817
|
property :parent, as: 'parent'
|
|
816
818
|
end
|
|
817
819
|
end
|
|
@@ -838,6 +840,7 @@ module Google
|
|
|
838
840
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
839
841
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
|
840
842
|
property :disk_type, as: 'diskType'
|
|
843
|
+
hash :labels, as: 'labels'
|
|
841
844
|
property :machine_type, as: 'machineType'
|
|
842
845
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
|
843
846
|
property :reserved, as: 'reserved'
|
|
@@ -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 = '
|
|
28
|
+
REVISION = '20190618'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -75,7 +75,8 @@ module Google
|
|
|
75
75
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest]
|
|
76
76
|
attr_accessor :command_digest
|
|
77
77
|
|
|
78
|
-
# If true, then the `Action`'s result cannot be cached
|
|
78
|
+
# If true, then the `Action`'s result cannot be cached, and in-flight
|
|
79
|
+
# requests for the same `Action` may not be merged.
|
|
79
80
|
# Corresponds to the JSON property `doNotCache`
|
|
80
81
|
# @return [Boolean]
|
|
81
82
|
attr_accessor :do_not_cache
|
|
@@ -216,6 +217,8 @@ module Google
|
|
|
216
217
|
# `
|
|
217
218
|
# `
|
|
218
219
|
# ```
|
|
220
|
+
# If an output of the same name was found, but was not a directory, the
|
|
221
|
+
# server will return a FAILED_PRECONDITION.
|
|
219
222
|
# Corresponds to the JSON property `outputDirectories`
|
|
220
223
|
# @return [Array<Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2OutputDirectory>]
|
|
221
224
|
attr_accessor :output_directories
|
|
@@ -226,11 +229,12 @@ module Google
|
|
|
226
229
|
# if the server supports
|
|
227
230
|
# SymlinkAbsolutePathStrategy.ALLOWED.
|
|
228
231
|
# For each output directory requested in the `output_directories` field of
|
|
229
|
-
# the Action, if the directory
|
|
230
|
-
#
|
|
231
|
-
#
|
|
232
|
-
# If
|
|
233
|
-
#
|
|
232
|
+
# the Action, if the directory existed after the action completed, a
|
|
233
|
+
# single entry will be present either in this field, or in the
|
|
234
|
+
# `output_directories` field, if the directory was not a symbolic link.
|
|
235
|
+
# If an output of the same name was found, but was a symbolic link to a file
|
|
236
|
+
# instead of a directory, the server will return a FAILED_PRECONDITION.
|
|
237
|
+
# If the action does not produce the requested output, then that output
|
|
234
238
|
# will be omitted from the list. The server is free to arrange the output
|
|
235
239
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
|
236
240
|
# Corresponds to the JSON property `outputDirectorySymlinks`
|
|
@@ -245,8 +249,9 @@ module Google
|
|
|
245
249
|
# if the corresponding file existed after
|
|
246
250
|
# the action completed, a single entry will be present either in this field,
|
|
247
251
|
# or in the `output_files` field, if the file was not a symbolic link.
|
|
248
|
-
# If
|
|
249
|
-
#
|
|
252
|
+
# If an output symbolic link of the same name was found, but its target
|
|
253
|
+
# type was not a regular file, the server will return a FAILED_PRECONDITION.
|
|
254
|
+
# If the action does not produce the requested output, then that output
|
|
250
255
|
# will be omitted from the list. The server is free to arrange the output
|
|
251
256
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
|
252
257
|
# Corresponds to the JSON property `outputFileSymlinks`
|
|
@@ -256,10 +261,11 @@ module Google
|
|
|
256
261
|
# The output files of the action. For each output file requested in the
|
|
257
262
|
# `output_files` field of the Action, if the corresponding file existed after
|
|
258
263
|
# the action completed, a single entry will be present either in this field,
|
|
259
|
-
# or
|
|
264
|
+
# or the `output_file_symlinks` field if the file was a symbolic link to
|
|
260
265
|
# another file.
|
|
261
|
-
# If
|
|
262
|
-
#
|
|
266
|
+
# If an output of the same name was found, but was a directory rather
|
|
267
|
+
# than a regular file, the server will return a FAILED_PRECONDITION.
|
|
268
|
+
# If the action does not produce the requested output, then that output
|
|
263
269
|
# will be omitted from the list. The server is free to arrange the output
|
|
264
270
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
|
265
271
|
# Corresponds to the JSON property `outputFiles`
|
|
@@ -297,12 +303,12 @@ module Google
|
|
|
297
303
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest]
|
|
298
304
|
attr_accessor :stderr_digest
|
|
299
305
|
|
|
300
|
-
# The standard error buffer of the action. The server
|
|
301
|
-
#
|
|
302
|
-
#
|
|
303
|
-
#
|
|
304
|
-
#
|
|
305
|
-
#
|
|
306
|
+
# The standard error buffer of the action. The server SHOULD NOT inline
|
|
307
|
+
# stderr unless requested by the client in the
|
|
308
|
+
# GetActionResultRequest
|
|
309
|
+
# message. The server MAY omit inlining, even if requested, and MUST do so if
|
|
310
|
+
# inlining
|
|
311
|
+
# would cause the response to exceed message size limits.
|
|
306
312
|
# Corresponds to the JSON property `stderrRaw`
|
|
307
313
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
308
314
|
# @return [String]
|
|
@@ -339,12 +345,12 @@ module Google
|
|
|
339
345
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest]
|
|
340
346
|
attr_accessor :stdout_digest
|
|
341
347
|
|
|
342
|
-
# The standard output buffer of the action. The server
|
|
343
|
-
#
|
|
344
|
-
#
|
|
345
|
-
#
|
|
346
|
-
#
|
|
347
|
-
#
|
|
348
|
+
# The standard output buffer of the action. The server SHOULD NOT inline
|
|
349
|
+
# stdout unless requested by the client in the
|
|
350
|
+
# GetActionResultRequest
|
|
351
|
+
# message. The server MAY omit inlining, even if requested, and MUST do so if
|
|
352
|
+
# inlining
|
|
353
|
+
# would cause the response to exceed message size limits.
|
|
348
354
|
# Corresponds to the JSON property `stdoutRaw`
|
|
349
355
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
350
356
|
# @return [String]
|
|
@@ -414,7 +420,8 @@ module Google
|
|
|
414
420
|
# MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
|
|
415
421
|
# bytes).
|
|
416
422
|
# An output directory cannot be duplicated or have the same path as any of
|
|
417
|
-
# the listed output files.
|
|
423
|
+
# the listed output files. An output directory is allowed to be a parent of
|
|
424
|
+
# another output directory.
|
|
418
425
|
# Directories leading up to the output directories (but not the output
|
|
419
426
|
# directories themselves) are created by the worker prior to execution, even
|
|
420
427
|
# if they are not explicitly part of the input root.
|
|
@@ -565,6 +572,11 @@ module Google
|
|
|
565
572
|
# * Every child in the directory must have a path of exactly one segment.
|
|
566
573
|
# Multiple levels of directory hierarchy may not be collapsed.
|
|
567
574
|
# * Each child in the directory must have a unique path segment (file name).
|
|
575
|
+
# Note that while the API itself is case-sensitive, the environment where
|
|
576
|
+
# the Action is executed may or may not be case-sensitive. That is, it is
|
|
577
|
+
# legal to call the API with a Directory that has both "Foo" and "foo" as
|
|
578
|
+
# children, but the Action may be rejected by the remote system upon
|
|
579
|
+
# execution.
|
|
568
580
|
# * The files, directories and symlinks in the directory must each be sorted
|
|
569
581
|
# in lexicographical order by path. The path strings must be sorted by code
|
|
570
582
|
# point, equivalently, by UTF-8 bytes.
|
|
@@ -730,7 +742,7 @@ module Google
|
|
|
730
742
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest]
|
|
731
743
|
attr_accessor :action_digest
|
|
732
744
|
|
|
733
|
-
#
|
|
745
|
+
# The current stage of execution.
|
|
734
746
|
# Corresponds to the JSON property `stage`
|
|
735
747
|
# @return [String]
|
|
736
748
|
attr_accessor :stage
|
|
@@ -1069,10 +1081,21 @@ module Google
|
|
|
1069
1081
|
# FileNode, but it is used as an
|
|
1070
1082
|
# output in an `ActionResult`. It allows a full file path rather than
|
|
1071
1083
|
# only a name.
|
|
1072
|
-
# `OutputFile` is binary-compatible with `FileNode`.
|
|
1073
1084
|
class BuildBazelRemoteExecutionV2OutputFile
|
|
1074
1085
|
include Google::Apis::Core::Hashable
|
|
1075
1086
|
|
|
1087
|
+
# The contents of the file if inlining was requested. The server SHOULD NOT
|
|
1088
|
+
# inline
|
|
1089
|
+
# file contents unless requested by the client in the
|
|
1090
|
+
# GetActionResultRequest
|
|
1091
|
+
# message. The server MAY omit inlining, even if requested, and MUST do so if
|
|
1092
|
+
# inlining
|
|
1093
|
+
# would cause the response to exceed message size limits.
|
|
1094
|
+
# Corresponds to the JSON property `contents`
|
|
1095
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1096
|
+
# @return [String]
|
|
1097
|
+
attr_accessor :contents
|
|
1098
|
+
|
|
1076
1099
|
# A content digest. A digest for a given blob consists of the size of the blob
|
|
1077
1100
|
# and its hash. The hash algorithm to use is defined by the server, but servers
|
|
1078
1101
|
# SHOULD use SHA-256.
|
|
@@ -1123,6 +1146,7 @@ module Google
|
|
|
1123
1146
|
|
|
1124
1147
|
# Update properties of this object
|
|
1125
1148
|
def update!(**args)
|
|
1149
|
+
@contents = args[:contents] if args.key?(:contents)
|
|
1126
1150
|
@digest = args[:digest] if args.key?(:digest)
|
|
1127
1151
|
@is_executable = args[:is_executable] if args.key?(:is_executable)
|
|
1128
1152
|
@path = args[:path] if args.key?(:path)
|
|
@@ -1235,6 +1259,12 @@ module Google
|
|
|
1235
1259
|
# canonical proto serialization:
|
|
1236
1260
|
# * name: `build.bazel.remote.execution.v2.requestmetadata-bin`
|
|
1237
1261
|
# * contents: the base64 encoded binary `RequestMetadata` message.
|
|
1262
|
+
# Note: the gRPC library serializes binary headers encoded in base 64 by
|
|
1263
|
+
# default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#
|
|
1264
|
+
# requests).
|
|
1265
|
+
# Therefore, if the gRPC library is used to pass/retrieve this
|
|
1266
|
+
# metadata, the user may ignore the base64 encoding and assume it is simply
|
|
1267
|
+
# serialized as a binary message.
|
|
1238
1268
|
class BuildBazelRemoteExecutionV2RequestMetadata
|
|
1239
1269
|
include Google::Apis::Core::Hashable
|
|
1240
1270
|
|
|
@@ -1357,6 +1387,11 @@ module Google
|
|
|
1357
1387
|
# * Every child in the directory must have a path of exactly one segment.
|
|
1358
1388
|
# Multiple levels of directory hierarchy may not be collapsed.
|
|
1359
1389
|
# * Each child in the directory must have a unique path segment (file name).
|
|
1390
|
+
# Note that while the API itself is case-sensitive, the environment where
|
|
1391
|
+
# the Action is executed may or may not be case-sensitive. That is, it is
|
|
1392
|
+
# legal to call the API with a Directory that has both "Foo" and "foo" as
|
|
1393
|
+
# children, but the Action may be rejected by the remote system upon
|
|
1394
|
+
# execution.
|
|
1360
1395
|
# * The files, directories and symlinks in the directory must each be sorted
|
|
1361
1396
|
# in lexicographical order by path. The path strings must be sorted by code
|
|
1362
1397
|
# point, equivalently, by UTF-8 bytes.
|
|
@@ -1788,6 +1823,22 @@ module Google
|
|
|
1788
1823
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
|
|
1789
1824
|
include Google::Apis::Core::Hashable
|
|
1790
1825
|
|
|
1826
|
+
# Optional. A filter to constrain the pools returned. Filters have the form:
|
|
1827
|
+
# <field> <operator> <value> [[AND|OR] <field> <operator> <value>]...
|
|
1828
|
+
# <field> is the path for a field or map key in the Pool proto message.
|
|
1829
|
+
# e.g. "configuration.disk_size_gb" or "configuration.labels.key".
|
|
1830
|
+
# <operator> can be one of "<", "<=", ">=", ">", "=", "!=", ":".
|
|
1831
|
+
# ":" is a HAS operation for strings and repeated primitive fields.
|
|
1832
|
+
# <value> is the value to test, case-insensitive for strings. "*" stands for
|
|
1833
|
+
# any value and can be used to test for key presence.
|
|
1834
|
+
# Parenthesis determine AND/OR precedence. In space separated restrictions,
|
|
1835
|
+
# AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y".
|
|
1836
|
+
# Example filter:
|
|
1837
|
+
# configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING)
|
|
1838
|
+
# Corresponds to the JSON property `filter`
|
|
1839
|
+
# @return [String]
|
|
1840
|
+
attr_accessor :filter
|
|
1841
|
+
|
|
1791
1842
|
# Resource name of the instance.
|
|
1792
1843
|
# Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
|
1793
1844
|
# Corresponds to the JSON property `parent`
|
|
@@ -1800,6 +1851,7 @@ module Google
|
|
|
1800
1851
|
|
|
1801
1852
|
# Update properties of this object
|
|
1802
1853
|
def update!(**args)
|
|
1854
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
1803
1855
|
@parent = args[:parent] if args.key?(:parent)
|
|
1804
1856
|
end
|
|
1805
1857
|
end
|
|
@@ -1874,6 +1926,16 @@ module Google
|
|
|
1874
1926
|
# @return [String]
|
|
1875
1927
|
attr_accessor :disk_type
|
|
1876
1928
|
|
|
1929
|
+
# Labels associated with the workers.
|
|
1930
|
+
# Label keys and values can be no longer than 63 characters, can only contain
|
|
1931
|
+
# lowercase letters, numeric characters, underscores and dashes.
|
|
1932
|
+
# International letters are permitted. Keys must start with a letter but
|
|
1933
|
+
# values are optional.
|
|
1934
|
+
# There can not be more than 64 labels per resource.
|
|
1935
|
+
# Corresponds to the JSON property `labels`
|
|
1936
|
+
# @return [Hash<String,String>]
|
|
1937
|
+
attr_accessor :labels
|
|
1938
|
+
|
|
1877
1939
|
# Required. Machine type of the worker, such as `n1-standard-2`.
|
|
1878
1940
|
# See https://cloud.google.com/compute/docs/machine-types for a list of
|
|
1879
1941
|
# supported machine types. Note that `f1-micro` and `g1-small` are not yet
|
|
@@ -1905,6 +1967,7 @@ module Google
|
|
|
1905
1967
|
def update!(**args)
|
|
1906
1968
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
1907
1969
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
1970
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1908
1971
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
1909
1972
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
|
1910
1973
|
@reserved = args[:reserved] if args.key?(:reserved)
|
|
@@ -594,6 +594,7 @@ module Google
|
|
|
594
594
|
class BuildBazelRemoteExecutionV2OutputFile
|
|
595
595
|
# @private
|
|
596
596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
597
|
+
property :contents, :base64 => true, as: 'contents'
|
|
597
598
|
property :digest, as: 'digest', class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest, decorator: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2Digest::Representation
|
|
598
599
|
|
|
599
600
|
property :is_executable, as: 'isExecutable'
|
|
@@ -769,6 +770,7 @@ module Google
|
|
|
769
770
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
|
|
770
771
|
# @private
|
|
771
772
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
773
|
+
property :filter, as: 'filter'
|
|
772
774
|
property :parent, as: 'parent'
|
|
773
775
|
end
|
|
774
776
|
end
|
|
@@ -795,6 +797,7 @@ module Google
|
|
|
795
797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
796
798
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
|
797
799
|
property :disk_type, as: 'diskType'
|
|
800
|
+
hash :labels, as: 'labels'
|
|
798
801
|
property :machine_type, as: 'machineType'
|
|
799
802
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
|
800
803
|
property :reserved, as: 'reserved'
|
|
@@ -290,6 +290,19 @@ module Google
|
|
|
290
290
|
# @param [String] parent
|
|
291
291
|
# Resource name of the instance.
|
|
292
292
|
# Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
|
293
|
+
# @param [String] filter
|
|
294
|
+
# Optional. A filter to constrain the pools returned. Filters have the form:
|
|
295
|
+
# <field> <operator> <value> [[AND|OR] <field> <operator> <value>]...
|
|
296
|
+
# <field> is the path for a field or map key in the Pool proto message.
|
|
297
|
+
# e.g. "configuration.disk_size_gb" or "configuration.labels.key".
|
|
298
|
+
# <operator> can be one of "<", "<=", ">=", ">", "=", "!=", ":".
|
|
299
|
+
# ":" is a HAS operation for strings and repeated primitive fields.
|
|
300
|
+
# <value> is the value to test, case-insensitive for strings. "*" stands for
|
|
301
|
+
# any value and can be used to test for key presence.
|
|
302
|
+
# Parenthesis determine AND/OR precedence. In space separated restrictions,
|
|
303
|
+
# AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y".
|
|
304
|
+
# Example filter:
|
|
305
|
+
# configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING)
|
|
293
306
|
# @param [String] fields
|
|
294
307
|
# Selector specifying which fields to include in a partial response.
|
|
295
308
|
# @param [String] quota_user
|
|
@@ -307,11 +320,12 @@ module Google
|
|
|
307
320
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
308
321
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
309
322
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
310
|
-
def list_project_instance_workerpools(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
323
|
+
def list_project_instance_workerpools(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
311
324
|
command = make_simple_command(:get, 'v1alpha/{+parent}/workerpools', options)
|
|
312
325
|
command.response_representation = Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse::Representation
|
|
313
326
|
command.response_class = Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse
|
|
314
327
|
command.params['parent'] = parent unless parent.nil?
|
|
328
|
+
command.query['filter'] = filter unless filter.nil?
|
|
315
329
|
command.query['fields'] = fields unless fields.nil?
|
|
316
330
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
317
331
|
execute_or_queue_command(command, &block)
|
|
@@ -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 = '
|
|
28
|
+
REVISION = '20190618'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -75,7 +75,8 @@ module Google
|
|
|
75
75
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest]
|
|
76
76
|
attr_accessor :command_digest
|
|
77
77
|
|
|
78
|
-
# If true, then the `Action`'s result cannot be cached
|
|
78
|
+
# If true, then the `Action`'s result cannot be cached, and in-flight
|
|
79
|
+
# requests for the same `Action` may not be merged.
|
|
79
80
|
# Corresponds to the JSON property `doNotCache`
|
|
80
81
|
# @return [Boolean]
|
|
81
82
|
attr_accessor :do_not_cache
|
|
@@ -236,6 +237,8 @@ module Google
|
|
|
236
237
|
# `
|
|
237
238
|
# `
|
|
238
239
|
# ```
|
|
240
|
+
# If an output of the same name was found, but was not a directory, the
|
|
241
|
+
# server will return a FAILED_PRECONDITION.
|
|
239
242
|
# Corresponds to the JSON property `outputDirectories`
|
|
240
243
|
# @return [Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2OutputDirectory>]
|
|
241
244
|
attr_accessor :output_directories
|
|
@@ -246,11 +249,12 @@ module Google
|
|
|
246
249
|
# if the server supports
|
|
247
250
|
# SymlinkAbsolutePathStrategy.ALLOWED.
|
|
248
251
|
# For each output directory requested in the `output_directories` field of
|
|
249
|
-
# the Action, if the directory
|
|
250
|
-
#
|
|
251
|
-
#
|
|
252
|
-
# If
|
|
253
|
-
#
|
|
252
|
+
# the Action, if the directory existed after the action completed, a
|
|
253
|
+
# single entry will be present either in this field, or in the
|
|
254
|
+
# `output_directories` field, if the directory was not a symbolic link.
|
|
255
|
+
# If an output of the same name was found, but was a symbolic link to a file
|
|
256
|
+
# instead of a directory, the server will return a FAILED_PRECONDITION.
|
|
257
|
+
# If the action does not produce the requested output, then that output
|
|
254
258
|
# will be omitted from the list. The server is free to arrange the output
|
|
255
259
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
|
256
260
|
# Corresponds to the JSON property `outputDirectorySymlinks`
|
|
@@ -265,8 +269,9 @@ module Google
|
|
|
265
269
|
# if the corresponding file existed after
|
|
266
270
|
# the action completed, a single entry will be present either in this field,
|
|
267
271
|
# or in the `output_files` field, if the file was not a symbolic link.
|
|
268
|
-
# If
|
|
269
|
-
#
|
|
272
|
+
# If an output symbolic link of the same name was found, but its target
|
|
273
|
+
# type was not a regular file, the server will return a FAILED_PRECONDITION.
|
|
274
|
+
# If the action does not produce the requested output, then that output
|
|
270
275
|
# will be omitted from the list. The server is free to arrange the output
|
|
271
276
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
|
272
277
|
# Corresponds to the JSON property `outputFileSymlinks`
|
|
@@ -276,10 +281,11 @@ module Google
|
|
|
276
281
|
# The output files of the action. For each output file requested in the
|
|
277
282
|
# `output_files` field of the Action, if the corresponding file existed after
|
|
278
283
|
# the action completed, a single entry will be present either in this field,
|
|
279
|
-
# or
|
|
284
|
+
# or the `output_file_symlinks` field if the file was a symbolic link to
|
|
280
285
|
# another file.
|
|
281
|
-
# If
|
|
282
|
-
#
|
|
286
|
+
# If an output of the same name was found, but was a directory rather
|
|
287
|
+
# than a regular file, the server will return a FAILED_PRECONDITION.
|
|
288
|
+
# If the action does not produce the requested output, then that output
|
|
283
289
|
# will be omitted from the list. The server is free to arrange the output
|
|
284
290
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
|
285
291
|
# Corresponds to the JSON property `outputFiles`
|
|
@@ -317,12 +323,12 @@ module Google
|
|
|
317
323
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest]
|
|
318
324
|
attr_accessor :stderr_digest
|
|
319
325
|
|
|
320
|
-
# The standard error buffer of the action. The server
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
+
# The standard error buffer of the action. The server SHOULD NOT inline
|
|
327
|
+
# stderr unless requested by the client in the
|
|
328
|
+
# GetActionResultRequest
|
|
329
|
+
# message. The server MAY omit inlining, even if requested, and MUST do so if
|
|
330
|
+
# inlining
|
|
331
|
+
# would cause the response to exceed message size limits.
|
|
326
332
|
# Corresponds to the JSON property `stderrRaw`
|
|
327
333
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
328
334
|
# @return [String]
|
|
@@ -359,12 +365,12 @@ module Google
|
|
|
359
365
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest]
|
|
360
366
|
attr_accessor :stdout_digest
|
|
361
367
|
|
|
362
|
-
# The standard output buffer of the action. The server
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
367
|
-
#
|
|
368
|
+
# The standard output buffer of the action. The server SHOULD NOT inline
|
|
369
|
+
# stdout unless requested by the client in the
|
|
370
|
+
# GetActionResultRequest
|
|
371
|
+
# message. The server MAY omit inlining, even if requested, and MUST do so if
|
|
372
|
+
# inlining
|
|
373
|
+
# would cause the response to exceed message size limits.
|
|
368
374
|
# Corresponds to the JSON property `stdoutRaw`
|
|
369
375
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
370
376
|
# @return [String]
|
|
@@ -429,7 +435,7 @@ module Google
|
|
|
429
435
|
end
|
|
430
436
|
end
|
|
431
437
|
|
|
432
|
-
# A response corresponding to a single blob that the client tried to
|
|
438
|
+
# A response corresponding to a single blob that the client tried to download.
|
|
433
439
|
class BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse
|
|
434
440
|
include Google::Apis::Core::Hashable
|
|
435
441
|
|
|
@@ -734,7 +740,8 @@ module Google
|
|
|
734
740
|
# MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
|
|
735
741
|
# bytes).
|
|
736
742
|
# An output directory cannot be duplicated or have the same path as any of
|
|
737
|
-
# the listed output files.
|
|
743
|
+
# the listed output files. An output directory is allowed to be a parent of
|
|
744
|
+
# another output directory.
|
|
738
745
|
# Directories leading up to the output directories (but not the output
|
|
739
746
|
# directories themselves) are created by the worker prior to execution, even
|
|
740
747
|
# if they are not explicitly part of the input root.
|
|
@@ -885,6 +892,11 @@ module Google
|
|
|
885
892
|
# * Every child in the directory must have a path of exactly one segment.
|
|
886
893
|
# Multiple levels of directory hierarchy may not be collapsed.
|
|
887
894
|
# * Each child in the directory must have a unique path segment (file name).
|
|
895
|
+
# Note that while the API itself is case-sensitive, the environment where
|
|
896
|
+
# the Action is executed may or may not be case-sensitive. That is, it is
|
|
897
|
+
# legal to call the API with a Directory that has both "Foo" and "foo" as
|
|
898
|
+
# children, but the Action may be rejected by the remote system upon
|
|
899
|
+
# execution.
|
|
888
900
|
# * The files, directories and symlinks in the directory must each be sorted
|
|
889
901
|
# in lexicographical order by path. The path strings must be sorted by code
|
|
890
902
|
# point, equivalently, by UTF-8 bytes.
|
|
@@ -1050,7 +1062,7 @@ module Google
|
|
|
1050
1062
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Digest]
|
|
1051
1063
|
attr_accessor :action_digest
|
|
1052
1064
|
|
|
1053
|
-
#
|
|
1065
|
+
# The current stage of execution.
|
|
1054
1066
|
# Corresponds to the JSON property `stage`
|
|
1055
1067
|
# @return [String]
|
|
1056
1068
|
attr_accessor :stage
|
|
@@ -1129,9 +1141,19 @@ module Google
|
|
|
1129
1141
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ResultsCachePolicy]
|
|
1130
1142
|
attr_accessor :results_cache_policy
|
|
1131
1143
|
|
|
1132
|
-
# If true, the action will be executed
|
|
1133
|
-
# present in the
|
|
1134
|
-
#
|
|
1144
|
+
# If true, the action will be executed even if its result is already
|
|
1145
|
+
# present in the ActionCache.
|
|
1146
|
+
# The execution is still allowed to be merged with other in-flight executions
|
|
1147
|
+
# of the same action, however - semantically, the service MUST only guarantee
|
|
1148
|
+
# that the results of an execution with this field set were not visible
|
|
1149
|
+
# before the corresponding execution request was sent.
|
|
1150
|
+
# Note that actions from execution requests setting this field set are still
|
|
1151
|
+
# eligible to be entered into the action cache upon completion, and services
|
|
1152
|
+
# SHOULD overwrite any existing entries that may exist. This allows
|
|
1153
|
+
# skip_cache_lookup requests to be used as a mechanism for replacing action
|
|
1154
|
+
# cache entries that reference outputs no longer available or that are
|
|
1155
|
+
# poisoned in any way.
|
|
1156
|
+
# If false, the result may be served from the action cache.
|
|
1135
1157
|
# Corresponds to the JSON property `skipCacheLookup`
|
|
1136
1158
|
# @return [Boolean]
|
|
1137
1159
|
attr_accessor :skip_cache_lookup
|
|
@@ -1587,10 +1609,21 @@ module Google
|
|
|
1587
1609
|
# FileNode, but it is used as an
|
|
1588
1610
|
# output in an `ActionResult`. It allows a full file path rather than
|
|
1589
1611
|
# only a name.
|
|
1590
|
-
# `OutputFile` is binary-compatible with `FileNode`.
|
|
1591
1612
|
class BuildBazelRemoteExecutionV2OutputFile
|
|
1592
1613
|
include Google::Apis::Core::Hashable
|
|
1593
1614
|
|
|
1615
|
+
# The contents of the file if inlining was requested. The server SHOULD NOT
|
|
1616
|
+
# inline
|
|
1617
|
+
# file contents unless requested by the client in the
|
|
1618
|
+
# GetActionResultRequest
|
|
1619
|
+
# message. The server MAY omit inlining, even if requested, and MUST do so if
|
|
1620
|
+
# inlining
|
|
1621
|
+
# would cause the response to exceed message size limits.
|
|
1622
|
+
# Corresponds to the JSON property `contents`
|
|
1623
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1624
|
+
# @return [String]
|
|
1625
|
+
attr_accessor :contents
|
|
1626
|
+
|
|
1594
1627
|
# A content digest. A digest for a given blob consists of the size of the blob
|
|
1595
1628
|
# and its hash. The hash algorithm to use is defined by the server, but servers
|
|
1596
1629
|
# SHOULD use SHA-256.
|
|
@@ -1641,6 +1674,7 @@ module Google
|
|
|
1641
1674
|
|
|
1642
1675
|
# Update properties of this object
|
|
1643
1676
|
def update!(**args)
|
|
1677
|
+
@contents = args[:contents] if args.key?(:contents)
|
|
1644
1678
|
@digest = args[:digest] if args.key?(:digest)
|
|
1645
1679
|
@is_executable = args[:is_executable] if args.key?(:is_executable)
|
|
1646
1680
|
@path = args[:path] if args.key?(:path)
|
|
@@ -1799,6 +1833,12 @@ module Google
|
|
|
1799
1833
|
# canonical proto serialization:
|
|
1800
1834
|
# * name: `build.bazel.remote.execution.v2.requestmetadata-bin`
|
|
1801
1835
|
# * contents: the base64 encoded binary `RequestMetadata` message.
|
|
1836
|
+
# Note: the gRPC library serializes binary headers encoded in base 64 by
|
|
1837
|
+
# default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#
|
|
1838
|
+
# requests).
|
|
1839
|
+
# Therefore, if the gRPC library is used to pass/retrieve this
|
|
1840
|
+
# metadata, the user may ignore the base64 encoding and assume it is simply
|
|
1841
|
+
# serialized as a binary message.
|
|
1802
1842
|
class BuildBazelRemoteExecutionV2RequestMetadata
|
|
1803
1843
|
include Google::Apis::Core::Hashable
|
|
1804
1844
|
|
|
@@ -1991,6 +2031,11 @@ module Google
|
|
|
1991
2031
|
# * Every child in the directory must have a path of exactly one segment.
|
|
1992
2032
|
# Multiple levels of directory hierarchy may not be collapsed.
|
|
1993
2033
|
# * Each child in the directory must have a unique path segment (file name).
|
|
2034
|
+
# Note that while the API itself is case-sensitive, the environment where
|
|
2035
|
+
# the Action is executed may or may not be case-sensitive. That is, it is
|
|
2036
|
+
# legal to call the API with a Directory that has both "Foo" and "foo" as
|
|
2037
|
+
# children, but the Action may be rejected by the remote system upon
|
|
2038
|
+
# execution.
|
|
1994
2039
|
# * The files, directories and symlinks in the directory must each be sorted
|
|
1995
2040
|
# in lexicographical order by path. The path strings must be sorted by code
|
|
1996
2041
|
# point, equivalently, by UTF-8 bytes.
|
|
@@ -2475,6 +2520,22 @@ module Google
|
|
|
2475
2520
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
|
|
2476
2521
|
include Google::Apis::Core::Hashable
|
|
2477
2522
|
|
|
2523
|
+
# Optional. A filter to constrain the pools returned. Filters have the form:
|
|
2524
|
+
# <field> <operator> <value> [[AND|OR] <field> <operator> <value>]...
|
|
2525
|
+
# <field> is the path for a field or map key in the Pool proto message.
|
|
2526
|
+
# e.g. "configuration.disk_size_gb" or "configuration.labels.key".
|
|
2527
|
+
# <operator> can be one of "<", "<=", ">=", ">", "=", "!=", ":".
|
|
2528
|
+
# ":" is a HAS operation for strings and repeated primitive fields.
|
|
2529
|
+
# <value> is the value to test, case-insensitive for strings. "*" stands for
|
|
2530
|
+
# any value and can be used to test for key presence.
|
|
2531
|
+
# Parenthesis determine AND/OR precedence. In space separated restrictions,
|
|
2532
|
+
# AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y".
|
|
2533
|
+
# Example filter:
|
|
2534
|
+
# configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING)
|
|
2535
|
+
# Corresponds to the JSON property `filter`
|
|
2536
|
+
# @return [String]
|
|
2537
|
+
attr_accessor :filter
|
|
2538
|
+
|
|
2478
2539
|
# Resource name of the instance.
|
|
2479
2540
|
# Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
|
2480
2541
|
# Corresponds to the JSON property `parent`
|
|
@@ -2487,6 +2548,7 @@ module Google
|
|
|
2487
2548
|
|
|
2488
2549
|
# Update properties of this object
|
|
2489
2550
|
def update!(**args)
|
|
2551
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
2490
2552
|
@parent = args[:parent] if args.key?(:parent)
|
|
2491
2553
|
end
|
|
2492
2554
|
end
|
|
@@ -2561,6 +2623,16 @@ module Google
|
|
|
2561
2623
|
# @return [String]
|
|
2562
2624
|
attr_accessor :disk_type
|
|
2563
2625
|
|
|
2626
|
+
# Labels associated with the workers.
|
|
2627
|
+
# Label keys and values can be no longer than 63 characters, can only contain
|
|
2628
|
+
# lowercase letters, numeric characters, underscores and dashes.
|
|
2629
|
+
# International letters are permitted. Keys must start with a letter but
|
|
2630
|
+
# values are optional.
|
|
2631
|
+
# There can not be more than 64 labels per resource.
|
|
2632
|
+
# Corresponds to the JSON property `labels`
|
|
2633
|
+
# @return [Hash<String,String>]
|
|
2634
|
+
attr_accessor :labels
|
|
2635
|
+
|
|
2564
2636
|
# Required. Machine type of the worker, such as `n1-standard-2`.
|
|
2565
2637
|
# See https://cloud.google.com/compute/docs/machine-types for a list of
|
|
2566
2638
|
# supported machine types. Note that `f1-micro` and `g1-small` are not yet
|
|
@@ -2592,6 +2664,7 @@ module Google
|
|
|
2592
2664
|
def update!(**args)
|
|
2593
2665
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
2594
2666
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
2667
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2595
2668
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
2596
2669
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
|
2597
2670
|
@reserved = args[:reserved] if args.key?(:reserved)
|