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.



2978
2979
2980
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2978

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)


2957
2958
2959
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2957

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)


2963
2964
2965
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2963

def _type
  @_type
end

#gcs_destinationGoogle::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination

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



2968
2969
2970
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2968

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)


2976
2977
2978
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2976

def max_resource_versions
  @max_resource_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2983
2984
2985
2986
2987
2988
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2983

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