google-api-python-client 2.155.0__py2.py3-none-any.whl → 2.157.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. {google_api_python_client-2.155.0.dist-info → google_api_python_client-2.157.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.155.0.dist-info → google_api_python_client-2.157.0.dist-info}/RECORD +170 -168
  3. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +10 -10
  4. googleapiclient/discovery_cache/documents/admin.directory_v1.json +2 -2
  5. googleapiclient/discovery_cache/documents/admin.directoryv1.json +2 -2
  6. googleapiclient/discovery_cache/documents/adsense.v2.json +5 -1
  7. googleapiclient/discovery_cache/documents/aiplatform.v1.json +167 -21
  8. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +246 -24
  9. googleapiclient/discovery_cache/documents/alloydb.v1.json +54 -7
  10. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +59 -7
  11. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +59 -7
  12. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +9 -5
  13. googleapiclient/discovery_cache/documents/apigateway.v1.json +3 -3
  14. googleapiclient/discovery_cache/documents/apigateway.v1beta.json +3 -3
  15. googleapiclient/discovery_cache/documents/apigee.v1.json +33 -2
  16. googleapiclient/discovery_cache/documents/areainsights.v1.json +402 -0
  17. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +6 -1
  18. googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +18 -9
  19. googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +18 -9
  20. googleapiclient/discovery_cache/documents/backupdr.v1.json +68 -11
  21. googleapiclient/discovery_cache/documents/batch.v1.json +3 -3
  22. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +9 -9
  23. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +9 -9
  24. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +6 -4
  25. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +3 -3
  26. googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json +2 -2
  27. googleapiclient/discovery_cache/documents/certificatemanager.v1.json +6 -6
  28. googleapiclient/discovery_cache/documents/chat.v1.json +78 -14
  29. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +235 -14
  30. googleapiclient/discovery_cache/documents/classroom.v1.json +5 -5
  31. googleapiclient/discovery_cache/documents/cloudasset.v1.json +9 -1
  32. googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +9 -1
  33. googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +9 -1
  34. googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +9 -1
  35. googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +9 -1
  36. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +231 -4
  37. googleapiclient/discovery_cache/documents/cloudbuild.v2.json +230 -3
  38. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +4 -4
  39. googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +5 -3
  40. googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +5 -3
  41. googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +5 -3
  42. googleapiclient/discovery_cache/documents/cloudidentity.v1.json +171 -1
  43. googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +1 -1
  44. googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +2 -2
  45. googleapiclient/discovery_cache/documents/cloudsupport.v2.json +1 -1
  46. googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +1 -1
  47. googleapiclient/discovery_cache/documents/composer.v1.json +2 -2
  48. googleapiclient/discovery_cache/documents/composer.v1beta1.json +2 -2
  49. googleapiclient/discovery_cache/documents/config.v1.json +9 -8
  50. googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +3 -3
  51. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +186 -27
  52. googleapiclient/discovery_cache/documents/container.v1.json +14 -4
  53. googleapiclient/discovery_cache/documents/container.v1beta1.json +14 -4
  54. googleapiclient/discovery_cache/documents/content.v2.1.json +38 -1
  55. googleapiclient/discovery_cache/documents/css.v1.json +39 -3
  56. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +22 -1
  57. googleapiclient/discovery_cache/documents/datamigration.v1.json +5 -1
  58. googleapiclient/discovery_cache/documents/dataplex.v1.json +16 -11
  59. googleapiclient/discovery_cache/documents/dataportability.v1.json +1 -1
  60. googleapiclient/discovery_cache/documents/dataportability.v1beta.json +1 -1
  61. googleapiclient/discovery_cache/documents/datastore.v1.json +2 -2
  62. googleapiclient/discovery_cache/documents/datastream.v1.json +27 -12
  63. googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +3 -3
  64. googleapiclient/discovery_cache/documents/developerconnect.v1.json +4 -4
  65. googleapiclient/discovery_cache/documents/dialogflow.v2.json +240 -3
  66. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +189 -4
  67. googleapiclient/discovery_cache/documents/dialogflow.v3.json +236 -3
  68. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +494 -3
  69. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +1247 -307
  70. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +1565 -177
  71. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +1111 -90
  72. googleapiclient/discovery_cache/documents/displayvideo.v2.json +21 -7
  73. googleapiclient/discovery_cache/documents/displayvideo.v3.json +21 -7
  74. googleapiclient/discovery_cache/documents/dlp.v2.json +13 -3
  75. googleapiclient/discovery_cache/documents/documentai.v1.json +9 -9
  76. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +9 -9
  77. googleapiclient/discovery_cache/documents/domains.v1.json +6 -6
  78. googleapiclient/discovery_cache/documents/domains.v1alpha2.json +6 -6
  79. googleapiclient/discovery_cache/documents/domains.v1beta1.json +6 -6
  80. googleapiclient/discovery_cache/documents/drive.v3.json +14 -14
  81. googleapiclient/discovery_cache/documents/file.v1.json +20 -20
  82. googleapiclient/discovery_cache/documents/file.v1beta1.json +21 -21
  83. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +3 -3
  84. googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +2 -2
  85. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +7 -2
  86. googleapiclient/discovery_cache/documents/firebaserules.v1.json +11 -11
  87. googleapiclient/discovery_cache/documents/firestore.v1.json +2 -2
  88. googleapiclient/discovery_cache/documents/games.v1.json +2 -2
  89. googleapiclient/discovery_cache/documents/gamesManagement.v1management.json +2 -2
  90. googleapiclient/discovery_cache/documents/gkebackup.v1.json +3 -3
  91. googleapiclient/discovery_cache/documents/gkehub.v1.json +3 -3
  92. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +3 -3
  93. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +3 -3
  94. googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +2 -2
  95. googleapiclient/discovery_cache/documents/gkehub.v2.json +3 -29
  96. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +3 -29
  97. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +3 -29
  98. googleapiclient/discovery_cache/documents/gkeonprem.v1.json +2 -2
  99. googleapiclient/discovery_cache/documents/healthcare.v1.json +541 -1
  100. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +26 -1
  101. googleapiclient/discovery_cache/documents/identitytoolkit.v1.json +3 -3
  102. googleapiclient/discovery_cache/documents/integrations.v1.json +30 -2
  103. googleapiclient/discovery_cache/documents/jobs.v3.json +10 -10
  104. googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json +10 -10
  105. googleapiclient/discovery_cache/documents/jobs.v4.json +30 -12
  106. googleapiclient/discovery_cache/documents/looker.v1.json +10 -4
  107. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +2 -2
  108. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +39 -2
  109. googleapiclient/discovery_cache/documents/migrationcenter.v1.json +6 -2
  110. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +37 -5
  111. googleapiclient/discovery_cache/documents/monitoring.v1.json +35 -1
  112. googleapiclient/discovery_cache/documents/netapp.v1.json +21 -1
  113. googleapiclient/discovery_cache/documents/netapp.v1beta1.json +21 -1
  114. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +4 -4
  115. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +359 -19
  116. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +42 -19
  117. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +2 -2
  118. googleapiclient/discovery_cache/documents/notebooks.v1.json +2 -2
  119. googleapiclient/discovery_cache/documents/notebooks.v2.json +6 -2
  120. googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +2 -2
  121. googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +2 -2
  122. googleapiclient/discovery_cache/documents/oracledatabase.v1.json +9 -8
  123. googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +2 -2
  124. googleapiclient/discovery_cache/documents/parallelstore.v1.json +2 -2
  125. googleapiclient/discovery_cache/documents/parallelstore.v1beta.json +2 -2
  126. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +18 -1
  127. googleapiclient/discovery_cache/documents/privateca.v1.json +12 -17
  128. googleapiclient/discovery_cache/documents/privateca.v1beta1.json +2 -2
  129. googleapiclient/discovery_cache/documents/pubsub.v1.json +2 -2
  130. googleapiclient/discovery_cache/documents/rapidmigrationassessment.v1.json +2 -2
  131. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +3 -3
  132. googleapiclient/discovery_cache/documents/redis.v1.json +17 -5
  133. googleapiclient/discovery_cache/documents/redis.v1beta1.json +17 -5
  134. googleapiclient/discovery_cache/documents/retail.v2.json +35 -30
  135. googleapiclient/discovery_cache/documents/retail.v2alpha.json +35 -30
  136. googleapiclient/discovery_cache/documents/retail.v2beta.json +35 -30
  137. googleapiclient/discovery_cache/documents/run.v2.json +11 -1
  138. googleapiclient/discovery_cache/documents/runtimeconfig.v1.json +2 -2
  139. googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json +2 -2
  140. googleapiclient/discovery_cache/documents/securitycenter.v1.json +83 -1
  141. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +83 -1
  142. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +83 -1
  143. googleapiclient/discovery_cache/documents/securityposture.v1.json +2136 -0
  144. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +5 -1
  145. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +5 -1
  146. googleapiclient/discovery_cache/documents/servicecontrol.v2.json +9 -1
  147. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +5 -1
  148. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +5 -1
  149. googleapiclient/discovery_cache/documents/serviceusage.v1.json +5 -1
  150. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +5 -1
  151. googleapiclient/discovery_cache/documents/sheets.v4.json +5 -1
  152. googleapiclient/discovery_cache/documents/solar.v1.json +2 -2
  153. googleapiclient/discovery_cache/documents/sqladmin.v1.json +66 -10
  154. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +66 -10
  155. googleapiclient/discovery_cache/documents/storage.v1.json +94 -2
  156. googleapiclient/discovery_cache/documents/texttospeech.v1.json +5 -3
  157. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +5 -3
  158. googleapiclient/discovery_cache/documents/tpu.v1.json +2 -2
  159. googleapiclient/discovery_cache/documents/tpu.v1alpha1.json +2 -2
  160. googleapiclient/discovery_cache/documents/tpu.v2.json +6 -4
  161. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +2 -2
  162. googleapiclient/discovery_cache/documents/translate.v3.json +10 -2
  163. googleapiclient/discovery_cache/documents/translate.v3beta1.json +7 -3
  164. googleapiclient/discovery_cache/documents/workflows.v1.json +8 -1
  165. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +96 -2
  166. googleapiclient/discovery_cache/documents/workspaceevents.v1.json +1 -1
  167. googleapiclient/version.py +1 -1
  168. {google_api_python_client-2.155.0.dist-info → google_api_python_client-2.157.0.dist-info}/LICENSE +0 -0
  169. {google_api_python_client-2.155.0.dist-info → google_api_python_client-2.157.0.dist-info}/WHEEL +0 -0
  170. {google_api_python_client-2.155.0.dist-info → google_api_python_client-2.157.0.dist-info}/top_level.txt +0 -0
