google-api-client 0.27.3 → 0.28.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 +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
|
@@ -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.
|
|
@@ -305,11 +305,11 @@ module Google
|
|
|
305
305
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
306
306
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
307
307
|
# servers MUST ensure that they serialize messages according to the following
|
|
308
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
309
|
-
#
|
|
310
|
-
#
|
|
311
|
-
#
|
|
312
|
-
#
|
|
308
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
309
|
+
# * Fields are serialized in tag order.
|
|
310
|
+
# * There are no unknown fields.
|
|
311
|
+
# * There are no duplicate fields.
|
|
312
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
313
313
|
# Most protocol buffer implementations will always follow these rules when
|
|
314
314
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
315
315
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -347,11 +347,11 @@ module Google
|
|
|
347
347
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
348
348
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
349
349
|
# servers MUST ensure that they serialize messages according to the following
|
|
350
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
351
|
-
#
|
|
352
|
-
#
|
|
353
|
-
#
|
|
354
|
-
#
|
|
350
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
351
|
+
# * Fields are serialized in tag order.
|
|
352
|
+
# * There are no unknown fields.
|
|
353
|
+
# * There are no duplicate fields.
|
|
354
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
355
355
|
# Most protocol buffer implementations will always follow these rules when
|
|
356
356
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
357
357
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -458,11 +458,11 @@ module Google
|
|
|
458
458
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
459
459
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
460
460
|
# servers MUST ensure that they serialize messages according to the following
|
|
461
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
462
|
-
#
|
|
463
|
-
#
|
|
464
|
-
#
|
|
465
|
-
#
|
|
461
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
462
|
+
# * Fields are serialized in tag order.
|
|
463
|
+
# * There are no unknown fields.
|
|
464
|
+
# * There are no duplicate fields.
|
|
465
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
466
466
|
# Most protocol buffer implementations will always follow these rules when
|
|
467
467
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
468
468
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -574,11 +574,11 @@ module Google
|
|
|
574
574
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
575
575
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
576
576
|
# servers MUST ensure that they serialize messages according to the following
|
|
577
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
578
|
-
#
|
|
579
|
-
#
|
|
580
|
-
#
|
|
581
|
-
#
|
|
577
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
578
|
+
# * Fields are serialized in tag order.
|
|
579
|
+
# * There are no unknown fields.
|
|
580
|
+
# * There are no duplicate fields.
|
|
581
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
582
582
|
# Most protocol buffer implementations will always follow these rules when
|
|
583
583
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
584
584
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -640,11 +640,11 @@ module Google
|
|
|
640
640
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
641
641
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
642
642
|
# servers MUST ensure that they serialize messages according to the following
|
|
643
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
644
|
-
#
|
|
645
|
-
#
|
|
646
|
-
#
|
|
647
|
-
#
|
|
643
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
644
|
+
# * Fields are serialized in tag order.
|
|
645
|
+
# * There are no unknown fields.
|
|
646
|
+
# * There are no duplicate fields.
|
|
647
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
648
648
|
# Most protocol buffer implementations will always follow these rules when
|
|
649
649
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
650
650
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -774,7 +774,8 @@ module Google
|
|
|
774
774
|
# The environment variables to set when running the program. The worker may
|
|
775
775
|
# provide its own default environment variables; these defaults can be
|
|
776
776
|
# overridden using this field. Additional variables can also be specified.
|
|
777
|
-
# In order to ensure that equivalent
|
|
777
|
+
# In order to ensure that equivalent
|
|
778
|
+
# Commands always hash to the same
|
|
778
779
|
# value, the environment variables MUST be lexicographically sorted by name.
|
|
779
780
|
# Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
|
|
780
781
|
# Corresponds to the JSON property `environmentVariables`
|
|
@@ -782,10 +783,12 @@ module Google
|
|
|
782
783
|
attr_accessor :environment_variables
|
|
783
784
|
|
|
784
785
|
# A list of the output directories that the client expects to retrieve from
|
|
785
|
-
# the action. Only the
|
|
786
|
-
#
|
|
787
|
-
#
|
|
788
|
-
#
|
|
786
|
+
# the action. Only the listed directories will be returned (an entire
|
|
787
|
+
# directory structure will be returned as a
|
|
788
|
+
# Tree message digest, see
|
|
789
|
+
# OutputDirectory), as
|
|
790
|
+
# well as files listed in `output_files`. Other files or directories that
|
|
791
|
+
# may be created during command execution are discarded.
|
|
789
792
|
# The paths are relative to the working directory of the action execution.
|
|
790
793
|
# The paths are specified using a single forward slash (`/`) as a path
|
|
791
794
|
# separator, even if the execution platform natively uses a different
|
|
@@ -796,9 +799,11 @@ module Google
|
|
|
796
799
|
# In order to ensure consistent hashing of the same Action, the output paths
|
|
797
800
|
# MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
|
|
798
801
|
# bytes).
|
|
799
|
-
# An output directory cannot be duplicated
|
|
800
|
-
#
|
|
801
|
-
#
|
|
802
|
+
# An output directory cannot be duplicated or have the same path as any of
|
|
803
|
+
# the listed output files.
|
|
804
|
+
# Directories leading up to the output directories (but not the output
|
|
805
|
+
# directories themselves) are created by the worker prior to execution, even
|
|
806
|
+
# if they are not explicitly part of the input root.
|
|
802
807
|
# Corresponds to the JSON property `outputDirectories`
|
|
803
808
|
# @return [Array<String>]
|
|
804
809
|
attr_accessor :output_directories
|
|
@@ -806,7 +811,8 @@ module Google
|
|
|
806
811
|
# A list of the output files that the client expects to retrieve from the
|
|
807
812
|
# action. Only the listed files, as well as directories listed in
|
|
808
813
|
# `output_directories`, will be returned to the client as output.
|
|
809
|
-
# Other files that may be created during command execution
|
|
814
|
+
# Other files or directories that may be created during command execution
|
|
815
|
+
# are discarded.
|
|
810
816
|
# The paths are relative to the working directory of the action execution.
|
|
811
817
|
# The paths are specified using a single forward slash (`/`) as a path
|
|
812
818
|
# separator, even if the execution platform natively uses a different
|
|
@@ -815,9 +821,10 @@ module Google
|
|
|
815
821
|
# In order to ensure consistent hashing of the same Action, the output paths
|
|
816
822
|
# MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
|
|
817
823
|
# bytes).
|
|
818
|
-
# An output file cannot be duplicated, be a parent of another output file,
|
|
819
|
-
#
|
|
820
|
-
#
|
|
824
|
+
# An output file cannot be duplicated, be a parent of another output file, or
|
|
825
|
+
# have the same path as any of the listed output directories.
|
|
826
|
+
# Directories leading up to the output files are created by the worker prior
|
|
827
|
+
# to execution, even if they are not explicitly part of the input root.
|
|
821
828
|
# Corresponds to the JSON property `outputFiles`
|
|
822
829
|
# @return [Array<String>]
|
|
823
830
|
attr_accessor :output_files
|
|
@@ -898,11 +905,11 @@ module Google
|
|
|
898
905
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
899
906
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
900
907
|
# servers MUST ensure that they serialize messages according to the following
|
|
901
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
902
|
-
#
|
|
903
|
-
#
|
|
904
|
-
#
|
|
905
|
-
#
|
|
908
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
909
|
+
# * Fields are serialized in tag order.
|
|
910
|
+
# * There are no unknown fields.
|
|
911
|
+
# * There are no duplicate fields.
|
|
912
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
906
913
|
# Most protocol buffer implementations will always follow these rules when
|
|
907
914
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
908
915
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -941,10 +948,10 @@ module Google
|
|
|
941
948
|
# In order to ensure that two equivalent directory trees hash to the same
|
|
942
949
|
# value, the following restrictions MUST be obeyed when constructing a
|
|
943
950
|
# a `Directory`:
|
|
944
|
-
#
|
|
951
|
+
# * Every child in the directory must have a path of exactly one segment.
|
|
945
952
|
# Multiple levels of directory hierarchy may not be collapsed.
|
|
946
|
-
#
|
|
947
|
-
#
|
|
953
|
+
# * Each child in the directory must have a unique path segment (file name).
|
|
954
|
+
# * The files, directories and symlinks in the directory must each be sorted
|
|
948
955
|
# in lexicographical order by path. The path strings must be sorted by code
|
|
949
956
|
# point, equivalently, by UTF-8 bytes.
|
|
950
957
|
# A `Directory` that obeys the restrictions is said to be in canonical form.
|
|
@@ -1042,11 +1049,11 @@ module Google
|
|
|
1042
1049
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
1043
1050
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
1044
1051
|
# servers MUST ensure that they serialize messages according to the following
|
|
1045
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
1046
|
-
#
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1049
|
-
#
|
|
1052
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
1053
|
+
# * Fields are serialized in tag order.
|
|
1054
|
+
# * There are no unknown fields.
|
|
1055
|
+
# * There are no duplicate fields.
|
|
1056
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
1050
1057
|
# Most protocol buffer implementations will always follow these rules when
|
|
1051
1058
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
1052
1059
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -1097,11 +1104,11 @@ module Google
|
|
|
1097
1104
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
1098
1105
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
1099
1106
|
# servers MUST ensure that they serialize messages according to the following
|
|
1100
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
1101
|
-
#
|
|
1102
|
-
#
|
|
1103
|
-
#
|
|
1104
|
-
#
|
|
1107
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
1108
|
+
# * Fields are serialized in tag order.
|
|
1109
|
+
# * There are no unknown fields.
|
|
1110
|
+
# * There are no duplicate fields.
|
|
1111
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
1105
1112
|
# Most protocol buffer implementations will always follow these rules when
|
|
1106
1113
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
1107
1114
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -1165,11 +1172,11 @@ module Google
|
|
|
1165
1172
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
1166
1173
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
1167
1174
|
# servers MUST ensure that they serialize messages according to the following
|
|
1168
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
#
|
|
1172
|
-
#
|
|
1175
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
1176
|
+
# * Fields are serialized in tag order.
|
|
1177
|
+
# * There are no unknown fields.
|
|
1178
|
+
# * There are no duplicate fields.
|
|
1179
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
1173
1180
|
# Most protocol buffer implementations will always follow these rules when
|
|
1174
1181
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
1175
1182
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -1223,6 +1230,12 @@ module Google
|
|
|
1223
1230
|
attr_accessor :cached_result
|
|
1224
1231
|
alias_method :cached_result?, :cached_result
|
|
1225
1232
|
|
|
1233
|
+
# Freeform informational message with details on the execution of the action
|
|
1234
|
+
# that may be displayed to the user upon failure or when requested explicitly.
|
|
1235
|
+
# Corresponds to the JSON property `message`
|
|
1236
|
+
# @return [String]
|
|
1237
|
+
attr_accessor :message
|
|
1238
|
+
|
|
1226
1239
|
# An ActionResult represents the result of an
|
|
1227
1240
|
# Action being run.
|
|
1228
1241
|
# Corresponds to the JSON property `result`
|
|
@@ -1290,6 +1303,7 @@ module Google
|
|
|
1290
1303
|
# Update properties of this object
|
|
1291
1304
|
def update!(**args)
|
|
1292
1305
|
@cached_result = args[:cached_result] if args.key?(:cached_result)
|
|
1306
|
+
@message = args[:message] if args.key?(:message)
|
|
1293
1307
|
@result = args[:result] if args.key?(:result)
|
|
1294
1308
|
@server_logs = args[:server_logs] if args.key?(:server_logs)
|
|
1295
1309
|
@status = args[:status] if args.key?(:status)
|
|
@@ -1453,11 +1467,11 @@ module Google
|
|
|
1453
1467
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
1454
1468
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
1455
1469
|
# servers MUST ensure that they serialize messages according to the following
|
|
1456
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
1457
|
-
#
|
|
1458
|
-
#
|
|
1459
|
-
#
|
|
1460
|
-
#
|
|
1470
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
1471
|
+
# * Fields are serialized in tag order.
|
|
1472
|
+
# * There are no unknown fields.
|
|
1473
|
+
# * There are no duplicate fields.
|
|
1474
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
1461
1475
|
# Most protocol buffer implementations will always follow these rules when
|
|
1462
1476
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
1463
1477
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -1580,11 +1594,11 @@ module Google
|
|
|
1580
1594
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
1581
1595
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
1582
1596
|
# servers MUST ensure that they serialize messages according to the following
|
|
1583
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
1584
|
-
#
|
|
1585
|
-
#
|
|
1586
|
-
#
|
|
1587
|
-
#
|
|
1597
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
1598
|
+
# * Fields are serialized in tag order.
|
|
1599
|
+
# * There are no unknown fields.
|
|
1600
|
+
# * There are no duplicate fields.
|
|
1601
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
1588
1602
|
# Most protocol buffer implementations will always follow these rules when
|
|
1589
1603
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
1590
1604
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -1645,11 +1659,11 @@ module Google
|
|
|
1645
1659
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
1646
1660
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
1647
1661
|
# servers MUST ensure that they serialize messages according to the following
|
|
1648
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
1649
|
-
#
|
|
1650
|
-
#
|
|
1651
|
-
#
|
|
1652
|
-
#
|
|
1662
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
1663
|
+
# * Fields are serialized in tag order.
|
|
1664
|
+
# * There are no unknown fields.
|
|
1665
|
+
# * There are no duplicate fields.
|
|
1666
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
1653
1667
|
# Most protocol buffer implementations will always follow these rules when
|
|
1654
1668
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
1655
1669
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -1695,11 +1709,11 @@ module Google
|
|
|
1695
1709
|
# When a `Digest` is used to refer to a proto message, it always refers to the
|
|
1696
1710
|
# message in binary encoded form. To ensure consistent hashing, clients and
|
|
1697
1711
|
# servers MUST ensure that they serialize messages according to the following
|
|
1698
|
-
# rules, even if there are alternate valid encodings for the same message
|
|
1699
|
-
#
|
|
1700
|
-
#
|
|
1701
|
-
#
|
|
1702
|
-
#
|
|
1712
|
+
# rules, even if there are alternate valid encodings for the same message:
|
|
1713
|
+
# * Fields are serialized in tag order.
|
|
1714
|
+
# * There are no unknown fields.
|
|
1715
|
+
# * There are no duplicate fields.
|
|
1716
|
+
# * Fields are serialized according to the default semantics for their type.
|
|
1703
1717
|
# Most protocol buffer implementations will always follow these rules when
|
|
1704
1718
|
# serializing, but care should be taken to avoid shortcuts. For instance,
|
|
1705
1719
|
# concatenating two messages to merge them may produce duplicate fields.
|
|
@@ -1882,8 +1896,8 @@ module Google
|
|
|
1882
1896
|
# external context of the request. The server may use this for logging or other
|
|
1883
1897
|
# purposes. To use it, the client attaches the header to the call using the
|
|
1884
1898
|
# canonical proto serialization:
|
|
1885
|
-
# name: build.bazel.remote.execution.v2.requestmetadata-bin
|
|
1886
|
-
# contents: the base64 encoded binary RequestMetadata message.
|
|
1899
|
+
# * name: `build.bazel.remote.execution.v2.requestmetadata-bin`
|
|
1900
|
+
# * contents: the base64 encoded binary `RequestMetadata` message.
|
|
1887
1901
|
class BuildBazelRemoteExecutionV2RequestMetadata
|
|
1888
1902
|
include Google::Apis::Core::Hashable
|
|
1889
1903
|
|
|
@@ -1960,7 +1974,7 @@ module Google
|
|
|
1960
1974
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2CacheCapabilities]
|
|
1961
1975
|
attr_accessor :cache_capabilities
|
|
1962
1976
|
|
|
1963
|
-
#
|
|
1977
|
+
# The full version of a given tool.
|
|
1964
1978
|
# Corresponds to the JSON property `deprecatedApiVersion`
|
|
1965
1979
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelSemverSemVer]
|
|
1966
1980
|
attr_accessor :deprecated_api_version
|
|
@@ -1970,12 +1984,12 @@ module Google
|
|
|
1970
1984
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ExecutionCapabilities]
|
|
1971
1985
|
attr_accessor :execution_capabilities
|
|
1972
1986
|
|
|
1973
|
-
#
|
|
1987
|
+
# The full version of a given tool.
|
|
1974
1988
|
# Corresponds to the JSON property `highApiVersion`
|
|
1975
1989
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelSemverSemVer]
|
|
1976
1990
|
attr_accessor :high_api_version
|
|
1977
1991
|
|
|
1978
|
-
#
|
|
1992
|
+
# The full version of a given tool.
|
|
1979
1993
|
# Corresponds to the JSON property `lowApiVersion`
|
|
1980
1994
|
# @return [Google::Apis::RemotebuildexecutionV2::BuildBazelSemverSemVer]
|
|
1981
1995
|
attr_accessor :low_api_version
|
|
@@ -2073,10 +2087,10 @@ module Google
|
|
|
2073
2087
|
# In order to ensure that two equivalent directory trees hash to the same
|
|
2074
2088
|
# value, the following restrictions MUST be obeyed when constructing a
|
|
2075
2089
|
# a `Directory`:
|
|
2076
|
-
#
|
|
2090
|
+
# * Every child in the directory must have a path of exactly one segment.
|
|
2077
2091
|
# Multiple levels of directory hierarchy may not be collapsed.
|
|
2078
|
-
#
|
|
2079
|
-
#
|
|
2092
|
+
# * Each child in the directory must have a unique path segment (file name).
|
|
2093
|
+
# * The files, directories and symlinks in the directory must each be sorted
|
|
2080
2094
|
# in lexicographical order by path. The path strings must be sorted by code
|
|
2081
2095
|
# point, equivalently, by UTF-8 bytes.
|
|
2082
2096
|
# A `Directory` that obeys the restrictions is said to be in canonical form.
|
|
@@ -2148,26 +2162,28 @@ module Google
|
|
|
2148
2162
|
end
|
|
2149
2163
|
end
|
|
2150
2164
|
|
|
2151
|
-
#
|
|
2165
|
+
# The full version of a given tool.
|
|
2152
2166
|
class BuildBazelSemverSemVer
|
|
2153
2167
|
include Google::Apis::Core::Hashable
|
|
2154
2168
|
|
|
2155
|
-
#
|
|
2169
|
+
# The major version, e.g 10 for 10.2.3.
|
|
2156
2170
|
# Corresponds to the JSON property `major`
|
|
2157
2171
|
# @return [Fixnum]
|
|
2158
2172
|
attr_accessor :major
|
|
2159
2173
|
|
|
2160
|
-
#
|
|
2174
|
+
# The minor version, e.g. 2 for 10.2.3.
|
|
2161
2175
|
# Corresponds to the JSON property `minor`
|
|
2162
2176
|
# @return [Fixnum]
|
|
2163
2177
|
attr_accessor :minor
|
|
2164
2178
|
|
|
2165
|
-
#
|
|
2179
|
+
# The patch version, e.g 3 for 10.2.3.
|
|
2166
2180
|
# Corresponds to the JSON property `patch`
|
|
2167
2181
|
# @return [Fixnum]
|
|
2168
2182
|
attr_accessor :patch
|
|
2169
2183
|
|
|
2170
|
-
#
|
|
2184
|
+
# The pre-release version. Either this field or major/minor/patch fields
|
|
2185
|
+
# must be filled. They are mutually exclusive. Pre-release versions are
|
|
2186
|
+
# assumed to be earlier than any released versions.
|
|
2171
2187
|
# Corresponds to the JSON property `prerelease`
|
|
2172
2188
|
# @return [String]
|
|
2173
2189
|
attr_accessor :prerelease
|
|
@@ -2452,6 +2468,12 @@ module Google
|
|
|
2452
2468
|
# @return [String]
|
|
2453
2469
|
attr_accessor :location
|
|
2454
2470
|
|
|
2471
|
+
# Output only. Whether stack driver logging is enabled for the instance.
|
|
2472
|
+
# Corresponds to the JSON property `loggingEnabled`
|
|
2473
|
+
# @return [Boolean]
|
|
2474
|
+
attr_accessor :logging_enabled
|
|
2475
|
+
alias_method :logging_enabled?, :logging_enabled
|
|
2476
|
+
|
|
2455
2477
|
# Output only. Instance resource name formatted as:
|
|
2456
2478
|
# `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
|
2457
2479
|
# Name should not be populated when creating an instance since it is provided
|
|
@@ -2472,6 +2494,7 @@ module Google
|
|
|
2472
2494
|
# Update properties of this object
|
|
2473
2495
|
def update!(**args)
|
|
2474
2496
|
@location = args[:location] if args.key?(:location)
|
|
2497
|
+
@logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled)
|
|
2475
2498
|
@name = args[:name] if args.key?(:name)
|
|
2476
2499
|
@state = args[:state] if args.key?(:state)
|
|
2477
2500
|
end
|
|
@@ -2618,8 +2641,10 @@ module Google
|
|
|
2618
2641
|
# @return [String]
|
|
2619
2642
|
attr_accessor :min_cpu_platform
|
|
2620
2643
|
|
|
2621
|
-
#
|
|
2622
|
-
# preempted.
|
|
2644
|
+
# Determines whether the worker is reserved (and therefore won't be
|
|
2645
|
+
# preempted).
|
|
2646
|
+
# See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
|
|
2647
|
+
# details.
|
|
2623
2648
|
# Corresponds to the JSON property `reserved`
|
|
2624
2649
|
# @return [Boolean]
|
|
2625
2650
|
attr_accessor :reserved
|
|
@@ -3853,6 +3878,16 @@ module Google
|
|
|
3853
3878
|
# @return [Fixnum]
|
|
3854
3879
|
attr_accessor :exit_code
|
|
3855
3880
|
|
|
3881
|
+
# Implementation-dependent metadata about the task. Both servers and bots
|
|
3882
|
+
# may define messages which can be encoded here; bots are free to provide
|
|
3883
|
+
# metadata in multiple formats, and servers are free to choose one or more
|
|
3884
|
+
# of the values to process and ignore others. In particular, it is *not*
|
|
3885
|
+
# considered an error for the bot to provide the server with a field that it
|
|
3886
|
+
# doesn't know about.
|
|
3887
|
+
# Corresponds to the JSON property `metadata`
|
|
3888
|
+
# @return [Array<Hash<String,Object>>]
|
|
3889
|
+
attr_accessor :metadata
|
|
3890
|
+
|
|
3856
3891
|
# The CommandTask and CommandResult messages assume the existence of a service
|
|
3857
3892
|
# that can serve blobs of content, identified by a hash and size known as a
|
|
3858
3893
|
# "digest." The method by which these blobs may be retrieved is not specified
|
|
@@ -3871,16 +3906,6 @@ module Google
|
|
|
3871
3906
|
# @return [String]
|
|
3872
3907
|
attr_accessor :overhead
|
|
3873
3908
|
|
|
3874
|
-
# Implementation-dependent statistics about the task. Both servers and bots
|
|
3875
|
-
# may define messages which can be encoded here; bots are free to provide
|
|
3876
|
-
# statistics in multiple formats, and servers are free to choose one or more
|
|
3877
|
-
# of the values to process and ignore others. In particular, it is *not*
|
|
3878
|
-
# considered an error for the bot to provide the server with a field that it
|
|
3879
|
-
# doesn't know about.
|
|
3880
|
-
# Corresponds to the JSON property `statistics`
|
|
3881
|
-
# @return [Array<Hash<String,Object>>]
|
|
3882
|
-
attr_accessor :statistics
|
|
3883
|
-
|
|
3884
3909
|
# The `Status` type defines a logical error model that is suitable for different
|
|
3885
3910
|
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
3886
3911
|
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
|
@@ -3932,9 +3957,9 @@ module Google
|
|
|
3932
3957
|
def update!(**args)
|
|
3933
3958
|
@duration = args[:duration] if args.key?(:duration)
|
|
3934
3959
|
@exit_code = args[:exit_code] if args.key?(:exit_code)
|
|
3960
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
3935
3961
|
@outputs = args[:outputs] if args.key?(:outputs)
|
|
3936
3962
|
@overhead = args[:overhead] if args.key?(:overhead)
|
|
3937
|
-
@statistics = args[:statistics] if args.key?(:statistics)
|
|
3938
3963
|
@status = args[:status] if args.key?(:status)
|
|
3939
3964
|
end
|
|
3940
3965
|
end
|