Class: Google::Apis::HealthcareV1beta1::GcsDestination

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

The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the roles/storage.objectAdmin Cloud IAM roles on the Cloud Storage location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsDestination

Returns a new instance of GcsDestination.



3585
3586
3587
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3585

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

Instance Attribute Details

#content_structureString

The format of the exported HL7v2 message files. Corresponds to the JSON property contentStructure

Returns:

  • (String)


3570
3571
3572
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3570

def content_structure
  @content_structure
end

#message_viewString

Specifies the parts of the Message resource to include in the export. If not specified, FULL is used. Corresponds to the JSON property messageView

Returns:

  • (String)


3576
3577
3578
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3576

def message_view
  @message_view
end

#uri_prefixString

URI of an existing Cloud Storage directory where the server writes result files, in the format gs://bucket-id/path/to/destination/dir`. If there is no trailing slash, the service appends one when composing the object path. Corresponds to the JSON propertyuriPrefix`

Returns:

  • (String)


3583
3584
3585
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3583

def uri_prefix
  @uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3590
3591
3592
3593
3594
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3590

def update!(**args)
  @content_structure = args[:content_structure] if args.key?(:content_structure)
  @message_view = args[:message_view] if args.key?(:message_view)
  @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
end