@@ -2942,6 +2942,64 @@
2942
2942
  },
2943
2943
  "fhirStores": {
2944
2944
  "methods": {
2945
+ "applyAdminConsents": {
2946
+ "description": "Applies the admin Consent resources for the FHIR store and reindexes the underlying resources in the FHIR store according to the aggregate consents. This method also updates the `consent_config.enforced_admin_consents` field of the FhirStore unless `validate_only=true` in ApplyAdminConsentsRequest. Any admin Consent resource change after this operation execution (including deletion) requires you to call ApplyAdminConsents again for the change to take effect. This method returns an Operation that can be used to track the progress of the resources that were reindexed, by calling GetOperation. Upon completion, the ApplyAdminConsentsResponse additionally contains the number of resources that were reindexed. If at least one Consent resource contains an error or fails be be enforced for any reason, the method returns an error instead of an Operation. No resources will be reindexed and the `consent_config.enforced_admin_consents` field will be unchanged. To enforce a consent check for data access, `consent_config.access_enforced` must be set to true for the FhirStore.",
2947
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:applyAdminConsents",
2948
+ "httpMethod": "POST",
2949
+ "id": "healthcare.projects.locations.datasets.fhirStores.applyAdminConsents",
2950
+ "parameterOrder": [
2951
+ "name"
2952
+ ],
2953
+ "parameters": {
2954
+ "name": {
2955
+ "description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.",
2956
+ "location": "path",
2957
+ "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$",
2958
+ "required": true,
2959
+ "type": "string"
2960
+ }
2961
+ },
2962
+ "path": "v1/{+name}:applyAdminConsents",
2963
+ "request": {
2964
+ "$ref": "ApplyAdminConsentsRequest"
2965
+ },
2966
+ "response": {
2967
+ "$ref": "Operation"
2968
+ },
2969
+ "scopes": [
2970
+ "https://www.googleapis.com/auth/cloud-healthcare",
2971
+ "https://www.googleapis.com/auth/cloud-platform"
2972
+ ]
2973
+ },
2974
+ "applyConsents": {
2975
+ "description": "Apply the Consent resources for the FHIR store and reindex the underlying resources in the FHIR store according to the aggregate consent. The aggregate consent of the patient in scope in this request replaces any previous call of this method. Any Consent resource change after this operation execution (including deletion) requires you to call ApplyConsents again to have effect. This method returns an Operation that can be used to track the progress of the consent resources that were processed by calling GetOperation. Upon completion, the ApplyConsentsResponse additionally contains the number of resources that was reindexed. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). To enforce consent check for data access, `consent_config.access_enforced` must be set to true for the FhirStore.",
2976
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:applyConsents",
2977
+ "httpMethod": "POST",
2978
+ "id": "healthcare.projects.locations.datasets.fhirStores.applyConsents",
2979
+ "parameterOrder": [
2980
+ "name"
2981
+ ],
2982
+ "parameters": {
2983
+ "name": {
2984
+ "description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.",
2985
+ "location": "path",
2986
+ "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$",
2987
+ "required": true,
2988
+ "type": "string"
2989
+ }
2990
+ },
2991
+ "path": "v1/{+name}:applyConsents",
2992
+ "request": {
2993
+ "$ref": "ApplyConsentsRequest"
2994
+ },
2995
+ "response": {
2996
+ "$ref": "Operation"
2997
+ },
2998
+ "scopes": [
2999
+ "https://www.googleapis.com/auth/cloud-healthcare",
3000
+ "https://www.googleapis.com/auth/cloud-platform"
3001
+ ]
3002
+ },
2945
3003
  "create": {
2946
3004
  "description": "Creates a new FHIR store within the parent dataset.",
2947
3005
  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores",
@@ -3031,6 +3089,37 @@
3031
3089
  "https://www.googleapis.com/auth/cloud-platform"
3032
3090
  ]
3033
3091
  },
3092
+ "explainDataAccess": {
3093
+ "description": "Explains all the permitted/denied actor, purpose and environment for a given resource.",
3094
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:explainDataAccess",
3095
+ "httpMethod": "GET",
3096
+ "id": "healthcare.projects.locations.datasets.fhirStores.explainDataAccess",
3097
+ "parameterOrder": [
3098
+ "name"
3099
+ ],
3100
+ "parameters": {
3101
+ "name": {
3102
+ "description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.",
3103
+ "location": "path",
3104
+ "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$",
3105
+ "required": true,
3106
+ "type": "string"
3107
+ },
3108
+ "resourceId": {
3109
+ "description": "Required. The ID (`{resourceType}/{id}`) of the resource to explain data access on.",
3110
+ "location": "query",
3111
+ "type": "string"
3112
+ }
3113
+ },
3114
+ "path": "v1/{+name}:explainDataAccess",
3115
+ "response": {
3116
+ "$ref": "ExplainDataAccessResponse"
3117
+ },
3118
+ "scopes": [
3119
+ "https://www.googleapis.com/auth/cloud-healthcare",
3120
+ "https://www.googleapis.com/auth/cloud-platform"
3121
+ ]
3122
+ },
3034
3123
  "export": {
3035
3124
  "description": "Export resources from the FHIR store to the specified destination. This method returns an Operation that can be used to track the status of the export by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ExportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.",
3036
3125
  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:export",
@@ -3451,6 +3540,69 @@
3451
3540
  "https://www.googleapis.com/auth/cloud-platform"
3452
3541
  ]
3453
3542
  },
