google-api-client 0.30.1 → 0.30.2

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.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +64 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
  8. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  9. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  11. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1/classes.rb +8 -64
  14. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  15. data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +12 -4
  20. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  21. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
  23. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  24. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
  25. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  26. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
  27. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  28. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
  29. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
  31. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
  33. data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
  34. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  35. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
  36. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  37. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
  38. data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +6 -0
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +6 -0
  43. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  44. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
  45. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +6 -0
  49. data/generated/google/apis/content_v2/representations.rb +2 -0
  50. data/generated/google/apis/content_v2_1.rb +1 -1
  51. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  52. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
  57. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  58. data/generated/google/apis/dlp_v2.rb +1 -1
  59. data/generated/google/apis/dlp_v2/classes.rb +8 -74
  60. data/generated/google/apis/docs_v1.rb +1 -1
  61. data/generated/google/apis/docs_v1/classes.rb +10 -0
  62. data/generated/google/apis/fcm_v1.rb +1 -1
  63. data/generated/google/apis/fcm_v1/classes.rb +56 -0
  64. data/generated/google/apis/fcm_v1/representations.rb +31 -0
  65. data/generated/google/apis/file_v1.rb +1 -1
  66. data/generated/google/apis/file_v1/classes.rb +6 -6
  67. data/generated/google/apis/file_v1/representations.rb +1 -1
  68. data/generated/google/apis/file_v1beta1.rb +1 -1
  69. data/generated/google/apis/file_v1beta1/classes.rb +6 -6
  70. data/generated/google/apis/file_v1beta1/representations.rb +1 -1
  71. data/generated/google/apis/genomics_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1/classes.rb +8 -74
  73. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  74. data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
  75. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  76. data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
  77. data/generated/google/apis/gmail_v1.rb +1 -1
  78. data/generated/google/apis/gmail_v1/classes.rb +10 -2
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
  85. data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
  86. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  87. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
  88. data/generated/google/apis/language_v1.rb +1 -1
  89. data/generated/google/apis/language_v1/classes.rb +4 -37
  90. data/generated/google/apis/language_v1beta1.rb +1 -1
  91. data/generated/google/apis/language_v1beta1/classes.rb +4 -37
  92. data/generated/google/apis/language_v1beta2.rb +1 -1
  93. data/generated/google/apis/language_v1beta2/classes.rb +4 -37
  94. data/generated/google/apis/logging_v2.rb +5 -2
  95. data/generated/google/apis/logging_v2/service.rb +4 -1
  96. data/generated/google/apis/ml_v1.rb +1 -1
  97. data/generated/google/apis/ml_v1/classes.rb +27 -77
  98. data/generated/google/apis/ml_v1/representations.rb +2 -0
  99. data/generated/google/apis/monitoring_v3.rb +5 -2
  100. data/generated/google/apis/monitoring_v3/classes.rb +13 -97
  101. data/generated/google/apis/monitoring_v3/service.rb +4 -1
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +12 -78
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
  107. data/generated/google/apis/redis_v1beta1/service.rb +2 -2
  108. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  109. data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
  110. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
  112. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  113. data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
  114. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  115. data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
  116. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  117. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
  118. data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
  119. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
  120. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
  121. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
  122. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  123. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  124. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  125. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
  126. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  127. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
  128. data/generated/google/apis/serviceusage_v1.rb +1 -1
  129. data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
  130. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  131. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
  132. data/generated/google/apis/storage_v1.rb +1 -1
  133. data/generated/google/apis/storage_v1/classes.rb +0 -7
  134. data/generated/google/apis/storage_v1/representations.rb +0 -1
  135. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  136. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
  137. data/generated/google/apis/vision_v1.rb +1 -1
  138. data/generated/google/apis/vision_v1/classes.rb +36 -333
  139. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  140. data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
  141. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  142. data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
  143. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  144. data/generated/google/apis/youtube_partner_v1.rb +2 -2
  145. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  146. data/lib/google/apis/version.rb +1 -1
  147. metadata +6 -2
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190527'
30
+ REVISION = '20190531'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -170,43 +170,10 @@ module Google
170
170
 
171
171
  # The `Status` type defines a logical error model that is suitable for
172
172
  # different programming environments, including REST APIs and RPC APIs. It is
173
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
174
- # - Simple to use and understand for most users
175
- # - Flexible enough to meet unexpected needs
176
- # # Overview
177
- # The `Status` message contains three pieces of data: error code, error
178
- # message, and error details. The error code should be an enum value of
179
- # google.rpc.Code, but it may accept additional error codes if needed. The
180
- # error message should be a developer-facing English message that helps
181
- # developers *understand* and *resolve* the error. If a localized user-facing
182
- # error message is needed, put the localized message in the error details or
183
- # localize it in the client. The optional error details may contain arbitrary
184
- # information about the error. There is a predefined set of error detail types
185
- # in the package `google.rpc` that can be used for common error conditions.
186
- # # Language mapping
187
- # The `Status` message is the logical representation of the error model, but it
188
- # is not necessarily the actual wire format. When the `Status` message is
189
- # exposed in different client libraries and different wire protocols, it can be
190
- # mapped differently. For example, it will likely be mapped to some exceptions
191
- # in Java, but more likely mapped to some error codes in C.
192
- # # Other uses
193
- # The error model and the `Status` message can be used in a variety of
194
- # environments, either with or without APIs, to provide a
195
- # consistent developer experience across different environments.
196
- # Example uses of this error model include:
197
- # - Partial errors. If a service needs to return partial errors to the client,
198
- # it may embed the `Status` in the normal response to indicate the partial
199
- # errors.
200
- # - Workflow errors. A typical workflow has multiple steps. Each step may
201
- # have a `Status` message for error reporting.
202
- # - Batch operations. If a client uses batch request and batch response, the
203
- # `Status` message should be used directly inside batch response, one for
204
- # each error sub-response.
205
- # - Asynchronous operations. If an API call embeds asynchronous operation
206
- # results in its response, the status of those operations should be
207
- # represented directly using the `Status` message.
208
- # - Logging. If some API errors are stored in logs, the message `Status` could
209
- # be used directly after any stripping needed for security/privacy reasons.
173
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
174
+ # three pieces of data: error code, error message, and error details.
175
+ # You can find out more about this error model and how to work with it in the
176
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
210
177
  # Corresponds to the JSON property `error`
