google-api-client 0.30.2 → 0.30.3
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 +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.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/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
|
26
26
|
module CloudassetV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190615'
|
|
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'
|
|
@@ -430,43 +430,10 @@ module Google
|
|
|
430
430
|
|
|
431
431
|
# The `Status` type defines a logical error model that is suitable for
|
|
432
432
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
433
|
-
# used by [gRPC](https://github.com/grpc).
|
|
434
|
-
#
|
|
435
|
-
#
|
|
436
|
-
#
|
|
437
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
438
|
-
# message, and error details. The error code should be an enum value of
|
|
439
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
440
|
-
# error message should be a developer-facing English message that helps
|
|
441
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
442
|
-
# error message is needed, put the localized message in the error details or
|
|
443
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
444
|
-
# information about the error. There is a predefined set of error detail types
|
|
445
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
446
|
-
# # Language mapping
|
|
447
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
448
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
449
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
450
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
451
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
452
|
-
# # Other uses
|
|
453
|
-
# The error model and the `Status` message can be used in a variety of
|
|
454
|
-
# environments, either with or without APIs, to provide a
|
|
455
|
-
# consistent developer experience across different environments.
|
|
456
|
-
# Example uses of this error model include:
|
|
457
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
458
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
459
|
-
# errors.
|
|
460
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
461
|
-
# have a `Status` message for error reporting.
|
|
462
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
463
|
-
# `Status` message should be used directly inside batch response, one for
|
|
464
|
-
# each error sub-response.
|
|
465
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
466
|
-
# results in its response, the status of those operations should be
|
|
467
|
-
# represented directly using the `Status` message.
|
|
468
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
469
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
433
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
434
|
+
# three pieces of data: error code, error message, and error details.
|
|
435
|
+
# You can find out more about this error model and how to work with it in the
|
|
436
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
470
437
|
# Corresponds to the JSON property `error`
|
|
471
438
|
# @return [Google::Apis::CloudassetV1::Status]
|
|
472
439
|
attr_accessor :error
|
|
@@ -481,7 +448,7 @@ module Google
|
|
|
481
448
|
|
|
482
449
|
# The server-assigned name, which is only unique within the same service that
|
|
483
450
|
# originally returns it. If you use the default HTTP mapping, the
|
|
484
|
-
# `name` should
|
|
451
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
|
485
452
|
# Corresponds to the JSON property `name`
|
|
486
453
|
# @return [String]
|
|
487
454
|
attr_accessor :name
|
|
@@ -684,43 +651,10 @@ module Google
|
|
|
684
651
|
|
|
685
652
|
# The `Status` type defines a logical error model that is suitable for
|
|
686
653
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
687
|
-
# used by [gRPC](https://github.com/grpc).
|
|
688
|
-
#
|
|
689
|
-
#
|
|
690
|
-
#
|
|
691
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
692
|
-
# message, and error details. The error code should be an enum value of
|
|
693
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
694
|
-
# error message should be a developer-facing English message that helps
|
|
695
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
696
|
-
# error message is needed, put the localized message in the error details or
|
|
697
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
698
|
-
# information about the error. There is a predefined set of error detail types
|
|
699
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
700
|
-
# # Language mapping
|
|
701
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
702
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
703
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
704
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
705
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
706
|
-
# # Other uses
|
|
707
|
-
# The error model and the `Status` message can be used in a variety of
|
|
708
|
-
# environments, either with or without APIs, to provide a
|
|
709
|
-
# consistent developer experience across different environments.
|
|
710
|
-
# Example uses of this error model include:
|
|
711
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
712
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
713
|
-
# errors.
|
|
714
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
715
|
-
# have a `Status` message for error reporting.
|
|
716
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
717
|
-
# `Status` message should be used directly inside batch response, one for
|
|
718
|
-
# each error sub-response.
|
|
719
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
720
|
-
# results in its response, the status of those operations should be
|
|
721
|
-
# represented directly using the `Status` message.
|
|
722
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
723
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
654
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
655
|
+
# three pieces of data: error code, error message, and error details.
|
|
656
|
+
# You can find out more about this error model and how to work with it in the
|
|
657
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
724
658
|
class Status
|
|
725
659
|
include Google::Apis::Core::Hashable
|
|
726
660
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
|
26
26
|
module CloudassetV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190615'
|
|
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'
|
|
@@ -429,43 +429,10 @@ module Google
|
|
|
429
429
|
|
|
430
430
|
# The `Status` type defines a logical error model that is suitable for
|
|
431
431
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
432
|
-
# used by [gRPC](https://github.com/grpc).
|
|
433
|
-
#
|
|
434
|
-
#
|
|
435
|
-
#
|
|
436
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
437
|
-
# message, and error details. The error code should be an enum value of
|
|
438
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
439
|
-
# error message should be a developer-facing English message that helps
|
|
440
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
441
|
-
# error message is needed, put the localized message in the error details or
|
|
442
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
443
|
-
# information about the error. There is a predefined set of error detail types
|
|
444
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
445
|
-
# # Language mapping
|
|
446
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
447
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
448
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
449
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
450
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
451
|
-
# # Other uses
|
|
452
|
-
# The error model and the `Status` message can be used in a variety of
|
|
453
|
-
# environments, either with or without APIs, to provide a
|
|
454
|
-
# consistent developer experience across different environments.
|
|
455
|
-
# Example uses of this error model include:
|
|
456
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
457
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
458
|
-
# errors.
|
|
459
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
460
|
-
# have a `Status` message for error reporting.
|
|
461
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
462
|
-
# `Status` message should be used directly inside batch response, one for
|
|
463
|
-
# each error sub-response.
|
|
464
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
465
|
-
# results in its response, the status of those operations should be
|
|
466
|
-
# represented directly using the `Status` message.
|
|
467
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
468
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
432
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
433
|
+
# three pieces of data: error code, error message, and error details.
|
|
434
|
+
# You can find out more about this error model and how to work with it in the
|
|
435
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
469
436
|
# Corresponds to the JSON property `error`
|
|
470
437
|
# @return [Google::Apis::CloudassetV1beta1::Status]
|
|
471
438
|
attr_accessor :error
|
|
@@ -480,7 +447,7 @@ module Google
|
|
|
480
447
|
|
|
481
448
|
# The server-assigned name, which is only unique within the same service that
|
|
482
449
|
# originally returns it. If you use the default HTTP mapping, the
|
|
483
|
-
# `name` should
|
|
450
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
|
484
451
|
# Corresponds to the JSON property `name`
|
|
485
452
|
# @return [String]
|
|
486
453
|
attr_accessor :name
|
|
@@ -683,43 +650,10 @@ module Google
|
|
|
683
650
|
|
|
684
651
|
# The `Status` type defines a logical error model that is suitable for
|
|
685
652
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
686
|
-
# used by [gRPC](https://github.com/grpc).
|
|
687
|
-
#
|
|
688
|
-
#
|
|
689
|
-
#
|
|
690
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
691
|
-
# message, and error details. The error code should be an enum value of
|
|
692
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
693
|
-
# error message should be a developer-facing English message that helps
|
|
694
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
695
|
-
# error message is needed, put the localized message in the error details or
|
|
696
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
697
|
-
# information about the error. There is a predefined set of error detail types
|
|
698
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
699
|
-
# # Language mapping
|
|
700
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
701
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
702
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
703
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
704
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
705
|
-
# # Other uses
|
|
706
|
-
# The error model and the `Status` message can be used in a variety of
|
|
707
|
-
# environments, either with or without APIs, to provide a
|
|
708
|
-
# consistent developer experience across different environments.
|
|
709
|
-
# Example uses of this error model include:
|
|
710
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
711
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
712
|
-
# errors.
|
|
713
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
714
|
-
# have a `Status` message for error reporting.
|
|
715
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
716
|
-
# `Status` message should be used directly inside batch response, one for
|
|
717
|
-
# each error sub-response.
|
|
718
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
719
|
-
# results in its response, the status of those operations should be
|
|
720
|
-
# represented directly using the `Status` message.
|
|
721
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
722
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
653
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
654
|
+
# three pieces of data: error code, error message, and error details.
|
|
655
|
+
# You can find out more about this error model and how to work with it in the
|
|
656
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
723
657
|
class Status
|
|
724
658
|
include Google::Apis::Core::Hashable
|
|
725
659
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/functions
|
|
26
26
|
module CloudfunctionsV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190607'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -786,43 +786,10 @@ module Google
|
|
|
786
786
|
|
|
787
787
|
# The `Status` type defines a logical error model that is suitable for
|
|
788
788
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
789
|
-
# used by [gRPC](https://github.com/grpc).
|
|
790
|
-
#
|
|
791
|
-
#
|
|
792
|
-
#
|
|
793
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
794
|
-
# message, and error details. The error code should be an enum value of
|
|
795
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
796
|
-
# error message should be a developer-facing English message that helps
|
|
797
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
798
|
-
# error message is needed, put the localized message in the error details or
|
|
799
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
800
|
-
# information about the error. There is a predefined set of error detail types
|
|
801
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
802
|
-
# # Language mapping
|
|
803
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
804
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
805
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
806
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
807
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
808
|
-
# # Other uses
|
|
809
|
-
# The error model and the `Status` message can be used in a variety of
|
|
810
|
-
# environments, either with or without APIs, to provide a
|
|
811
|
-
# consistent developer experience across different environments.
|
|
812
|
-
# Example uses of this error model include:
|
|
813
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
814
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
815
|
-
# errors.
|
|
816
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
817
|
-
# have a `Status` message for error reporting.
|
|
818
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
819
|
-
# `Status` message should be used directly inside batch response, one for
|
|
820
|
-
# each error sub-response.
|
|
821
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
822
|
-
# results in its response, the status of those operations should be
|
|
823
|
-
# represented directly using the `Status` message.
|
|
824
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
825
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
789
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
790
|
+
# three pieces of data: error code, error message, and error details.
|
|
791
|
+
# You can find out more about this error model and how to work with it in the
|
|
792
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
826
793
|
# Corresponds to the JSON property `error`
|
|
827
794
|
# @return [Google::Apis::CloudfunctionsV1::Status]
|
|
828
795
|
attr_accessor :error
|
|
@@ -1165,43 +1132,10 @@ module Google
|
|
|
1165
1132
|
|
|
1166
1133
|
# The `Status` type defines a logical error model that is suitable for
|
|
1167
1134
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1168
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
#
|
|
1172
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1173
|
-
# message, and error details. The error code should be an enum value of
|
|
1174
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1175
|
-
# error message should be a developer-facing English message that helps
|
|
1176
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1177
|
-
# error message is needed, put the localized message in the error details or
|
|
1178
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1179
|
-
# information about the error. There is a predefined set of error detail types
|
|
1180
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1181
|
-
# # Language mapping
|
|
1182
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1183
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1184
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1185
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1186
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1187
|
-
# # Other uses
|
|
1188
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1189
|
-
# environments, either with or without APIs, to provide a
|
|
1190
|
-
# consistent developer experience across different environments.
|
|
1191
|
-
# Example uses of this error model include:
|
|
1192
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1193
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1194
|
-
# errors.
|
|
1195
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1196
|
-
# have a `Status` message for error reporting.
|
|
1197
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1198
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1199
|
-
# each error sub-response.
|
|
1200
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1201
|
-
# results in its response, the status of those operations should be
|
|
1202
|
-
# represented directly using the `Status` message.
|
|
1203
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1204
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1135
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1136
|
+
# three pieces of data: error code, error message, and error details.
|
|
1137
|
+
# You can find out more about this error model and how to work with it in the
|
|
1138
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1205
1139
|
class Status
|
|
1206
1140
|
include Google::Apis::Core::Hashable
|
|
1207
1141
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/functions
|
|
26
26
|
module CloudfunctionsV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190607'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -578,43 +578,10 @@ module Google
|
|
|
578
578
|
|
|
579
579
|
# The `Status` type defines a logical error model that is suitable for
|
|
580
580
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
581
|
-
# used by [gRPC](https://github.com/grpc).
|
|
582
|
-
#
|
|
583
|
-
#
|
|
584
|
-
#
|
|
585
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
586
|
-
# message, and error details. The error code should be an enum value of
|
|
587
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
588
|
-
# error message should be a developer-facing English message that helps
|
|
589
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
590
|
-
# error message is needed, put the localized message in the error details or
|
|
591
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
592
|
-
# information about the error. There is a predefined set of error detail types
|
|
593
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
594
|
-
# # Language mapping
|
|
595
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
596
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
597
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
598
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
599
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
600
|
-
# # Other uses
|
|
601
|
-
# The error model and the `Status` message can be used in a variety of
|
|
602
|
-
# environments, either with or without APIs, to provide a
|
|
603
|
-
# consistent developer experience across different environments.
|
|
604
|
-
# Example uses of this error model include:
|
|
605
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
606
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
607
|
-
# errors.
|
|
608
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
609
|
-
# have a `Status` message for error reporting.
|
|
610
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
611
|
-
# `Status` message should be used directly inside batch response, one for
|
|
612
|
-
# each error sub-response.
|
|
613
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
614
|
-
# results in its response, the status of those operations should be
|
|
615
|
-
# represented directly using the `Status` message.
|
|
616
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
617
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
581
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
582
|
+
# three pieces of data: error code, error message, and error details.
|
|
583
|
+
# You can find out more about this error model and how to work with it in the
|
|
584
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
618
585
|
# Corresponds to the JSON property `error`
|
|
619
586
|
# @return [Google::Apis::CloudfunctionsV1beta2::Status]
|
|
620
587
|
attr_accessor :error
|
|
@@ -829,43 +796,10 @@ module Google
|
|
|
829
796
|
|
|
830
797
|
# The `Status` type defines a logical error model that is suitable for
|
|
831
798
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
832
|
-
# used by [gRPC](https://github.com/grpc).
|
|
833
|
-
#
|
|
834
|
-
#
|
|
835
|
-
#
|
|
836
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
837
|
-
# message, and error details. The error code should be an enum value of
|
|
838
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
839
|
-
# error message should be a developer-facing English message that helps
|
|
840
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
841
|
-
# error message is needed, put the localized message in the error details or
|
|
842
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
843
|
-
# information about the error. There is a predefined set of error detail types
|
|
844
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
845
|
-
# # Language mapping
|
|
846
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
847
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
848
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
849
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
850
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
851
|
-
# # Other uses
|
|
852
|
-
# The error model and the `Status` message can be used in a variety of
|
|
853
|
-
# environments, either with or without APIs, to provide a
|
|
854
|
-
# consistent developer experience across different environments.
|
|
855
|
-
# Example uses of this error model include:
|
|
856
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
857
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
858
|
-
# errors.
|
|
859
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
860
|
-
# have a `Status` message for error reporting.
|
|
861
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
862
|
-
# `Status` message should be used directly inside batch response, one for
|
|
863
|
-
# each error sub-response.
|
|
864
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
865
|
-
# results in its response, the status of those operations should be
|
|
866
|
-
# represented directly using the `Status` message.
|
|
867
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
868
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
799
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
800
|
+
# three pieces of data: error code, error message, and error details.
|
|
801
|
+
# You can find out more about this error model and how to work with it in the
|
|
802
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
869
803
|
class Status
|
|
870
804
|
include Google::Apis::Core::Hashable
|
|
871
805
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/iot
|
|
27
27
|
module CloudiotV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190605'
|
|
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'
|
|
@@ -164,43 +164,10 @@ module Google
|
|
|
164
164
|
|
|
165
165
|
# The `Status` type defines a logical error model that is suitable for
|
|
166
166
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
167
|
-
# used by [gRPC](https://github.com/grpc).
|
|
168
|
-
#
|
|
169
|
-
#
|
|
170
|
-
#
|
|
171
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
172
|
-
# message, and error details. The error code should be an enum value of
|
|
173
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
174
|
-
# error message should be a developer-facing English message that helps
|
|
175
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
176
|
-
# error message is needed, put the localized message in the error details or
|
|
177
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
178
|
-
# information about the error. There is a predefined set of error detail types
|
|
179
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
180
|
-
# # Language mapping
|
|
181
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
182
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
183
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
184
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
185
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
186
|
-
# # Other uses
|
|
187
|
-
# The error model and the `Status` message can be used in a variety of
|
|
188
|
-
# environments, either with or without APIs, to provide a
|
|
189
|
-
# consistent developer experience across different environments.
|
|
190
|
-
# Example uses of this error model include:
|
|
191
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
192
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
193
|
-
# errors.
|
|
194
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
195
|
-
# have a `Status` message for error reporting.
|
|
196
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
197
|
-
# `Status` message should be used directly inside batch response, one for
|
|
198
|
-
# each error sub-response.
|
|
199
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
200
|
-
# results in its response, the status of those operations should be
|
|
201
|
-
# represented directly using the `Status` message.
|
|
202
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
203
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
167
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
168
|
+
# three pieces of data: error code, error message, and error details.
|
|
169
|
+
# You can find out more about this error model and how to work with it in the
|
|
170
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
204
171
|
# Corresponds to the JSON property `lastErrorStatus`
|
|
205
172
|
# @return [Google::Apis::CloudiotV1::Status]
|
|
206
173
|
attr_accessor :last_error_status
|
|
@@ -1068,43 +1035,10 @@ module Google
|
|
|
1068
1035
|
|
|
1069
1036
|
# The `Status` type defines a logical error model that is suitable for
|
|
1070
1037
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1071
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1072
|
-
#
|
|
1073
|
-
#
|
|
1074
|
-
#
|
|
1075
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1076
|
-
# message, and error details. The error code should be an enum value of
|
|
1077
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1078
|
-
# error message should be a developer-facing English message that helps
|
|
1079
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1080
|
-
# error message is needed, put the localized message in the error details or
|
|
1081
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1082
|
-
# information about the error. There is a predefined set of error detail types
|
|
1083
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1084
|
-
# # Language mapping
|
|
1085
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1086
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1087
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1088
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1089
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1090
|
-
# # Other uses
|
|
1091
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1092
|
-
# environments, either with or without APIs, to provide a
|
|
1093
|
-
# consistent developer experience across different environments.
|
|
1094
|
-
# Example uses of this error model include:
|
|
1095
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1096
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1097
|
-
# errors.
|
|
1098
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1099
|
-
# have a `Status` message for error reporting.
|
|
1100
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1101
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1102
|
-
# each error sub-response.
|
|
1103
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1104
|
-
# results in its response, the status of those operations should be
|
|
1105
|
-
# represented directly using the `Status` message.
|
|
1106
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1107
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1038
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1039
|
+
# three pieces of data: error code, error message, and error details.
|
|
1040
|
+
# You can find out more about this error model and how to work with it in the
|
|
1041
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1108
1042
|
class Status
|
|
1109
1043
|
include Google::Apis::Core::Hashable
|
|
1110
1044
|
|