3543
+ "Consent-enforcement-status": {
3544
+ "description": "Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2.",
3545
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Consent/{ConsentId}/$consent-enforcement-status",
3546
+ "httpMethod": "GET",
3547
+ "id": "healthcare.projects.locations.datasets.fhirStores.fhir.Consent-enforcement-status",
3548
+ "parameterOrder": [
3549
+ "name"
3550
+ ],
3551
+ "parameters": {
3552
+ "name": {
3553
+ "description": "Required. The name of the consent resource to find enforcement status, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{consent_id}`",
3554
+ "location": "path",
3555
+ "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Consent/[^/]+$",
3556
+ "required": true,
3557
+ "type": "string"
3558
+ }
3559
+ },
3560
+ "path": "v1/{+name}/$consent-enforcement-status",
3561
+ "response": {
3562
+ "$ref": "HttpBody"
3563
+ },
3564
+ "scopes": [
3565
+ "https://www.googleapis.com/auth/cloud-healthcare",
3566
+ "https://www.googleapis.com/auth/cloud-platform"
3567
+ ]
3568
+ },
3569
+ "Patient-consent-enforcement-status": {
3570
+ "description": "Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2.",
3571
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Patient/{PatientId}/$consent-enforcement-status",
3572
+ "httpMethod": "GET",
3573
+ "id": "healthcare.projects.locations.datasets.fhirStores.fhir.Patient-consent-enforcement-status",
3574
+ "parameterOrder": [
3575
+ "name"
3576
+ ],
3577
+ "parameters": {
3578
+ "_count": {
3579
+ "description": "Optional. The maximum number of results on a page. If not specified, 100 is used. May not be larger than 1000.",
3580
+ "format": "int32",
3581
+ "location": "query",
3582
+ "type": "integer"
3583
+ },
3584
+ "_page_token": {
3585
+ "description": "Optional. Used to retrieve the first, previous, next, or last page of consent enforcement statuses when using pagination. Value should be set to the value of `_page_token` set in next or previous page links' URLs. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.",
3586
+ "location": "query",
3587
+ "type": "string"
3588
+ },
3589
+ "name": {
3590
+ "description": "Required. The name of the patient to find enforcement statuses, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}`",
3591
+ "location": "path",
3592
+ "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$",
3593
+ "required": true,
3594
+ "type": "string"
3595
+ }
3596
+ },
3597
+ "path": "v1/{+name}/$consent-enforcement-status",
3598
+ "response": {
3599
+ "$ref": "HttpBody"
3600
+ },
3601
+ "scopes": [
3602
+ "https://www.googleapis.com/auth/cloud-healthcare",
3603
+ "https://www.googleapis.com/auth/cloud-platform"
3604
+ ]
3605
+ },
3454
3606
  "Patient-everything": {
3455
3607
  "description": "Retrieves a Patient resource and resources related to that patient. Implements the FHIR extended operation Patient-everything ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/patient-operations.html#everything), [STU3](http://hl7.org/implement/standards/fhir/STU3/patient-operations.html#everything), [R4](http://hl7.org/implement/standards/fhir/R4/patient-operations.html#everything)). On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The resources in scope for the response are: * The patient resource itself. * All the resources directly referenced by the patient resource. * Resources directly referencing the patient resource that meet the inclusion criteria. The inclusion criteria are based on the membership rules in the patient compartment definition ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html), [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html), [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which details the eligible resource types and referencing search parameters. For samples that show how to call `Patient-everything`, see [Getting all patient compartment resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_all_patient_compartment_resources).",
3456
3608
  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Patient/{PatientId}/$everything",
@@ -4783,9 +4935,32 @@
4783
4935
  }