211
178
  # @return [Google::Apis::VisionV1::Status]
212
179
  attr_accessor :error
@@ -1411,43 +1378,10 @@ module Google
1411
1378
 
1412
1379
  # The `Status` type defines a logical error model that is suitable for
1413
1380
  # different programming environments, including REST APIs and RPC APIs. It is
1414
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1415
- # - Simple to use and understand for most users
1416
- # - Flexible enough to meet unexpected needs
1417
- # # Overview
1418
- # The `Status` message contains three pieces of data: error code, error
1419
- # message, and error details. The error code should be an enum value of
1420
- # google.rpc.Code, but it may accept additional error codes if needed. The
1421
- # error message should be a developer-facing English message that helps
1422
- # developers *understand* and *resolve* the error. If a localized user-facing
1423
- # error message is needed, put the localized message in the error details or
1424
- # localize it in the client. The optional error details may contain arbitrary
1425
- # information about the error. There is a predefined set of error detail types
1426
- # in the package `google.rpc` that can be used for common error conditions.
1427
- # # Language mapping
1428
- # The `Status` message is the logical representation of the error model, but it
1429
- # is not necessarily the actual wire format. When the `Status` message is
1430
- # exposed in different client libraries and different wire protocols, it can be
1431
- # mapped differently. For example, it will likely be mapped to some exceptions
1432
- # in Java, but more likely mapped to some error codes in C.
1433
- # # Other uses
1434
- # The error model and the `Status` message can be used in a variety of
1435
- # environments, either with or without APIs, to provide a
1436
- # consistent developer experience across different environments.
1437
- # Example uses of this error model include:
1438
- # - Partial errors. If a service needs to return partial errors to the client,
1439
- # it may embed the `Status` in the normal response to indicate the partial
1440
- # errors.
1441
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1442
- # have a `Status` message for error reporting.
1443
- # - Batch operations. If a client uses batch request and batch response, the
1444
- # `Status` message should be used directly inside batch response, one for
1445
- # each error sub-response.
1446
- # - Asynchronous operations. If an API call embeds asynchronous operation
1447
- # results in its response, the status of those operations should be
1448
- # represented directly using the `Status` message.
1449
- # - Logging. If some API errors are stored in logs, the message `Status` could
1450
- # be used directly after any stripping needed for security/privacy reasons.
1381
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1382
+ # three pieces of data: error code, error message, and error details.
1383
+ # You can find out more about this error model and how to work with it in the
1384
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1451
1385
  # Corresponds to the JSON property `error`
1452
1386
  # @return [Google::Apis::VisionV1::Status]
1453
1387
  attr_accessor :error
@@ -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). The error model is designed to be:
3192
- # - Simple to use and understand for most users
3193
- # - Flexible enough to meet unexpected needs
3194
- # # Overview
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 `error`
3229
3130
  # @return [Google::Apis::VisionV1::Status]
3230
3131
  attr_accessor :error
@@ -4965,43 +4866,10 @@ module Google
4965
4866
 
4966
4867
  # The `Status` type defines a logical error model that is suitable for
4967
4868
  # different programming environments, including REST APIs and RPC APIs. It is
4968
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4969
- # - Simple to use and understand for most users
4970
- # - Flexible enough to meet unexpected needs
4971
- # # Overview
4972
- # The `Status` message contains three pieces of data: error code, error
4973
- # message, and error details. The error code should be an enum value of
4974
- # google.rpc.Code, but it may accept additional error codes if needed. The
4975
- # error message should be a developer-facing English message that helps
4976
- # developers *understand* and *resolve* the error. If a localized user-facing
4977
- # error message is needed, put the localized message in the error details or
4978
- # localize it in the client. The optional error details may contain arbitrary
4979
- # information about the error. There is a predefined set of error detail types
4980
- # in the package `google.rpc` that can be used for common error conditions.
4981
- # # Language mapping
4982
- # The `Status` message is the logical representation of the error model, but it
4983
- # is not necessarily the actual wire format. When the `Status` message is
4984
- # exposed in different client libraries and different wire protocols, it can be
4985
- # mapped differently. For example, it will likely be mapped to some exceptions
4986
- # in Java, but more likely mapped to some error codes in C.
4987
- # # Other uses
4988
- # The error model and the `Status` message can be used in a variety of
4989
- # environments, either with or without APIs, to provide a
4990
- # consistent developer experience across different environments.
4991
- # Example uses of this error model include:
4992
- # - Partial errors. If a service needs to return partial errors to the client,
4993
- # it may embed the `Status` in the normal response to indicate the partial
4994
- # errors.
4995
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4996
- # have a `Status` message for error reporting.
4997
- # - Batch operations. If a client uses batch request and batch response, the
4998
- # `Status` message should be used directly inside batch response, one for
4999
- # each error sub-response.
5000
- # - Asynchronous operations. If an API call embeds asynchronous operation
5001
- # results in its response, the status of those operations should be
5002
- # represented directly using the `Status` message.
5003
- # - Logging. If some API errors are stored in logs, the message `Status` could
5004
- # be used directly after any stripping needed for security/privacy reasons.
4869
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4870
+ # three pieces of data: error code, error message, and error details.
4871
+ # You can find out more about this error model and how to work with it in the
4872
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
5005
4873
  # Corresponds to the JSON property `error`
