google-api-client 0.27.3 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +18 -112
- data/generated/google/apis/analytics_v3/representations.rb +0 -36
- data/generated/google/apis/analytics_v3/service.rb +18 -18
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +20 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -8
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +59 -0
- data/generated/google/apis/composer_v1/representations.rb +30 -0
- data/generated/google/apis/composer_v1/service.rb +37 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +8 -16
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -16
- data/generated/google/apis/firebasehosting_v1beta1.rb +4 -3
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +3 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +7 -6
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +37 -0
- data/generated/google/apis/iam_v1/representations.rb +15 -0
- data/generated/google/apis/iam_v1/service.rb +44 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -558
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -568
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1 -1
- data/generated/google/apis/jobs_v2/service.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +52 -10
- data/generated/google/apis/logging_v2/representations.rb +6 -0
- data/generated/google/apis/logging_v2/service.rb +9 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +37 -9
- data/generated/google/apis/logging_v2beta1/representations.rb +4 -0
- data/generated/google/apis/logging_v2beta1/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +10 -12
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +111 -88
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +111 -88
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +141 -116
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +6 -5
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +12 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +71 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/service.rb +0 -3
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +20 -0
- data/generated/google/apis/speech_v1/representations.rb +2 -0
- data/generated/google/apis/speech_v1/service.rb +111 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/service.rb +111 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +14 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +14 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +14 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/monitoring_v1.rb +0 -33
- data/generated/google/apis/monitoring_v1/classes.rb +0 -474
- data/generated/google/apis/monitoring_v1/representations.rb +0 -195
- data/generated/google/apis/monitoring_v1/service.rb +0 -211
@@ -374,12 +374,14 @@ module Google
|
|
374
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
375
375
|
property :bucket_options, as: 'bucketOptions', class: Google::Apis::LoggingV2beta1::BucketOptions, decorator: Google::Apis::LoggingV2beta1::BucketOptions::Representation
|
376
376
|
|
377
|
+
property :create_time, as: 'createTime'
|
377
378
|
property :description, as: 'description'
|
378
379
|
property :filter, as: 'filter'
|
379
380
|
hash :label_extractors, as: 'labelExtractors'
|
380
381
|
property :metric_descriptor, as: 'metricDescriptor', class: Google::Apis::LoggingV2beta1::MetricDescriptor, decorator: Google::Apis::LoggingV2beta1::MetricDescriptor::Representation
|
381
382
|
|
382
383
|
property :name, as: 'name'
|
384
|
+
property :update_time, as: 'updateTime'
|
383
385
|
property :value_extractor, as: 'valueExtractor'
|
384
386
|
property :version, as: 'version'
|
385
387
|
end
|
@@ -388,11 +390,13 @@ module Google
|
|
388
390
|
class LogSink
|
389
391
|
# @private
|
390
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
393
|
+
property :create_time, as: 'createTime'
|
391
394
|
property :destination, as: 'destination'
|
392
395
|
property :filter, as: 'filter'
|
393
396
|
property :include_children, as: 'includeChildren'
|
394
397
|
property :name, as: 'name'
|
395
398
|
property :output_version_format, as: 'outputVersionFormat'
|
399
|
+
property :update_time, as: 'updateTime'
|
396
400
|
property :writer_identity, as: 'writerIdentity'
|
397
401
|
end
|
398
402
|
end
|
@@ -497,7 +497,7 @@ module Google
|
|
497
497
|
end
|
498
498
|
|
499
499
|
# Updates a sink. This method replaces the following fields in the existing sink
|
500
|
-
# with values from the new sink: destination, and filter.
|
500
|
+
# with values from the new sink: destination, and filter.The updated sink might
|
501
501
|
# also have a new writer_identity; see the unique_writer_identity field.
|
502
502
|
# @param [String] sink_name
|
503
503
|
# Required. The full resource name of the sink to update, including the parent
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
26
26
|
module MlV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190115'
|
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'
|
@@ -53,12 +53,12 @@ module Google
|
|
53
53
|
class GoogleApiHttpBody
|
54
54
|
include Google::Apis::Core::Hashable
|
55
55
|
|
56
|
-
# The HTTP Content-Type
|
56
|
+
# The HTTP Content-Type header value specifying the content type of the body.
|
57
57
|
# Corresponds to the JSON property `contentType`
|
58
58
|
# @return [String]
|
59
59
|
attr_accessor :content_type
|
60
60
|
|
61
|
-
# HTTP body binary
|
61
|
+
# The HTTP request/response body as raw binary.
|
62
62
|
# Corresponds to the JSON property `data`
|
63
63
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
64
64
|
# @return [String]
|
@@ -445,7 +445,7 @@ module Google
|
|
445
445
|
# @return [Hash<String,String>]
|
446
446
|
attr_accessor :labels
|
447
447
|
|
448
|
-
# Represents input parameters for a prediction job.
|
448
|
+
# Represents input parameters for a prediction job.
|
449
449
|
# Corresponds to the JSON property `predictionInput`
|
450
450
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput]
|
451
451
|
attr_accessor :prediction_input
|
@@ -927,7 +927,7 @@ module Google
|
|
927
927
|
end
|
928
928
|
end
|
929
929
|
|
930
|
-
# Represents input parameters for a prediction job.
|
930
|
+
# Represents input parameters for a prediction job.
|
931
931
|
class GoogleCloudMlV1PredictionInput
|
932
932
|
include Google::Apis::Core::Hashable
|
933
933
|
|
@@ -1181,26 +1181,22 @@ module Google
|
|
1181
1181
|
# <dt>standard_v100</dt>
|
1182
1182
|
# <dd>
|
1183
1183
|
# A machine equivalent to <i>standard</i> that
|
1184
|
-
# also includes a single NVIDIA Tesla V100 GPU.
|
1185
|
-
# GPUs is in the <i>Beta</i> launch stage.
|
1184
|
+
# also includes a single NVIDIA Tesla V100 GPU.
|
1186
1185
|
# </dd>
|
1187
1186
|
# <dt>large_model_v100</dt>
|
1188
1187
|
# <dd>
|
1189
1188
|
# A machine equivalent to <i>large_model</i> that
|
1190
|
-
# also includes a single NVIDIA Tesla V100 GPU.
|
1191
|
-
# GPUs is in the <i>Beta</i> launch stage.
|
1189
|
+
# also includes a single NVIDIA Tesla V100 GPU.
|
1192
1190
|
# </dd>
|
1193
1191
|
# <dt>complex_model_m_v100</dt>
|
1194
1192
|
# <dd>
|
1195
1193
|
# A machine equivalent to <i>complex_model_m</i> that
|
1196
|
-
# also includes four NVIDIA Tesla V100 GPUs.
|
1197
|
-
# GPUs is in the <i>Beta</i> launch stage.
|
1194
|
+
# also includes four NVIDIA Tesla V100 GPUs.
|
1198
1195
|
# </dd>
|
1199
1196
|
# <dt>complex_model_l_v100</dt>
|
1200
1197
|
# <dd>
|
1201
1198
|
# A machine equivalent to <i>complex_model_l</i> that
|
1202
|
-
# also includes eight NVIDIA Tesla V100 GPUs.
|
1203
|
-
# GPUs is in the <i>Beta</i> launch stage.
|
1199
|
+
# also includes eight NVIDIA Tesla V100 GPUs.
|
1204
1200
|
# </dd>
|
1205
1201
|
# <dt>cloud_tpu</dt>
|
1206
1202
|
# <dd>
|
@@ -1226,6 +1222,7 @@ module Google
|
|
1226
1222
|
# `parameter_server_type`.
|
1227
1223
|
# This value can only be used when `scale_tier` is set to `CUSTOM`.If you
|
1228
1224
|
# set this value, you must also set `parameter_server_type`.
|
1225
|
+
# The default value is zero.
|
1229
1226
|
# Corresponds to the JSON property `parameterServerCount`
|
1230
1227
|
# @return [Fixnum]
|
1231
1228
|
attr_accessor :parameter_server_count
|
@@ -1280,6 +1277,7 @@ module Google
|
|
1280
1277
|
# replica in the cluster will be of the type specified in `worker_type`.
|
1281
1278
|
# This value can only be used when `scale_tier` is set to `CUSTOM`. If you
|
1282
1279
|
# set this value, you must also set `worker_type`.
|
1280
|
+
# The default value is zero.
|
1283
1281
|
# Corresponds to the JSON property `workerCount`
|
1284
1282
|
# @return [Fixnum]
|
1285
1283
|
attr_accessor :worker_count
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
26
26
|
module RemotebuildexecutionV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190116'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -63,11 +63,11 @@ module Google
|
|
63
63
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
64
64
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
65
65
|
# servers MUST ensure that they serialize messages according to the following
|
66
|
-
# rules, even if there are alternate valid encodings for the same message
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
66
|
+
# rules, even if there are alternate valid encodings for the same message:
|
67
|
+
# * Fields are serialized in tag order.
|
68
|
+
# * There are no unknown fields.
|
69
|
+
# * There are no duplicate fields.
|
70
|
+
# * Fields are serialized according to the default semantics for their type.
|
71
71
|
# Most protocol buffer implementations will always follow these rules when
|
72
72
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
73
73
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -100,11 +100,11 @@ module Google
|
|
100
100
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
101
101
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
102
102
|
# servers MUST ensure that they serialize messages according to the following
|
103
|
-
# rules, even if there are alternate valid encodings for the same message
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
103
|
+
# rules, even if there are alternate valid encodings for the same message:
|
104
|
+
# * Fields are serialized in tag order.
|
105
|
+
# * There are no unknown fields.
|
106
|
+
# * There are no duplicate fields.
|
107
|
+
# * Fields are serialized according to the default semantics for their type.
|
108
108
|
# Most protocol buffer implementations will always follow these rules when
|
109
109
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
110
110
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -285,11 +285,11 @@ module Google
|
|
285
285
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
286
286
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
287
287
|
# servers MUST ensure that they serialize messages according to the following
|
288
|
-
# rules, even if there are alternate valid encodings for the same message
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
292
|
-
#
|
288
|
+
# rules, even if there are alternate valid encodings for the same message:
|
289
|
+
# * Fields are serialized in tag order.
|
290
|
+
# * There are no unknown fields.
|
291
|
+
# * There are no duplicate fields.
|
292
|
+
# * Fields are serialized according to the default semantics for their type.
|
293
293
|
# Most protocol buffer implementations will always follow these rules when
|
294
294
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
295
295
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -327,11 +327,11 @@ module Google
|
|
327
327
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
328
328
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
329
329
|
# servers MUST ensure that they serialize messages according to the following
|
330
|
-
# rules, even if there are alternate valid encodings for the same message
|
331
|
-
#
|
332
|
-
#
|
333
|
-
#
|
334
|
-
#
|
330
|
+
# rules, even if there are alternate valid encodings for the same message:
|
331
|
+
# * Fields are serialized in tag order.
|
332
|
+
# * There are no unknown fields.
|
333
|
+
# * There are no duplicate fields.
|
334
|
+
# * Fields are serialized according to the default semantics for their type.
|
335
335
|
# Most protocol buffer implementations will always follow these rules when
|
336
336
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
337
337
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -388,7 +388,8 @@ module Google
|
|
388
388
|
# The environment variables to set when running the program. The worker may
|
389
389
|
# provide its own default environment variables; these defaults can be
|
390
390
|
# overridden using this field. Additional variables can also be specified.
|
391
|
-
# In order to ensure that equivalent
|
391
|
+
# In order to ensure that equivalent
|
392
|
+
# Commands always hash to the same
|
392
393
|
# value, the environment variables MUST be lexicographically sorted by name.
|
393
394
|
# Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
|
394
395
|
# Corresponds to the JSON property `environmentVariables`
|
@@ -396,10 +397,12 @@ module Google
|
|
396
397
|
attr_accessor :environment_variables
|
397
398
|
|
398
399
|
# A list of the output directories that the client expects to retrieve from
|
399
|
-
# the action. Only the
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
400
|
+
# the action. Only the listed directories will be returned (an entire
|
401
|
+
# directory structure will be returned as a
|
402
|
+
# Tree message digest, see
|
403
|
+
# OutputDirectory), as
|
404
|
+
# well as files listed in `output_files`. Other files or directories that
|
405
|
+
# may be created during command execution are discarded.
|
403
406
|
# The paths are relative to the working directory of the action execution.
|
404
407
|
# The paths are specified using a single forward slash (`/`) as a path
|
405
408
|
# separator, even if the execution platform natively uses a different
|
@@ -410,9 +413,11 @@ module Google
|
|
410
413
|
# In order to ensure consistent hashing of the same Action, the output paths
|
411
414
|
# MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
|
412
415
|
# bytes).
|
413
|
-
# An output directory cannot be duplicated
|
414
|
-
#
|
415
|
-
#
|
416
|
+
# An output directory cannot be duplicated or have the same path as any of
|
417
|
+
# the listed output files.
|
418
|
+
# Directories leading up to the output directories (but not the output
|
419
|
+
# directories themselves) are created by the worker prior to execution, even
|
420
|
+
# if they are not explicitly part of the input root.
|
416
421
|
# Corresponds to the JSON property `outputDirectories`
|
417
422
|
# @return [Array<String>]
|
418
423
|
attr_accessor :output_directories
|
@@ -420,7 +425,8 @@ module Google
|
|
420
425
|
# A list of the output files that the client expects to retrieve from the
|
421
426
|
# action. Only the listed files, as well as directories listed in
|
422
427
|
# `output_directories`, will be returned to the client as output.
|
423
|
-
# Other files that may be created during command execution
|
428
|
+
# Other files or directories that may be created during command execution
|
429
|
+
# are discarded.
|
424
430
|
# The paths are relative to the working directory of the action execution.
|
425
431
|
# The paths are specified using a single forward slash (`/`) as a path
|
426
432
|
# separator, even if the execution platform natively uses a different
|
@@ -429,9 +435,10 @@ module Google
|
|
429
435
|
# In order to ensure consistent hashing of the same Action, the output paths
|
430
436
|
# MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
|
431
437
|
# bytes).
|
432
|
-
# An output file cannot be duplicated, be a parent of another output file,
|
433
|
-
#
|
434
|
-
#
|
438
|
+
# An output file cannot be duplicated, be a parent of another output file, or
|
439
|
+
# have the same path as any of the listed output directories.
|
440
|
+
# Directories leading up to the output files are created by the worker prior
|
441
|
+
# to execution, even if they are not explicitly part of the input root.
|
435
442
|
# Corresponds to the JSON property `outputFiles`
|
436
443
|
# @return [Array<String>]
|
437
444
|
attr_accessor :output_files
|
@@ -512,11 +519,11 @@ module Google
|
|
512
519
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
513
520
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
514
521
|
# servers MUST ensure that they serialize messages according to the following
|
515
|
-
# rules, even if there are alternate valid encodings for the same message
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
519
|
-
#
|
522
|
+
# rules, even if there are alternate valid encodings for the same message:
|
523
|
+
# * Fields are serialized in tag order.
|
524
|
+
# * There are no unknown fields.
|
525
|
+
# * There are no duplicate fields.
|
526
|
+
# * Fields are serialized according to the default semantics for their type.
|
520
527
|
# Most protocol buffer implementations will always follow these rules when
|
521
528
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
522
529
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -555,10 +562,10 @@ module Google
|
|
555
562
|
# In order to ensure that two equivalent directory trees hash to the same
|
556
563
|
# value, the following restrictions MUST be obeyed when constructing a
|
557
564
|
# a `Directory`:
|
558
|
-
#
|
565
|
+
# * Every child in the directory must have a path of exactly one segment.
|
559
566
|
# Multiple levels of directory hierarchy may not be collapsed.
|
560
|
-
#
|
561
|
-
#
|
567
|
+
# * Each child in the directory must have a unique path segment (file name).
|
568
|
+
# * The files, directories and symlinks in the directory must each be sorted
|
562
569
|
# in lexicographical order by path. The path strings must be sorted by code
|
563
570
|
# point, equivalently, by UTF-8 bytes.
|
564
571
|
# A `Directory` that obeys the restrictions is said to be in canonical form.
|
@@ -656,11 +663,11 @@ module Google
|
|
656
663
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
657
664
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
658
665
|
# servers MUST ensure that they serialize messages according to the following
|
659
|
-
# rules, even if there are alternate valid encodings for the same message
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
666
|
+
# rules, even if there are alternate valid encodings for the same message:
|
667
|
+
# * Fields are serialized in tag order.
|
668
|
+
# * There are no unknown fields.
|
669
|
+
# * There are no duplicate fields.
|
670
|
+
# * Fields are serialized according to the default semantics for their type.
|
664
671
|
# Most protocol buffer implementations will always follow these rules when
|
665
672
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
666
673
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -711,11 +718,11 @@ module Google
|
|
711
718
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
712
719
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
713
720
|
# servers MUST ensure that they serialize messages according to the following
|
714
|
-
# rules, even if there are alternate valid encodings for the same message
|
715
|
-
#
|
716
|
-
#
|
717
|
-
#
|
718
|
-
#
|
721
|
+
# rules, even if there are alternate valid encodings for the same message:
|
722
|
+
# * Fields are serialized in tag order.
|
723
|
+
# * There are no unknown fields.
|
724
|
+
# * There are no duplicate fields.
|
725
|
+
# * Fields are serialized according to the default semantics for their type.
|
719
726
|
# Most protocol buffer implementations will always follow these rules when
|
720
727
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
721
728
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -769,6 +776,12 @@ module Google
|
|
769
776
|
attr_accessor :cached_result
|
770
777
|
alias_method :cached_result?, :cached_result
|
771
778
|
|
779
|
+
# Freeform informational message with details on the execution of the action
|
780
|
+
# that may be displayed to the user upon failure or when requested explicitly.
|
781
|
+
# Corresponds to the JSON property `message`
|
782
|
+
# @return [String]
|
783
|
+
attr_accessor :message
|
784
|
+
|
772
785
|
# An ActionResult represents the result of an
|
773
786
|
# Action being run.
|
774
787
|
# Corresponds to the JSON property `result`
|
@@ -836,6 +849,7 @@ module Google
|
|
836
849
|
# Update properties of this object
|
837
850
|
def update!(**args)
|
838
851
|
@cached_result = args[:cached_result] if args.key?(:cached_result)
|
852
|
+
@message = args[:message] if args.key?(:message)
|
839
853
|
@result = args[:result] if args.key?(:result)
|
840
854
|
@server_logs = args[:server_logs] if args.key?(:server_logs)
|
841
855
|
@status = args[:status] if args.key?(:status)
|
@@ -938,11 +952,11 @@ module Google
|
|
938
952
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
939
953
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
940
954
|
# servers MUST ensure that they serialize messages according to the following
|
941
|
-
# rules, even if there are alternate valid encodings for the same message
|
942
|
-
#
|
943
|
-
#
|
944
|
-
#
|
945
|
-
#
|
955
|
+
# rules, even if there are alternate valid encodings for the same message:
|
956
|
+
# * Fields are serialized in tag order.
|
957
|
+
# * There are no unknown fields.
|
958
|
+
# * There are no duplicate fields.
|
959
|
+
# * Fields are serialized according to the default semantics for their type.
|
946
960
|
# Most protocol buffer implementations will always follow these rules when
|
947
961
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
948
962
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -996,11 +1010,11 @@ module Google
|
|
996
1010
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
997
1011
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
998
1012
|
# servers MUST ensure that they serialize messages according to the following
|
999
|
-
# rules, even if there are alternate valid encodings for the same message
|
1000
|
-
#
|
1001
|
-
#
|
1002
|
-
#
|
1003
|
-
#
|
1013
|
+
# rules, even if there are alternate valid encodings for the same message:
|
1014
|
+
# * Fields are serialized in tag order.
|
1015
|
+
# * There are no unknown fields.
|
1016
|
+
# * There are no duplicate fields.
|
1017
|
+
# * Fields are serialized according to the default semantics for their type.
|
1004
1018
|
# Most protocol buffer implementations will always follow these rules when
|
1005
1019
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
1006
1020
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -1061,11 +1075,11 @@ module Google
|
|
1061
1075
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
1062
1076
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
1063
1077
|
# servers MUST ensure that they serialize messages according to the following
|
1064
|
-
# rules, even if there are alternate valid encodings for the same message
|
1065
|
-
#
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
#
|
1078
|
+
# rules, even if there are alternate valid encodings for the same message:
|
1079
|
+
# * Fields are serialized in tag order.
|
1080
|
+
# * There are no unknown fields.
|
1081
|
+
# * There are no duplicate fields.
|
1082
|
+
# * Fields are serialized according to the default semantics for their type.
|
1069
1083
|
# Most protocol buffer implementations will always follow these rules when
|
1070
1084
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
1071
1085
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -1111,11 +1125,11 @@ module Google
|
|
1111
1125
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
1112
1126
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
1113
1127
|
# servers MUST ensure that they serialize messages according to the following
|
1114
|
-
# rules, even if there are alternate valid encodings for the same message
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1128
|
+
# rules, even if there are alternate valid encodings for the same message:
|
1129
|
+
# * Fields are serialized in tag order.
|
1130
|
+
# * There are no unknown fields.
|
1131
|
+
# * There are no duplicate fields.
|
1132
|
+
# * Fields are serialized according to the default semantics for their type.
|
1119
1133
|
# Most protocol buffer implementations will always follow these rules when
|
1120
1134
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
1121
1135
|
# concatenating two messages to merge them may produce duplicate fields.
|
@@ -1252,8 +1266,8 @@ module Google
|
|
1252
1266
|
# external context of the request. The server may use this for logging or other
|
1253
1267
|
# purposes. To use it, the client attaches the header to the call using the
|
1254
1268
|
# canonical proto serialization:
|
1255
|
-
# name: build.bazel.remote.execution.v2.requestmetadata-bin
|
1256
|
-
# contents: the base64 encoded binary RequestMetadata message.
|
1269
|
+
# * name: `build.bazel.remote.execution.v2.requestmetadata-bin`
|
1270
|
+
# * contents: the base64 encoded binary `RequestMetadata` message.
|
1257
1271
|
class BuildBazelRemoteExecutionV2RequestMetadata
|
1258
1272
|
include Google::Apis::Core::Hashable
|
1259
1273
|
|
@@ -1373,10 +1387,10 @@ module Google
|
|
1373
1387
|
# In order to ensure that two equivalent directory trees hash to the same
|
1374
1388
|
# value, the following restrictions MUST be obeyed when constructing a
|
1375
1389
|
# a `Directory`:
|
1376
|
-
#
|
1390
|
+
# * Every child in the directory must have a path of exactly one segment.
|
1377
1391
|
# Multiple levels of directory hierarchy may not be collapsed.
|
1378
|
-
#
|
1379
|
-
#
|
1392
|
+
# * Each child in the directory must have a unique path segment (file name).
|
1393
|
+
# * The files, directories and symlinks in the directory must each be sorted
|
1380
1394
|
# in lexicographical order by path. The path strings must be sorted by code
|
1381
1395
|
# point, equivalently, by UTF-8 bytes.
|
1382
1396
|
# A `Directory` that obeys the restrictions is said to be in canonical form.
|
@@ -1720,6 +1734,12 @@ module Google
|
|
1720
1734
|
# @return [String]
|
1721
1735
|
attr_accessor :location
|
1722
1736
|
|
1737
|
+
# Output only. Whether stack driver logging is enabled for the instance.
|
1738
|
+
# Corresponds to the JSON property `loggingEnabled`
|
1739
|
+
# @return [Boolean]
|
1740
|
+
attr_accessor :logging_enabled
|
1741
|
+
alias_method :logging_enabled?, :logging_enabled
|
1742
|
+
|
1723
1743
|
# Output only. Instance resource name formatted as:
|
1724
1744
|
# `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
1725
1745
|
# Name should not be populated when creating an instance since it is provided
|
@@ -1740,6 +1760,7 @@ module Google
|
|
1740
1760
|
# Update properties of this object
|
1741
1761
|
def update!(**args)
|
1742
1762
|
@location = args[:location] if args.key?(:location)
|
1763
|
+
@logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled)
|
1743
1764
|
@name = args[:name] if args.key?(:name)
|
1744
1765
|
@state = args[:state] if args.key?(:state)
|
1745
1766
|
end
|
@@ -1886,8 +1907,10 @@ module Google
|
|
1886
1907
|
# @return [String]
|
1887
1908
|
attr_accessor :min_cpu_platform
|
1888
1909
|
|
1889
|
-
#
|
1890
|
-
# preempted.
|
1910
|
+
# Determines whether the worker is reserved (and therefore won't be
|
1911
|
+
# preempted).
|
1912
|
+
# See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
|
1913
|
+
# details.
|
1891
1914
|
# Corresponds to the JSON property `reserved`
|
1892
1915
|
# @return [Boolean]
|
1893
1916
|
attr_accessor :reserved
|
@@ -3121,6 +3144,16 @@ module Google
|
|
3121
3144
|
# @return [Fixnum]
|
3122
3145
|
attr_accessor :exit_code
|
3123
3146
|
|
3147
|
+
# Implementation-dependent metadata about the task. Both servers and bots
|
3148
|
+
# may define messages which can be encoded here; bots are free to provide
|
3149
|
+
# metadata in multiple formats, and servers are free to choose one or more
|
3150
|
+
# of the values to process and ignore others. In particular, it is *not*
|
3151
|
+
# considered an error for the bot to provide the server with a field that it
|
3152
|
+
# doesn't know about.
|
3153
|
+
# Corresponds to the JSON property `metadata`
|
3154
|
+
# @return [Array<Hash<String,Object>>]
|
3155
|
+
attr_accessor :metadata
|
3156
|
+
|
3124
3157
|
# The CommandTask and CommandResult messages assume the existence of a service
|
3125
3158
|
# that can serve blobs of content, identified by a hash and size known as a
|
3126
3159
|
# "digest." The method by which these blobs may be retrieved is not specified
|
@@ -3139,16 +3172,6 @@ module Google
|
|
3139
3172
|
# @return [String]
|
3140
3173
|
attr_accessor :overhead
|
3141
3174
|
|
3142
|
-
# Implementation-dependent statistics about the task. Both servers and bots
|
3143
|
-
# may define messages which can be encoded here; bots are free to provide
|
3144
|
-
# statistics in multiple formats, and servers are free to choose one or more
|
3145
|
-
# of the values to process and ignore others. In particular, it is *not*
|
3146
|
-
# considered an error for the bot to provide the server with a field that it
|
3147
|
-
# doesn't know about.
|
3148
|
-
# Corresponds to the JSON property `statistics`
|
3149
|
-
# @return [Array<Hash<String,Object>>]
|
3150
|
-
attr_accessor :statistics
|
3151
|
-
|
3152
3175
|
# The `Status` type defines a logical error model that is suitable for different
|
3153
3176
|
# programming environments, including REST APIs and RPC APIs. It is used by
|
3154
3177
|
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
@@ -3200,9 +3223,9 @@ module Google
|
|
3200
3223
|
def update!(**args)
|
3201
3224
|
@duration = args[:duration] if args.key?(:duration)
|
3202
3225
|
@exit_code = args[:exit_code] if args.key?(:exit_code)
|
3226
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
3203
3227
|
@outputs = args[:outputs] if args.key?(:outputs)
|
3204
3228
|
@overhead = args[:overhead] if args.key?(:overhead)
|
3205
|
-
@statistics = args[:statistics] if args.key?(:statistics)
|
3206
3229
|
@status = args[:status] if args.key?(:status)
|
3207
3230
|
end
|
3208
3231
|
end
|