Class: Google::Apis::HealthcareV1beta1::ExportMessagesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

Request to schedule an export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportMessagesRequest

Returns a new instance of ExportMessagesRequest.



1722
1723
1724
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1722

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

The end of the range in send_time (MSH.7, https://www.hl7.org/documentcenter/ public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process. If not specified, the time when the export is scheduled is used. This value has to come after the start_time defined below. Only messages whose send_time lies in the range start_time (inclusive) to end_time (exclusive) are exported. Corresponds to the JSON property endTime

Returns:

  • (String)


1703
1704
1705
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1703

def end_time
  @end_time
end

#gcs_destinationGoogle::Apis::HealthcareV1beta1::GcsDestination

The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the roles/storage.objectAdmin Cloud IAM roles on the Cloud Storage location. Corresponds to the JSON property gcsDestination



1710
1711
1712
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1710

def gcs_destination
  @gcs_destination
end

#start_timeString

The start of the range in send_time (MSH.7, https://www.hl7.org/ documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH. htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is used. This value has to come before the end_time defined below. Only messages whose send_time lies in the range start_time (inclusive) to end_time (exclusive) are exported. Corresponds to the JSON property startTime

Returns:

  • (String)


1720
1721
1722
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1720

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1727
1728
1729
1730
1731
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1727

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
  @start_time = args[:start_time] if args.key?(:start_time)
end