5006
4874
  # @return [Google::Apis::VisionV1::Status]
5007
4875
  attr_accessor :error
@@ -6852,43 +6720,10 @@ module Google
6852
6720
 
6853
6721
  # The `Status` type defines a logical error model that is suitable for
6854
6722
  # different programming environments, including REST APIs and RPC APIs. It is
6855
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
6856
- # - Simple to use and understand for most users
6857
- # - Flexible enough to meet unexpected needs
6858
- # # Overview
6859
- # The `Status` message contains three pieces of data: error code, error
6860
- # message, and error details. The error code should be an enum value of
6861
- # google.rpc.Code, but it may accept additional error codes if needed. The
6862
- # error message should be a developer-facing English message that helps
6863
- # developers *understand* and *resolve* the error. If a localized user-facing
6864
- # error message is needed, put the localized message in the error details or
6865
- # localize it in the client. The optional error details may contain arbitrary
6866
- # information about the error. There is a predefined set of error detail types
6867
- # in the package `google.rpc` that can be used for common error conditions.
6868
- # # Language mapping
6869
- # The `Status` message is the logical representation of the error model, but it
6870
- # is not necessarily the actual wire format. When the `Status` message is
6871
- # exposed in different client libraries and different wire protocols, it can be
6872
- # mapped differently. For example, it will likely be mapped to some exceptions
6873
- # in Java, but more likely mapped to some error codes in C.
6874
- # # Other uses
6875
- # The error model and the `Status` message can be used in a variety of
6876
- # environments, either with or without APIs, to provide a
6877
- # consistent developer experience across different environments.
6878
- # Example uses of this error model include:
6879
- # - Partial errors. If a service needs to return partial errors to the client,
6880
- # it may embed the `Status` in the normal response to indicate the partial
6881
- # errors.
6882
- # - Workflow errors. A typical workflow has multiple steps. Each step may
6883
- # have a `Status` message for error reporting.
6884
- # - Batch operations. If a client uses batch request and batch response, the
6885
- # `Status` message should be used directly inside batch response, one for
6886
- # each error sub-response.
6887
- # - Asynchronous operations. If an API call embeds asynchronous operation
6888
- # results in its response, the status of those operations should be
6889
- # represented directly using the `Status` message.
6890
- # - Logging. If some API errors are stored in logs, the message `Status` could
6891
- # be used directly after any stripping needed for security/privacy reasons.
6723
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
6724
+ # three pieces of data: error code, error message, and error details.
6725
+ # You can find out more about this error model and how to work with it in the
6726
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
6892
6727
  # Corresponds to the JSON property `error`
6893
6728
  # @return [Google::Apis::VisionV1::Status]
6894
6729
  attr_accessor :error
@@ -8778,43 +8613,10 @@ module Google
8778
8613
 
8779
8614
  # The `Status` type defines a logical error model that is suitable for
8780
8615
  # different programming environments, including REST APIs and RPC APIs. It is
8781
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
8782
- # - Simple to use and understand for most users
8783
- # - Flexible enough to meet unexpected needs
8784
- # # Overview
8785
- # The `Status` message contains three pieces of data: error code, error
8786
- # message, and error details. The error code should be an enum value of
8787
- # google.rpc.Code, but it may accept additional error codes if needed. The
8788
- # error message should be a developer-facing English message that helps
8789
- # developers *understand* and *resolve* the error. If a localized user-facing
8790
- # error message is needed, put the localized message in the error details or
8791
- # localize it in the client. The optional error details may contain arbitrary
8792
- # information about the error. There is a predefined set of error detail types
8793
- # in the package `google.rpc` that can be used for common error conditions.
8794
- # # Language mapping
8795
- # The `Status` message is the logical representation of the error model, but it
8796
- # is not necessarily the actual wire format. When the `Status` message is
8797
- # exposed in different client libraries and different wire protocols, it can be
8798
- # mapped differently. For example, it will likely be mapped to some exceptions
8799
- # in Java, but more likely mapped to some error codes in C.
8800
- # # Other uses
8801
- # The error model and the `Status` message can be used in a variety of
8802
- # environments, either with or without APIs, to provide a
8803
- # consistent developer experience across different environments.
8804
- # Example uses of this error model include:
8805
- # - Partial errors. If a service needs to return partial errors to the client,
8806
- # it may embed the `Status` in the normal response to indicate the partial
8807
- # errors.
8808
- # - Workflow errors. A typical workflow has multiple steps. Each step may
8809
- # have a `Status` message for error reporting.
8810
- # - Batch operations. If a client uses batch request and batch response, the
8811
- # `Status` message should be used directly inside batch response, one for
8812
- # each error sub-response.
8813
- # - Asynchronous operations. If an API call embeds asynchronous operation
8814
- # results in its response, the status of those operations should be
8815
- # represented directly using the `Status` message.
8816
- # - Logging. If some API errors are stored in logs, the message `Status` could
8817
- # be used directly after any stripping needed for security/privacy reasons.
8616
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
8617
+ # three pieces of data: error code, error message, and error details.
8618
+ # You can find out more about this error model and how to work with it in the
8619
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
8818
8620
  # Corresponds to the JSON property `error`
8819
8621
  # @return [Google::Apis::VisionV1::Status]
8820
8622
  attr_accessor :error
