google-api-client 0.30.9 → 0.30.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +89 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
- data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +32 -9
- data/generated/google/apis/bigquery_v2/representations.rb +5 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
- data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
- data/generated/google/apis/binaryauthorization_v1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
- data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
- data/generated/google/apis/cloudkms_v1/service.rb +3 -3
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +17 -24
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1139 -284
- data/generated/google/apis/compute_alpha/representations.rb +304 -1
- data/generated/google/apis/compute_alpha/service.rb +935 -23
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +554 -98
- data/generated/google/apis/compute_beta/representations.rb +117 -0
- data/generated/google/apis/compute_beta/service.rb +63 -19
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1187 -165
- data/generated/google/apis/compute_v1/representations.rb +402 -0
- data/generated/google/apis/compute_v1/service.rb +832 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +36 -0
- data/generated/google/apis/container_v1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +153 -0
- data/generated/google/apis/container_v1beta1/representations.rb +77 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +93 -2
- data/generated/google/apis/content_v2/representations.rb +37 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +86 -2
- data/generated/google/apis/content_v2_1/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
- data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +9 -75
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
- data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
- data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +42 -0
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +125 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +128 -0
- data/generated/google/apis/docs_v1/representations.rb +49 -0
- data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
- data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
- data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
- data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -1
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +10 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +21 -130
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
- data/generated/google/apis/homegraph_v1.rb +31 -0
- data/generated/google/apis/homegraph_v1/classes.rb +692 -0
- data/generated/google/apis/homegraph_v1/representations.rb +323 -0
- data/generated/google/apis/homegraph_v1/service.rb +255 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -7
- data/generated/google/apis/logging_v2/service.rb +40 -35
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1/service.rb +15 -9
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +5 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/service.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +3 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +6 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +19 -0
- data/generated/google/apis/testing_v1/representations.rb +3 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
- data/generated/google/apis/verifiedaccess_v1.rb +35 -0
- data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
- data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
- data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +204 -2375
- data/generated/google/apis/vision_v1/representations.rb +701 -1634
- data/generated/google/apis/vision_v1/service.rb +17 -17
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
- data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
- data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -2
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
- data/generated/google/apis/appstate_v1/classes.rb +0 -154
- data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1beta2
|
28
28
|
VERSION = 'V1beta2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190804'
|
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'
|
@@ -378,8 +378,7 @@ module Google
|
|
378
378
|
# @return [Array<Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2IndexField>]
|
379
379
|
attr_accessor :fields
|
380
380
|
|
381
|
-
# Output only.
|
382
|
-
# A server defined name for this index.
|
381
|
+
# Output only. A server defined name for this index.
|
383
382
|
# The form of this name for composite indexes will be:
|
384
383
|
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
385
384
|
# /indexes/`composite_index_id``
|
@@ -398,8 +397,7 @@ module Google
|
|
398
397
|
# @return [String]
|
399
398
|
attr_accessor :query_scope
|
400
399
|
|
401
|
-
# Output only.
|
402
|
-
# The serving state of the index.
|
400
|
+
# Output only. The serving state of the index.
|
403
401
|
# Corresponds to the JSON property `state`
|
404
402
|
# @return [String]
|
405
403
|
attr_accessor :state
|
@@ -421,8 +419,8 @@ module Google
|
|
421
419
|
class GoogleFirestoreAdminV1beta2IndexConfig
|
422
420
|
include Google::Apis::Core::Hashable
|
423
421
|
|
424
|
-
# Output only.
|
425
|
-
#
|
422
|
+
# Output only. Specifies the resource name of the `Field` from which this field'
|
423
|
+
# s
|
426
424
|
# index configuration is set (when `uses_ancestor_config` is true),
|
427
425
|
# or from which it *would* be set if this field had no index configuration
|
428
426
|
# (when `uses_ancestor_config` is false).
|
@@ -445,8 +443,7 @@ module Google
|
|
445
443
|
attr_accessor :reverting
|
446
444
|
alias_method :reverting?, :reverting
|
447
445
|
|
448
|
-
# Output only.
|
449
|
-
# When true, the `Field`'s index configuration is set from the
|
446
|
+
# Output only. When true, the `Field`'s index configuration is set from the
|
450
447
|
# configuration specified by the `ancestor_field`.
|
451
448
|
# When false, the `Field`'s index configuration is defined explicitly.
|
452
449
|
# Corresponds to the JSON property `usesAncestorConfig`
|
@@ -680,43 +677,10 @@ module Google
|
|
680
677
|
|
681
678
|
# The `Status` type defines a logical error model that is suitable for
|
682
679
|
# different programming environments, including REST APIs and RPC APIs. It is
|
683
|
-
# used by [gRPC](https://github.com/grpc).
|
684
|
-
#
|
685
|
-
#
|
686
|
-
#
|
687
|
-
# The `Status` message contains three pieces of data: error code, error
|
688
|
-
# message, and error details. The error code should be an enum value of
|
689
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
690
|
-
# error message should be a developer-facing English message that helps
|
691
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
692
|
-
# error message is needed, put the localized message in the error details or
|
693
|
-
# localize it in the client. The optional error details may contain arbitrary
|
694
|
-
# information about the error. There is a predefined set of error detail types
|
695
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
696
|
-
# # Language mapping
|
697
|
-
# The `Status` message is the logical representation of the error model, but it
|
698
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
699
|
-
# exposed in different client libraries and different wire protocols, it can be
|
700
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
701
|
-
# in Java, but more likely mapped to some error codes in C.
|
702
|
-
# # Other uses
|
703
|
-
# The error model and the `Status` message can be used in a variety of
|
704
|
-
# environments, either with or without APIs, to provide a
|
705
|
-
# consistent developer experience across different environments.
|
706
|
-
# Example uses of this error model include:
|
707
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
708
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
709
|
-
# errors.
|
710
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
711
|
-
# have a `Status` message for error reporting.
|
712
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
713
|
-
# `Status` message should be used directly inside batch response, one for
|
714
|
-
# each error sub-response.
|
715
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
716
|
-
# results in its response, the status of those operations should be
|
717
|
-
# represented directly using the `Status` message.
|
718
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
719
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
680
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
681
|
+
# three pieces of data: error code, error message, and error details.
|
682
|
+
# You can find out more about this error model and how to work with it in the
|
683
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
720
684
|
# Corresponds to the JSON property `error`
|
721
685
|
# @return [Google::Apis::FirestoreV1beta2::Status]
|
722
686
|
attr_accessor :error
|
@@ -731,7 +695,7 @@ module Google
|
|
731
695
|
|
732
696
|
# The server-assigned name, which is only unique within the same service that
|
733
697
|
# originally returns it. If you use the default HTTP mapping, the
|
734
|
-
# `name` should
|
698
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
735
699
|
# Corresponds to the JSON property `name`
|
736
700
|
# @return [String]
|
737
701
|
attr_accessor :name
|
@@ -764,43 +728,10 @@ module Google
|
|
764
728
|
|
765
729
|
# The `Status` type defines a logical error model that is suitable for
|
766
730
|
# different programming environments, including REST APIs and RPC APIs. It is
|
767
|
-
# used by [gRPC](https://github.com/grpc).
|
768
|
-
#
|
769
|
-
#
|
770
|
-
#
|
771
|
-
# The `Status` message contains three pieces of data: error code, error
|
772
|
-
# message, and error details. The error code should be an enum value of
|
773
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
774
|
-
# error message should be a developer-facing English message that helps
|
775
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
776
|
-
# error message is needed, put the localized message in the error details or
|
777
|
-
# localize it in the client. The optional error details may contain arbitrary
|
778
|
-
# information about the error. There is a predefined set of error detail types
|
779
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
780
|
-
# # Language mapping
|
781
|
-
# The `Status` message is the logical representation of the error model, but it
|
782
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
783
|
-
# exposed in different client libraries and different wire protocols, it can be
|
784
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
785
|
-
# in Java, but more likely mapped to some error codes in C.
|
786
|
-
# # Other uses
|
787
|
-
# The error model and the `Status` message can be used in a variety of
|
788
|
-
# environments, either with or without APIs, to provide a
|
789
|
-
# consistent developer experience across different environments.
|
790
|
-
# Example uses of this error model include:
|
791
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
792
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
793
|
-
# errors.
|
794
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
795
|
-
# have a `Status` message for error reporting.
|
796
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
797
|
-
# `Status` message should be used directly inside batch response, one for
|
798
|
-
# each error sub-response.
|
799
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
800
|
-
# results in its response, the status of those operations should be
|
801
|
-
# represented directly using the `Status` message.
|
802
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
803
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
731
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
732
|
+
# three pieces of data: error code, error message, and error details.
|
733
|
+
# You can find out more about this error model and how to work with it in the
|
734
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
804
735
|
class Status
|
805
736
|
include Google::Apis::Core::Hashable
|
806
737
|
|
@@ -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 = '20190901'
|
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'
|
@@ -311,7 +311,7 @@ module Google
|
|
311
311
|
end
|
312
312
|
end
|
313
313
|
|
314
|
-
#
|
314
|
+
# Masks a string by replacing its characters with a fixed character.
|
315
315
|
class CharacterMaskConfig
|
316
316
|
include Google::Apis::Core::Hashable
|
317
317
|
|
@@ -370,16 +370,16 @@ module Google
|
|
370
370
|
end
|
371
371
|
end
|
372
372
|
|
373
|
-
# Pseudonymization method that generates surrogates
|
374
|
-
# Uses SHA-256.
|
375
|
-
# Outputs a base64-encoded representation of the hashed output
|
376
|
-
#
|
373
|
+
# Pseudonymization method that generates surrogates using cryptographic
|
374
|
+
# hashing. Uses SHA-256.
|
375
|
+
# Outputs a base64-encoded representation of the hashed output.
|
376
|
+
# For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
|
377
377
|
class CryptoHashConfig
|
378
378
|
include Google::Apis::Core::Hashable
|
379
379
|
|
380
380
|
# An AES 128/192/256 bit key. Causes the hash to be computed based on this
|
381
|
-
# key. A default key is generated for each Deidentify operation and is
|
382
|
-
#
|
381
|
+
# key. A default key is generated for each Deidentify operation and is
|
382
|
+
# used when crypto_key is not specified.
|
383
383
|
# Corresponds to the JSON property `cryptoKey`
|
384
384
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
385
385
|
# @return [String]
|
@@ -427,14 +427,15 @@ module Google
|
|
427
427
|
end
|
428
428
|
end
|
429
429
|
|
430
|
-
#
|
430
|
+
# Shifts a date forward or backward in time by a random amount that is
|
431
431
|
# consistent for a given patient and crypto key combination.
|
432
432
|
class DateShiftConfig
|
433
433
|
include Google::Apis::Core::Hashable
|
434
434
|
|
435
435
|
# An AES 128/192/256 bit key. Causes the shift to be computed based on this
|
436
436
|
# key and the patient ID. A default key is generated for each
|
437
|
-
#
|
437
|
+
# de-identification operation and is used when crypto_key is not
|
438
|
+
# specified.
|
438
439
|
# Corresponds to the JSON property `cryptoKey`
|
439
440
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
440
441
|
# @return [String]
|
@@ -457,23 +458,22 @@ module Google
|
|
457
458
|
class DeidentifyConfig
|
458
459
|
include Google::Apis::Core::Hashable
|
459
460
|
|
460
|
-
# Specifies the parameters needed for de-identification of DICOM stores.
|
461
|
+
# Specifies the parameters needed for the de-identification of DICOM stores.
|
461
462
|
# Corresponds to the JSON property `dicom`
|
462
463
|
# @return [Google::Apis::HealthcareV1alpha2::DicomConfig]
|
463
464
|
attr_accessor :dicom
|
464
465
|
|
465
|
-
# Specifies how de-identification of a FHIR store
|
466
|
+
# Specifies how to handle the de-identification of a FHIR store.
|
466
467
|
# Corresponds to the JSON property `fhir`
|
467
468
|
# @return [Google::Apis::HealthcareV1alpha2::FhirConfig]
|
468
469
|
attr_accessor :fhir
|
469
470
|
|
470
|
-
# Specifies how de-identification of image
|
471
|
+
# Specifies how to handle the de-identification of image pixels.
|
471
472
|
# Corresponds to the JSON property `image`
|
472
473
|
# @return [Google::Apis::HealthcareV1alpha2::ImageConfig]
|
473
474
|
attr_accessor :image
|
474
475
|
|
475
|
-
# Configures de-identification of text
|
476
|
-
# source_dataset.
|
476
|
+
# Configures the de-identification of text in `source_dataset`.
|
477
477
|
# Corresponds to the JSON property `text`
|
478
478
|
# @return [Google::Apis::HealthcareV1alpha2::TextConfig]
|
479
479
|
attr_accessor :text
|
@@ -605,21 +605,21 @@ module Google
|
|
605
605
|
end
|
606
606
|
end
|
607
607
|
|
608
|
-
# Specifies the parameters needed for de-identification of DICOM stores.
|
608
|
+
# Specifies the parameters needed for the de-identification of DICOM stores.
|
609
609
|
class DicomConfig
|
610
610
|
include Google::Apis::Core::Hashable
|
611
611
|
|
612
|
-
# Tag filtering profile that determines
|
612
|
+
# Tag filtering profile that determines the tags to keep or remove.
|
613
613
|
# Corresponds to the JSON property `filterProfile`
|
614
614
|
# @return [String]
|
615
615
|
attr_accessor :filter_profile
|
616
616
|
|
617
|
-
# List of tags to
|
617
|
+
# List of tags to filter.
|
618
618
|
# Corresponds to the JSON property `keepList`
|
619
619
|
# @return [Google::Apis::HealthcareV1alpha2::TagFilterList]
|
620
620
|
attr_accessor :keep_list
|
621
621
|
|
622
|
-
# List of tags to
|
622
|
+
# List of tags to filter.
|
623
623
|
# Corresponds to the JSON property `removeList`
|
624
624
|
# @return [Google::Apis::HealthcareV1alpha2::TagFilterList]
|
625
625
|
attr_accessor :remove_list
|
@@ -831,12 +831,12 @@ module Google
|
|
831
831
|
end
|
832
832
|
end
|
833
833
|
|
834
|
-
# Specifies how de-identification of a FHIR store
|
834
|
+
# Specifies how to handle the de-identification of a FHIR store.
|
835
835
|
class FhirConfig
|
836
836
|
include Google::Apis::Core::Hashable
|
837
837
|
|
838
838
|
# Specifies FHIR paths to match and how to transform them. Any field that
|
839
|
-
# is not matched by a FieldMetadata
|
839
|
+
# is not matched by a FieldMetadata is passed through to the output
|
840
840
|
# dataset unmodified. All extensions are removed in the output.
|
841
841
|
# Corresponds to the JSON property `fieldMetadataList`
|
842
842
|
# @return [Array<Google::Apis::HealthcareV1alpha2::FieldMetadata>]
|
@@ -979,7 +979,7 @@ module Google
|
|
979
979
|
end
|
980
980
|
end
|
981
981
|
|
982
|
-
# Specifies FHIR paths to match
|
982
|
+
# Specifies FHIR paths to match and how to handle the de-identification of
|
983
983
|
# matching fields.
|
984
984
|
class FieldMetadata
|
985
985
|
include Google::Apis::Core::Hashable
|
@@ -989,12 +989,12 @@ module Google
|
|
989
989
|
# @return [String]
|
990
990
|
attr_accessor :action
|
991
991
|
|
992
|
-
# List of paths to FHIR fields to
|
992
|
+
# List of paths to FHIR fields to redact. Each path is a
|
993
993
|
# period-separated list where each component is either a field name or
|
994
|
-
# FHIR type name
|
994
|
+
# FHIR type name. For example: Patient, HumanName.
|
995
995
|
# For "choice" types (those defined in the FHIR spec with the form:
|
996
|
-
# field[x])
|
997
|
-
# matched by "Deceased.Age.unit".
|
996
|
+
# field[x]), use two separate components. For example,
|
997
|
+
# "deceasedAge.unit" is matched by "Deceased.Age.unit".
|
998
998
|
# Supported types are: AdministrativeGenderCode, Code, Date, DateTime,
|
999
999
|
# Decimal, HumanName, Id, LanguageCode, Markdown, MimeTypeCode, Oid,
|
1000
1000
|
# String, Uri, Uuid, Xhtml.
|
@@ -1219,10 +1219,55 @@ module Google
|
|
1219
1219
|
end
|
1220
1220
|
end
|
1221
1221
|
|
1222
|
-
#
|
1222
|
+
# Response when errors occur while exporting resources.
|
1223
|
+
# This structure is included in the
|
1224
|
+
# error details to describe the
|
1225
|
+
# detailed outcome. It is only included when the operation finishes with
|
1226
|
+
# errors.
|
1227
|
+
class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesErrorDetails
|
1228
|
+
include Google::Apis::Core::Hashable
|
1229
|
+
|
1230
|
+
# The number of resources that had errors.
|
1231
|
+
# Corresponds to the JSON property `errorCount`
|
1232
|
+
# @return [Fixnum]
|
1233
|
+
attr_accessor :error_count
|
1234
|
+
|
1235
|
+
# The name of the FHIR store where resources have been exported, in the
|
1236
|
+
# format
|
1237
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1238
|
+
# fhirStores/`fhir_store_id``.
|
1239
|
+
# Corresponds to the JSON property `fhirStore`
|
1240
|
+
# @return [String]
|
1241
|
+
attr_accessor :fhir_store
|
1242
|
+
|
1243
|
+
# The total number of resources included in the export operation. This is
|
1244
|
+
# the sum of the success and error counts.
|
1245
|
+
# Corresponds to the JSON property `resourceCount`
|
1246
|
+
# @return [Fixnum]
|
1247
|
+
attr_accessor :resource_count
|
1248
|
+
|
1249
|
+
# The number of resources that were exported.
|
1250
|
+
# Corresponds to the JSON property `successCount`
|
1251
|
+
# @return [Fixnum]
|
1252
|
+
attr_accessor :success_count
|
1253
|
+
|
1254
|
+
def initialize(**args)
|
1255
|
+
update!(**args)
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
# Update properties of this object
|
1259
|
+
def update!(**args)
|
1260
|
+
@error_count = args[:error_count] if args.key?(:error_count)
|
1261
|
+
@fhir_store = args[:fhir_store] if args.key?(:fhir_store)
|
1262
|
+
@resource_count = args[:resource_count] if args.key?(:resource_count)
|
1263
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# Response when all resources export successfully.
|
1223
1268
|
# This structure will be included in the
|
1224
1269
|
# response to describe the detailed
|
1225
|
-
# outcome. It will only be included when the operation finishes.
|
1270
|
+
# outcome. It will only be included when the operation finishes successfully.
|
1226
1271
|
class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesResponse
|
1227
1272
|
include Google::Apis::Core::Hashable
|
1228
1273
|
|
@@ -1532,11 +1577,11 @@ module Google
|
|
1532
1577
|
end
|
1533
1578
|
end
|
1534
1579
|
|
1535
|
-
# Specifies how de-identification of image
|
1580
|
+
# Specifies how to handle the de-identification of image pixels.
|
1536
1581
|
class ImageConfig
|
1537
1582
|
include Google::Apis::Core::Hashable
|
1538
1583
|
|
1539
|
-
# Determines how to redact text from
|
1584
|
+
# Determines how to redact text from images.
|
1540
1585
|
# Corresponds to the JSON property `textRedactionMode`
|
1541
1586
|
# @return [String]
|
1542
1587
|
attr_accessor :text_redaction_mode
|
@@ -1631,20 +1676,20 @@ module Google
|
|
1631
1676
|
class InfoTypeTransformation
|
1632
1677
|
include Google::Apis::Core::Hashable
|
1633
1678
|
|
1634
|
-
#
|
1679
|
+
# Masks a string by replacing its characters with a fixed character.
|
1635
1680
|
# Corresponds to the JSON property `characterMaskConfig`
|
1636
1681
|
# @return [Google::Apis::HealthcareV1alpha2::CharacterMaskConfig]
|
1637
1682
|
attr_accessor :character_mask_config
|
1638
1683
|
|
1639
|
-
# Pseudonymization method that generates surrogates
|
1640
|
-
# Uses SHA-256.
|
1641
|
-
# Outputs a base64-encoded representation of the hashed output
|
1642
|
-
#
|
1684
|
+
# Pseudonymization method that generates surrogates using cryptographic
|
1685
|
+
# hashing. Uses SHA-256.
|
1686
|
+
# Outputs a base64-encoded representation of the hashed output.
|
1687
|
+
# For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
|
1643
1688
|
# Corresponds to the JSON property `cryptoHashConfig`
|
1644
1689
|
# @return [Google::Apis::HealthcareV1alpha2::CryptoHashConfig]
|
1645
1690
|
attr_accessor :crypto_hash_config
|
1646
1691
|
|
1647
|
-
#
|
1692
|
+
# Shifts a date forward or backward in time by a random amount that is
|
1648
1693
|
# consistent for a given patient and crypto key combination.
|
1649
1694
|
# Corresponds to the JSON property `dateShiftConfig`
|
1650
1695
|
# @return [Google::Apis::HealthcareV1alpha2::DateShiftConfig]
|
@@ -1656,15 +1701,15 @@ module Google
|
|
1656
1701
|
# @return [Array<String>]
|
1657
1702
|
attr_accessor :info_types
|
1658
1703
|
|
1659
|
-
#
|
1660
|
-
#
|
1704
|
+
# Defines how to redact sensitive values. Default behavior is erase.
|
1705
|
+
# For example, "My name is Jake." becomes "My name is ."
|
1661
1706
|
# Corresponds to the JSON property `redactConfig`
|
1662
1707
|
# @return [Google::Apis::HealthcareV1alpha2::RedactConfig]
|
1663
1708
|
attr_accessor :redact_config
|
1664
1709
|
|
1665
1710
|
# When using the INSPECT_AND_TRANSFORM action, each match is replaced with
|
1666
|
-
# the name of the info_type
|
1667
|
-
# [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
|
1711
|
+
# the name of the `info_type`. For example, "My name is Jake" becomes "My name
|
1712
|
+
# is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
|
1668
1713
|
# Corresponds to the JSON property `replaceWithInfoTypeConfig`
|
1669
1714
|
# @return [Google::Apis::HealthcareV1alpha2::ReplaceWithInfoTypeConfig]
|
1670
1715
|
attr_accessor :replace_with_info_type_config
|
@@ -2423,8 +2468,8 @@ module Google
|
|
2423
2468
|
end
|
2424
2469
|
end
|
2425
2470
|
|
2426
|
-
#
|
2427
|
-
#
|
2471
|
+
# Defines how to redact sensitive values. Default behavior is erase.
|
2472
|
+
# For example, "My name is Jake." becomes "My name is ."
|
2428
2473
|
class RedactConfig
|
2429
2474
|
include Google::Apis::Core::Hashable
|
2430
2475
|
|
@@ -2438,8 +2483,8 @@ module Google
|
|
2438
2483
|
end
|
2439
2484
|
|
2440
2485
|
# When using the INSPECT_AND_TRANSFORM action, each match is replaced with
|
2441
|
-
# the name of the info_type
|
2442
|
-
# [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
|
2486
|
+
# the name of the `info_type`. For example, "My name is Jake" becomes "My name
|
2487
|
+
# is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
|
2443
2488
|
class ReplaceWithInfoTypeConfig
|
2444
2489
|
include Google::Apis::Core::Hashable
|
2445
2490
|
|
@@ -2507,8 +2552,9 @@ module Google
|
|
2507
2552
|
include Google::Apis::Core::Hashable
|
2508
2553
|
|
2509
2554
|
# The FHIR resource type to search, such as Patient or Observation. For a
|
2510
|
-
# complete list, see the
|
2511
|
-
#
|
2555
|
+
# complete list, see the FHIR Resource Index
|
2556
|
+
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
2557
|
+
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
|
2512
2558
|
# Corresponds to the JSON property `resourceType`
|
2513
2559
|
# @return [String]
|
2514
2560
|
attr_accessor :resource_type
|
@@ -2778,14 +2824,14 @@ module Google
|
|
2778
2824
|
end
|
2779
2825
|
end
|
2780
2826
|
|
2781
|
-
# List of tags to
|
2827
|
+
# List of tags to filter.
|
2782
2828
|
class TagFilterList
|
2783
2829
|
include Google::Apis::Core::Hashable
|
2784
2830
|
|
2785
|
-
# Tags to
|
2831
|
+
# Tags to filter. Tags must be DICOM Data Elements, File Meta
|
2786
2832
|
# Elements, or Directory Structuring Elements, as defined at:
|
2787
2833
|
# http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,.
|
2788
|
-
# They may be provided by "Keyword" or "Tag". For example "PatientID",
|
2834
|
+
# They may be provided by "Keyword" or "Tag". For example, "PatientID",
|
2789
2835
|
# "00100010".
|
2790
2836
|
# Corresponds to the JSON property `tags`
|
2791
2837
|
# @return [Array<String>]
|