google-api-client 0.30.1 → 0.30.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +64 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -64
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -4
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +6 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +6 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -74
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +56 -0
- data/generated/google/apis/fcm_v1/representations.rb +31 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +6 -6
- data/generated/google/apis/file_v1/representations.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +6 -6
- data/generated/google/apis/file_v1beta1/representations.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +8 -74
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +10 -2
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
- data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +4 -37
- data/generated/google/apis/logging_v2.rb +5 -2
- data/generated/google/apis/logging_v2/service.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +27 -77
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3.rb +5 -2
- data/generated/google/apis/monitoring_v3/classes.rb +13 -97
- data/generated/google/apis/monitoring_v3/service.rb +4 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +12 -78
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
- data/generated/google/apis/redis_v1beta1/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +0 -7
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -333
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -201,7 +201,7 @@ module Google
|
|
201
201
|
execute_or_queue_command(command, &block)
|
202
202
|
end
|
203
203
|
|
204
|
-
# Export Redis instance data into a Redis RDB format file in
|
204
|
+
# Export Redis instance data into a Redis RDB format file in Cloud Storage.
|
205
205
|
# Redis will continue serving during this operation.
|
206
206
|
# The returned operation is automatically deleted after a few hours, so
|
207
207
|
# there is no need to call DeleteOperation.
|
@@ -307,7 +307,7 @@ module Google
|
|
307
307
|
execute_or_queue_command(command, &block)
|
308
308
|
end
|
309
309
|
|
310
|
-
# Import a Redis RDB snapshot file from
|
310
|
+
# Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
|
311
311
|
# Redis may stop serving during this operation. Instance state will be
|
312
312
|
# IMPORTING for entire operation. When complete, the instance will contain
|
313
313
|
# only data from the imported file.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
26
26
|
module RedisV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190607'
|
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'
|
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
-
# The
|
63
|
+
# The Cloud Storage location for the output content
|
64
64
|
class GcsDestination
|
65
65
|
include Google::Apis::Core::Hashable
|
66
66
|
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
# The
|
83
|
+
# The Cloud Storage location for the input content
|
84
84
|
class GcsSource
|
85
85
|
include Google::Apis::Core::Hashable
|
86
86
|
|
@@ -220,7 +220,7 @@ module Google
|
|
220
220
|
class InputConfig
|
221
221
|
include Google::Apis::Core::Hashable
|
222
222
|
|
223
|
-
# The
|
223
|
+
# The Cloud Storage location for the input content
|
224
224
|
# Corresponds to the JSON property `gcsSource`
|
225
225
|
# @return [Google::Apis::RedisV1beta1::GcsSource]
|
226
226
|
attr_accessor :gcs_source
|
@@ -553,43 +553,10 @@ module Google
|
|
553
553
|
|
554
554
|
# The `Status` type defines a logical error model that is suitable for
|
555
555
|
# different programming environments, including REST APIs and RPC APIs. It is
|
556
|
-
# used by [gRPC](https://github.com/grpc).
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
# The `Status` message contains three pieces of data: error code, error
|
561
|
-
# message, and error details. The error code should be an enum value of
|
562
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
563
|
-
# error message should be a developer-facing English message that helps
|
564
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
565
|
-
# error message is needed, put the localized message in the error details or
|
566
|
-
# localize it in the client. The optional error details may contain arbitrary
|
567
|
-
# information about the error. There is a predefined set of error detail types
|
568
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
569
|
-
# # Language mapping
|
570
|
-
# The `Status` message is the logical representation of the error model, but it
|
571
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
572
|
-
# exposed in different client libraries and different wire protocols, it can be
|
573
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
574
|
-
# in Java, but more likely mapped to some error codes in C.
|
575
|
-
# # Other uses
|
576
|
-
# The error model and the `Status` message can be used in a variety of
|
577
|
-
# environments, either with or without APIs, to provide a
|
578
|
-
# consistent developer experience across different environments.
|
579
|
-
# Example uses of this error model include:
|
580
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
581
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
582
|
-
# errors.
|
583
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
584
|
-
# have a `Status` message for error reporting.
|
585
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
586
|
-
# `Status` message should be used directly inside batch response, one for
|
587
|
-
# each error sub-response.
|
588
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
589
|
-
# results in its response, the status of those operations should be
|
590
|
-
# represented directly using the `Status` message.
|
591
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
592
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
556
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
557
|
+
# three pieces of data: error code, error message, and error details.
|
558
|
+
# You can find out more about this error model and how to work with it in the
|
559
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
593
560
|
# Corresponds to the JSON property `error`
|
594
561
|
# @return [Google::Apis::RedisV1beta1::Status]
|
595
562
|
attr_accessor :error
|
@@ -647,7 +614,7 @@ module Google
|
|
647
614
|
class OutputConfig
|
648
615
|
include Google::Apis::Core::Hashable
|
649
616
|
|
650
|
-
# The
|
617
|
+
# The Cloud Storage location for the output content
|
651
618
|
# Corresponds to the JSON property `gcsDestination`
|
652
619
|
# @return [Google::Apis::RedisV1beta1::GcsDestination]
|
653
620
|
attr_accessor :gcs_destination
|
@@ -664,43 +631,10 @@ module Google
|
|
664
631
|
|
665
632
|
# The `Status` type defines a logical error model that is suitable for
|
666
633
|
# different programming environments, including REST APIs and RPC APIs. It is
|
667
|
-
# used by [gRPC](https://github.com/grpc).
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
# The `Status` message contains three pieces of data: error code, error
|
672
|
-
# message, and error details. The error code should be an enum value of
|
673
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
674
|
-
# error message should be a developer-facing English message that helps
|
675
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
676
|
-
# error message is needed, put the localized message in the error details or
|
677
|
-
# localize it in the client. The optional error details may contain arbitrary
|
678
|
-
# information about the error. There is a predefined set of error detail types
|
679
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
680
|
-
# # Language mapping
|
681
|
-
# The `Status` message is the logical representation of the error model, but it
|
682
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
683
|
-
# exposed in different client libraries and different wire protocols, it can be
|
684
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
685
|
-
# in Java, but more likely mapped to some error codes in C.
|
686
|
-
# # Other uses
|
687
|
-
# The error model and the `Status` message can be used in a variety of
|
688
|
-
# environments, either with or without APIs, to provide a
|
689
|
-
# consistent developer experience across different environments.
|
690
|
-
# Example uses of this error model include:
|
691
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
692
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
693
|
-
# errors.
|
694
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
695
|
-
# have a `Status` message for error reporting.
|
696
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
697
|
-
# `Status` message should be used directly inside batch response, one for
|
698
|
-
# each error sub-response.
|
699
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
700
|
-
# results in its response, the status of those operations should be
|
701
|
-
# represented directly using the `Status` message.
|
702
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
703
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
634
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
635
|
+
# three pieces of data: error code, error message, and error details.
|
636
|
+
# You can find out more about this error model and how to work with it in the
|
637
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
704
638
|
class Status
|
705
639
|
include Google::Apis::Core::Hashable
|
706
640
|
|
@@ -201,7 +201,7 @@ module Google
|
|
201
201
|
execute_or_queue_command(command, &block)
|
202
202
|
end
|
203
203
|
|
204
|
-
# Export Redis instance data into a Redis RDB format file in
|
204
|
+
# Export Redis instance data into a Redis RDB format file in Cloud Storage.
|
205
205
|
# Redis will continue serving during this operation.
|
206
206
|
# The returned operation is automatically deleted after a few hours, so
|
207
207
|
# there is no need to call DeleteOperation.
|
@@ -271,7 +271,7 @@ module Google
|
|
271
271
|
execute_or_queue_command(command, &block)
|
272
272
|
end
|
273
273
|
|
274
|
-
# Import a Redis RDB snapshot file from
|
274
|
+
# Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
|
275
275
|
# Redis may stop serving during this operation. Instance state will be
|
276
276
|
# IMPORTING for entire operation. When complete, the instance will contain
|
277
277
|
# only data from the imported file.
|
@@ -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 = '20190604'
|
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'
|
@@ -801,43 +801,10 @@ module Google
|
|
801
801
|
|
802
802
|
# The `Status` type defines a logical error model that is suitable for
|
803
803
|
# different programming environments, including REST APIs and RPC APIs. It is
|
804
|
-
# used by [gRPC](https://github.com/grpc).
|
805
|
-
#
|
806
|
-
#
|
807
|
-
#
|
808
|
-
# The `Status` message contains three pieces of data: error code, error
|
809
|
-
# message, and error details. The error code should be an enum value of
|
810
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
811
|
-
# error message should be a developer-facing English message that helps
|
812
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
813
|
-
# error message is needed, put the localized message in the error details or
|
814
|
-
# localize it in the client. The optional error details may contain arbitrary
|
815
|
-
# information about the error. There is a predefined set of error detail types
|
816
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
817
|
-
# # Language mapping
|
818
|
-
# The `Status` message is the logical representation of the error model, but it
|
819
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
820
|
-
# exposed in different client libraries and different wire protocols, it can be
|
821
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
822
|
-
# in Java, but more likely mapped to some error codes in C.
|
823
|
-
# # Other uses
|
824
|
-
# The error model and the `Status` message can be used in a variety of
|
825
|
-
# environments, either with or without APIs, to provide a
|
826
|
-
# consistent developer experience across different environments.
|
827
|
-
# Example uses of this error model include:
|
828
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
829
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
830
|
-
# errors.
|
831
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
832
|
-
# have a `Status` message for error reporting.
|
833
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
834
|
-
# `Status` message should be used directly inside batch response, one for
|
835
|
-
# each error sub-response.
|
836
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
837
|
-
# results in its response, the status of those operations should be
|
838
|
-
# represented directly using the `Status` message.
|
839
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
840
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
804
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
805
|
+
# three pieces of data: error code, error message, and error details.
|
806
|
+
# You can find out more about this error model and how to work with it in the
|
807
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
841
808
|
# Corresponds to the JSON property `status`
|
842
809
|
# @return [Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus]
|
843
810
|
attr_accessor :status
|
@@ -2538,43 +2505,10 @@ module Google
|
|
2538
2505
|
|
2539
2506
|
# The `Status` type defines a logical error model that is suitable for
|
2540
2507
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2541
|
-
# used by [gRPC](https://github.com/grpc).
|
2542
|
-
#
|
2543
|
-
#
|
2544
|
-
#
|
2545
|
-
# The `Status` message contains three pieces of data: error code, error
|
2546
|
-
# message, and error details. The error code should be an enum value of
|
2547
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2548
|
-
# error message should be a developer-facing English message that helps
|
2549
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2550
|
-
# error message is needed, put the localized message in the error details or
|
2551
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2552
|
-
# information about the error. There is a predefined set of error detail types
|
2553
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2554
|
-
# # Language mapping
|
2555
|
-
# The `Status` message is the logical representation of the error model, but it
|
2556
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2557
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2558
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2559
|
-
# in Java, but more likely mapped to some error codes in C.
|
2560
|
-
# # Other uses
|
2561
|
-
# The error model and the `Status` message can be used in a variety of
|
2562
|
-
# environments, either with or without APIs, to provide a
|
2563
|
-
# consistent developer experience across different environments.
|
2564
|
-
# Example uses of this error model include:
|
2565
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2566
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2567
|
-
# errors.
|
2568
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2569
|
-
# have a `Status` message for error reporting.
|
2570
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2571
|
-
# `Status` message should be used directly inside batch response, one for
|
2572
|
-
# each error sub-response.
|
2573
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2574
|
-
# results in its response, the status of those operations should be
|
2575
|
-
# represented directly using the `Status` message.
|
2576
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2577
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2508
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2509
|
+
# three pieces of data: error code, error message, and error details.
|
2510
|
+
# You can find out more about this error model and how to work with it in the
|
2511
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2578
2512
|
# Corresponds to the JSON property `status`
|
2579
2513
|
# @return [Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus]
|
2580
2514
|
attr_accessor :status
|
@@ -3207,43 +3141,10 @@ module Google
|
|
3207
3141
|
|
3208
3142
|
# The `Status` type defines a logical error model that is suitable for
|
3209
3143
|
# different programming environments, including REST APIs and RPC APIs. It is
|
3210
|
-
# used by [gRPC](https://github.com/grpc).
|
3211
|
-
#
|
3212
|
-
#
|
3213
|
-
#
|
3214
|
-
# The `Status` message contains three pieces of data: error code, error
|
3215
|
-
# message, and error details. The error code should be an enum value of
|
3216
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3217
|
-
# error message should be a developer-facing English message that helps
|
3218
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
3219
|
-
# error message is needed, put the localized message in the error details or
|
3220
|
-
# localize it in the client. The optional error details may contain arbitrary
|
3221
|
-
# information about the error. There is a predefined set of error detail types
|
3222
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
3223
|
-
# # Language mapping
|
3224
|
-
# The `Status` message is the logical representation of the error model, but it
|
3225
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
3226
|
-
# exposed in different client libraries and different wire protocols, it can be
|
3227
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
3228
|
-
# in Java, but more likely mapped to some error codes in C.
|
3229
|
-
# # Other uses
|
3230
|
-
# The error model and the `Status` message can be used in a variety of
|
3231
|
-
# environments, either with or without APIs, to provide a
|
3232
|
-
# consistent developer experience across different environments.
|
3233
|
-
# Example uses of this error model include:
|
3234
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
3235
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
3236
|
-
# errors.
|
3237
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
3238
|
-
# have a `Status` message for error reporting.
|
3239
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
3240
|
-
# `Status` message should be used directly inside batch response, one for
|
3241
|
-
# each error sub-response.
|
3242
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
3243
|
-
# results in its response, the status of those operations should be
|
3244
|
-
# represented directly using the `Status` message.
|
3245
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
3246
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
3144
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
3145
|
+
# three pieces of data: error code, error message, and error details.
|
3146
|
+
# You can find out more about this error model and how to work with it in the
|
3147
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
3247
3148
|
# Corresponds to the JSON property `status`
|
3248
3149
|
# @return [Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus]
|
3249
3150
|
attr_accessor :status
|
@@ -3672,43 +3573,10 @@ module Google
|
|
3672
3573
|
|
3673
3574
|
# The `Status` type defines a logical error model that is suitable for
|
3674
3575
|
# different programming environments, including REST APIs and RPC APIs. It is
|
3675
|
-
# used by [gRPC](https://github.com/grpc).
|
3676
|
-
#
|
3677
|
-
#
|
3678
|
-
#
|
3679
|
-
# The `Status` message contains three pieces of data: error code, error
|
3680
|
-
# message, and error details. The error code should be an enum value of
|
3681
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3682
|
-
# error message should be a developer-facing English message that helps
|
3683
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
3684
|
-
# error message is needed, put the localized message in the error details or
|
3685
|
-
# localize it in the client. The optional error details may contain arbitrary
|
3686
|
-
# information about the error. There is a predefined set of error detail types
|
3687
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
3688
|
-
# # Language mapping
|
3689
|
-
# The `Status` message is the logical representation of the error model, but it
|
3690
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
3691
|
-
# exposed in different client libraries and different wire protocols, it can be
|
3692
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
3693
|
-
# in Java, but more likely mapped to some error codes in C.
|
3694
|
-
# # Other uses
|
3695
|
-
# The error model and the `Status` message can be used in a variety of
|
3696
|
-
# environments, either with or without APIs, to provide a
|
3697
|
-
# consistent developer experience across different environments.
|
3698
|
-
# Example uses of this error model include:
|
3699
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
3700
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
3701
|
-
# errors.
|
3702
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
3703
|
-
# have a `Status` message for error reporting.
|
3704
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
3705
|
-
# `Status` message should be used directly inside batch response, one for
|
3706
|
-
# each error sub-response.
|
3707
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
3708
|
-
# results in its response, the status of those operations should be
|
3709
|
-
# represented directly using the `Status` message.
|
3710
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
3711
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
3576
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
3577
|
+
# three pieces of data: error code, error message, and error details.
|
3578
|
+
# You can find out more about this error model and how to work with it in the
|
3579
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
3712
3580
|
# Corresponds to the JSON property `error`
|
3713
3581
|
# @return [Google::Apis::RemotebuildexecutionV1::GoogleRpcStatus]
|
3714
3582
|
attr_accessor :error
|
@@ -3775,43 +3643,10 @@ module Google
|
|
3775
3643
|
|
3776
3644
|
# The `Status` type defines a logical error model that is suitable for
|
3777
3645
|
# different programming environments, including REST APIs and RPC APIs. It is
|
3778
|
-
# used by [gRPC](https://github.com/grpc).
|
3779
|
-
#
|
3780
|
-
#
|
3781
|
-
#
|
3782
|
-
# The `Status` message contains three pieces of data: error code, error
|
3783
|
-
# message, and error details. The error code should be an enum value of
|
3784
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3785
|
-
# error message should be a developer-facing English message that helps
|
3786
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
3787
|
-
# error message is needed, put the localized message in the error details or
|
3788
|
-
# localize it in the client. The optional error details may contain arbitrary
|
3789
|
-
# information about the error. There is a predefined set of error detail types
|
3790
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
3791
|
-
# # Language mapping
|
3792
|
-
# The `Status` message is the logical representation of the error model, but it
|
3793
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
3794
|
-
# exposed in different client libraries and different wire protocols, it can be
|
3795
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
3796
|
-
# in Java, but more likely mapped to some error codes in C.
|
3797
|
-
# # Other uses
|
3798
|
-
# The error model and the `Status` message can be used in a variety of
|
3799
|
-
# environments, either with or without APIs, to provide a
|
3800
|
-
# consistent developer experience across different environments.
|
3801
|
-
# Example uses of this error model include:
|
3802
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
3803
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
3804
|
-
# errors.
|
3805
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
3806
|
-
# have a `Status` message for error reporting.
|
3807
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
3808
|
-
# `Status` message should be used directly inside batch response, one for
|
3809
|
-
# each error sub-response.
|
3810
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
3811
|
-
# results in its response, the status of those operations should be
|
3812
|
-
# represented directly using the `Status` message.
|
3813
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
3814
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
3646
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
3647
|
+
# three pieces of data: error code, error message, and error details.
|
3648
|
+
# You can find out more about this error model and how to work with it in the
|
3649
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
3815
3650
|
class GoogleRpcStatus
|
3816
3651
|
include Google::Apis::Core::Hashable
|
3817
3652
|
|
@@ -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 = '20190604'
|
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'
|
@@ -801,43 +801,10 @@ module Google
|
|
801
801
|
|
802
802
|
# The `Status` type defines a logical error model that is suitable for
|
803
803
|
# different programming environments, including REST APIs and RPC APIs. It is
|
804
|
-
# used by [gRPC](https://github.com/grpc).
|
805
|
-
#
|
806
|
-
#
|
807
|
-
#
|
808
|
-
# The `Status` message contains three pieces of data: error code, error
|
809
|
-
# message, and error details. The error code should be an enum value of
|
810
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
811
|
-
# error message should be a developer-facing English message that helps
|
812
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
813
|
-
# error message is needed, put the localized message in the error details or
|
814
|
-
# localize it in the client. The optional error details may contain arbitrary
|
815
|
-
# information about the error. There is a predefined set of error detail types
|
816
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
817
|
-
# # Language mapping
|
818
|
-
# The `Status` message is the logical representation of the error model, but it
|
819
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
820
|
-
# exposed in different client libraries and different wire protocols, it can be
|
821
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
822
|
-
# in Java, but more likely mapped to some error codes in C.
|
823
|
-
# # Other uses
|
824
|
-
# The error model and the `Status` message can be used in a variety of
|
825
|
-
# environments, either with or without APIs, to provide a
|
826
|
-
# consistent developer experience across different environments.
|
827
|
-
# Example uses of this error model include:
|
828
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
829
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
830
|
-
# errors.
|
831
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
832
|
-
# have a `Status` message for error reporting.
|
833
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
834
|
-
# `Status` message should be used directly inside batch response, one for
|
835
|
-
# each error sub-response.
|
836
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
837
|
-
# results in its response, the status of those operations should be
|
838
|
-
# represented directly using the `Status` message.
|
839
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
840
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
804
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
805
|
+
# three pieces of data: error code, error message, and error details.
|
806
|
+
# You can find out more about this error model and how to work with it in the
|
807
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
841
808
|
# Corresponds to the JSON property `status`
|
842
809
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus]
|
843
810
|
attr_accessor :status
|
@@ -2519,43 +2486,10 @@ module Google
|
|
2519
2486
|
|
2520
2487
|
# The `Status` type defines a logical error model that is suitable for
|
2521
2488
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2522
|
-
# used by [gRPC](https://github.com/grpc).
|
2523
|
-
#
|
2524
|
-
#
|
2525
|
-
#
|
2526
|
-
# The `Status` message contains three pieces of data: error code, error
|
2527
|
-
# message, and error details. The error code should be an enum value of
|
2528
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2529
|
-
# error message should be a developer-facing English message that helps
|
2530
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2531
|
-
# error message is needed, put the localized message in the error details or
|
2532
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2533
|
-
# information about the error. There is a predefined set of error detail types
|
2534
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2535
|
-
# # Language mapping
|
2536
|
-
# The `Status` message is the logical representation of the error model, but it
|
2537
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2538
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2539
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2540
|
-
# in Java, but more likely mapped to some error codes in C.
|
2541
|
-
# # Other uses
|
2542
|
-
# The error model and the `Status` message can be used in a variety of
|
2543
|
-
# environments, either with or without APIs, to provide a
|
2544
|
-
# consistent developer experience across different environments.
|
2545
|
-
# Example uses of this error model include:
|
2546
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2547
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2548
|
-
# errors.
|
2549
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2550
|
-
# have a `Status` message for error reporting.
|
2551
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2552
|
-
# `Status` message should be used directly inside batch response, one for
|
2553
|
-
# each error sub-response.
|
2554
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2555
|
-
# results in its response, the status of those operations should be
|
2556
|
-
# represented directly using the `Status` message.
|
2557
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2558
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2489
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2490
|
+
# three pieces of data: error code, error message, and error details.
|
2491
|
+
# You can find out more about this error model and how to work with it in the
|
2492
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2559
2493
|
# Corresponds to the JSON property `status`
|
2560
2494
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus]
|
2561
2495
|
attr_accessor :status
|
@@ -3188,43 +3122,10 @@ module Google
|
|
3188
3122
|
|
3189
3123
|
# The `Status` type defines a logical error model that is suitable for
|
3190
3124
|
# different programming environments, including REST APIs and RPC APIs. It is
|
3191
|
-
# used by [gRPC](https://github.com/grpc).
|
3192
|
-
#
|
3193
|
-
#
|
3194
|
-
#
|
3195
|
-
# The `Status` message contains three pieces of data: error code, error
|
3196
|
-
# message, and error details. The error code should be an enum value of
|
3197
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3198
|
-
# error message should be a developer-facing English message that helps
|
3199
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
3200
|
-
# error message is needed, put the localized message in the error details or
|
3201
|
-
# localize it in the client. The optional error details may contain arbitrary
|
3202
|
-
# information about the error. There is a predefined set of error detail types
|
3203
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
3204
|
-
# # Language mapping
|
3205
|
-
# The `Status` message is the logical representation of the error model, but it
|
3206
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
3207
|
-
# exposed in different client libraries and different wire protocols, it can be
|
3208
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
3209
|
-
# in Java, but more likely mapped to some error codes in C.
|
3210
|
-
# # Other uses
|
3211
|
-
# The error model and the `Status` message can be used in a variety of
|
3212
|
-
# environments, either with or without APIs, to provide a
|
3213
|
-
# consistent developer experience across different environments.
|
3214
|
-
# Example uses of this error model include:
|
3215
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
3216
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
3217
|
-
# errors.
|
3218
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
3219
|
-
# have a `Status` message for error reporting.
|
3220
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
3221
|
-
# `Status` message should be used directly inside batch response, one for
|
3222
|
-
# each error sub-response.
|
3223
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
3224
|
-
# results in its response, the status of those operations should be
|
3225
|
-
# represented directly using the `Status` message.
|
3226
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
3227
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
3125
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
3126
|
+
# three pieces of data: error code, error message, and error details.
|
3127
|
+
# You can find out more about this error model and how to work with it in the
|
3128
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
3228
3129
|
# Corresponds to the JSON property `status`
|
3229
3130
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus]
|
3230
3131
|
attr_accessor :status
|
@@ -3615,43 +3516,10 @@ module Google
|
|
3615
3516
|
|
3616
3517
|
# The `Status` type defines a logical error model that is suitable for
|
3617
3518
|
# different programming environments, including REST APIs and RPC APIs. It is
|
3618
|
-
# used by [gRPC](https://github.com/grpc).
|
3619
|
-
#
|
3620
|
-
#
|
3621
|
-
#
|
3622
|
-
# The `Status` message contains three pieces of data: error code, error
|
3623
|
-
# message, and error details. The error code should be an enum value of
|
3624
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3625
|
-
# error message should be a developer-facing English message that helps
|
3626
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
3627
|
-
# error message is needed, put the localized message in the error details or
|
3628
|
-
# localize it in the client. The optional error details may contain arbitrary
|
3629
|
-
# information about the error. There is a predefined set of error detail types
|
3630
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
3631
|
-
# # Language mapping
|
3632
|
-
# The `Status` message is the logical representation of the error model, but it
|
3633
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
3634
|
-
# exposed in different client libraries and different wire protocols, it can be
|
3635
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
3636
|
-
# in Java, but more likely mapped to some error codes in C.
|
3637
|
-
# # Other uses
|
3638
|
-
# The error model and the `Status` message can be used in a variety of
|
3639
|
-
# environments, either with or without APIs, to provide a
|
3640
|
-
# consistent developer experience across different environments.
|
3641
|
-
# Example uses of this error model include:
|
3642
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
3643
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
3644
|
-
# errors.
|
3645
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
3646
|
-
# have a `Status` message for error reporting.
|
3647
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
3648
|
-
# `Status` message should be used directly inside batch response, one for
|
3649
|
-
# each error sub-response.
|
3650
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
3651
|
-
# results in its response, the status of those operations should be
|
3652
|
-
# represented directly using the `Status` message.
|
3653
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
3654
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
3519
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
3520
|
+
# three pieces of data: error code, error message, and error details.
|
3521
|
+
# You can find out more about this error model and how to work with it in the
|
3522
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
3655
3523
|
# Corresponds to the JSON property `error`
|
3656
3524
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleRpcStatus]
|
3657
3525
|
attr_accessor :error
|
@@ -3699,43 +3567,10 @@ module Google
|
|
3699
3567
|
|
3700
3568
|
# The `Status` type defines a logical error model that is suitable for
|
3701
3569
|
# different programming environments, including REST APIs and RPC APIs. It is
|
3702
|
-
# used by [gRPC](https://github.com/grpc).
|
3703
|
-
#
|
3704
|
-
#
|
3705
|
-
#
|
3706
|
-
# The `Status` message contains three pieces of data: error code, error
|
3707
|
-
# message, and error details. The error code should be an enum value of
|
3708
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3709
|
-
# error message should be a developer-facing English message that helps
|
3710
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
3711
|
-
# error message is needed, put the localized message in the error details or
|
3712
|
-
# localize it in the client. The optional error details may contain arbitrary
|
3713
|
-
# information about the error. There is a predefined set of error detail types
|
3714
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
3715
|
-
# # Language mapping
|
3716
|
-
# The `Status` message is the logical representation of the error model, but it
|
3717
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
3718
|
-
# exposed in different client libraries and different wire protocols, it can be
|
3719
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
3720
|
-
# in Java, but more likely mapped to some error codes in C.
|
3721
|
-
# # Other uses
|
3722
|
-
# The error model and the `Status` message can be used in a variety of
|
3723
|
-
# environments, either with or without APIs, to provide a
|
3724
|
-
# consistent developer experience across different environments.
|
3725
|
-
# Example uses of this error model include:
|
3726
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
3727
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
3728
|
-
# errors.
|
3729
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
3730
|
-
# have a `Status` message for error reporting.
|
3731
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
3732
|
-
# `Status` message should be used directly inside batch response, one for
|
3733
|
-
# each error sub-response.
|
3734
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
3735
|
-
# results in its response, the status of those operations should be
|
3736
|
-
# represented directly using the `Status` message.
|
3737
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
3738
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
3570
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
3571
|
+
# three pieces of data: error code, error message, and error details.
|
3572
|
+
# You can find out more about this error model and how to work with it in the
|
3573
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
3739
3574
|
class GoogleRpcStatus
|
3740
3575
|
include Google::Apis::Core::Hashable
|
3741
3576
|
|