@@ -11558,43 +11360,10 @@ module Google
11558
11360
 
11559
11361
  # The `Status` type defines a logical error model that is suitable for
11560
11362
  # different programming environments, including REST APIs and RPC APIs. It is
11561
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
11562
- # - Simple to use and understand for most users
11563
- # - Flexible enough to meet unexpected needs
11564
- # # Overview
11565
- # The `Status` message contains three pieces of data: error code, error
11566
- # message, and error details. The error code should be an enum value of
11567
- # google.rpc.Code, but it may accept additional error codes if needed. The
11568
- # error message should be a developer-facing English message that helps
11569
- # developers *understand* and *resolve* the error. If a localized user-facing
11570
- # error message is needed, put the localized message in the error details or
11571
- # localize it in the client. The optional error details may contain arbitrary
11572
- # information about the error. There is a predefined set of error detail types
11573
- # in the package `google.rpc` that can be used for common error conditions.
11574
- # # Language mapping
11575
- # The `Status` message is the logical representation of the error model, but it
11576
- # is not necessarily the actual wire format. When the `Status` message is
11577
- # exposed in different client libraries and different wire protocols, it can be
11578
- # mapped differently. For example, it will likely be mapped to some exceptions
11579
- # in Java, but more likely mapped to some error codes in C.
11580
- # # Other uses
11581
- # The error model and the `Status` message can be used in a variety of
11582
- # environments, either with or without APIs, to provide a
11583
- # consistent developer experience across different environments.
11584
- # Example uses of this error model include:
11585
- # - Partial errors. If a service needs to return partial errors to the client,
11586
- # it may embed the `Status` in the normal response to indicate the partial
11587
- # errors.
11588
- # - Workflow errors. A typical workflow has multiple steps. Each step may
11589
- # have a `Status` message for error reporting.
11590
- # - Batch operations. If a client uses batch request and batch response, the
11591
- # `Status` message should be used directly inside batch response, one for
11592
- # each error sub-response.
11593
- # - Asynchronous operations. If an API call embeds asynchronous operation
11594
- # results in its response, the status of those operations should be
11595
- # represented directly using the `Status` message.
11596
- # - Logging. If some API errors are stored in logs, the message `Status` could
11597
- # be used directly after any stripping needed for security/privacy reasons.
11363
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
11364
+ # three pieces of data: error code, error message, and error details.
11365
+ # You can find out more about this error model and how to work with it in the
11366
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
11598
11367
  # Corresponds to the JSON property `error`
11599
11368
  # @return [Google::Apis::VisionV1::Status]
11600
11369
  attr_accessor :error
@@ -11978,43 +11747,10 @@ module Google
11978
11747
 
11979
11748
  # The `Status` type defines a logical error model that is suitable for
11980
11749
  # different programming environments, including REST APIs and RPC APIs. It is
11981
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
11982
- # - Simple to use and understand for most users
11983
- # - Flexible enough to meet unexpected needs
11984
- # # Overview
11985
- # The `Status` message contains three pieces of data: error code, error
11986
- # message, and error details. The error code should be an enum value of
11987
- # google.rpc.Code, but it may accept additional error codes if needed. The
11988
- # error message should be a developer-facing English message that helps
11989
- # developers *understand* and *resolve* the error. If a localized user-facing
11990
- # error message is needed, put the localized message in the error details or
11991
- # localize it in the client. The optional error details may contain arbitrary
11992
- # information about the error. There is a predefined set of error detail types
11993
- # in the package `google.rpc` that can be used for common error conditions.
11994
- # # Language mapping
11995
- # The `Status` message is the logical representation of the error model, but it
11996
- # is not necessarily the actual wire format. When the `Status` message is
11997
- # exposed in different client libraries and different wire protocols, it can be
11998
- # mapped differently. For example, it will likely be mapped to some exceptions
11999
- # in Java, but more likely mapped to some error codes in C.
12000
- # # Other uses
12001
- # The error model and the `Status` message can be used in a variety of
12002
- # environments, either with or without APIs, to provide a
12003
- # consistent developer experience across different environments.
12004
- # Example uses of this error model include:
12005
- # - Partial errors. If a service needs to return partial errors to the client,
12006
- # it may embed the `Status` in the normal response to indicate the partial
12007
- # errors.
12008
- # - Workflow errors. A typical workflow has multiple steps. Each step may
12009
- # have a `Status` message for error reporting.
12010
- # - Batch operations. If a client uses batch request and batch response, the
12011
- # `Status` message should be used directly inside batch response, one for
12012
- # each error sub-response.
12013
- # - Asynchronous operations. If an API call embeds asynchronous operation
12014
- # results in its response, the status of those operations should be
12015
- # represented directly using the `Status` message.
12016
- # - Logging. If some API errors are stored in logs, the message `Status` could
12017
- # be used directly after any stripping needed for security/privacy reasons.
11750
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
11751
+ # three pieces of data: error code, error message, and error details.
11752
+ # You can find out more about this error model and how to work with it in the
11753
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
12018
11754
  # Corresponds to the JSON property `indexError`
12019
11755
  # @return [Google::Apis::VisionV1::Status]
12020
11756
  attr_accessor :index_error
@@ -12232,43 +11968,10 @@ module Google
12232
11968
 
12233
11969
  # The `Status` type defines a logical error model that is suitable for
12234
11970
  # different programming environments, including REST APIs and RPC APIs. It is
