Class: Google::Apis::HealthcareV1beta1::ExportResourcesHistoryRequest

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 export the history of resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportResourcesHistoryRequest

Returns a new instance of ExportResourcesHistoryRequest.



2915
2916
2917
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2915

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

Instance Attribute Details

#_sinceString

If provided, only resources versions updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, 2015-02- 07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z. The time must be specified to the second and include a time zone. Corresponds to the JSON property _since

Returns:

  • (String)


2894
2895
2896
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2894

def _since
  @_since
end

#_typeString

String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported. Corresponds to the JSON property _type

Returns:

  • (String)


2900
2901
2902
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2900

def _type
  @_type
end

#gcs_destinationGoogle::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination

The configuration for exporting to Cloud Storage. Corresponds to the JSON property gcsDestination



2905
2906
2907
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2905

def gcs_destination
  @gcs_destination
end

#max_resource_versionsFixnum

If provided and non-zero, places a limit on the number of resource versions that are returned for a given resource. For example, if the limit is 100 and a resource has over 100 versions, only the 100 most recent versions will be returned. Must be positive. Corresponds to the JSON property maxResourceVersions

Returns:

  • (Fixnum)


2913
2914
2915
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2913

def max_resource_versions
  @max_resource_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2920
2921
2922
2923
2924
2925
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2920

def update!(**args)
  @_since = args[:_since] if args.key?(:_since)
  @_type = args[:_type] if args.key?(:_type)
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
  @max_resource_versions = args[:max_resource_versions] if args.key?(:max_resource_versions)
end