4784
4936
  }
4785
4937
  },
4786
- "revision": "20241115",
4938
+ "revision": "20241205",
4787
4939
  "rootUrl": "https://healthcare.googleapis.com/",
4788
4940
  "schemas": {
4941
+ "AccessDeterminationLogConfig": {
4942
+ "description": "Configures consent audit log config for FHIR create, read, update, and delete (CRUD) operations. Cloud audit log for healthcare API must be [enabled](https://cloud.google.com/logging/docs/audit/configure-data-access#config-console-enable). The consent-related logs are included as part of `protoPayload.metadata`.",
4943
+ "id": "AccessDeterminationLogConfig",
4944
+ "properties": {
4945
+ "logLevel": {
4946
+ "description": "Optional. Controls the amount of detail to include as part of the audit logs.",
4947
+ "enum": [
4948
+ "LOG_LEVEL_UNSPECIFIED",
4949
+ "DISABLED",
4950
+ "MINIMUM",
4951
+ "VERBOSE"
4952
+ ],
4953
+ "enumDescriptions": [
4954
+ "No log level specified. This value is unused.",
4955
+ "No additional consent-related logging is added to audit logs.",
4956
+ "The following information is included: * One of the following [`consentMode`](https://cloud.google.com/healthcare-api/docs/fhir-consent#audit_logs) fields: (`off`|`emptyScope`|`enforced`|`btg`|`bypass`). * The accessor's request headers * The `log_level` of the AccessDeterminationLogConfig * The final consent evaluation (`PERMIT`, `DENY`, or `NO_CONSENT`) * A human-readable summary of the evaluation",
4957
+ "Includes `MINIMUM` and, for each resource owner, returns: * The resource owner's name * Most specific part of the `X-Consent-Scope` resulting in consensual determination * Timestamp of the applied enforcement leading to the decision * Enforcement version at the time the applicable consents were applied * The Consent resource name * The timestamp of the Consent resource used for enforcement * Policy type (`PATIENT` or `ADMIN`) Note that this mode adds some overhead to CRUD operations."
4958
+ ],
4959
+ "type": "string"
4960
+ }
4961
+ },
4962
+ "type": "object"
4963
+ },
4789
4964
  "ActivateConsentRequest": {
4790
4965
  "description": "Activates the latest revision of the specified Consent by committing a new revision with `state` updated to `ACTIVE`. If the latest revision of the given Consent is in the `ACTIVE` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the given consent is in the `REJECTED` or `REVOKED` state.",
4791
4966
  "id": "ActivateConsentRequest",
@@ -4807,6 +4982,20 @@
4807
4982
  },
4808
4983
  "type": "object"
4809
4984
  },