12235
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
12236
- # - Simple to use and understand for most users
12237
- # - Flexible enough to meet unexpected needs
12238
- # # Overview
12239
- # The `Status` message contains three pieces of data: error code, error
12240
- # message, and error details. The error code should be an enum value of
12241
- # google.rpc.Code, but it may accept additional error codes if needed. The
12242
- # error message should be a developer-facing English message that helps
12243
- # developers *understand* and *resolve* the error. If a localized user-facing
12244
- # error message is needed, put the localized message in the error details or
12245
- # localize it in the client. The optional error details may contain arbitrary
12246
- # information about the error. There is a predefined set of error detail types
12247
- # in the package `google.rpc` that can be used for common error conditions.
12248
- # # Language mapping
12249
- # The `Status` message is the logical representation of the error model, but it
12250
- # is not necessarily the actual wire format. When the `Status` message is
12251
- # exposed in different client libraries and different wire protocols, it can be
12252
- # mapped differently. For example, it will likely be mapped to some exceptions
12253
- # in Java, but more likely mapped to some error codes in C.
12254
- # # Other uses
12255
- # The error model and the `Status` message can be used in a variety of
12256
- # environments, either with or without APIs, to provide a
12257
- # consistent developer experience across different environments.
12258
- # Example uses of this error model include:
12259
- # - Partial errors. If a service needs to return partial errors to the client,
12260
- # it may embed the `Status` in the normal response to indicate the partial
12261
- # errors.
12262
- # - Workflow errors. A typical workflow has multiple steps. Each step may
12263
- # have a `Status` message for error reporting.
12264
- # - Batch operations. If a client uses batch request and batch response, the
12265
- # `Status` message should be used directly inside batch response, one for
12266
- # each error sub-response.
12267
- # - Asynchronous operations. If an API call embeds asynchronous operation
12268
- # results in its response, the status of those operations should be
12269
- # represented directly using the `Status` message.
12270
- # - Logging. If some API errors are stored in logs, the message `Status` could
12271
- # be used directly after any stripping needed for security/privacy reasons.
11971
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
11972
+ # three pieces of data: error code, error message, and error details.
11973
+ # You can find out more about this error model and how to work with it in the
11974
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
12272
11975
  class Status
12273
11976
  include Google::Apis::Core::Hashable
12274
11977
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p1beta1
29
29
  VERSION = 'V1p1beta1'
30
- REVISION = '20190527'
30
+ REVISION = '20190531'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -71,43 +71,10 @@ module Google
71
71
 
72
72
  # The `Status` type defines a logical error model that is suitable for
73
73
  # different programming environments, including REST APIs and RPC APIs. It is
74
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
75
- # - Simple to use and understand for most users
76
- # - Flexible enough to meet unexpected needs
77
- # # Overview
78
- # The `Status` message contains three pieces of data: error code, error
79
- # message, and error details. The error code should be an enum value of
80
- # google.rpc.Code, but it may accept additional error codes if needed. The
81
- # error message should be a developer-facing English message that helps
82
- # developers *understand* and *resolve* the error. If a localized user-facing
83
- # error message is needed, put the localized message in the error details or
84
- # localize it in the client. The optional error details may contain arbitrary
85
- # information about the error. There is a predefined set of error detail types
86
- # in the package `google.rpc` that can be used for common error conditions.
87
- # # Language mapping
88
- # The `Status` message is the logical representation of the error model, but it
89
- # is not necessarily the actual wire format. When the `Status` message is
90
- # exposed in different client libraries and different wire protocols, it can be
91
- # mapped differently. For example, it will likely be mapped to some exceptions
92
- # in Java, but more likely mapped to some error codes in C.
93
- # # Other uses
94
- # The error model and the `Status` message can be used in a variety of
95
- # environments, either with or without APIs, to provide a
96
- # consistent developer experience across different environments.
97
- # Example uses of this error model include:
98
- # - Partial errors. If a service needs to return partial errors to the client,
99
- # it may embed the `Status` in the normal response to indicate the partial
100
- # errors.
101
- # - Workflow errors. A typical workflow has multiple steps. Each step may
102
- # have a `Status` message for error reporting.
103
- # - Batch operations. If a client uses batch request and batch response, the
104
- # `Status` message should be used directly inside batch response, one for
105
- # each error sub-response.
106
- # - Asynchronous operations. If an API call embeds asynchronous operation
107
- # results in its response, the status of those operations should be
108
- # represented directly using the `Status` message.
109
- # - Logging. If some API errors are stored in logs, the message `Status` could
110
- # be used directly after any stripping needed for security/privacy reasons.
74
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
75
+ # three pieces of data: error code, error message, and error details.
76
+ # You can find out more about this error model and how to work with it in the
77
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
111
78
  # Corresponds to the JSON property `error`
112
79
  # @return [Google::Apis::VisionV1p1beta1::Status]
113
80
  attr_accessor :error
@@ -1158,43 +1125,10 @@ module Google
1158
1125
 
1159
1126
  # The `Status` type defines a logical error model that is suitable for
1160
1127
  # different programming environments, including REST APIs and RPC APIs. It is
