generated/google/apis/healthcare_v1beta1/service.rb
def update_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:put, 'v1beta1/{+name}', options)
          command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
          command.request_object = http_body_object
          command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
          command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
          command.params['name'] = name unless name.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
# Updates the entire contents of a resource.
# Implements the FHIR standard update interaction
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#update),
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update)).
# If the specified resource does
# not exist and the FHIR store has
# enable_update_create set, creates the
# resource with the client-specified ID.
# The request body must contain a JSON-encoded FHIR resource, and the request
# headers must contain `Content-Type: application/fhir+json`. The resource
# must contain an `id` element having an identical value to the ID in the
# REST path of the request.
# On success, the response body will contain a JSON-encoded representation
# of the updated resource, including the server-assigned version ID.
# Errors generated by the FHIR store will 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.
# @param [String] name
#   The name of the resource to update.
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::HealthcareV1beta1::HttpBody]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
Updates the entire contents of a resource.
Implements the FHIR standard update interaction
([DSTU2],
[STU3]).
If the specified resource does
not exist and the FHIR store has
enable_update_create set, creates the
resource with the client-specified ID.
The request body must contain a JSON-encoded FHIR resource, and the request
headers must contain `Content-Type: application/fhir+json`. The resource
must contain an `id` element having an identical value to the ID in the
REST path of the request.
On success, the response body will contain a JSON-encoded representation
of the updated resource, including the server-assigned version ID.
Errors generated by the FHIR store will 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.
Updates the entire contents of a resource . Implements the FHIR standard update interaction ( [ DSTU2 ] [ STU3 ] ) . If the specified resource does not exist and the FHIR store has enable_update_create set creates the resource with the client - specified ID . The request body must contain a JSON - encoded FHIR resource and the request headers must contain ` Content - Type : application / fhir + json ` . The resource must contain an ` id ` element having an identical value to the ID in the REST path of the request . On success the response body will contain a JSON - encoded representation of the updated resource including the server - assigned version ID . Errors generated by the FHIR store will 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 .
def update_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:put, 'v1beta1/{+name}', options)
          command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
          command.request_object = http_body_object
          command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
          command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
          command.params['name'] = name unless name.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def update_project_location_dataset_fhir_store_fhir ( name , http_body_object = nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :put , 'v1beta1/{+name}' , options ) command . request_representation = Google :: Apis :: HealthcareV1beta1 :: HttpBody :: Representation command . request_object = http_body_object command . response_representation = Google :: Apis :: HealthcareV1beta1 :: HttpBody :: Representation command . response_class = Google :: Apis :: HealthcareV1beta1 :: HttpBody command . params [ 'name' ] = name unless name . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Updates the entire contents of a resource.
Updates the entire contents of a resource .
None
Google::Apis::HealthcareV1beta1::HttpBody
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
name
http_body_object
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed