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.
- 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
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
|
26
26
|
module CloudbuildV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190531'
|
|
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'
|
|
@@ -965,43 +965,10 @@ module Google
|
|
|
965
965
|
|
|
966
966
|
# The `Status` type defines a logical error model that is suitable for
|
|
967
967
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
968
|
-
# used by [gRPC](https://github.com/grpc).
|
|
969
|
-
#
|
|
970
|
-
#
|
|
971
|
-
#
|
|
972
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
973
|
-
# message, and error details. The error code should be an enum value of
|
|
974
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
975
|
-
# error message should be a developer-facing English message that helps
|
|
976
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
977
|
-
# error message is needed, put the localized message in the error details or
|
|
978
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
979
|
-
# information about the error. There is a predefined set of error detail types
|
|
980
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
981
|
-
# # Language mapping
|
|
982
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
983
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
984
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
985
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
986
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
987
|
-
# # Other uses
|
|
988
|
-
# The error model and the `Status` message can be used in a variety of
|
|
989
|
-
# environments, either with or without APIs, to provide a
|
|
990
|
-
# consistent developer experience across different environments.
|
|
991
|
-
# Example uses of this error model include:
|
|
992
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
993
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
994
|
-
# errors.
|
|
995
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
996
|
-
# have a `Status` message for error reporting.
|
|
997
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
998
|
-
# `Status` message should be used directly inside batch response, one for
|
|
999
|
-
# each error sub-response.
|
|
1000
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1001
|
-
# results in its response, the status of those operations should be
|
|
1002
|
-
# represented directly using the `Status` message.
|
|
1003
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1004
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
968
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
969
|
+
# three pieces of data: error code, error message, and error details.
|
|
970
|
+
# You can find out more about this error model and how to work with it in the
|
|
971
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1005
972
|
# Corresponds to the JSON property `error`
|
|
1006
973
|
# @return [Google::Apis::CloudbuildV1::Status]
|
|
1007
974
|
attr_accessor :error
|
|
@@ -1321,43 +1288,10 @@ module Google
|
|
|
1321
1288
|
|
|
1322
1289
|
# The `Status` type defines a logical error model that is suitable for
|
|
1323
1290
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1324
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1325
|
-
#
|
|
1326
|
-
#
|
|
1327
|
-
#
|
|
1328
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1329
|
-
# message, and error details. The error code should be an enum value of
|
|
1330
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1331
|
-
# error message should be a developer-facing English message that helps
|
|
1332
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1333
|
-
# error message is needed, put the localized message in the error details or
|
|
1334
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1335
|
-
# information about the error. There is a predefined set of error detail types
|
|
1336
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1337
|
-
# # Language mapping
|
|
1338
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1339
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1340
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1341
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1342
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1343
|
-
# # Other uses
|
|
1344
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1345
|
-
# environments, either with or without APIs, to provide a
|
|
1346
|
-
# consistent developer experience across different environments.
|
|
1347
|
-
# Example uses of this error model include:
|
|
1348
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1349
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1350
|
-
# errors.
|
|
1351
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1352
|
-
# have a `Status` message for error reporting.
|
|
1353
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1354
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1355
|
-
# each error sub-response.
|
|
1356
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1357
|
-
# results in its response, the status of those operations should be
|
|
1358
|
-
# represented directly using the `Status` message.
|
|
1359
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1360
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1291
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1292
|
+
# three pieces of data: error code, error message, and error details.
|
|
1293
|
+
# You can find out more about this error model and how to work with it in the
|
|
1294
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1361
1295
|
class Status
|
|
1362
1296
|
include Google::Apis::Core::Hashable
|
|
1363
1297
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/private-catalog/
|
|
27
27
|
module CloudprivatecatalogproducerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190531'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -988,43 +988,10 @@ module Google
|
|
|
988
988
|
|
|
989
989
|
# The `Status` type defines a logical error model that is suitable for
|
|
990
990
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
991
|
-
# used by [gRPC](https://github.com/grpc).
|
|
992
|
-
#
|
|
993
|
-
#
|
|
994
|
-
#
|
|
995
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
996
|
-
# message, and error details. The error code should be an enum value of
|
|
997
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
998
|
-
# error message should be a developer-facing English message that helps
|
|
999
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1000
|
-
# error message is needed, put the localized message in the error details or
|
|
1001
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1002
|
-
# information about the error. There is a predefined set of error detail types
|
|
1003
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1004
|
-
# # Language mapping
|
|
1005
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1006
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1007
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1008
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1009
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1010
|
-
# # Other uses
|
|
1011
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1012
|
-
# environments, either with or without APIs, to provide a
|
|
1013
|
-
# consistent developer experience across different environments.
|
|
1014
|
-
# Example uses of this error model include:
|
|
1015
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1016
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1017
|
-
# errors.
|
|
1018
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1019
|
-
# have a `Status` message for error reporting.
|
|
1020
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1021
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1022
|
-
# each error sub-response.
|
|
1023
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1024
|
-
# results in its response, the status of those operations should be
|
|
1025
|
-
# represented directly using the `Status` message.
|
|
1026
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1027
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
991
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
992
|
+
# three pieces of data: error code, error message, and error details.
|
|
993
|
+
# You can find out more about this error model and how to work with it in the
|
|
994
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1028
995
|
# Corresponds to the JSON property `error`
|
|
1029
996
|
# @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleRpcStatus]
|
|
1030
997
|
attr_accessor :error
|
|
@@ -1091,43 +1058,10 @@ module Google
|
|
|
1091
1058
|
|
|
1092
1059
|
# The `Status` type defines a logical error model that is suitable for
|
|
1093
1060
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1094
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1095
|
-
#
|
|
1096
|
-
#
|
|
1097
|
-
#
|
|
1098
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1099
|
-
# message, and error details. The error code should be an enum value of
|
|
1100
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1101
|
-
# error message should be a developer-facing English message that helps
|
|
1102
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1103
|
-
# error message is needed, put the localized message in the error details or
|
|
1104
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1105
|
-
# information about the error. There is a predefined set of error detail types
|
|
1106
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1107
|
-
# # Language mapping
|
|
1108
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1109
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1110
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1111
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1112
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1113
|
-
# # Other uses
|
|
1114
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1115
|
-
# environments, either with or without APIs, to provide a
|
|
1116
|
-
# consistent developer experience across different environments.
|
|
1117
|
-
# Example uses of this error model include:
|
|
1118
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1119
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1120
|
-
# errors.
|
|
1121
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1122
|
-
# have a `Status` message for error reporting.
|
|
1123
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1124
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1125
|
-
# each error sub-response.
|
|
1126
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1127
|
-
# results in its response, the status of those operations should be
|
|
1128
|
-
# represented directly using the `Status` message.
|
|
1129
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1130
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1061
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1062
|
+
# three pieces of data: error code, error message, and error details.
|
|
1063
|
+
# You can find out more about this error model and how to work with it in the
|
|
1064
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1131
1065
|
class GoogleRpcStatus
|
|
1132
1066
|
include Google::Apis::Core::Hashable
|
|
1133
1067
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190603'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1033,43 +1033,10 @@ module Google
|
|
|
1033
1033
|
|
|
1034
1034
|
# The `Status` type defines a logical error model that is suitable for
|
|
1035
1035
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1036
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1037
|
-
#
|
|
1038
|
-
#
|
|
1039
|
-
#
|
|
1040
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1041
|
-
# message, and error details. The error code should be an enum value of
|
|
1042
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1043
|
-
# error message should be a developer-facing English message that helps
|
|
1044
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1045
|
-
# error message is needed, put the localized message in the error details or
|
|
1046
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1047
|
-
# information about the error. There is a predefined set of error detail types
|
|
1048
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1049
|
-
# # Language mapping
|
|
1050
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1051
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1052
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1053
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1054
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1055
|
-
# # Other uses
|
|
1056
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1057
|
-
# environments, either with or without APIs, to provide a
|
|
1058
|
-
# consistent developer experience across different environments.
|
|
1059
|
-
# Example uses of this error model include:
|
|
1060
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1061
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1062
|
-
# errors.
|
|
1063
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1064
|
-
# have a `Status` message for error reporting.
|
|
1065
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1066
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1067
|
-
# each error sub-response.
|
|
1068
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1069
|
-
# results in its response, the status of those operations should be
|
|
1070
|
-
# represented directly using the `Status` message.
|
|
1071
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1072
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1036
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1037
|
+
# three pieces of data: error code, error message, and error details.
|
|
1038
|
+
# You can find out more about this error model and how to work with it in the
|
|
1039
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1073
1040
|
# Corresponds to the JSON property `error`
|
|
1074
1041
|
# @return [Google::Apis::CloudresourcemanagerV1::Status]
|
|
1075
1042
|
attr_accessor :error
|
|
@@ -1560,12 +1527,14 @@ module Google
|
|
|
1560
1527
|
# the response. Filter rules are case-insensitive.
|
|
1561
1528
|
# Organizations may be filtered by `owner.directoryCustomerId` or by
|
|
1562
1529
|
# `domain`, where the domain is a G Suite domain, for example:
|
|
1530
|
+
# clang-format off
|
|
1563
1531
|
# | Filter | Description |
|
|
1564
1532
|
# |-------------------------------------|----------------------------------|
|
|
1565
1533
|
# | owner.directorycustomerid:123456789 | Organizations with `owner.
|
|
1566
1534
|
# directory_customer_id` equal to `123456789`.|
|
|
1567
1535
|
# | domain:google.com | Organizations corresponding to the
|
|
1568
1536
|
# domain `google.com`.|
|
|
1537
|
+
# clang-format on
|
|
1569
1538
|
# This field is optional.
|
|
1570
1539
|
# Corresponds to the JSON property `filter`
|
|
1571
1540
|
# @return [String]
|
|
@@ -1713,43 +1682,10 @@ module Google
|
|
|
1713
1682
|
|
|
1714
1683
|
# The `Status` type defines a logical error model that is suitable for
|
|
1715
1684
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1716
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1717
|
-
#
|
|
1718
|
-
#
|
|
1719
|
-
#
|
|
1720
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1721
|
-
# message, and error details. The error code should be an enum value of
|
|
1722
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1723
|
-
# error message should be a developer-facing English message that helps
|
|
1724
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1725
|
-
# error message is needed, put the localized message in the error details or
|
|
1726
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1727
|
-
# information about the error. There is a predefined set of error detail types
|
|
1728
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1729
|
-
# # Language mapping
|
|
1730
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1731
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1732
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1733
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1734
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1735
|
-
# # Other uses
|
|
1736
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1737
|
-
# environments, either with or without APIs, to provide a
|
|
1738
|
-
# consistent developer experience across different environments.
|
|
1739
|
-
# Example uses of this error model include:
|
|
1740
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1741
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1742
|
-
# errors.
|
|
1743
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1744
|
-
# have a `Status` message for error reporting.
|
|
1745
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1746
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1747
|
-
# each error sub-response.
|
|
1748
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1749
|
-
# results in its response, the status of those operations should be
|
|
1750
|
-
# represented directly using the `Status` message.
|
|
1751
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1752
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1685
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1686
|
+
# three pieces of data: error code, error message, and error details.
|
|
1687
|
+
# You can find out more about this error model and how to work with it in the
|
|
1688
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1753
1689
|
class Status
|
|
1754
1690
|
include Google::Apis::Core::Hashable
|
|
1755
1691
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190603'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -424,43 +424,10 @@ module Google
|
|
|
424
424
|
|
|
425
425
|
# The `Status` type defines a logical error model that is suitable for
|
|
426
426
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
427
|
-
# used by [gRPC](https://github.com/grpc).
|
|
428
|
-
#
|
|
429
|
-
#
|
|
430
|
-
#
|
|
431
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
432
|
-
# message, and error details. The error code should be an enum value of
|
|
433
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
434
|
-
# error message should be a developer-facing English message that helps
|
|
435
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
436
|
-
# error message is needed, put the localized message in the error details or
|
|
437
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
438
|
-
# information about the error. There is a predefined set of error detail types
|
|
439
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
440
|
-
# # Language mapping
|
|
441
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
442
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
443
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
444
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
445
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
446
|
-
# # Other uses
|
|
447
|
-
# The error model and the `Status` message can be used in a variety of
|
|
448
|
-
# environments, either with or without APIs, to provide a
|
|
449
|
-
# consistent developer experience across different environments.
|
|
450
|
-
# Example uses of this error model include:
|
|
451
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
452
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
453
|
-
# errors.
|
|
454
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
455
|
-
# have a `Status` message for error reporting.
|
|
456
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
457
|
-
# `Status` message should be used directly inside batch response, one for
|
|
458
|
-
# each error sub-response.
|
|
459
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
460
|
-
# results in its response, the status of those operations should be
|
|
461
|
-
# represented directly using the `Status` message.
|
|
462
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
463
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
427
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
428
|
+
# three pieces of data: error code, error message, and error details.
|
|
429
|
+
# You can find out more about this error model and how to work with it in the
|
|
430
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
464
431
|
# Corresponds to the JSON property `error`
|
|
465
432
|
# @return [Google::Apis::CloudresourcemanagerV2::Status]
|
|
466
433
|
attr_accessor :error
|
|
@@ -771,43 +738,10 @@ module Google
|
|
|
771
738
|
|
|
772
739
|
# The `Status` type defines a logical error model that is suitable for
|
|
773
740
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
774
|
-
# used by [gRPC](https://github.com/grpc).
|
|
775
|
-
#
|
|
776
|
-
#
|
|
777
|
-
#
|
|
778
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
779
|
-
# message, and error details. The error code should be an enum value of
|
|
780
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
781
|
-
# error message should be a developer-facing English message that helps
|
|
782
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
783
|
-
# error message is needed, put the localized message in the error details or
|
|
784
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
785
|
-
# information about the error. There is a predefined set of error detail types
|
|
786
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
787
|
-
# # Language mapping
|
|
788
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
789
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
790
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
791
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
792
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
793
|
-
# # Other uses
|
|
794
|
-
# The error model and the `Status` message can be used in a variety of
|
|
795
|
-
# environments, either with or without APIs, to provide a
|
|
796
|
-
# consistent developer experience across different environments.
|
|
797
|
-
# Example uses of this error model include:
|
|
798
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
799
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
800
|
-
# errors.
|
|
801
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
802
|
-
# have a `Status` message for error reporting.
|
|
803
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
804
|
-
# `Status` message should be used directly inside batch response, one for
|
|
805
|
-
# each error sub-response.
|
|
806
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
807
|
-
# results in its response, the status of those operations should be
|
|
808
|
-
# represented directly using the `Status` message.
|
|
809
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
810
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
741
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
742
|
+
# three pieces of data: error code, error message, and error details.
|
|
743
|
+
# You can find out more about this error model and how to work with it in the
|
|
744
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
811
745
|
class Status
|
|
812
746
|
include Google::Apis::Core::Hashable
|
|
813
747
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190603'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -424,43 +424,10 @@ module Google
|
|
|
424
424
|
|
|
425
425
|
# The `Status` type defines a logical error model that is suitable for
|
|
426
426
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
427
|
-
# used by [gRPC](https://github.com/grpc).
|
|
428
|
-
#
|
|
429
|
-
#
|
|
430
|
-
#
|
|
431
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
432
|
-
# message, and error details. The error code should be an enum value of
|
|
433
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
434
|
-
# error message should be a developer-facing English message that helps
|
|
435
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
436
|
-
# error message is needed, put the localized message in the error details or
|
|
437
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
438
|
-
# information about the error. There is a predefined set of error detail types
|
|
439
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
440
|
-
# # Language mapping
|
|
441
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
442
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
443
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
444
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
445
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
446
|
-
# # Other uses
|
|
447
|
-
# The error model and the `Status` message can be used in a variety of
|
|
448
|
-
# environments, either with or without APIs, to provide a
|
|
449
|
-
# consistent developer experience across different environments.
|
|
450
|
-
# Example uses of this error model include:
|
|
451
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
452
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
453
|
-
# errors.
|
|
454
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
455
|
-
# have a `Status` message for error reporting.
|
|
456
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
457
|
-
# `Status` message should be used directly inside batch response, one for
|
|
458
|
-
# each error sub-response.
|
|
459
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
460
|
-
# results in its response, the status of those operations should be
|
|
461
|
-
# represented directly using the `Status` message.
|
|
462
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
463
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
427
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
428
|
+
# three pieces of data: error code, error message, and error details.
|
|
429
|
+
# You can find out more about this error model and how to work with it in the
|
|
430
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
464
431
|
# Corresponds to the JSON property `error`
|
|
465
432
|
# @return [Google::Apis::CloudresourcemanagerV2beta1::Status]
|
|
466
433
|
attr_accessor :error
|
|
@@ -771,43 +738,10 @@ module Google
|
|
|
771
738
|
|
|
772
739
|
# The `Status` type defines a logical error model that is suitable for
|
|
773
740
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
774
|
-
# used by [gRPC](https://github.com/grpc).
|
|
775
|
-
#
|
|
776
|
-
#
|
|
777
|
-
#
|
|
778
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
779
|
-
# message, and error details. The error code should be an enum value of
|
|
780
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
781
|
-
# error message should be a developer-facing English message that helps
|
|
782
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
783
|
-
# error message is needed, put the localized message in the error details or
|
|
784
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
785
|
-
# information about the error. There is a predefined set of error detail types
|
|
786
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
787
|
-
# # Language mapping
|
|
788
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
789
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
790
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
791
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
792
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
793
|
-
# # Other uses
|
|
794
|
-
# The error model and the `Status` message can be used in a variety of
|
|
795
|
-
# environments, either with or without APIs, to provide a
|
|
796
|
-
# consistent developer experience across different environments.
|
|
797
|
-
# Example uses of this error model include:
|
|
798
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
799
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
800
|
-
# errors.
|
|
801
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
802
|
-
# have a `Status` message for error reporting.
|
|
803
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
804
|
-
# `Status` message should be used directly inside batch response, one for
|
|
805
|
-
# each error sub-response.
|
|
806
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
807
|
-
# results in its response, the status of those operations should be
|
|
808
|
-
# represented directly using the `Status` message.
|
|
809
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
810
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
741
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
742
|
+
# three pieces of data: error code, error message, and error details.
|
|
743
|
+
# You can find out more about this error model and how to work with it in the
|
|
744
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
811
745
|
class Status
|
|
812
746
|
include Google::Apis::Core::Hashable
|
|
813
747
|
|