1161
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1162
- # - Simple to use and understand for most users
1163
- # - Flexible enough to meet unexpected needs
1164
- # # Overview
1165
- # The `Status` message contains three pieces of data: error code, error
1166
- # message, and error details. The error code should be an enum value of
1167
- # google.rpc.Code, but it may accept additional error codes if needed. The
1168
- # error message should be a developer-facing English message that helps
1169
- # developers *understand* and *resolve* the error. If a localized user-facing
1170
- # error message is needed, put the localized message in the error details or
1171
- # localize it in the client. The optional error details may contain arbitrary
1172
- # information about the error. There is a predefined set of error detail types
1173
- # in the package `google.rpc` that can be used for common error conditions.
1174
- # # Language mapping
1175
- # The `Status` message is the logical representation of the error model, but it
1176
- # is not necessarily the actual wire format. When the `Status` message is
1177
- # exposed in different client libraries and different wire protocols, it can be
1178
- # mapped differently. For example, it will likely be mapped to some exceptions
1179
- # in Java, but more likely mapped to some error codes in C.
1180
- # # Other uses
1181
- # The error model and the `Status` message can be used in a variety of
1182
- # environments, either with or without APIs, to provide a
1183
- # consistent developer experience across different environments.
1184
- # Example uses of this error model include:
1185
- # - Partial errors. If a service needs to return partial errors to the client,
1186
- # it may embed the `Status` in the normal response to indicate the partial
1187
- # errors.
1188
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1189
- # have a `Status` message for error reporting.
1190
- # - Batch operations. If a client uses batch request and batch response, the
1191
- # `Status` message should be used directly inside batch response, one for
1192
- # each error sub-response.
1193
- # - Asynchronous operations. If an API call embeds asynchronous operation
1194
- # results in its response, the status of those operations should be
1195
- # represented directly using the `Status` message.
1196
- # - Logging. If some API errors are stored in logs, the message `Status` could
1197
- # be used directly after any stripping needed for security/privacy reasons.
1128
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1129
+ # three pieces of data: error code, error message, and error details.
1130
+ # You can find out more about this error model and how to work with it in the
1131
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1198
1132
  # Corresponds to the JSON property `error`
1199
1133
  # @return [Google::Apis::VisionV1p1beta1::Status]
1200
1134
  attr_accessor :error
@@ -3379,43 +3313,10 @@ module Google
3379
3313
 
3380
3314
  # The `Status` type defines a logical error model that is suitable for
3381
3315
  # different programming environments, including REST APIs and RPC APIs. It is
3382
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3383
- # - Simple to use and understand for most users
3384
- # - Flexible enough to meet unexpected needs
3385
- # # Overview
3386
- # The `Status` message contains three pieces of data: error code, error
3387
- # message, and error details. The error code should be an enum value of
3388
- # google.rpc.Code, but it may accept additional error codes if needed. The
3389
- # error message should be a developer-facing English message that helps
3390
- # developers *understand* and *resolve* the error. If a localized user-facing
3391
- # error message is needed, put the localized message in the error details or
3392
- # localize it in the client. The optional error details may contain arbitrary
3393
- # information about the error. There is a predefined set of error detail types
3394
- # in the package `google.rpc` that can be used for common error conditions.
3395
- # # Language mapping
3396
- # The `Status` message is the logical representation of the error model, but it
3397
- # is not necessarily the actual wire format. When the `Status` message is
3398
- # exposed in different client libraries and different wire protocols, it can be
3399
- # mapped differently. For example, it will likely be mapped to some exceptions
3400
- # in Java, but more likely mapped to some error codes in C.
3401
- # # Other uses
3402
- # The error model and the `Status` message can be used in a variety of
3403
- # environments, either with or without APIs, to provide a
3404
- # consistent developer experience across different environments.
3405
- # Example uses of this error model include:
3406
- # - Partial errors. If a service needs to return partial errors to the client,
3407
- # it may embed the `Status` in the normal response to indicate the partial
3408
- # errors.
3409
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3410
- # have a `Status` message for error reporting.
3411
- # - Batch operations. If a client uses batch request and batch response, the
3412
- # `Status` message should be used directly inside batch response, one for
3413
- # each error sub-response.
3414
- # - Asynchronous operations. If an API call embeds asynchronous operation
3415
- # results in its response, the status of those operations should be
3416
- # represented directly using the `Status` message.
3417
- # - Logging. If some API errors are stored in logs, the message `Status` could
3418
- # be used directly after any stripping needed for security/privacy reasons.
3316
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3317
+ # three pieces of data: error code, error message, and error details.
3318
+ # You can find out more about this error model and how to work with it in the
3319
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3419
3320
  # Corresponds to the JSON property `error`
3420
3321
  # @return [Google::Apis::VisionV1p1beta1::Status]
3421
3322
  attr_accessor :error
@@ -5156,43 +5057,10 @@ module Google
5156
5057
 
5157
5058
  # The `Status` type defines a logical error model that is suitable for
5158
5059
  # different programming environments, including REST APIs and RPC APIs. It is
5159
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
5160
- # - Simple to use and understand for most users
5161
- # - Flexible enough to meet unexpected needs
5162
- # # Overview
5163
- # The `Status` message contains three pieces of data: error code, error
5164
- # message, and error details. The error code should be an enum value of
5165
- # google.rpc.Code, but it may accept additional error codes if needed. The
5166
- # error message should be a developer-facing English message that helps
5167
- # developers *understand* and *resolve* the error. If a localized user-facing
5168
- # error message is needed, put the localized message in the error details or
5169
- # localize it in the client. The optional error details may contain arbitrary
5170
- # information about the error. There is a predefined set of error detail types
5171
- # in the package `google.rpc` that can be used for common error conditions.
5172
- # # Language mapping
5173
- # The `Status` message is the logical representation of the error model, but it
5174
- # is not necessarily the actual wire format. When the `Status` message is
5175
- # exposed in different client libraries and different wire protocols, it can be
5176
- # mapped differently. For example, it will likely be mapped to some exceptions
5177
- # in Java, but more likely mapped to some error codes in C.
5178
- # # Other uses
5179
- # The error model and the `Status` message can be used in a variety of
5180
- # environments, either with or without APIs, to provide a
5181
- # consistent developer experience across different environments.
5182
- # Example uses of this error model include:
5183
- # - Partial errors. If a service needs to return partial errors to the client,
5184
- # it may embed the `Status` in the normal response to indicate the partial
5185
- # errors.
5186
- # - Workflow errors. A typical workflow has multiple steps. Each step may
5187
- # have a `Status` message for error reporting.
5188
- # - Batch operations. If a client uses batch request and batch response, the
5189
- # `Status` message should be used directly inside batch response, one for
5190
- # each error sub-response.
5191
- # - Asynchronous operations. If an API call embeds asynchronous operation
5192
- # results in its response, the status of those operations should be
5193
- # represented directly using the `Status` message.
5194
- # - Logging. If some API errors are stored in logs, the message `Status` could
5195
- # be used directly after any stripping needed for security/privacy reasons.
5060
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5061
+ # three pieces of data: error code, error message, and error details.
5062
+ # You can find out more about this error model and how to work with it in the
5063
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
5196
5064
  # Corresponds to the JSON property `error`
