Class: Google::Apis::HealthcareV1::ExportMessagesRequest

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



1408
1409
1410
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1408

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)


1389
1390
1391
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1389

def end_time
  @end_time
end

#gcs_destinationGoogle::Apis::HealthcareV1::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



1396
1397
1398
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1396

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)


1406
1407
1408
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1406

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1413
1414
1415
1416
1417
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1413

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