4985
+ "AdminConsents": {
4986
+ "description": "List of admin Consent resources to be applied.",
4987
+ "id": "AdminConsents",
4988
+ "properties": {
4989
+ "names": {
4990
+ "description": "Optional. The versioned names of the admin Consent resource(s), in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.",
4991
+ "items": {
4992
+ "type": "string"
4993
+ },
4994
+ "type": "array"
4995
+ }
4996
+ },
4997
+ "type": "object"
4998
+ },
4810
4999
  "AnalyzeEntitiesRequest": {
4811
5000
  "description": "The request to analyze healthcare entities in a document.",
4812
5001
  "id": "AnalyzeEntitiesRequest",
@@ -4879,6 +5068,108 @@
4879
5068
  },
4880
5069
  "type": "object"
4881
5070
  },
5071
+ "ApplyAdminConsentsErrorDetail": {
5072
+ "description": "Contains the error details of the unsupported admin Consent resources for when the ApplyAdminConsents method fails to apply one or more Consent resources.",
5073
+ "id": "ApplyAdminConsentsErrorDetail",
5074
+ "properties": {
5075
+ "consentErrors": {
5076
+ "description": "The list of Consent resources that are unsupported or cannot be applied and the error associated with each of them.",
5077
+ "items": {
5078
+ "$ref": "ConsentErrors"
5079
+ },
5080
+ "type": "array"
5081
+ },
5082
+ "existingOperationId": {
5083
+ "description": "The currently in progress non-validate-only ApplyAdminConsents operation ID if exist.",
5084
+ "format": "uint64",
5085
+ "type": "string"
5086
+ }
5087
+ },
5088
+ "type": "object"
5089
+ },
5090
+ "ApplyAdminConsentsRequest": {
5091
+ "description": "Request to apply the admin Consent resources for the specified FHIR store.",
5092
+ "id": "ApplyAdminConsentsRequest",
5093
+ "properties": {
5094
+ "newConsentsList": {
5095
+ "$ref": "AdminConsents",
5096
+ "description": "A new list of admin Consent resources to be applied. Any existing enforced Consents, which are specified in `consent_config.enforced_admin_consents` of the FhirStore, that are not part of this list will be disabled. An empty list is equivalent to clearing or disabling all Consents enforced on the FHIR store. When a FHIR store has `disable_resource_versioning=true` and this list contains a Consent resource that exists in `consent_config.enforced_admin_consents`, the method enforces any updates to the existing resource since the last enforcement. If the existing resource hasn't been updated since the last enforcement, the resource is unaffected. After the method finishes, the resulting consent enforcement model is determined by the contents of the Consent resource(s) when the method was called: * When `disable_resource_versioning=true`, the result is identical to the current resource(s) in the FHIR store. * When `disable_resource_versioning=false`, the result is based on the historical version(s) of the Consent resource(s) at the point in time when the method was called. At most 200 Consents can be specified."
5097
+ },
5098
+ "validateOnly": {
5099
+ "description": "Optional. If true, the method only validates Consent resources to make sure they are supported. Otherwise, the method applies the aggregate consent information to update the enforcement model and reindex the FHIR resources. If all Consent resources can be applied successfully, the ApplyAdminConsentsResponse is returned containing the following fields: * `consent_apply_success` to indicate the number of Consent resources applied. * `affected_resources` to indicate the number of resources that might have had their consent access changed. If, however, one or more Consent resources are unsupported or cannot be applied, the method fails and ApplyAdminConsentsErrorDetail is is returned with details about the unsupported Consent resources.",
5100
+ "type": "boolean"
5101
+ }
5102
+ },
5103
+ "type": "object"
5104
+ },
5105
+ "ApplyAdminConsentsResponse": {
5106
+ "description": "Response when all admin Consent resources in scope were processed and all affected resources were reindexed successfully. This structure will be included in the response when the operation finishes successfully.",
5107
+ "id": "ApplyAdminConsentsResponse",
5108
+ "properties": {
5109
+ "affectedResources": {
5110
+ "description": "The number of resources (including the Consent resources) that may have consent access change.",
5111
+ "format": "int64",
5112
+ "type": "string"
5113
+ },
5114
+ "consentApplySuccess": {
5115
+ "description": "If `validate_only=false` in ApplyAdminConsentsRequest, this counter contains the number of Consent resources that were successfully applied. Otherwise, it is the number of Consent resources that are supported.",
5116
+ "format": "int64",
5117
+ "type": "string"
5118
+ },
5119
+ "failedResources": {
5120
+ "description": "The number of resources (including the Consent resources) that ApplyAdminConsents failed to re-index.",
5121
+ "format": "int64",
5122
+ "type": "string"
5123
+ }
5124
+ },
5125
+ "type": "object"
5126
+ },
5127
+ "ApplyConsentsRequest": {
5128
+ "description": "Request to apply the Consent resources for the specified FHIR store.",
5129
+ "id": "ApplyConsentsRequest",
5130
+ "properties": {
5131
+ "patientScope": {
5132
+ "$ref": "PatientScope",
5133
+ "description": "Optional. Scope down to a list of patients."
5134
+ },
5135
+ "timeRange": {
5136
+ "$ref": "TimeRange",
5137
+ "description": "Optional. Scope down to patients whose most recent consent changes are in the time range. Can only be used with a versioning store (i.e. when disable_resource_versioning is set to false)."
5138
+ },
5139
+ "validateOnly": {
5140
+ "description": "Optional. If true, the method only validates Consent resources to make sure they are supported. When the operation completes, ApplyConsentsResponse is returned where `consent_apply_success` and `consent_apply_failure` indicate supported and unsupported (or invalid) Consent resources, respectively. Otherwise, the method propagates the aggregate consensual information to the patient's resources. Upon success, `affected_resources` in the ApplyConsentsResponse indicates the number of resources that may have consensual access changed.",
5141
+ "type": "boolean"
5142
+ }
5143
+ },
5144
+ "type": "object"
5145
+ },
5146
+ "ApplyConsentsResponse": {
5147
+ "description": "Response when all Consent resources in scope were processed and all affected resources were reindexed successfully. This structure is included in the response when the operation finishes successfully.",
5148
+ "id": "ApplyConsentsResponse",
5149
+ "properties": {
5150
+ "affectedResources": {
5151
+ "description": "The number of resources (including the Consent resources) that may have consensual access change.",
5152
+ "format": "int64",
5153
+ "type": "string"
5154
+ },
5155
+ "consentApplyFailure": {
5156
+ "description": "If `validate_only = false` in ApplyConsentsRequest, this counter is the number of Consent resources that were failed to apply. Otherwise, it is the number of Consent resources that are not supported or invalid.",
5157
+ "format": "int64",
5158
+ "type": "string"
5159
+ },
5160
+ "consentApplySuccess": {
5161
+ "description": "If `validate_only = false` in ApplyConsentsRequest, this counter is the number of Consent resources that were successfully applied. Otherwise, it is the number of Consent resources that are supported.",
5162
+ "format": "int64",
5163
+ "type": "string"
5164
+ },
5165
+ "failedResources": {
5166
+ "description": "The number of resources (including the Consent resources) that ApplyConsents failed to re-index.",
5167
+ "format": "int64",
5168
+ "type": "string"
5169
+ }
5170
+ },
5171
+ "type": "object"
5172
+ },
4882
5173
  "ArchiveUserDataMappingRequest": {
4883
5174
  "description": "Archives the specified User data mapping.",
4884
5175
  "id": "ArchiveUserDataMappingRequest",
@@ -5231,6 +5522,25 @@
5231
5522
  },
5232
5523
  "type": "object"
5233
5524
  },
5525
+ "ConsentAccessorScope": {
5526
+ "description": "The accessor scope that describes who can access, for what purpose, in which environment.",
5527
+ "id": "ConsentAccessorScope",
5528
+ "properties": {
5529
+ "actor": {
5530
+ "description": "An individual, group, or access role that identifies the accessor or a characteristic of the accessor. This can be a resource ID (such as `{resourceType}/{id}`) or an external URI. This value must be present.",
5531
+ "type": "string"
5532
+ },
5533
+ "environment": {
5534
+ "description": "An abstract identifier that describes the environment or conditions under which the accessor is acting. Can be \"*\" if it applies to all environments.",
5535
+ "type": "string"
5536
+ },
5537
+ "purpose": {
5538
+ "description": "The intent of data use. Can be \"*\" if it applies to all purposes.",
5539
+ "type": "string"
5540
+ }
5541
+ },
5542
+ "type": "object"
5543
+ },
5234
5544
  "ConsentArtifact": {
5235
5545
  "description": "Documentation of a user's consent.",
5236
5546
  "id": "ConsentArtifact",
@@ -5276,6 +5586,60 @@
5276
5586
  },
5277
5587
  "type": "object"
5278
5588
  },
5589
+ "ConsentConfig": {
5590
+ "description": "Configures whether to enforce consent for the FHIR store and which consent enforcement version is being used.",
5591
+ "id": "ConsentConfig",
5592
+ "properties": {
5593
+ "accessDeterminationLogConfig": {
5594
+ "$ref": "AccessDeterminationLogConfig",
5595
+ "description": "Optional. Specifies how the server logs the consent-aware requests. If not specified, the `AccessDeterminationLogConfig.LogLevel.MINIMUM` option is used."
5596
+ },
5597
+ "accessEnforced": {
5598
+ "description": "Optional. The default value is false. If set to true, when accessing FHIR resources, the consent headers will be verified against consents given by patients. See the ConsentEnforcementVersion for the supported consent headers.",
5599
+ "type": "boolean"
5600
+ },
5601
+ "consentHeaderHandling": {
5602
+ "$ref": "ConsentHeaderHandling",
5603
+ "description": "Optional. Different options to configure the behaviour of the server when handling the `X-Consent-Scope` header."
5604
+ },
5605
+ "enforcedAdminConsents": {
5606
+ "description": "Output only. The versioned names of the enforced admin Consent resource(s), in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`. This field can only be updated using ApplyAdminConsents.",
5607
+ "items": {
5608
+ "type": "string"
5609
+ },
5610
+ "readOnly": true,
5611
+ "type": "array"
5612
+ },
5613
+ "version": {
5614
+ "description": "Required. Specifies which consent enforcement version is being used for this FHIR store. This field can only be set once by either CreateFhirStore or UpdateFhirStore. After that, you must call ApplyConsents to change the version.",
5615
+ "enum": [
5616
+ "CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED",
5617
+ "V1"
5618
+ ],
5619
+ "enumDescriptions": [
5620
+ "Users must specify an enforcement version or an error is returned.",
5621
+ "Enforcement version 1. See the [FHIR Consent resources in the Cloud Healthcare API](https://cloud.google.com/healthcare-api/docs/fhir-consent) guide for more details."
5622
+ ],
5623
+ "type": "string"
5624
+ }
5625
+ },
5626
+ "type": "object"
5627
+ },
5628
+ "ConsentErrors": {
5629
+ "description": "The Consent resource name and error.",
5630
+ "id": "ConsentErrors",
5631
+ "properties": {
5632
+ "error": {
5633
+ "$ref": "Status",
5634
+ "description": "The error code and message."
5635
+ },
5636
+ "name": {
5637
+ "description": "The versioned name of the admin Consent resource, in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.",
5638
+ "type": "string"
5639
+ }
5640
+ },
5641
+ "type": "object"
5642
+ },
5279
5643
  "ConsentEvaluation": {
5280
5644
  "description": "The detailed evaluation of a particular Consent.",
5281
5645
  "id": "ConsentEvaluation",
@@ -5301,6 +5665,27 @@
5301
5665
  },