5197
5065
  # @return [Google::Apis::VisionV1p1beta1::Status]
5198
5066
  attr_accessor :error
@@ -7043,43 +6911,10 @@ module Google
7043
6911
 
7044
6912
  # The `Status` type defines a logical error model that is suitable for
7045
6913
  # different programming environments, including REST APIs and RPC APIs. It is
7046
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
7047
- # - Simple to use and understand for most users
7048
- # - Flexible enough to meet unexpected needs
7049
- # # Overview
7050
- # The `Status` message contains three pieces of data: error code, error
7051
- # message, and error details. The error code should be an enum value of
7052
- # google.rpc.Code, but it may accept additional error codes if needed. The
7053
- # error message should be a developer-facing English message that helps
7054
- # developers *understand* and *resolve* the error. If a localized user-facing
7055
- # error message is needed, put the localized message in the error details or
7056
- # localize it in the client. The optional error details may contain arbitrary
7057
- # information about the error. There is a predefined set of error detail types
7058
- # in the package `google.rpc` that can be used for common error conditions.
7059
- # # Language mapping
7060
- # The `Status` message is the logical representation of the error model, but it
7061
- # is not necessarily the actual wire format. When the `Status` message is
7062
- # exposed in different client libraries and different wire protocols, it can be
7063
- # mapped differently. For example, it will likely be mapped to some exceptions
7064
- # in Java, but more likely mapped to some error codes in C.
7065
- # # Other uses
7066
- # The error model and the `Status` message can be used in a variety of
7067
- # environments, either with or without APIs, to provide a
7068
- # consistent developer experience across different environments.
7069
- # Example uses of this error model include:
7070
- # - Partial errors. If a service needs to return partial errors to the client,
7071
- # it may embed the `Status` in the normal response to indicate the partial
7072
- # errors.
7073
- # - Workflow errors. A typical workflow has multiple steps. Each step may
7074
- # have a `Status` message for error reporting.
7075
- # - Batch operations. If a client uses batch request and batch response, the
7076
- # `Status` message should be used directly inside batch response, one for
7077
- # each error sub-response.
7078
- # - Asynchronous operations. If an API call embeds asynchronous operation
7079
- # results in its response, the status of those operations should be
7080
- # represented directly using the `Status` message.
7081
- # - Logging. If some API errors are stored in logs, the message `Status` could
7082
- # be used directly after any stripping needed for security/privacy reasons.
6914
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
6915
+ # three pieces of data: error code, error message, and error details.
6916
+ # You can find out more about this error model and how to work with it in the
6917
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
7083
6918
  # Corresponds to the JSON property `error`
7084
6919
  # @return [Google::Apis::VisionV1p1beta1::Status]
7085
6920
  attr_accessor :error
@@ -8969,43 +8804,10 @@ module Google
8969
8804
 
8970
8805
  # The `Status` type defines a logical error model that is suitable for
8971
8806
  # different programming environments, including REST APIs and RPC APIs. It is
8972
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
8973
- # - Simple to use and understand for most users
8974
- # - Flexible enough to meet unexpected needs
8975
- # # Overview
8976
- # The `Status` message contains three pieces of data: error code, error
8977
- # message, and error details. The error code should be an enum value of
8978
- # google.rpc.Code, but it may accept additional error codes if needed. The
8979
- # error message should be a developer-facing English message that helps
8980
- # developers *understand* and *resolve* the error. If a localized user-facing
8981
- # error message is needed, put the localized message in the error details or
8982
- # localize it in the client. The optional error details may contain arbitrary
8983
- # information about the error. There is a predefined set of error detail types
8984
- # in the package `google.rpc` that can be used for common error conditions.
8985
- # # Language mapping
8986
- # The `Status` message is the logical representation of the error model, but it
8987
- # is not necessarily the actual wire format. When the `Status` message is
8988
- # exposed in different client libraries and different wire protocols, it can be
8989
- # mapped differently. For example, it will likely be mapped to some exceptions
8990
- # in Java, but more likely mapped to some error codes in C.
8991
- # # Other uses
8992
- # The error model and the `Status` message can be used in a variety of
8993
- # environments, either with or without APIs, to provide a
8994
- # consistent developer experience across different environments.
8995
- # Example uses of this error model include:
8996
- # - Partial errors. If a service needs to return partial errors to the client,
8997
- # it may embed the `Status` in the normal response to indicate the partial
8998
- # errors.
8999
- # - Workflow errors. A typical workflow has multiple steps. Each step may
9000
- # have a `Status` message for error reporting.
9001
- # - Batch operations. If a client uses batch request and batch response, the
9002
- # `Status` message should be used directly inside batch response, one for
9003
- # each error sub-response.
9004
- # - Asynchronous operations. If an API call embeds asynchronous operation
9005
- # results in its response, the status of those operations should be
9006
- # represented directly using the `Status` message.
9007
- # - Logging. If some API errors are stored in logs, the message `Status` could
9008
- # be used directly after any stripping needed for security/privacy reasons.
8807
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
8808
+ # three pieces of data: error code, error message, and error details.
8809
+ # You can find out more about this error model and how to work with it in the
8810
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
9009
8811
  # Corresponds to the JSON property `error`
