google-apis-healthcare_v1 0.65.0 → 0.66.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 +4 -0
- data/lib/google/apis/healthcare_v1/gem_version.rb +2 -2
- data/lib/google/apis/healthcare_v1/service.rb +201 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52e0d31fb13d5afe64d1e6bd100299eae71a6fbd207be7a0950c66bf9a98a1ff
|
4
|
+
data.tar.gz: c55b4ff5f461b632bc3aff6cbf3151b0a2d92d7a8520baaf8041781337577183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd955a1d8d7049f92b291164ed01cbe3a723e96377554ff88b7c5fa6bef4ddbd207a24b12a54d897cbbadda71d9664811c654ad9204c86024c38d33c389eeb9c
|
7
|
+
data.tar.gz: 1dfb5f3938a8edcddb7ef7b0df2244d01c34cd5c5decc76b3f813ca15856213b107e8011ac90fea54b0208042fee3d2cb7f526a310899247a3a105fe84c9c539
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module HealthcareV1
|
18
18
|
# Version of the google-apis-healthcare_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.66.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240822"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4107,6 +4107,207 @@ module Google
|
|
4107
4107
|
execute_or_queue_command(command, &block)
|
4108
4108
|
end
|
4109
4109
|
|
4110
|
+
# Creates a FHIR Binary resource. This method can be used to create a Binary
|
4111
|
+
# resource either by using one of the accepted FHIR JSON content types, or as a
|
4112
|
+
# raw data stream. If a resource is created with this method using the FHIR
|
4113
|
+
# content type this method's behavior is the same as [`fhir.create`](https://
|
4114
|
+
# cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.
|
4115
|
+
# datasets.fhirStores.fhir/create). If a resource type other than Binary is used
|
4116
|
+
# in the request it's treated in the same way as non-FHIR data (e.g., images,
|
4117
|
+
# zip archives, pdf files, documents). When a non-FHIR content type is used in
|
4118
|
+
# the request, a Binary resource will be generated, and the uploaded data will
|
4119
|
+
# be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`
|
4120
|
+
# R4`). The Binary resource's `contentType` will be filled in using the value of
|
4121
|
+
# the `Content-Type` header, and the `securityContext` field (not present in `
|
4122
|
+
# DSTU2`) will be populated from the `X-Security-Context` header if it exists.
|
4123
|
+
# At this time `securityContext` has no special behavior in the Cloud Healthcare
|
4124
|
+
# API. Note: the limit on data ingested through this method is 2 GB. For best
|
4125
|
+
# performance, use a non-FHIR data type instead of wrapping the data in a Binary
|
4126
|
+
# resource. Some of the Healthcare API features, such as [exporting to BigQuery](
|
4127
|
+
# https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [
|
4128
|
+
# Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-
|
4129
|
+
# pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with
|
4130
|
+
# full resource content, do not support Binary resources that are larger than 10
|
4131
|
+
# MB. In these cases the resource's `data` field will be omitted. Instead, the "
|
4132
|
+
# http://hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be
|
4133
|
+
# present to indicate that including the data is `unsupported`. On success, an
|
4134
|
+
# empty `201 Created` response is returned. The newly created resource's ID and
|
4135
|
+
# version are returned in the Location header. Using `Prefer: representation=
|
4136
|
+
# resource` is not allowed for this method. The definition of the Binary REST
|
4137
|
+
# API can be found at https://hl7.org/fhir/binary.html#rest.
|
4138
|
+
# @param [String] parent
|
4139
|
+
# Required. The name of the FHIR store this resource belongs to.
|
4140
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
4141
|
+
# @param [String] fields
|
4142
|
+
# Selector specifying which fields to include in a partial response.
|
4143
|
+
# @param [String] quota_user
|
4144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4146
|
+
# @param [Google::Apis::RequestOptions] options
|
4147
|
+
# Request-specific options
|
4148
|
+
#
|
4149
|
+
# @yield [result, err] Result & error if block supplied
|
4150
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
4151
|
+
# @yieldparam err [StandardError] error object if request failed
|
4152
|
+
#
|
4153
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
4154
|
+
#
|
4155
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4156
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4157
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4158
|
+
def binary_project_location_dataset_fhir_store_fhir_create(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4159
|
+
command = make_simple_command(:post, 'v1/{+parent}/fhir/Binary', options)
|
4160
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
4161
|
+
command.request_object = http_body_object
|
4162
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
4163
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
4164
|
+
command.params['parent'] = parent unless parent.nil?
|
4165
|
+
command.query['fields'] = fields unless fields.nil?
|
4166
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4167
|
+
execute_or_queue_command(command, &block)
|
4168
|
+
end
|
4169
|
+
|
4170
|
+
# Gets the contents of a FHIR Binary resource. This method can be used to
|
4171
|
+
# retrieve a Binary resource either by using the FHIR JSON mimetype as the value
|
4172
|
+
# for the Accept header, or as a raw data stream. If the FHIR Accept type is
|
4173
|
+
# used this method will return a Binary resource with the data base64-encoded,
|
4174
|
+
# regardless of how the resource was created. The resource data can be retrieved
|
4175
|
+
# in base64-decoded form if the Accept type of the request matches the value of
|
4176
|
+
# the resource's `contentType` field. The definition of the Binary REST API can
|
4177
|
+
# be found at https://hl7.org/fhir/binary.html#rest.
|
4178
|
+
# @param [String] name
|
4179
|
+
# Required. The name of the Binary resource to retrieve.
|
4180
|
+
# @param [String] fields
|
4181
|
+
# Selector specifying which fields to include in a partial response.
|
4182
|
+
# @param [String] quota_user
|
4183
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4184
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4185
|
+
# @param [Google::Apis::RequestOptions] options
|
4186
|
+
# Request-specific options
|
4187
|
+
#
|
4188
|
+
# @yield [result, err] Result & error if block supplied
|
4189
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
4190
|
+
# @yieldparam err [StandardError] error object if request failed
|
4191
|
+
#
|
4192
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
4193
|
+
#
|
4194
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4195
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4196
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4197
|
+
def binary_project_location_dataset_fhir_store_fhir_read(name, fields: nil, quota_user: nil, options: nil, &block)
|
4198
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
4199
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
4200
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
4201
|
+
command.params['name'] = name unless name.nil?
|
4202
|
+
command.query['fields'] = fields unless fields.nil?
|
4203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4204
|
+
execute_or_queue_command(command, &block)
|
4205
|
+
end
|
4206
|
+
|
4207
|
+
# Updates the entire contents of a Binary resource. If the specified resource
|
4208
|
+
# does not exist and the FHIR store has enable_update_create set, creates the
|
4209
|
+
# resource with the client-specified ID. It is strongly advised not to include
|
4210
|
+
# or encode any sensitive data such as patient identifiers in client-specified
|
4211
|
+
# resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud
|
4212
|
+
# Audit Logs and Pub/Sub notifications. Those IDs can also be contained in
|
4213
|
+
# reference fields within other resources. This method can be used to update a
|
4214
|
+
# Binary resource either by using one of the accepted FHIR JSON content types,
|
4215
|
+
# or as a raw data stream. If a resource is updated with this method using the
|
4216
|
+
# FHIR content type this method's behavior is the same as `update`. If a
|
4217
|
+
# resource type other than Binary is used in the request it will be treated in
|
4218
|
+
# the same way as non-FHIR data. When a non-FHIR content type is used in the
|
4219
|
+
# request, a Binary resource will be generated using the ID from the resource
|
4220
|
+
# path, and the uploaded data will be stored in the `content` field (`DSTU2` and
|
4221
|
+
# `STU3`), or the `data` field (`R4`). The Binary resource's `contentType` will
|
4222
|
+
# be filled in using the value of the `Content-Type` header, and the `
|
4223
|
+
# securityContext` field (not present in `DSTU2`) will be populated from the `X-
|
4224
|
+
# Security-Context` header if it exists. At this time `securityContext` has no
|
4225
|
+
# special behavior in the Cloud Healthcare API. Note: the limit on data ingested
|
4226
|
+
# through this method is 2 GB. For best performance, use a non-FHIR data type
|
4227
|
+
# instead of wrapping the data in a Binary resource. Some of the Healthcare API
|
4228
|
+
# features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-
|
4229
|
+
# api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://
|
4230
|
+
# cloud.google.com/healthcare-api/docs/fhir-pubsub#
|
4231
|
+
# behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full
|
4232
|
+
# resource content, do not support Binary resources that are larger than 10 MB.
|
4233
|
+
# In these cases the resource's `data` field will be omitted. Instead, the "http:
|
4234
|
+
# //hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be
|
4235
|
+
# present to indicate that including the data is `unsupported`. On success, an
|
4236
|
+
# empty 200 OK response will be returned, or a 201 Created if the resource did
|
4237
|
+
# not exit. The resource's ID and version are returned in the Location header.
|
4238
|
+
# Using `Prefer: representation=resource` is not allowed for this method. The
|
4239
|
+
# definition of the Binary REST API can be found at https://hl7.org/fhir/binary.
|
4240
|
+
# html#rest.
|
4241
|
+
# @param [String] name
|
4242
|
+
# Required. The name of the resource to update.
|
4243
|
+
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
4244
|
+
# @param [String] fields
|
4245
|
+
# Selector specifying which fields to include in a partial response.
|
4246
|
+
# @param [String] quota_user
|
4247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4249
|
+
# @param [Google::Apis::RequestOptions] options
|
4250
|
+
# Request-specific options
|
4251
|
+
#
|
4252
|
+
# @yield [result, err] Result & error if block supplied
|
4253
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
4254
|
+
# @yieldparam err [StandardError] error object if request failed
|
4255
|
+
#
|
4256
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
4257
|
+
#
|
4258
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4259
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4260
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4261
|
+
def binary_project_location_dataset_fhir_store_fhir_update(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4262
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
4263
|
+
command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
4264
|
+
command.request_object = http_body_object
|
4265
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
4266
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
4267
|
+
command.params['name'] = name unless name.nil?
|
4268
|
+
command.query['fields'] = fields unless fields.nil?
|
4269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4270
|
+
execute_or_queue_command(command, &block)
|
4271
|
+
end
|
4272
|
+
|
4273
|
+
# Gets the contents of a version (current or historical) of a FHIR Binary
|
4274
|
+
# resource by version ID. This method can be used to retrieve a Binary resource
|
4275
|
+
# version either by using the FHIR JSON mimetype as the value for the Accept
|
4276
|
+
# header, or as a raw data stream. If the FHIR Accept type is used this method
|
4277
|
+
# will return a Binary resource with the data base64-encoded, regardless of how
|
4278
|
+
# the resource version was created. The resource data can be retrieved in base64-
|
4279
|
+
# decoded form if the Accept type of the request matches the value of the
|
4280
|
+
# resource version's `contentType` field. The definition of the Binary REST API
|
4281
|
+
# can be found at https://hl7.org/fhir/binary.html#rest.
|
4282
|
+
# @param [String] name
|
4283
|
+
# Required. The name of the Binary resource version to retrieve.
|
4284
|
+
# @param [String] fields
|
4285
|
+
# Selector specifying which fields to include in a partial response.
|
4286
|
+
# @param [String] quota_user
|
4287
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4288
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4289
|
+
# @param [Google::Apis::RequestOptions] options
|
4290
|
+
# Request-specific options
|
4291
|
+
#
|
4292
|
+
# @yield [result, err] Result & error if block supplied
|
4293
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
4294
|
+
# @yieldparam err [StandardError] error object if request failed
|
4295
|
+
#
|
4296
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
4297
|
+
#
|
4298
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4299
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4300
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4301
|
+
def binary_project_location_dataset_fhir_store_fhir_vread(name, fields: nil, quota_user: nil, options: nil, &block)
|
4302
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
4303
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
4304
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
4305
|
+
command.params['name'] = name unless name.nil?
|
4306
|
+
command.query['fields'] = fields unless fields.nil?
|
4307
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4308
|
+
execute_or_queue_command(command, &block)
|
4309
|
+
end
|
4310
|
+
|
4110
4311
|
# Retrieves a Patient resource and resources related to that patient. Implements
|
4111
4312
|
# the FHIR extended operation Patient-everything ([DSTU2](http://hl7.org/
|
4112
4313
|
# implement/standards/fhir/DSTU2/patient-operations.html#everything), [STU3](
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-healthcare_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.66.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.66.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|