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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/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.



1870
1871
1872
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1870

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)


1851
1852
1853
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1851

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



1858
1859
1860
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1858

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)


1868
1869
1870
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1868

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1875
1876
1877
1878
1879
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1875

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