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/genomics
|
|
26
26
|
module GenomicsV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190606'
|
|
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'
|
|
@@ -316,43 +316,10 @@ module Google
|
|
|
316
316
|
|
|
317
317
|
# The `Status` type defines a logical error model that is suitable for
|
|
318
318
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
319
|
-
# used by [gRPC](https://github.com/grpc).
|
|
320
|
-
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
324
|
-
# message, and error details. The error code should be an enum value of
|
|
325
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
326
|
-
# error message should be a developer-facing English message that helps
|
|
327
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
328
|
-
# error message is needed, put the localized message in the error details or
|
|
329
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
330
|
-
# information about the error. There is a predefined set of error detail types
|
|
331
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
332
|
-
# # Language mapping
|
|
333
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
334
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
335
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
336
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
337
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
338
|
-
# # Other uses
|
|
339
|
-
# The error model and the `Status` message can be used in a variety of
|
|
340
|
-
# environments, either with or without APIs, to provide a
|
|
341
|
-
# consistent developer experience across different environments.
|
|
342
|
-
# Example uses of this error model include:
|
|
343
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
344
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
345
|
-
# errors.
|
|
346
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
347
|
-
# have a `Status` message for error reporting.
|
|
348
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
349
|
-
# `Status` message should be used directly inside batch response, one for
|
|
350
|
-
# each error sub-response.
|
|
351
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
352
|
-
# results in its response, the status of those operations should be
|
|
353
|
-
# represented directly using the `Status` message.
|
|
354
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
355
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
319
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
320
|
+
# three pieces of data: error code, error message, and error details.
|
|
321
|
+
# You can find out more about this error model and how to work with it in the
|
|
322
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
356
323
|
# Corresponds to the JSON property `error`
|
|
357
324
|
# @return [Google::Apis::GenomicsV1::Status]
|
|
358
325
|
attr_accessor :error
|
|
@@ -570,43 +537,10 @@ module Google
|
|
|
570
537
|
|
|
571
538
|
# The `Status` type defines a logical error model that is suitable for
|
|
572
539
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
573
|
-
# used by [gRPC](https://github.com/grpc).
|
|
574
|
-
#
|
|
575
|
-
#
|
|
576
|
-
#
|
|
577
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
578
|
-
# message, and error details. The error code should be an enum value of
|
|
579
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
580
|
-
# error message should be a developer-facing English message that helps
|
|
581
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
582
|
-
# error message is needed, put the localized message in the error details or
|
|
583
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
584
|
-
# information about the error. There is a predefined set of error detail types
|
|
585
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
586
|
-
# # Language mapping
|
|
587
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
588
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
589
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
590
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
591
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
592
|
-
# # Other uses
|
|
593
|
-
# The error model and the `Status` message can be used in a variety of
|
|
594
|
-
# environments, either with or without APIs, to provide a
|
|
595
|
-
# consistent developer experience across different environments.
|
|
596
|
-
# Example uses of this error model include:
|
|
597
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
598
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
599
|
-
# errors.
|
|
600
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
601
|
-
# have a `Status` message for error reporting.
|
|
602
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
603
|
-
# `Status` message should be used directly inside batch response, one for
|
|
604
|
-
# each error sub-response.
|
|
605
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
606
|
-
# results in its response, the status of those operations should be
|
|
607
|
-
# represented directly using the `Status` message.
|
|
608
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
609
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
540
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
541
|
+
# three pieces of data: error code, error message, and error details.
|
|
542
|
+
# You can find out more about this error model and how to work with it in the
|
|
543
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
610
544
|
class Status
|
|
611
545
|
include Google::Apis::Core::Hashable
|
|
612
546
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
|
26
26
|
module GenomicsV1alpha2
|
|
27
27
|
VERSION = 'V1alpha2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190606'
|
|
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'
|
|
@@ -569,43 +569,10 @@ module Google
|
|
|
569
569
|
|
|
570
570
|
# The `Status` type defines a logical error model that is suitable for
|
|
571
571
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
572
|
-
# used by [gRPC](https://github.com/grpc).
|
|
573
|
-
#
|
|
574
|
-
#
|
|
575
|
-
#
|
|
576
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
577
|
-
# message, and error details. The error code should be an enum value of
|
|
578
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
579
|
-
# error message should be a developer-facing English message that helps
|
|
580
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
581
|
-
# error message is needed, put the localized message in the error details or
|
|
582
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
583
|
-
# information about the error. There is a predefined set of error detail types
|
|
584
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
585
|
-
# # Language mapping
|
|
586
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
587
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
588
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
589
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
590
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
591
|
-
# # Other uses
|
|
592
|
-
# The error model and the `Status` message can be used in a variety of
|
|
593
|
-
# environments, either with or without APIs, to provide a
|
|
594
|
-
# consistent developer experience across different environments.
|
|
595
|
-
# Example uses of this error model include:
|
|
596
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
597
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
598
|
-
# errors.
|
|
599
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
600
|
-
# have a `Status` message for error reporting.
|
|
601
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
602
|
-
# `Status` message should be used directly inside batch response, one for
|
|
603
|
-
# each error sub-response.
|
|
604
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
605
|
-
# results in its response, the status of those operations should be
|
|
606
|
-
# represented directly using the `Status` message.
|
|
607
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
608
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
572
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
573
|
+
# three pieces of data: error code, error message, and error details.
|
|
574
|
+
# You can find out more about this error model and how to work with it in the
|
|
575
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
609
576
|
# Corresponds to the JSON property `error`
|
|
610
577
|
# @return [Google::Apis::GenomicsV1alpha2::Status]
|
|
611
578
|
attr_accessor :error
|
|
@@ -1324,43 +1291,10 @@ module Google
|
|
|
1324
1291
|
|
|
1325
1292
|
# The `Status` type defines a logical error model that is suitable for
|
|
1326
1293
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1327
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1328
|
-
#
|
|
1329
|
-
#
|
|
1330
|
-
#
|
|
1331
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1332
|
-
# message, and error details. The error code should be an enum value of
|
|
1333
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1334
|
-
# error message should be a developer-facing English message that helps
|
|
1335
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1336
|
-
# error message is needed, put the localized message in the error details or
|
|
1337
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1338
|
-
# information about the error. There is a predefined set of error detail types
|
|
1339
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1340
|
-
# # Language mapping
|
|
1341
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1342
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1343
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1344
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1345
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1346
|
-
# # Other uses
|
|
1347
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1348
|
-
# environments, either with or without APIs, to provide a
|
|
1349
|
-
# consistent developer experience across different environments.
|
|
1350
|
-
# Example uses of this error model include:
|
|
1351
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1352
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1353
|
-
# errors.
|
|
1354
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1355
|
-
# have a `Status` message for error reporting.
|
|
1356
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1357
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1358
|
-
# each error sub-response.
|
|
1359
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1360
|
-
# results in its response, the status of those operations should be
|
|
1361
|
-
# represented directly using the `Status` message.
|
|
1362
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1363
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1294
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1295
|
+
# three pieces of data: error code, error message, and error details.
|
|
1296
|
+
# You can find out more about this error model and how to work with it in the
|
|
1297
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1364
1298
|
class Status
|
|
1365
1299
|
include Google::Apis::Core::Hashable
|
|
1366
1300
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
|
26
26
|
module GenomicsV2alpha1
|
|
27
27
|
VERSION = 'V2alpha1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190606'
|
|
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'
|
|
@@ -136,7 +136,7 @@ module Google
|
|
|
136
136
|
# An optional name for the container. The container hostname will be set to
|
|
137
137
|
# this name, making it useful for inter-container communication. The name
|
|
138
138
|
# must contain only upper and lowercase alphanumeric characters and hypens
|
|
139
|
-
# and cannot start with a
|
|
139
|
+
# and cannot start with a hyphen.
|
|
140
140
|
# Corresponds to the JSON property `name`
|
|
141
141
|
# @return [String]
|
|
142
142
|
attr_accessor :name
|
|
@@ -222,43 +222,10 @@ module Google
|
|
|
222
222
|
|
|
223
223
|
# The `Status` type defines a logical error model that is suitable for
|
|
224
224
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
225
|
-
# used by [gRPC](https://github.com/grpc).
|
|
226
|
-
#
|
|
227
|
-
#
|
|
228
|
-
#
|
|
229
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
230
|
-
# message, and error details. The error code should be an enum value of
|
|
231
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
232
|
-
# error message should be a developer-facing English message that helps
|
|
233
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
234
|
-
# error message is needed, put the localized message in the error details or
|
|
235
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
236
|
-
# information about the error. There is a predefined set of error detail types
|
|
237
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
238
|
-
# # Language mapping
|
|
239
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
240
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
241
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
242
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
243
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
244
|
-
# # Other uses
|
|
245
|
-
# The error model and the `Status` message can be used in a variety of
|
|
246
|
-
# environments, either with or without APIs, to provide a
|
|
247
|
-
# consistent developer experience across different environments.
|
|
248
|
-
# Example uses of this error model include:
|
|
249
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
250
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
251
|
-
# errors.
|
|
252
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
253
|
-
# have a `Status` message for error reporting.
|
|
254
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
255
|
-
# `Status` message should be used directly inside batch response, one for
|
|
256
|
-
# each error sub-response.
|
|
257
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
258
|
-
# results in its response, the status of those operations should be
|
|
259
|
-
# represented directly using the `Status` message.
|
|
260
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
261
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
225
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
226
|
+
# three pieces of data: error code, error message, and error details.
|
|
227
|
+
# You can find out more about this error model and how to work with it in the
|
|
228
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
262
229
|
# Corresponds to the JSON property `result`
|
|
263
230
|
# @return [Google::Apis::GenomicsV2alpha1::Status]
|
|
264
231
|
attr_accessor :result
|
|
@@ -479,7 +446,7 @@ module Google
|
|
|
479
446
|
|
|
480
447
|
# A user-supplied name for the disk. Used when mounting the disk into
|
|
481
448
|
# actions. The name must contain only upper and lowercase alphanumeric
|
|
482
|
-
# characters and hypens and cannot start with a
|
|
449
|
+
# characters and hypens and cannot start with a hyphen.
|
|
483
450
|
# Corresponds to the JSON property `name`
|
|
484
451
|
# @return [String]
|
|
485
452
|
attr_accessor :name
|
|
@@ -788,43 +755,10 @@ module Google
|
|
|
788
755
|
|
|
789
756
|
# The `Status` type defines a logical error model that is suitable for
|
|
790
757
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
791
|
-
# used by [gRPC](https://github.com/grpc).
|
|
792
|
-
#
|
|
793
|
-
#
|
|
794
|
-
#
|
|
795
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
796
|
-
# message, and error details. The error code should be an enum value of
|
|
797
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
798
|
-
# error message should be a developer-facing English message that helps
|
|
799
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
800
|
-
# error message is needed, put the localized message in the error details or
|
|
801
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
802
|
-
# information about the error. There is a predefined set of error detail types
|
|
803
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
804
|
-
# # Language mapping
|
|
805
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
806
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
807
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
808
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
809
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
810
|
-
# # Other uses
|
|
811
|
-
# The error model and the `Status` message can be used in a variety of
|
|
812
|
-
# environments, either with or without APIs, to provide a
|
|
813
|
-
# consistent developer experience across different environments.
|
|
814
|
-
# Example uses of this error model include:
|
|
815
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
816
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
817
|
-
# errors.
|
|
818
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
819
|
-
# have a `Status` message for error reporting.
|
|
820
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
821
|
-
# `Status` message should be used directly inside batch response, one for
|
|
822
|
-
# each error sub-response.
|
|
823
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
824
|
-
# results in its response, the status of those operations should be
|
|
825
|
-
# represented directly using the `Status` message.
|
|
826
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
827
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
758
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
759
|
+
# three pieces of data: error code, error message, and error details.
|
|
760
|
+
# You can find out more about this error model and how to work with it in the
|
|
761
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
828
762
|
# Corresponds to the JSON property `error`
|
|
829
763
|
# @return [Google::Apis::GenomicsV2alpha1::Status]
|
|
830
764
|
attr_accessor :error
|
|
@@ -1213,43 +1147,10 @@ module Google
|
|
|
1213
1147
|
|
|
1214
1148
|
# The `Status` type defines a logical error model that is suitable for
|
|
1215
1149
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1216
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1217
|
-
#
|
|
1218
|
-
#
|
|
1219
|
-
#
|
|
1220
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1221
|
-
# message, and error details. The error code should be an enum value of
|
|
1222
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1223
|
-
# error message should be a developer-facing English message that helps
|
|
1224
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1225
|
-
# error message is needed, put the localized message in the error details or
|
|
1226
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1227
|
-
# information about the error. There is a predefined set of error detail types
|
|
1228
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1229
|
-
# # Language mapping
|
|
1230
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1231
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1232
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1233
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1234
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1235
|
-
# # Other uses
|
|
1236
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1237
|
-
# environments, either with or without APIs, to provide a
|
|
1238
|
-
# consistent developer experience across different environments.
|
|
1239
|
-
# Example uses of this error model include:
|
|
1240
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1241
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1242
|
-
# errors.
|
|
1243
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1244
|
-
# have a `Status` message for error reporting.
|
|
1245
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1246
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1247
|
-
# each error sub-response.
|
|
1248
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1249
|
-
# results in its response, the status of those operations should be
|
|
1250
|
-
# represented directly using the `Status` message.
|
|
1251
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1252
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1150
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1151
|
+
# three pieces of data: error code, error message, and error details.
|
|
1152
|
+
# You can find out more about this error model and how to work with it in the
|
|
1153
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1253
1154
|
class Status
|
|
1254
1155
|
include Google::Apis::Core::Hashable
|
|
1255
1156
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/gmail/api/
|
|
26
26
|
module GmailV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190602'
|
|
29
29
|
|
|
30
30
|
# Read, compose, send, and permanently delete all your email from Gmail
|
|
31
31
|
AUTH_SCOPE = 'https://mail.google.com/'
|
|
@@ -604,7 +604,11 @@ module Google
|
|
|
604
604
|
# #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
|
|
605
605
|
# f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
|
|
606
606
|
# #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
|
|
607
|
-
# 076239, #1a764d, #1c4587, #41236d, #83334c
|
|
607
|
+
# 076239, #1a764d, #1c4587, #41236d, #83334c #464646, #e7e7e7, #0d3472, #b6cff5,
|
|
608
|
+
# #0d3b44, #98d7e4, #3d188e, #e3d7ff, #711a36, #fbd3e0, #8a1c0a, #f2b2a8, #
|
|
609
|
+
# 7a2e0b, #ffc8af, #7a4706, #ffdeb5, #594c05, #fbe983, #684e07, #fdedc1, #0b4f30,
|
|
610
|
+
# #b3efd3, #04502e, #a2dcc1, #c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #
|
|
611
|
+
# f691b2, #ff7537, #ffad46, #662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
|
608
612
|
# Corresponds to the JSON property `backgroundColor`
|
|
609
613
|
# @return [String]
|
|
610
614
|
attr_accessor :background_color
|
|
@@ -619,7 +623,11 @@ module Google
|
|
|
619
623
|
# #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
|
|
620
624
|
# f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
|
|
621
625
|
# #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
|
|
622
|
-
# 076239, #1a764d, #1c4587, #41236d, #83334c
|
|
626
|
+
# 076239, #1a764d, #1c4587, #41236d, #83334c #464646, #e7e7e7, #0d3472, #b6cff5,
|
|
627
|
+
# #0d3b44, #98d7e4, #3d188e, #e3d7ff, #711a36, #fbd3e0, #8a1c0a, #f2b2a8, #
|
|
628
|
+
# 7a2e0b, #ffc8af, #7a4706, #ffdeb5, #594c05, #fbe983, #684e07, #fdedc1, #0b4f30,
|
|
629
|
+
# #b3efd3, #04502e, #a2dcc1, #c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #
|
|
630
|
+
# f691b2, #ff7537, #ffad46, #662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
|
623
631
|
# Corresponds to the JSON property `textColor`
|
|
624
632
|
# @return [String]
|
|
625
633
|
attr_accessor :text_color
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
|
26
26
|
module HealthcareV1alpha2
|
|
27
27
|
VERSION = 'V1alpha2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190530'
|
|
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'
|
|
@@ -705,43 +705,10 @@ module Google
|
|
|
705
705
|
|
|
706
706
|
# The `Status` type defines a logical error model that is suitable for
|
|
707
707
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
708
|
-
# used by [gRPC](https://github.com/grpc).
|
|
709
|
-
#
|
|
710
|
-
#
|
|
711
|
-
#
|
|
712
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
713
|
-
# message, and error details. The error code should be an enum value of
|
|
714
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
715
|
-
# error message should be a developer-facing English message that helps
|
|
716
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
717
|
-
# error message is needed, put the localized message in the error details or
|
|
718
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
719
|
-
# information about the error. There is a predefined set of error detail types
|
|
720
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
721
|
-
# # Language mapping
|
|
722
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
723
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
724
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
725
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
726
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
727
|
-
# # Other uses
|
|
728
|
-
# The error model and the `Status` message can be used in a variety of
|
|
729
|
-
# environments, either with or without APIs, to provide a
|
|
730
|
-
# consistent developer experience across different environments.
|
|
731
|
-
# Example uses of this error model include:
|
|
732
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
733
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
734
|
-
# errors.
|
|
735
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
736
|
-
# have a `Status` message for error reporting.
|
|
737
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
738
|
-
# `Status` message should be used directly inside batch response, one for
|
|
739
|
-
# each error sub-response.
|
|
740
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
741
|
-
# results in its response, the status of those operations should be
|
|
742
|
-
# represented directly using the `Status` message.
|
|
743
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
744
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
708
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
709
|
+
# three pieces of data: error code, error message, and error details.
|
|
710
|
+
# You can find out more about this error model and how to work with it in the
|
|
711
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
745
712
|
# Corresponds to the JSON property `error`
|
|
746
713
|
# @return [Google::Apis::HealthcareV1alpha2::Status]
|
|
747
714
|
attr_accessor :error
|
|
@@ -965,6 +932,24 @@ module Google
|
|
|
965
932
|
# @return [Google::Apis::HealthcareV1alpha2::NotificationConfig]
|
|
966
933
|
attr_accessor :notification_config
|
|
967
934
|
|
|
935
|
+
# A list of streaming configs that configure the destinations of streaming
|
|
936
|
+
# export for every resource mutation in this FHIR store. Each store is
|
|
937
|
+
# allowed to have up to 10 streaming configs.
|
|
938
|
+
# After a new config is added, the next resource mutation will be streamed to
|
|
939
|
+
# the new location in addition to the existing ones.
|
|
940
|
+
# When a location is removed from the list, the server will simply stop
|
|
941
|
+
# streaming to that location. Before adding a new config, you must add the
|
|
942
|
+
# required
|
|
943
|
+
# [`bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#
|
|
944
|
+
# bigquery.dataEditor)
|
|
945
|
+
# role to your project's **Cloud Healthcare Service Agent**
|
|
946
|
+
# [service account](https://cloud.google.com/iam/docs/service-accounts).
|
|
947
|
+
# Some lag (typically on the order of dozens of seconds) is expected before
|
|
948
|
+
# the results show up in the streaming destination.
|
|
949
|
+
# Corresponds to the JSON property `streamConfigs`
|
|
950
|
+
# @return [Array<Google::Apis::HealthcareV1alpha2::StreamConfig>]
|
|
951
|
+
attr_accessor :stream_configs
|
|
952
|
+
|
|
968
953
|
def initialize(**args)
|
|
969
954
|
update!(**args)
|
|
970
955
|
end
|
|
@@ -978,6 +963,7 @@ module Google
|
|
|
978
963
|
@labels = args[:labels] if args.key?(:labels)
|
|
979
964
|
@name = args[:name] if args.key?(:name)
|
|
980
965
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
|
966
|
+
@stream_configs = args[:stream_configs] if args.key?(:stream_configs)
|
|
981
967
|
end
|
|
982
968
|
end
|
|
983
969
|
|
|
@@ -1572,8 +1558,8 @@ module Google
|
|
|
1572
1558
|
class ImportResourcesRequest
|
|
1573
1559
|
include Google::Apis::Core::Hashable
|
|
1574
1560
|
|
|
1575
|
-
# The content structure in the source location.
|
|
1576
|
-
# BUNDLE.
|
|
1561
|
+
# The content structure in the source location. If not specified, the server
|
|
1562
|
+
# treats the input source files as BUNDLE.
|
|
1577
1563
|
# Corresponds to the JSON property `contentStructure`
|
|
1578
1564
|
# @return [String]
|
|
1579
1565
|
attr_accessor :content_structure
|
|
@@ -2122,43 +2108,10 @@ module Google
|
|
|
2122
2108
|
|
|
2123
2109
|
# The `Status` type defines a logical error model that is suitable for
|
|
2124
2110
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
2125
|
-
# used by [gRPC](https://github.com/grpc).
|
|
2126
|
-
#
|
|
2127
|
-
#
|
|
2128
|
-
#
|
|
2129
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
2130
|
-
# message, and error details. The error code should be an enum value of
|
|
2131
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
2132
|
-
# error message should be a developer-facing English message that helps
|
|
2133
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
2134
|
-
# error message is needed, put the localized message in the error details or
|
|
2135
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
2136
|
-
# information about the error. There is a predefined set of error detail types
|
|
2137
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
2138
|
-
# # Language mapping
|
|
2139
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
2140
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
2141
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
2142
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
2143
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
2144
|
-
# # Other uses
|
|
2145
|
-
# The error model and the `Status` message can be used in a variety of
|
|
2146
|
-
# environments, either with or without APIs, to provide a
|
|
2147
|
-
# consistent developer experience across different environments.
|
|
2148
|
-
# Example uses of this error model include:
|
|
2149
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
2150
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
2151
|
-
# errors.
|
|
2152
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
2153
|
-
# have a `Status` message for error reporting.
|
|
2154
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
2155
|
-
# `Status` message should be used directly inside batch response, one for
|
|
2156
|
-
# each error sub-response.
|
|
2157
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
2158
|
-
# results in its response, the status of those operations should be
|
|
2159
|
-
# represented directly using the `Status` message.
|
|
2160
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
2161
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
2111
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
2112
|
+
# three pieces of data: error code, error message, and error details.
|
|
2113
|
+
# You can find out more about this error model and how to work with it in the
|
|
2114
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
2162
2115
|
# Corresponds to the JSON property `error`
|
|
2163
2116
|
# @return [Google::Apis::HealthcareV1alpha2::Status]
|
|
2164
2117
|
attr_accessor :error
|
|
@@ -2660,43 +2613,10 @@ module Google
|
|
|
2660
2613
|
|
|
2661
2614
|
# The `Status` type defines a logical error model that is suitable for
|
|
2662
2615
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
2663
|
-
# used by [gRPC](https://github.com/grpc).
|
|
2664
|
-
#
|
|
2665
|
-
#
|
|
2666
|
-
#
|
|
2667
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
2668
|
-
# message, and error details. The error code should be an enum value of
|
|
2669
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
2670
|
-
# error message should be a developer-facing English message that helps
|
|
2671
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
2672
|
-
# error message is needed, put the localized message in the error details or
|
|
2673
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
2674
|
-
# information about the error. There is a predefined set of error detail types
|
|
2675
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
2676
|
-
# # Language mapping
|
|
2677
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
2678
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
2679
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
2680
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
2681
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
2682
|
-
# # Other uses
|
|
2683
|
-
# The error model and the `Status` message can be used in a variety of
|
|
2684
|
-
# environments, either with or without APIs, to provide a
|
|
2685
|
-
# consistent developer experience across different environments.
|
|
2686
|
-
# Example uses of this error model include:
|
|
2687
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
2688
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
2689
|
-
# errors.
|
|
2690
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
2691
|
-
# have a `Status` message for error reporting.
|
|
2692
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
2693
|
-
# `Status` message should be used directly inside batch response, one for
|
|
2694
|
-
# each error sub-response.
|
|
2695
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
2696
|
-
# results in its response, the status of those operations should be
|
|
2697
|
-
# represented directly using the `Status` message.
|
|
2698
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
2699
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
2616
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
2617
|
+
# three pieces of data: error code, error message, and error details.
|
|
2618
|
+
# You can find out more about this error model and how to work with it in the
|
|
2619
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
2700
2620
|
class Status
|
|
2701
2621
|
include Google::Apis::Core::Hashable
|
|
2702
2622
|
|
|
@@ -2730,6 +2650,35 @@ module Google
|
|
|
2730
2650
|
end
|
|
2731
2651
|
end
|
|
2732
2652
|
|
|
2653
|
+
# This structure contains configuration for streaming FHIR export.
|
|
2654
|
+
class StreamConfig
|
|
2655
|
+
include Google::Apis::Core::Hashable
|
|
2656
|
+
|
|
2657
|
+
# The configuration for exporting to BigQuery.
|
|
2658
|
+
# Corresponds to the JSON property `bigqueryDestination`
|
|
2659
|
+
# @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirBigQueryDestination]
|
|
2660
|
+
attr_accessor :bigquery_destination
|
|
2661
|
+
|
|
2662
|
+
# Supply a FHIR resource type (such as "Patient" or "Observation").
|
|
2663
|
+
# See https://www.hl7.org/fhir/valueset-resource-types.html for a list of
|
|
2664
|
+
# all FHIR resource types.
|
|
2665
|
+
# The server will treat an empty list as an intent to stream all the
|
|
2666
|
+
# supported resource types in this FHIR store.
|
|
2667
|
+
# Corresponds to the JSON property `resourceTypes`
|
|
2668
|
+
# @return [Array<String>]
|
|
2669
|
+
attr_accessor :resource_types
|
|
2670
|
+
|
|
2671
|
+
def initialize(**args)
|
|
2672
|
+
update!(**args)
|
|
2673
|
+
end
|
|
2674
|
+
|
|
2675
|
+
# Update properties of this object
|
|
2676
|
+
def update!(**args)
|
|
2677
|
+
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
|
2678
|
+
@resource_types = args[:resource_types] if args.key?(:resource_types)
|
|
2679
|
+
end
|
|
2680
|
+
end
|
|
2681
|
+
|
|
2733
2682
|
# List of tags to be filtered.
|
|
2734
2683
|
class TagFilterList
|
|
2735
2684
|
include Google::Apis::Core::Hashable
|