google-apis-healthcare_v1beta1 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/healthcare_v1beta1.rb +1 -1
- data/lib/google/apis/healthcare_v1beta1/classes.rb +209 -316
- data/lib/google/apis/healthcare_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/healthcare_v1beta1/representations.rb +0 -60
- data/lib/google/apis/healthcare_v1beta1/service.rb +482 -249
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f41ab2f64221a62fd8b7590561637dff3d5eab00792cd7ad65270326721e858
|
4
|
+
data.tar.gz: 6b896966e7eee0b3ee7b4b79e0b4e47c17a2150e279cd1035f8da4a5b0141d5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddd2ae8805f0a594cf9cbc1c37262d562d292c70cc802e1eb071ab58c7e17c3ca430c48d01a781f8cf34497fce4d06c57d771764842a28298e736bbfaffb54be
|
7
|
+
data.tar.gz: ff79204a9e1fd37885551471b0078281fb50be9ea1bcc3b7161b8f04a035ae1acf51517fb822e852f2fc07ca8dde49999bd79afefc16cd1a8d3268b580010be7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-healthcare_v1beta1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-04-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210414
|
6
|
+
|
7
|
+
### v0.6.0 (2021-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210317
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-18)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210301
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210217
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-18)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210205
|
23
|
+
|
3
24
|
### v0.2.0 (2021-02-05)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210203
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -24,25 +24,27 @@ module Google
|
|
24
24
|
|
25
25
|
# Activates the latest revision of the specified Consent by committing a new
|
26
26
|
# revision with `state` updated to `ACTIVE`. If the latest revision of the given
|
27
|
-
#
|
27
|
+
# Consent is in the `ACTIVE` state, no new revision is committed. A
|
28
|
+
# FAILED_PRECONDITION error occurs if the latest revision of the given consent
|
29
|
+
# is in the `REJECTED` or `REVOKED` state.
|
28
30
|
class ActivateConsentRequest
|
29
31
|
include Google::Apis::Core::Hashable
|
30
32
|
|
31
|
-
# Required. The resource name of the
|
32
|
-
#
|
33
|
-
# datasets/`dataset_id`/consentStores/`consent_store_id`/
|
34
|
-
# consent_artifact_id``. If the draft
|
35
|
-
#
|
33
|
+
# Required. The resource name of the Consent artifact that contains
|
34
|
+
# documentation of the user's consent, of the form `projects/`project_id`/
|
35
|
+
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
36
|
+
# consentArtifacts/`consent_artifact_id``. If the draft Consent had a Consent
|
37
|
+
# artifact, this Consent artifact overwrites it.
|
36
38
|
# Corresponds to the JSON property `consentArtifact`
|
37
39
|
# @return [String]
|
38
40
|
attr_accessor :consent_artifact
|
39
41
|
|
40
|
-
# Timestamp in UTC of when this
|
42
|
+
# Timestamp in UTC of when this Consent is considered expired.
|
41
43
|
# Corresponds to the JSON property `expireTime`
|
42
44
|
# @return [String]
|
43
45
|
attr_accessor :expire_time
|
44
46
|
|
45
|
-
# The time to live for this
|
47
|
+
# The time to live for this Consent from when it is marked as active.
|
46
48
|
# Corresponds to the JSON property `ttl`
|
47
49
|
# @return [String]
|
48
50
|
attr_accessor :ttl
|
@@ -88,7 +90,7 @@ module Google
|
|
88
90
|
# @return [Array<Google::Apis::HealthcareV1beta1::Entity>]
|
89
91
|
attr_accessor :entities
|
90
92
|
|
91
|
-
# entity_mentions contains all the annotated medical entities that were
|
93
|
+
# entity_mentions contains all the annotated medical entities that were
|
92
94
|
# mentioned in the provided document.
|
93
95
|
# Corresponds to the JSON property `entityMentions`
|
94
96
|
# @return [Array<Google::Apis::HealthcareV1beta1::EntityMention>]
|
@@ -276,13 +278,13 @@ module Google
|
|
276
278
|
end
|
277
279
|
end
|
278
280
|
|
279
|
-
# An attribute value for a
|
280
|
-
# corresponding AttributeDefinition in the consent store that defines the
|
281
|
+
# An attribute value for a Consent or User data mapping. Each Attribute must
|
282
|
+
# have a corresponding AttributeDefinition in the consent store that defines the
|
281
283
|
# default and allowed values.
|
282
284
|
class Attribute
|
283
285
|
include Google::Apis::Core::Hashable
|
284
286
|
|
285
|
-
# Indicates the name of an attribute defined
|
287
|
+
# Indicates the name of an attribute defined in the consent store.
|
286
288
|
# Corresponds to the JSON property `attributeDefinitionId`
|
287
289
|
# @return [String]
|
288
290
|
attr_accessor :attribute_definition_id
|
@@ -323,27 +325,28 @@ module Google
|
|
323
325
|
# @return [String]
|
324
326
|
attr_accessor :category
|
325
327
|
|
326
|
-
# Default values of the attribute in
|
327
|
-
# specified, it defaults to an empty value.
|
328
|
+
# Optional. Default values of the attribute in Consents. If no default values
|
329
|
+
# are specified, it defaults to an empty value.
|
328
330
|
# Corresponds to the JSON property `consentDefaultValues`
|
329
331
|
# @return [Array<String>]
|
330
332
|
attr_accessor :consent_default_values
|
331
333
|
|
332
|
-
# Default value of the attribute in
|
333
|
-
# specified, it defaults to an empty value. This field is only
|
334
|
-
# attributes of the category `RESOURCE`.
|
334
|
+
# Optional. Default value of the attribute in User data mappings. If no default
|
335
|
+
# value is specified, it defaults to an empty value. This field is only
|
336
|
+
# applicable to attributes of the category `RESOURCE`.
|
335
337
|
# Corresponds to the JSON property `dataMappingDefaultValue`
|
336
338
|
# @return [String]
|
337
339
|
attr_accessor :data_mapping_default_value
|
338
340
|
|
339
|
-
# A description of the attribute.
|
341
|
+
# Optional. A description of the attribute.
|
340
342
|
# Corresponds to the JSON property `description`
|
341
343
|
# @return [String]
|
342
344
|
attr_accessor :description
|
343
345
|
|
344
|
-
# Resource name of the
|
346
|
+
# Resource name of the Attribute definition, of the form `projects/`project_id`/
|
345
347
|
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
346
|
-
# attributeDefinitions/`attribute_definition_id``.
|
348
|
+
# attributeDefinitions/`attribute_definition_id``. Cannot be changed after
|
349
|
+
# creation.
|
347
350
|
# Corresponds to the JSON property `name`
|
348
351
|
# @return [String]
|
349
352
|
attr_accessor :name
|
@@ -581,7 +584,7 @@ module Google
|
|
581
584
|
end
|
582
585
|
end
|
583
586
|
|
584
|
-
# Checks if a particular data_id of a User data mapping in the given
|
587
|
+
# Checks if a particular data_id of a User data mapping in the given consent
|
585
588
|
# store is consented for a given use.
|
586
589
|
class CheckDataAccessRequest
|
587
590
|
include Google::Apis::Core::Hashable
|
@@ -591,8 +594,8 @@ module Google
|
|
591
594
|
# @return [Google::Apis::HealthcareV1beta1::ConsentList]
|
592
595
|
attr_accessor :consent_list
|
593
596
|
|
594
|
-
# The unique identifier of the
|
595
|
-
# given
|
597
|
+
# Required. The unique identifier of the resource to check access for. This
|
598
|
+
# identifier must correspond to a User data mapping in the given consent store.
|
596
599
|
# Corresponds to the JSON property `dataId`
|
597
600
|
# @return [String]
|
598
601
|
attr_accessor :data_id
|
@@ -602,8 +605,8 @@ module Google
|
|
602
605
|
# @return [Hash<String,String>]
|
603
606
|
attr_accessor :request_attributes
|
604
607
|
|
605
|
-
# The view for CheckDataAccessResponse. If unspecified, defaults to `
|
606
|
-
# returns `consented` as `TRUE` or `FALSE`.
|
608
|
+
# Optional. The view for CheckDataAccessResponse. If unspecified, defaults to `
|
609
|
+
# BASIC` and returns `consented` as `TRUE` or `FALSE`.
|
607
610
|
# Corresponds to the JSON property `responseView`
|
608
611
|
# @return [String]
|
609
612
|
attr_accessor :response_view
|
@@ -621,7 +624,7 @@ module Google
|
|
621
624
|
end
|
622
625
|
end
|
623
626
|
|
624
|
-
# Checks if a particular data_id of a User data mapping in the given
|
627
|
+
# Checks if a particular data_id of a User data mapping in the given consent
|
625
628
|
# store is consented for a given use.
|
626
629
|
class CheckDataAccessResponse
|
627
630
|
include Google::Apis::Core::Hashable
|
@@ -631,7 +634,7 @@ module Google
|
|
631
634
|
# @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
|
632
635
|
attr_accessor :consent_details
|
633
636
|
|
634
|
-
# Whether the requested
|
637
|
+
# Whether the requested resource is consented for the given use.
|
635
638
|
# Corresponds to the JSON property `consented`
|
636
639
|
# @return [Boolean]
|
637
640
|
attr_accessor :consented
|
@@ -667,11 +670,11 @@ module Google
|
|
667
670
|
end
|
668
671
|
end
|
669
672
|
|
670
|
-
# Represents
|
673
|
+
# Represents a user's consent.
|
671
674
|
class Consent
|
672
675
|
include Google::Apis::Core::Hashable
|
673
676
|
|
674
|
-
# Required. The resource name of the
|
677
|
+
# Required. The resource name of the Consent artifact that contains proof of the
|
675
678
|
# end user's consent, of the form `projects/`project_id`/locations/`location_id`/
|
676
679
|
# datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
|
677
680
|
# consent_artifact_id``.
|
@@ -679,17 +682,17 @@ module Google
|
|
679
682
|
# @return [String]
|
680
683
|
attr_accessor :consent_artifact
|
681
684
|
|
682
|
-
# Timestamp in UTC of when this
|
685
|
+
# Timestamp in UTC of when this Consent is considered expired.
|
683
686
|
# Corresponds to the JSON property `expireTime`
|
684
687
|
# @return [String]
|
685
688
|
attr_accessor :expire_time
|
686
689
|
|
687
|
-
# User-supplied key-value pairs used to organize
|
688
|
-
# keys must: - be between 1 and 63 characters long - have a UTF-8
|
689
|
-
# maximum 128 bytes - begin with a letter - consist of up to 63
|
690
|
-
# including lowercase letters, numeric characters, underscores, and
|
691
|
-
# Metadata values must be: - be between 1 and 63 characters long - have a
|
692
|
-
# encoding of maximum 128 bytes - consist of up to 63 characters including
|
690
|
+
# Optional. User-supplied key-value pairs used to organize Consent resources.
|
691
|
+
# Metadata keys must: - be between 1 and 63 characters long - have a UTF-8
|
692
|
+
# encoding of maximum 128 bytes - begin with a letter - consist of up to 63
|
693
|
+
# characters including lowercase letters, numeric characters, underscores, and
|
694
|
+
# dashes Metadata values must be: - be between 1 and 63 characters long - have a
|
695
|
+
# UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including
|
693
696
|
# lowercase letters, numeric characters, underscores, and dashes No more than 64
|
694
697
|
# metadata entries can be associated with a given consent.
|
695
698
|
# Corresponds to the JSON property `metadata`
|
@@ -698,12 +701,12 @@ module Google
|
|
698
701
|
|
699
702
|
# Resource name of the Consent, of the form `projects/`project_id`/locations/`
|
700
703
|
# location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`
|
701
|
-
# consent_id``.
|
704
|
+
# consent_id``. Cannot be changed after creation.
|
702
705
|
# Corresponds to the JSON property `name`
|
703
706
|
# @return [String]
|
704
707
|
attr_accessor :name
|
705
708
|
|
706
|
-
# Represents
|
709
|
+
# Optional. Represents a user's consent in terms of the resources that can be
|
707
710
|
# accessed and under what conditions.
|
708
711
|
# Corresponds to the JSON property `policies`
|
709
712
|
# @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy>]
|
@@ -714,19 +717,19 @@ module Google
|
|
714
717
|
# @return [String]
|
715
718
|
attr_accessor :revision_create_time
|
716
719
|
|
717
|
-
# Output only. The revision ID of the
|
720
|
+
# Output only. The revision ID of the Consent. The format is an 8-character
|
718
721
|
# hexadecimal string. Refer to a specific revision of a Consent by appending `@`
|
719
722
|
# revision_id`` to the Consent's resource name.
|
720
723
|
# Corresponds to the JSON property `revisionId`
|
721
724
|
# @return [String]
|
722
725
|
attr_accessor :revision_id
|
723
726
|
|
724
|
-
# Indicates the current state of this
|
727
|
+
# Required. Indicates the current state of this Consent.
|
725
728
|
# Corresponds to the JSON property `state`
|
726
729
|
# @return [String]
|
727
730
|
attr_accessor :state
|
728
731
|
|
729
|
-
# Input only. The time to live for this
|
732
|
+
# Input only. The time to live for this Consent from when it is created.
|
730
733
|
# Corresponds to the JSON property `ttl`
|
731
734
|
# @return [String]
|
732
735
|
attr_accessor :ttl
|
@@ -755,16 +758,18 @@ module Google
|
|
755
758
|
end
|
756
759
|
end
|
757
760
|
|
758
|
-
#
|
761
|
+
# Documentation of a user's consent.
|
759
762
|
class ConsentArtifact
|
760
763
|
include Google::Apis::Core::Hashable
|
761
764
|
|
762
|
-
# Screenshots
|
765
|
+
# Optional. Screenshots, PDFs, or other binary information documenting the user'
|
766
|
+
# s consent.
|
763
767
|
# Corresponds to the JSON property `consentContentScreenshots`
|
764
768
|
# @return [Array<Google::Apis::HealthcareV1beta1::Image>]
|
765
769
|
attr_accessor :consent_content_screenshots
|
766
770
|
|
767
|
-
# An string indicating the version of the consent
|
771
|
+
# Optional. An string indicating the version of the consent information shown to
|
772
|
+
# the user.
|
768
773
|
# Corresponds to the JSON property `consentContentVersion`
|
769
774
|
# @return [String]
|
770
775
|
attr_accessor :consent_content_version
|
@@ -774,15 +779,15 @@ module Google
|
|
774
779
|
# @return [Google::Apis::HealthcareV1beta1::Signature]
|
775
780
|
attr_accessor :guardian_signature
|
776
781
|
|
777
|
-
# Metadata associated with the
|
778
|
-
# or user agent version.
|
782
|
+
# Optional. Metadata associated with the Consent artifact. For example, the
|
783
|
+
# consent locale or user agent version.
|
779
784
|
# Corresponds to the JSON property `metadata`
|
780
785
|
# @return [Hash<String,String>]
|
781
786
|
attr_accessor :metadata
|
782
787
|
|
783
788
|
# Resource name of the Consent artifact, of the form `projects/`project_id`/
|
784
789
|
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
785
|
-
# consentArtifacts/`consent_artifact_id``.
|
790
|
+
# consentArtifacts/`consent_artifact_id``. Cannot be changed after creation.
|
786
791
|
# Corresponds to the JSON property `name`
|
787
792
|
# @return [String]
|
788
793
|
attr_accessor :name
|
@@ -859,36 +864,39 @@ module Google
|
|
859
864
|
end
|
860
865
|
end
|
861
866
|
|
862
|
-
# Represents a
|
867
|
+
# Represents a consent store.
|
863
868
|
class ConsentStore
|
864
869
|
include Google::Apis::Core::Hashable
|
865
870
|
|
866
|
-
# Default time to live for
|
867
|
-
# Updating this field will not affect the expiration time of
|
871
|
+
# Optional. Default time to live for Consents created in this store. Must be at
|
872
|
+
# least 24 hours. Updating this field will not affect the expiration time of
|
873
|
+
# existing consents.
|
868
874
|
# Corresponds to the JSON property `defaultConsentTtl`
|
869
875
|
# @return [String]
|
870
876
|
attr_accessor :default_consent_ttl
|
871
877
|
|
872
|
-
# If true
|
878
|
+
# Optional. If `true`, UpdateConsent creates the Consent if it does not already
|
879
|
+
# exist. If unspecified, defaults to `false`.
|
873
880
|
# Corresponds to the JSON property `enableConsentCreateOnUpdate`
|
874
881
|
# @return [Boolean]
|
875
882
|
attr_accessor :enable_consent_create_on_update
|
876
883
|
alias_method :enable_consent_create_on_update?, :enable_consent_create_on_update
|
877
884
|
|
878
|
-
# User-supplied key-value pairs used to organize
|
879
|
-
# be between 1 and 63 characters long, have a UTF-8 encoding of
|
880
|
-
# bytes, and must conform to the following PCRE regular expression: \
|
881
|
-
# 0,62
|
882
|
-
# encoding of maximum 128 bytes, and must conform to the following PCRE
|
883
|
-
# expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63
|
884
|
-
# associated with a given store.
|
885
|
+
# Optional. User-supplied key-value pairs used to organize consent stores. Label
|
886
|
+
# keys must be between 1 and 63 characters long, have a UTF-8 encoding of
|
887
|
+
# maximum 128 bytes, and must conform to the following PCRE regular expression: \
|
888
|
+
# p`Ll`\p`Lo``0,62`. Label values must be between 1 and 63 characters long, have
|
889
|
+
# a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
|
890
|
+
# regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`. No more than 64 labels can be
|
891
|
+
# associated with a given store. For more information: https://cloud.google.com/
|
892
|
+
# healthcare/docs/how-tos/labeling-resources
|
885
893
|
# Corresponds to the JSON property `labels`
|
886
894
|
# @return [Hash<String,String>]
|
887
895
|
attr_accessor :labels
|
888
896
|
|
889
|
-
# Resource name of the
|
897
|
+
# Resource name of the consent store, of the form `projects/`project_id`/
|
890
898
|
# locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
|
891
|
-
# .
|
899
|
+
# . Cannot be changed after creation.
|
892
900
|
# Corresponds to the JSON property `name`
|
893
901
|
# @return [String]
|
894
902
|
attr_accessor :name
|
@@ -1535,7 +1543,10 @@ module Google
|
|
1535
1543
|
end
|
1536
1544
|
end
|
1537
1545
|
|
1538
|
-
# Evaluate
|
1546
|
+
# Evaluate a user's Consents for all matching User data mappings. Note: User
|
1547
|
+
# data mappings are indexed asynchronously, causing slight delays between the
|
1548
|
+
# time mappings are created or updated and when they are included in
|
1549
|
+
# EvaluateUserConsents results.
|
1539
1550
|
class EvaluateUserConsentsRequest
|
1540
1551
|
include Google::Apis::Core::Hashable
|
1541
1552
|
|
@@ -1544,30 +1555,31 @@ module Google
|
|
1544
1555
|
# @return [Google::Apis::HealthcareV1beta1::ConsentList]
|
1545
1556
|
attr_accessor :consent_list
|
1546
1557
|
|
1547
|
-
# Limit on the number of
|
1548
|
-
# not specified, 100 is used. May not be larger than 1000.
|
1558
|
+
# Optional. Limit on the number of User data mappings to return in a single
|
1559
|
+
# response. If not specified, 100 is used. May not be larger than 1000.
|
1549
1560
|
# Corresponds to the JSON property `pageSize`
|
1550
1561
|
# @return [Fixnum]
|
1551
1562
|
attr_accessor :page_size
|
1552
1563
|
|
1553
|
-
# Token to retrieve the next page of results to get the
|
1564
|
+
# Optional. Token to retrieve the next page of results, or empty to get the
|
1565
|
+
# first page.
|
1554
1566
|
# Corresponds to the JSON property `pageToken`
|
1555
1567
|
# @return [String]
|
1556
1568
|
attr_accessor :page_token
|
1557
1569
|
|
1558
|
-
# The values of request attributes associated with this access request.
|
1570
|
+
# Required. The values of request attributes associated with this access request.
|
1559
1571
|
# Corresponds to the JSON property `requestAttributes`
|
1560
1572
|
# @return [Hash<String,String>]
|
1561
1573
|
attr_accessor :request_attributes
|
1562
1574
|
|
1563
|
-
# The values of
|
1564
|
-
# requested. If no values are specified, then all
|
1575
|
+
# Optional. The values of resource attributes associated with the resources
|
1576
|
+
# being requested. If no values are specified, then all resources are queried.
|
1565
1577
|
# Corresponds to the JSON property `resourceAttributes`
|
1566
1578
|
# @return [Hash<String,String>]
|
1567
1579
|
attr_accessor :resource_attributes
|
1568
1580
|
|
1569
|
-
# The view for EvaluateUserConsentsResponse. If unspecified, defaults
|
1570
|
-
# and returns `consented` as `TRUE` or `FALSE`.
|
1581
|
+
# Optional. The view for EvaluateUserConsentsResponse. If unspecified, defaults
|
1582
|
+
# to `BASIC` and returns `consented` as `TRUE` or `FALSE`.
|
1571
1583
|
# Corresponds to the JSON property `responseView`
|
1572
1584
|
# @return [String]
|
1573
1585
|
attr_accessor :response_view
|
@@ -1593,11 +1605,11 @@ module Google
|
|
1593
1605
|
end
|
1594
1606
|
end
|
1595
1607
|
|
1596
|
-
#
|
1608
|
+
#
|
1597
1609
|
class EvaluateUserConsentsResponse
|
1598
1610
|
include Google::Apis::Core::Hashable
|
1599
1611
|
|
1600
|
-
# Token to retrieve the next page of results or empty if there are no more
|
1612
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1601
1613
|
# results in the list. This token is valid for 72 hours after it is created.
|
1602
1614
|
# Corresponds to the JSON property `nextPageToken`
|
1603
1615
|
# @return [String]
|
@@ -1959,8 +1971,8 @@ module Google
|
|
1959
1971
|
# resource return errors. It is strongly advised not to include or encode any
|
1960
1972
|
# sensitive data such as patient identifiers in client-specified resource IDs.
|
1961
1973
|
# Those IDs are part of the FHIR resource path recorded in Cloud audit logs and
|
1962
|
-
#
|
1963
|
-
#
|
1974
|
+
# Pub/Sub notifications. Those IDs can also be contained in reference fields
|
1975
|
+
# within other resources.
|
1964
1976
|
# Corresponds to the JSON property `enableUpdateCreate`
|
1965
1977
|
# @return [Boolean]
|
1966
1978
|
attr_accessor :enable_update_create
|
@@ -2266,9 +2278,9 @@ module Google
|
|
2266
2278
|
# @return [String]
|
2267
2279
|
attr_accessor :table_uri
|
2268
2280
|
|
2269
|
-
# Determines
|
2270
|
-
#
|
2271
|
-
# ignored.
|
2281
|
+
# Determines if existing data in the destination dataset is overwritten,
|
2282
|
+
# appended to, or not written if the tables contain data. If a write_disposition
|
2283
|
+
# is specified, the `force` parameter is ignored.
|
2272
2284
|
# Corresponds to the JSON property `writeDisposition`
|
2273
2285
|
# @return [String]
|
2274
2286
|
attr_accessor :write_disposition
|
@@ -2361,8 +2373,8 @@ module Google
|
|
2361
2373
|
end
|
2362
2374
|
end
|
2363
2375
|
|
2364
|
-
# Represents
|
2365
|
-
#
|
2376
|
+
# Represents a user's consent in terms of the resources that can be accessed and
|
2377
|
+
# under what conditions.
|
2366
2378
|
class GoogleCloudHealthcareV1beta1ConsentPolicy
|
2367
2379
|
include Google::Apis::Core::Hashable
|
2368
2380
|
|
@@ -2385,8 +2397,9 @@ module Google
|
|
2385
2397
|
# @return [Google::Apis::HealthcareV1beta1::Expr]
|
2386
2398
|
attr_accessor :authorization_rule
|
2387
2399
|
|
2388
|
-
# The
|
2389
|
-
#
|
2400
|
+
# The resources that this policy applies to. A resource is a match if it matches
|
2401
|
+
# all the attributes listed here. If empty, this policy applies to all User data
|
2402
|
+
# mappings for the given user.
|
2390
2403
|
# Corresponds to the JSON property `resourceAttributes`
|
2391
2404
|
# @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
|
2392
2405
|
attr_accessor :resource_attributes
|
@@ -2519,14 +2532,15 @@ module Google
|
|
2519
2532
|
# Points to a Cloud Storage URI containing file(s) with content only. The URI
|
2520
2533
|
# must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
|
2521
2534
|
# include wildcards in `object_id` and thus identify multiple files. Supported
|
2522
|
-
# wildcards: '*' to match 0 or more non-separator characters '**' to match 0
|
2523
|
-
# more characters (including separators). Must be used at the end of a path
|
2524
|
-
# with no other wildcards in the path. Can also be used with a file
|
2525
|
-
# such as .dcm), which imports all files with the extension in the
|
2526
|
-
# directory and its sub-directories. For example, `gs://my-bucket/my-
|
2527
|
-
#
|
2528
|
-
# directories. '?' to match 1 character All other URI formats are
|
2529
|
-
# matching the wildcard are expected to contain content only, no
|
2535
|
+
# wildcards: * '*' to match 0 or more non-separator characters * '**' to match 0
|
2536
|
+
# or more characters (including separators). Must be used at the end of a path
|
2537
|
+
# and with no other wildcards in the path. Can also be used with a file
|
2538
|
+
# extension (such as .dcm), which imports all files with the extension in the
|
2539
|
+
# specified directory and its sub-directories. For example, `gs://my-bucket/my-
|
2540
|
+
# directory/**.dcm` imports all files with .dcm extensions in `my-directory/`
|
2541
|
+
# and its sub-directories. * '?' to match 1 character. All other URI formats are
|
2542
|
+
# invalid. Files matching the wildcard are expected to contain content only, no
|
2543
|
+
# metadata.
|
2530
2544
|
# Corresponds to the JSON property `uri`
|
2531
2545
|
# @return [String]
|
2532
2546
|
attr_accessor :uri
|
@@ -2584,9 +2598,9 @@ module Google
|
|
2584
2598
|
# @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
|
2585
2599
|
attr_accessor :schema_config
|
2586
2600
|
|
2587
|
-
# Determines
|
2588
|
-
#
|
2589
|
-
# ignored.
|
2601
|
+
# Determines if existing data in the destination dataset is overwritten,
|
2602
|
+
# appended to, or not written if the tables contain data. If a write_disposition
|
2603
|
+
# is specified, the `force` parameter is ignored.
|
2590
2604
|
# Corresponds to the JSON property `writeDisposition`
|
2591
2605
|
# @return [String]
|
2592
2606
|
attr_accessor :write_disposition
|
@@ -2685,148 +2699,6 @@ module Google
|
|
2685
2699
|
end
|
2686
2700
|
end
|
2687
2701
|
|
2688
|
-
# Response when errors occur while exporting resources. This structure is
|
2689
|
-
# included in the error details to describe the detailed outcome. It is only
|
2690
|
-
# included when the operation finishes with errors.
|
2691
|
-
class GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
|
2692
|
-
include Google::Apis::Core::Hashable
|
2693
|
-
|
2694
|
-
# The number of resources that had errors.
|
2695
|
-
# Corresponds to the JSON property `errorCount`
|
2696
|
-
# @return [Fixnum]
|
2697
|
-
attr_accessor :error_count
|
2698
|
-
|
2699
|
-
# The name of the FHIR store where resources have been exported, in the format `
|
2700
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
|
2701
|
-
# `fhir_store_id``.
|
2702
|
-
# Corresponds to the JSON property `fhirStore`
|
2703
|
-
# @return [String]
|
2704
|
-
attr_accessor :fhir_store
|
2705
|
-
|
2706
|
-
# The total number of resources included in the export operation. This is the
|
2707
|
-
# sum of the success and error counts.
|
2708
|
-
# Corresponds to the JSON property `resourceCount`
|
2709
|
-
# @return [Fixnum]
|
2710
|
-
attr_accessor :resource_count
|
2711
|
-
|
2712
|
-
# The number of resources that were exported.
|
2713
|
-
# Corresponds to the JSON property `successCount`
|
2714
|
-
# @return [Fixnum]
|
2715
|
-
attr_accessor :success_count
|
2716
|
-
|
2717
|
-
def initialize(**args)
|
2718
|
-
update!(**args)
|
2719
|
-
end
|
2720
|
-
|
2721
|
-
# Update properties of this object
|
2722
|
-
def update!(**args)
|
2723
|
-
@error_count = args[:error_count] if args.key?(:error_count)
|
2724
|
-
@fhir_store = args[:fhir_store] if args.key?(:fhir_store)
|
2725
|
-
@resource_count = args[:resource_count] if args.key?(:resource_count)
|
2726
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
2727
|
-
end
|
2728
|
-
end
|
2729
|
-
|
2730
|
-
# Response when all resources export successfully. This structure is included
|
2731
|
-
# in the response to describe the detailed outcome after the operation finishes
|
2732
|
-
# successfully.
|
2733
|
-
class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
|
2734
|
-
include Google::Apis::Core::Hashable
|
2735
|
-
|
2736
|
-
# The name of the FHIR store where resources have been exported, in the format `
|
2737
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
|
2738
|
-
# `fhir_store_id``.
|
2739
|
-
# Corresponds to the JSON property `fhirStore`
|
2740
|
-
# @return [String]
|
2741
|
-
attr_accessor :fhir_store
|
2742
|
-
|
2743
|
-
# The total number of resources exported from the requested FHIR store.
|
2744
|
-
# Corresponds to the JSON property `resourceCount`
|
2745
|
-
# @return [Fixnum]
|
2746
|
-
attr_accessor :resource_count
|
2747
|
-
|
2748
|
-
def initialize(**args)
|
2749
|
-
update!(**args)
|
2750
|
-
end
|
2751
|
-
|
2752
|
-
# Update properties of this object
|
2753
|
-
def update!(**args)
|
2754
|
-
@fhir_store = args[:fhir_store] if args.key?(:fhir_store)
|
2755
|
-
@resource_count = args[:resource_count] if args.key?(:resource_count)
|
2756
|
-
end
|
2757
|
-
end
|
2758
|
-
|
2759
|
-
# Error response of importing resources. This structure is included in the
|
2760
|
-
# error details to describe the detailed error after the operation finishes with
|
2761
|
-
# some failure.
|
2762
|
-
class GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails
|
2763
|
-
include Google::Apis::Core::Hashable
|
2764
|
-
|
2765
|
-
# The number of resources that had errors.
|
2766
|
-
# Corresponds to the JSON property `errorCount`
|
2767
|
-
# @return [Fixnum]
|
2768
|
-
attr_accessor :error_count
|
2769
|
-
|
2770
|
-
# The name of the FHIR store where resources have been imported, in the format `
|
2771
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
|
2772
|
-
# `fhir_store_id``.
|
2773
|
-
# Corresponds to the JSON property `fhirStore`
|
2774
|
-
# @return [String]
|
2775
|
-
attr_accessor :fhir_store
|
2776
|
-
|
2777
|
-
# The total number of resources included in the source data. This is the sum of
|
2778
|
-
# the success and error counts.
|
2779
|
-
# Corresponds to the JSON property `inputSize`
|
2780
|
-
# @return [Fixnum]
|
2781
|
-
attr_accessor :input_size
|
2782
|
-
|
2783
|
-
# The number of resources that have been imported.
|
2784
|
-
# Corresponds to the JSON property `successCount`
|
2785
|
-
# @return [Fixnum]
|
2786
|
-
attr_accessor :success_count
|
2787
|
-
|
2788
|
-
def initialize(**args)
|
2789
|
-
update!(**args)
|
2790
|
-
end
|
2791
|
-
|
2792
|
-
# Update properties of this object
|
2793
|
-
def update!(**args)
|
2794
|
-
@error_count = args[:error_count] if args.key?(:error_count)
|
2795
|
-
@fhir_store = args[:fhir_store] if args.key?(:fhir_store)
|
2796
|
-
@input_size = args[:input_size] if args.key?(:input_size)
|
2797
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
2798
|
-
end
|
2799
|
-
end
|
2800
|
-
|
2801
|
-
# Final response of importing resources. This structure is included in the
|
2802
|
-
# response to describe the detailed outcome after the operation finishes
|
2803
|
-
# successfully.
|
2804
|
-
class GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse
|
2805
|
-
include Google::Apis::Core::Hashable
|
2806
|
-
|
2807
|
-
# The name of the FHIR store where the resources have been imported, in the
|
2808
|
-
# format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
2809
|
-
# fhirStores/`fhir_store_id``.
|
2810
|
-
# Corresponds to the JSON property `fhirStore`
|
2811
|
-
# @return [String]
|
2812
|
-
attr_accessor :fhir_store
|
2813
|
-
|
2814
|
-
# The total number of resources included in the source data.
|
2815
|
-
# Corresponds to the JSON property `inputSize`
|
2816
|
-
# @return [Fixnum]
|
2817
|
-
attr_accessor :input_size
|
2818
|
-
|
2819
|
-
def initialize(**args)
|
2820
|
-
update!(**args)
|
2821
|
-
end
|
2822
|
-
|
2823
|
-
# Update properties of this object
|
2824
|
-
def update!(**args)
|
2825
|
-
@fhir_store = args[:fhir_store] if args.key?(:fhir_store)
|
2826
|
-
@input_size = args[:input_size] if args.key?(:input_size)
|
2827
|
-
end
|
2828
|
-
end
|
2829
|
-
|
2830
2702
|
# Construct representing a logical group or a segment.
|
2831
2703
|
class GroupOrSegment
|
2832
2704
|
include Google::Apis::Core::Hashable
|
@@ -2912,14 +2784,35 @@ module Google
|
|
2912
2784
|
include Google::Apis::Core::Hashable
|
2913
2785
|
|
2914
2786
|
# Restricts notifications sent for messages matching a filter. If this is empty,
|
2915
|
-
# all messages are matched.
|
2916
|
-
#
|
2917
|
-
#
|
2918
|
-
#
|
2919
|
-
# the
|
2920
|
-
#
|
2921
|
-
#
|
2922
|
-
#
|
2787
|
+
# all messages are matched. The following syntax is available: * A string field
|
2788
|
+
# value can be written as text inside quotation marks, for example `"query text"`
|
2789
|
+
# . The only valid relational operation for text fields is equality (`=`), where
|
2790
|
+
# text is searched within the field, rather than having the field be equal to
|
2791
|
+
# the text. For example, `"Comment = great"` returns messages with `great` in
|
2792
|
+
# the comment field. * A number field value can be written as an integer, a
|
2793
|
+
# decimal, or an exponential. The valid relational operators for number fields
|
2794
|
+
# are the equality operator (`=`), along with the less than/greater than
|
2795
|
+
# operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`)
|
2796
|
+
# operator. You can prepend the `NOT` operator to an expression to negate it. *
|
2797
|
+
# A date field value must be written in `yyyy-mm-dd` form. Fields with date and
|
2798
|
+
# time use the RFC3339 time format. Leading zeros are required for one-digit
|
2799
|
+
# months and days. The valid relational operators for date fields are the
|
2800
|
+
# equality operator (`=`) , along with the less than/greater than operators (`<`,
|
2801
|
+
# `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can
|
2802
|
+
# prepend the `NOT` operator to an expression to negate it. * Multiple field
|
2803
|
+
# query expressions can be combined in one query by adding `AND` or `OR`
|
2804
|
+
# operators between the expressions. If a boolean operator appears within a
|
2805
|
+
# quoted string, it is not treated as special, it's just another part of the
|
2806
|
+
# character string to be matched. You can prepend the `NOT` operator to an
|
2807
|
+
# expression to negate it. Fields/functions available for filtering are: * `
|
2808
|
+
# message_type`, from the MSH-9.1 field. For example, `NOT message_type = "ADT"`.
|
2809
|
+
# * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the
|
2810
|
+
# dataset's time_zone, from the MSH-7 segment. For example, `send_date < "2017-
|
2811
|
+
# 01-02"`. * `send_time`, the timestamp when the message was sent, using the
|
2812
|
+
# RFC3339 time format for comparisons, from the MSH-7 segment. For example, `
|
2813
|
+
# send_time < "2017-01-02T00:00:00-05:00"`. * `create_time`, the timestamp when
|
2814
|
+
# the message was created in the HL7v2 store. Use the RFC3339 time format for
|
2815
|
+
# comparisons. For example, `create_time < "2017-01-02T00:00:00-05:00"`. * `
|
2923
2816
|
# send_facility`, the care center that the message came from, from the MSH-4
|
2924
2817
|
# segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`,
|
2925
2818
|
# which matches if the message lists a patient having an ID of the given value
|
@@ -2932,19 +2825,19 @@ module Google
|
|
2932
2825
|
# @return [String]
|
2933
2826
|
attr_accessor :filter
|
2934
2827
|
|
2935
|
-
# The [
|
2936
|
-
#
|
2937
|
-
#
|
2938
|
-
#
|
2939
|
-
#
|
2940
|
-
#
|
2941
|
-
#
|
2942
|
-
#
|
2943
|
-
#
|
2944
|
-
#
|
2945
|
-
#
|
2946
|
-
#
|
2947
|
-
#
|
2828
|
+
# The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications
|
2829
|
+
# of changes are published on. Supplied by the client. The notification is a `
|
2830
|
+
# PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the
|
2831
|
+
# resource name. * `PubsubMessage.MessageId` is the ID of this notification. It
|
2832
|
+
# is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is
|
2833
|
+
# the time when the message was published. Note that notifications are only sent
|
2834
|
+
# if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/
|
2835
|
+
# overview#names) must be scoped to a project. Cloud Healthcare API service
|
2836
|
+
# account must have publisher permissions on the given Pub/Sub topic. Not having
|
2837
|
+
# adequate permissions causes the calls that send notifications to fail. If a
|
2838
|
+
# notification can't be published to Pub/Sub, errors are logged to Cloud Logging.
|
2839
|
+
# For more information, see [Viewing error logs in Cloud Logging](https://cloud.
|
2840
|
+
# google.com/healthcare/docs/how-tos/logging).
|
2948
2841
|
# Corresponds to the JSON property `pubsubTopic`
|
2949
2842
|
# @return [String]
|
2950
2843
|
attr_accessor :pubsub_topic
|
@@ -3508,17 +3401,17 @@ module Google
|
|
3508
3401
|
end
|
3509
3402
|
end
|
3510
3403
|
|
3511
|
-
#
|
3404
|
+
#
|
3512
3405
|
class ListAttributeDefinitionsResponse
|
3513
3406
|
include Google::Apis::Core::Hashable
|
3514
3407
|
|
3515
|
-
# The returned
|
3408
|
+
# The returned Attribute definitions. The maximum number of attributes returned
|
3516
3409
|
# is determined by the value of page_size in the ListAttributeDefinitionsRequest.
|
3517
3410
|
# Corresponds to the JSON property `attributeDefinitions`
|
3518
3411
|
# @return [Array<Google::Apis::HealthcareV1beta1::AttributeDefinition>]
|
3519
3412
|
attr_accessor :attribute_definitions
|
3520
3413
|
|
3521
|
-
# Token to retrieve the next page of results or empty if there are no more
|
3414
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
3522
3415
|
# results in the list.
|
3523
3416
|
# Corresponds to the JSON property `nextPageToken`
|
3524
3417
|
# @return [String]
|
@@ -3535,17 +3428,17 @@ module Google
|
|
3535
3428
|
end
|
3536
3429
|
end
|
3537
3430
|
|
3538
|
-
#
|
3431
|
+
#
|
3539
3432
|
class ListConsentArtifactsResponse
|
3540
3433
|
include Google::Apis::Core::Hashable
|
3541
3434
|
|
3542
|
-
# The returned
|
3435
|
+
# The returned Consent artifacts. The maximum number of artifacts returned is
|
3543
3436
|
# determined by the value of page_size in the ListConsentArtifactsRequest.
|
3544
3437
|
# Corresponds to the JSON property `consentArtifacts`
|
3545
3438
|
# @return [Array<Google::Apis::HealthcareV1beta1::ConsentArtifact>]
|
3546
3439
|
attr_accessor :consent_artifacts
|
3547
3440
|
|
3548
|
-
# Token to retrieve the next page of results or empty if there are no more
|
3441
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
3549
3442
|
# results in the list.
|
3550
3443
|
# Corresponds to the JSON property `nextPageToken`
|
3551
3444
|
# @return [String]
|
@@ -3562,17 +3455,17 @@ module Google
|
|
3562
3455
|
end
|
3563
3456
|
end
|
3564
3457
|
|
3565
|
-
#
|
3458
|
+
#
|
3566
3459
|
class ListConsentRevisionsResponse
|
3567
3460
|
include Google::Apis::Core::Hashable
|
3568
3461
|
|
3569
|
-
# The returned
|
3462
|
+
# The returned Consent revisions. The maximum number of revisions returned is
|
3570
3463
|
# determined by the value of `page_size` in the ListConsentRevisionsRequest.
|
3571
3464
|
# Corresponds to the JSON property `consents`
|
3572
3465
|
# @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
|
3573
3466
|
attr_accessor :consents
|
3574
3467
|
|
3575
|
-
# Token to retrieve the next page of results or empty if there are no more
|
3468
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
3576
3469
|
# results in the list.
|
3577
3470
|
# Corresponds to the JSON property `nextPageToken`
|
3578
3471
|
# @return [String]
|
@@ -3589,17 +3482,17 @@ module Google
|
|
3589
3482
|
end
|
3590
3483
|
end
|
3591
3484
|
|
3592
|
-
#
|
3485
|
+
#
|
3593
3486
|
class ListConsentStoresResponse
|
3594
3487
|
include Google::Apis::Core::Hashable
|
3595
3488
|
|
3596
|
-
# The returned
|
3489
|
+
# The returned consent stores. The maximum number of stores returned is
|
3597
3490
|
# determined by the value of page_size in the ListConsentStoresRequest.
|
3598
3491
|
# Corresponds to the JSON property `consentStores`
|
3599
3492
|
# @return [Array<Google::Apis::HealthcareV1beta1::ConsentStore>]
|
3600
3493
|
attr_accessor :consent_stores
|
3601
3494
|
|
3602
|
-
# Token to retrieve the next page of results or empty if there are no more
|
3495
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
3603
3496
|
# results in the list.
|
3604
3497
|
# Corresponds to the JSON property `nextPageToken`
|
3605
3498
|
# @return [String]
|
@@ -3616,17 +3509,17 @@ module Google
|
|
3616
3509
|
end
|
3617
3510
|
end
|
3618
3511
|
|
3619
|
-
#
|
3512
|
+
#
|
3620
3513
|
class ListConsentsResponse
|
3621
3514
|
include Google::Apis::Core::Hashable
|
3622
3515
|
|
3623
|
-
# The returned
|
3516
|
+
# The returned Consents. The maximum number of Consents returned is determined
|
3624
3517
|
# by the value of page_size in the ListConsentsRequest.
|
3625
3518
|
# Corresponds to the JSON property `consents`
|
3626
3519
|
# @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
|
3627
3520
|
attr_accessor :consents
|
3628
3521
|
|
3629
|
-
# Token to retrieve the next page of results or empty if there are no more
|
3522
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
3630
3523
|
# results in the list.
|
3631
3524
|
# Corresponds to the JSON property `nextPageToken`
|
3632
3525
|
# @return [String]
|
@@ -3827,17 +3720,17 @@ module Google
|
|
3827
3720
|
end
|
3828
3721
|
end
|
3829
3722
|
|
3830
|
-
#
|
3723
|
+
#
|
3831
3724
|
class ListUserDataMappingsResponse
|
3832
3725
|
include Google::Apis::Core::Hashable
|
3833
3726
|
|
3834
|
-
# Token to retrieve the next page of results or empty if there are no more
|
3727
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
3835
3728
|
# results in the list.
|
3836
3729
|
# Corresponds to the JSON property `nextPageToken`
|
3837
3730
|
# @return [String]
|
3838
3731
|
attr_accessor :next_page_token
|
3839
3732
|
|
3840
|
-
# The returned
|
3733
|
+
# The returned User data mappings. The maximum number of User data mappings
|
3841
3734
|
# returned is determined by the value of page_size in the
|
3842
3735
|
# ListUserDataMappingsRequest.
|
3843
3736
|
# Corresponds to the JSON property `userDataMappings`
|
@@ -3990,17 +3883,17 @@ module Google
|
|
3990
3883
|
class NotificationConfig
|
3991
3884
|
include Google::Apis::Core::Hashable
|
3992
3885
|
|
3993
|
-
# The [
|
3994
|
-
#
|
3995
|
-
#
|
3996
|
-
#
|
3997
|
-
#
|
3998
|
-
#
|
3999
|
-
#
|
4000
|
-
#
|
4001
|
-
#
|
4002
|
-
#
|
4003
|
-
#
|
3886
|
+
# The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications
|
3887
|
+
# of changes are published on. Supplied by the client. PubsubMessage.Data
|
3888
|
+
# contains the resource name. PubsubMessage.MessageId is the ID of this message.
|
3889
|
+
# It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is
|
3890
|
+
# the time at which the message was published. Notifications are only sent if
|
3891
|
+
# the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/
|
3892
|
+
# overview#names) must be scoped to a project. Cloud Healthcare API service
|
3893
|
+
# account must have publisher permissions on the given Pub/Sub topic. Not having
|
3894
|
+
# adequate permissions causes the calls that send notifications to fail. If a
|
3895
|
+
# notification can't be published to Pub/Sub, errors are logged to Cloud Logging
|
3896
|
+
# (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/
|
4004
3897
|
# docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
|
4005
3898
|
# aren't submitted. Note that not all operations trigger notifications, see [
|
4006
3899
|
# Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/
|
@@ -4113,8 +4006,8 @@ module Google
|
|
4113
4006
|
attr_accessor :end_time
|
4114
4007
|
|
4115
4008
|
# A link to audit and error logs in the log viewer. Error logs are generated
|
4116
|
-
# only by some operations, listed at [Viewing logs](
|
4117
|
-
# logging).
|
4009
|
+
# only by some operations, listed at [Viewing error logs in Cloud Logging](https:
|
4010
|
+
# //cloud.google.com/healthcare/docs/how-tos/logging).
|
4118
4011
|
# Corresponds to the JSON property `logsUrl`
|
4119
4012
|
# @return [String]
|
4120
4013
|
attr_accessor :logs_url
|
@@ -4341,11 +4234,12 @@ module Google
|
|
4341
4234
|
end
|
4342
4235
|
end
|
4343
4236
|
|
4344
|
-
# Queries all data_ids that are consented for a given use in the given
|
4237
|
+
# Queries all data_ids that are consented for a given use in the given consent
|
4345
4238
|
# store and writes them to a specified destination. The returned Operation
|
4346
4239
|
# includes a progress counter for the number of User data mappings processed.
|
4347
|
-
# Errors are logged to Cloud Logging (see [Viewing logs] (
|
4348
|
-
# tos/logging) and [
|
4240
|
+
# Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging] (
|
4241
|
+
# https://cloud.google.com/healthcare/docs/how-tos/logging) and [
|
4242
|
+
# QueryAccessibleData] for a sample log entry).
|
4349
4243
|
class QueryAccessibleDataRequest
|
4350
4244
|
include Google::Apis::Core::Hashable
|
4351
4245
|
|
@@ -4359,9 +4253,9 @@ module Google
|
|
4359
4253
|
# @return [Hash<String,String>]
|
4360
4254
|
attr_accessor :request_attributes
|
4361
4255
|
|
4362
|
-
# The values of
|
4363
|
-
# requested. If no values are specified, then all
|
4364
|
-
# output.
|
4256
|
+
# Optional. The values of resource attributes associated with the type of
|
4257
|
+
# resources being requested. If no values are specified, then all resource types
|
4258
|
+
# are included in the output.
|
4365
4259
|
# Corresponds to the JSON property `resourceAttributes`
|
4366
4260
|
# @return [Hash<String,String>]
|
4367
4261
|
attr_accessor :resource_attributes
|
@@ -4394,15 +4288,15 @@ module Google
|
|
4394
4288
|
|
4395
4289
|
# Rejects the latest revision of the specified Consent by committing a new
|
4396
4290
|
# revision with `state` updated to `REJECTED`. If the latest revision of the
|
4397
|
-
# given
|
4291
|
+
# given Consent is in the `REJECTED` state, no new revision is committed.
|
4398
4292
|
class RejectConsentRequest
|
4399
4293
|
include Google::Apis::Core::Hashable
|
4400
4294
|
|
4401
|
-
# The resource name of the
|
4402
|
-
# s rejection of the draft
|
4403
|
-
#
|
4404
|
-
# consentArtifacts/`consent_artifact_id``. If
|
4405
|
-
# artifact, this
|
4295
|
+
# Optional. The resource name of the Consent artifact that contains
|
4296
|
+
# documentation of the user's rejection of the draft Consent, of the form `
|
4297
|
+
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
4298
|
+
# consentStores/`consent_store_id`/consentArtifacts/`consent_artifact_id``. If
|
4299
|
+
# the draft Consent had a Consent artifact, this Consent artifact overwrites it.
|
4406
4300
|
# Corresponds to the JSON property `consentArtifact`
|
4407
4301
|
# @return [String]
|
4408
4302
|
attr_accessor :consent_artifact
|
@@ -4479,13 +4373,13 @@ module Google
|
|
4479
4373
|
# @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
|
4480
4374
|
attr_accessor :consent_details
|
4481
4375
|
|
4482
|
-
# Whether the
|
4376
|
+
# Whether the resource is consented for the given use.
|
4483
4377
|
# Corresponds to the JSON property `consented`
|
4484
4378
|
# @return [Boolean]
|
4485
4379
|
attr_accessor :consented
|
4486
4380
|
alias_method :consented?, :consented
|
4487
4381
|
|
4488
|
-
# The unique identifier of the
|
4382
|
+
# The unique identifier of the evaluated resource.
|
4489
4383
|
# Corresponds to the JSON property `dataId`
|
4490
4384
|
# @return [String]
|
4491
4385
|
attr_accessor :data_id
|
@@ -4504,13 +4398,13 @@ module Google
|
|
4504
4398
|
|
4505
4399
|
# Revokes the latest revision of the specified Consent by committing a new
|
4506
4400
|
# revision with `state` updated to `REVOKED`. If the latest revision of the
|
4507
|
-
# given
|
4401
|
+
# given Consent is in the `REVOKED` state, no new revision is committed.
|
4508
4402
|
class RevokeConsentRequest
|
4509
4403
|
include Google::Apis::Core::Hashable
|
4510
4404
|
|
4511
|
-
# The resource name of the
|
4512
|
-
# s revocation of the
|
4513
|
-
# location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
4405
|
+
# Optional. The resource name of the Consent artifact that contains proof of the
|
4406
|
+
# user's revocation of the Consent, of the form `projects/`project_id`/locations/
|
4407
|
+
# `location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
|
4514
4408
|
# consentArtifacts/`consent_artifact_id``.
|
4515
4409
|
# Corresponds to the JSON property `consentArtifact`
|
4516
4410
|
# @return [String]
|
@@ -4859,18 +4753,18 @@ module Google
|
|
4859
4753
|
# @return [Google::Apis::HealthcareV1beta1::Image]
|
4860
4754
|
attr_accessor :image
|
4861
4755
|
|
4862
|
-
# Metadata associated with the user's signature. For example, the user'
|
4863
|
-
# the user's title.
|
4756
|
+
# Optional. Metadata associated with the user's signature. For example, the user'
|
4757
|
+
# s name or the user's title.
|
4864
4758
|
# Corresponds to the JSON property `metadata`
|
4865
4759
|
# @return [Hash<String,String>]
|
4866
4760
|
attr_accessor :metadata
|
4867
4761
|
|
4868
|
-
# Timestamp of the signature.
|
4762
|
+
# Optional. Timestamp of the signature.
|
4869
4763
|
# Corresponds to the JSON property `signatureTime`
|
4870
4764
|
# @return [String]
|
4871
4765
|
attr_accessor :signature_time
|
4872
4766
|
|
4873
|
-
# User's UUID provided by the client.
|
4767
|
+
# Required. User's UUID provided by the client.
|
4874
4768
|
# Corresponds to the JSON property `userId`
|
4875
4769
|
# @return [String]
|
4876
4770
|
attr_accessor :user_id
|
@@ -5094,22 +4988,22 @@ module Google
|
|
5094
4988
|
end
|
5095
4989
|
end
|
5096
4990
|
|
5097
|
-
# Maps a
|
4991
|
+
# Maps a resource to the associated user and Attributes.
|
5098
4992
|
class UserDataMapping
|
5099
4993
|
include Google::Apis::Core::Hashable
|
5100
4994
|
|
5101
|
-
# Output only. Indicates the time when this
|
4995
|
+
# Output only. Indicates the time when this mapping was archived.
|
5102
4996
|
# Corresponds to the JSON property `archiveTime`
|
5103
4997
|
# @return [String]
|
5104
4998
|
attr_accessor :archive_time
|
5105
4999
|
|
5106
|
-
# Output only. Indicates whether this
|
5000
|
+
# Output only. Indicates whether this mapping is archived.
|
5107
5001
|
# Corresponds to the JSON property `archived`
|
5108
5002
|
# @return [Boolean]
|
5109
5003
|
attr_accessor :archived
|
5110
5004
|
alias_method :archived?, :archived
|
5111
5005
|
|
5112
|
-
# Required. A unique identifier for the mapped
|
5006
|
+
# Required. A unique identifier for the mapped resource.
|
5113
5007
|
# Corresponds to the JSON property `dataId`
|
5114
5008
|
# @return [String]
|
5115
5009
|
attr_accessor :data_id
|
@@ -5121,11 +5015,10 @@ module Google
|
|
5121
5015
|
# @return [String]
|
5122
5016
|
attr_accessor :name
|
5123
5017
|
|
5124
|
-
# Attributes of
|
5125
|
-
#
|
5126
|
-
#
|
5127
|
-
#
|
5128
|
-
# specified for the field "values" in each Attribute.
|
5018
|
+
# Attributes of the resource. Only explicitly set attributes are displayed here.
|
5019
|
+
# Attribute definitions with defaults set implicitly apply to these User data
|
5020
|
+
# mappings. Attributes listed here must be single valued, that is, exactly one
|
5021
|
+
# value is specified for the field "values" in each Attribute.
|
5129
5022
|
# Corresponds to the JSON property `resourceAttributes`
|
5130
5023
|
# @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
|
5131
5024
|
attr_accessor :resource_attributes
|