9010
8812
  # @return [Google::Apis::VisionV1p1beta1::Status]
9011
8813
  attr_accessor :error
@@ -11357,43 +11159,10 @@ module Google
11357
11159
 
11358
11160
  # The `Status` type defines a logical error model that is suitable for
11359
11161
  # different programming environments, including REST APIs and RPC APIs. It is
11360
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
11361
- # - Simple to use and understand for most users
11362
- # - Flexible enough to meet unexpected needs
11363
- # # Overview
11364
- # The `Status` message contains three pieces of data: error code, error
11365
- # message, and error details. The error code should be an enum value of
11366
- # google.rpc.Code, but it may accept additional error codes if needed. The
11367
- # error message should be a developer-facing English message that helps
11368
- # developers *understand* and *resolve* the error. If a localized user-facing
11369
- # error message is needed, put the localized message in the error details or
11370
- # localize it in the client. The optional error details may contain arbitrary
11371
- # information about the error. There is a predefined set of error detail types
11372
- # in the package `google.rpc` that can be used for common error conditions.
11373
- # # Language mapping
11374
- # The `Status` message is the logical representation of the error model, but it
11375
- # is not necessarily the actual wire format. When the `Status` message is
11376
- # exposed in different client libraries and different wire protocols, it can be
11377
- # mapped differently. For example, it will likely be mapped to some exceptions
11378
- # in Java, but more likely mapped to some error codes in C.
11379
- # # Other uses
11380
- # The error model and the `Status` message can be used in a variety of
11381
- # environments, either with or without APIs, to provide a
11382
- # consistent developer experience across different environments.
11383
- # Example uses of this error model include:
11384
- # - Partial errors. If a service needs to return partial errors to the client,
11385
- # it may embed the `Status` in the normal response to indicate the partial
11386
- # errors.
11387
- # - Workflow errors. A typical workflow has multiple steps. Each step may
11388
- # have a `Status` message for error reporting.
11389
- # - Batch operations. If a client uses batch request and batch response, the
11390
- # `Status` message should be used directly inside batch response, one for
11391
- # each error sub-response.
11392
- # - Asynchronous operations. If an API call embeds asynchronous operation
11393
- # results in its response, the status of those operations should be
11394
- # represented directly using the `Status` message.
11395
- # - Logging. If some API errors are stored in logs, the message `Status` could
11396
- # be used directly after any stripping needed for security/privacy reasons.
11162
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
11163
+ # three pieces of data: error code, error message, and error details.
11164
+ # You can find out more about this error model and how to work with it in the
11165
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
11397
11166
  # Corresponds to the JSON property `error`
11398
11167
  # @return [Google::Apis::VisionV1p1beta1::Status]
11399
11168
  attr_accessor :error
@@ -11874,43 +11643,10 @@ module Google
11874
11643
 
11875
11644
  # The `Status` type defines a logical error model that is suitable for
11876
11645
  # different programming environments, including REST APIs and RPC APIs. It is
11877
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
11878
- # - Simple to use and understand for most users
11879
- # - Flexible enough to meet unexpected needs
11880
- # # Overview
11881
- # The `Status` message contains three pieces of data: error code, error
11882
- # message, and error details. The error code should be an enum value of
11883
- # google.rpc.Code, but it may accept additional error codes if needed. The
11884
- # error message should be a developer-facing English message that helps
11885
- # developers *understand* and *resolve* the error. If a localized user-facing
11886
- # error message is needed, put the localized message in the error details or
11887
- # localize it in the client. The optional error details may contain arbitrary
11888
- # information about the error. There is a predefined set of error detail types
11889
- # in the package `google.rpc` that can be used for common error conditions.
11890
- # # Language mapping
11891
- # The `Status` message is the logical representation of the error model, but it
11892
- # is not necessarily the actual wire format. When the `Status` message is
11893
- # exposed in different client libraries and different wire protocols, it can be
11894
- # mapped differently. For example, it will likely be mapped to some exceptions
11895
- # in Java, but more likely mapped to some error codes in C.
11896
- # # Other uses
11897
- # The error model and the `Status` message can be used in a variety of
11898
- # environments, either with or without APIs, to provide a
11899
- # consistent developer experience across different environments.
11900
- # Example uses of this error model include:
11901
- # - Partial errors. If a service needs to return partial errors to the client,
11902
- # it may embed the `Status` in the normal response to indicate the partial
11903
- # errors.
11904
- # - Workflow errors. A typical workflow has multiple steps. Each step may
11905
- # have a `Status` message for error reporting.
11906
- # - Batch operations. If a client uses batch request and batch response, the
11907
- # `Status` message should be used directly inside batch response, one for
11908
- # each error sub-response.
11909
- # - Asynchronous operations. If an API call embeds asynchronous operation
11910
- # results in its response, the status of those operations should be
11911
- # represented directly using the `Status` message.
11912
- # - Logging. If some API errors are stored in logs, the message `Status` could
11913
- # be used directly after any stripping needed for security/privacy reasons.
11646
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
11647
+ # three pieces of data: error code, error message, and error details.
11648
+ # You can find out more about this error model and how to work with it in the
11649
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
11914
11650
  class Status
11915
11651
  include Google::Apis::Core::Hashable
11916
11652