5302
5666
  "type": "object"
5303
5667
  },
5668
+ "ConsentHeaderHandling": {
5669
+ "description": "How the server handles the consent header.",
5670
+ "id": "ConsentHeaderHandling",
5671
+ "properties": {
5672
+ "profile": {
5673
+ "description": "Optional. Specifies the default server behavior when the header is empty. If not specified, the `ScopeProfile.PERMIT_EMPTY_SCOPE` option is used.",
5674
+ "enum": [
5675
+ "SCOPE_PROFILE_UNSPECIFIED",
5676
+ "PERMIT_EMPTY_SCOPE",
5677
+ "REQUIRED_ON_READ"
5678
+ ],
5679
+ "enumDescriptions": [
5680
+ "If not specified, the default value `PERMIT_EMPTY_SCOPE` is used.",
5681
+ "When no consent scopes are provided (for example, if there's an empty or missing header), then consent check is disabled, similar to when `access_enforced` is `false`. You can use audit logs to differentiate these two cases by looking at the value of `protopayload.metadata.consentMode`. If consents scopes are present, they must be valid and within the allowed limits, otherwise the request will be rejected with a `4xx` code.",
5682
+ "The consent header must be non-empty when performing read and search operations, otherwise the request is rejected with a `4xx` code. Additionally, invalid consent scopes or scopes exceeding the allowed limits are rejected."
5683
+ ],
5684
+ "type": "string"
5685
+ }
5686
+ },
5687
+ "type": "object"
5688
+ },
5304
5689
  "ConsentList": {
5305
5690
  "description": "List of resource names of Consent resources.",
5306
5691
  "id": "ConsentList",
@@ -5805,6 +6190,128 @@
5805
6190
  },
5806
6191
  "type": "object"
5807
6192
  },
6193
+ "ExplainDataAccessConsentInfo": {
6194
+ "description": "The enforcing consent's metadata.",
6195
+ "id": "ExplainDataAccessConsentInfo",
6196
+ "properties": {
6197
+ "cascadeOrigins": {
6198
+ "description": "The compartment base resources that matched a cascading policy. Each resource has the following format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/{resource_type}/{resource_id}`",
6199
+ "items": {
6200
+ "type": "string"
6201
+ },
6202
+ "type": "array"
6203
+ },
6204
+ "consentResource": {
6205
+ "description": "The resource name of this consent resource, in the format: `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.",
6206
+ "type": "string"
6207
+ },
6208
+ "enforcementTime": {
6209
+ "description": "Last enforcement timestamp of this consent resource.",
6210
+ "format": "google-datetime",
6211
+ "type": "string"
6212
+ },
6213
+ "matchingAccessorScopes": {
6214
+ "description": "A list of all the matching accessor scopes of this consent policy that enforced ExplainDataAccessConsentScope.accessor_scope.",
6215
+ "items": {
6216
+ "$ref": "ConsentAccessorScope"
6217
+ },
6218
+ "type": "array"
6219
+ },
6220
+ "patientConsentOwner": {
6221
+ "description": "The patient owning the consent (only applicable for patient consents), in the format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}`",
6222
+ "type": "string"
6223
+ },
6224
+ "type": {
6225
+ "description": "The policy type of consent resource (e.g. PATIENT, ADMIN).",
6226
+ "enum": [
6227
+ "CONSENT_POLICY_TYPE_UNSPECIFIED",
6228
+ "CONSENT_POLICY_TYPE_PATIENT",
6229
+ "CONSENT_POLICY_TYPE_ADMIN"
6230
+ ],
6231
+ "enumDescriptions": [
6232
+ "Unspecified policy type.",
6233
+ "Consent represent a patient consent.",
6234
+ "Consent represent an admin consent."
6235
+ ],
6236
+ "type": "string"
6237
+ },
6238
+ "variants": {
6239
+ "description": "The consent's variant combinations. A single consent may have multiple variants.",
6240
+ "items": {
6241
+ "enum": [
6242
+ "CONSENT_VARIANT_UNSPECIFIED",
6243
+ "CONSENT_VARIANT_STANDARD",
6244
+ "CONSENT_VARIANT_CASCADE"
6245
+ ],
6246
+ "enumDescriptions": [
6247
+ "Consent variant unspecified.",
6248
+ "Consent is a standard patient or admin consent.",
6249
+ "Consent is a cascading consent."
6250
+ ],
6251
+ "type": "string"
6252
+ },
6253
+ "type": "array"
6254
+ }
6255
+ },
6256
+ "type": "object"
6257
+ },
6258
+ "ExplainDataAccessConsentScope": {
6259
+ "description": "A single consent scope that provides info on who has access to the requested resource scope for a particular purpose and environment, enforced by which consent.",
6260
+ "id": "ExplainDataAccessConsentScope",
6261
+ "properties": {
6262
+ "accessorScope": {
6263
+ "$ref": "ConsentAccessorScope",
6264
+ "description": "The accessor scope that describes who can access, for what purpose, and in which environment."
6265
+ },
6266
+ "decision": {
6267
+ "description": "Whether the current consent scope is permitted or denied access on the requested resource.",
6268
+ "enum": [
6269
+ "CONSENT_DECISION_TYPE_UNSPECIFIED",
6270
+ "CONSENT_DECISION_TYPE_PERMIT",
6271
+ "CONSENT_DECISION_TYPE_DENY"
6272
+ ],
6273
+ "enumDescriptions": [
6274
+ "Unspecified consent decision type.",
6275
+ "Consent permitted access.",
6276
+ "Consent denied access."
6277
+ ],
6278
+ "type": "string"
6279
+ },
6280
+ "enforcingConsents": {
6281
+ "description": "Metadata of the consent resources that enforce the consent scope's access.",
6282
+ "items": {
6283
+ "$ref": "ExplainDataAccessConsentInfo"
6284
+ },
6285
+ "type": "array"
6286
+ },
6287
+ "exceptions": {
6288
+ "description": "Other consent scopes that created exceptions within this scope.",
6289
+ "items": {
6290
+ "$ref": "ExplainDataAccessConsentScope"
6291
+ },
6292
+ "type": "array"
6293
+ }
6294
+ },
6295
+ "type": "object"
6296
+ },
6297
+ "ExplainDataAccessResponse": {
6298
+ "description": "List of consent scopes that are applicable to the explained access on a given resource.",
6299
+ "id": "ExplainDataAccessResponse",
6300
+ "properties": {
6301
+ "consentScopes": {
6302
+ "description": "List of applicable consent scopes. Sorted in order of actor such that scopes belonging to the same actor will be adjacent to each other in the list.",
6303
+ "items": {
6304
+ "$ref": "ExplainDataAccessConsentScope"
6305
+ },
6306
+ "type": "array"
6307
+ },
6308
+ "warning": {
6309
+ "description": "Warnings associated with this response. It inform user with exceeded scope limit errors.",
6310
+ "type": "string"
6311
+ }
6312
+ },
6313
+ "type": "object"
6314
+ },
5808
6315
  "ExportDicomDataRequest": {
5809
6316
  "description": "Exports data from the specified DICOM store. If a given resource, such as a DICOM object with the same SOPInstance UID, already exists in the output, it is overwritten with the version in the source dataset. Exported DICOM data persists when the DICOM store from which it was exported is deleted.",
5810
6317
  "id": "ExportDicomDataRequest",
@@ -5995,6 +6502,10 @@
5995
6502
  ],
5996
6503
  "type": "string"
5997
6504
  },
6505
+ "consentConfig": {
6506
+ "$ref": "ConsentConfig",
6507
+ "description": "Optional. Specifies whether this store has consent enforcement. Not available for DSTU2 FHIR version due to absence of Consent resources."
6508
+ },
5998
6509
  "defaultSearchHandlingStrict": {
5999
6510
  "description": "Optional. If true, overrides the default search behavior for this FHIR store to `handling=strict` which returns an error for unrecognized search parameters. If false, uses the FHIR specification default `handling=lenient` which ignores unrecognized search parameters. The handling can always be changed from the default on an individual API call by setting the HTTP header `Prefer: handling=strict` or `Prefer: handling=lenient`. Defaults to false.",
6000
6511
  "type": "boolean"
@@ -7223,6 +7734,20 @@
7223
7734
  },
7224
7735
  "type": "object"
7225
7736
  },
7737
+ "PatientScope": {
7738
+ "description": "Apply consents given by a list of patients.",
7739
+ "id": "PatientScope",
7740
+ "properties": {
7741
+ "patientIds": {
7742
+ "description": "Optional. The list of patient IDs whose Consent resources will be enforced. At most 10,000 patients can be specified. An empty list is equivalent to all patients (meaning the entire FHIR store).",
7743
+ "items": {
7744
+ "type": "string"
7745
+ },
7746
+ "type": "array"
7747
+ }
7748
+ },
7749
+ "type": "object"
7750
+ },
7226
7751
  "Policy": {
7227
7752
  "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
7228
7753
  "id": "Policy",
@@ -8059,6 +8584,21 @@
8059
8584
  },
8060
8585
  "type": "object"
8061
8586
  },
8587
+ "TimeRange": {
8588
+ "description": "Apply consents given by patients whose most recent consent changes are in the time range. Note that after identifying these patients, the server applies all Consent resources given by those patients, not just the Consent resources within the timestamp in the range.",
8589
+ "id": "TimeRange",
8590
+ "properties": {
8591
+ "end": {
8592
+ "description": "Optional. The latest consent change time, in format YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the time when ApplyConsents was called.",
8593
+ "type": "string"
8594
+ },
8595
+ "start": {
8596
+ "description": "Optional. The earliest consent change time, in format YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the FHIR store creation time.",
8597
+ "type": "string"
8598
+ }
8599
+ },
8600
+ "type": "object"
8601
+ },
8062
8602
  "Type": {
8063
8603
  "description": "A type definition for some HL7v2 type (incl. Segments and Datatypes).",
8064
8604
  "id": "Type",