class Google::Apis::HealthcareV1::Image

Raw bytes representing consent artifact content.

Attributes

gcs_uri[RW]

Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://`bucket_id`/`object_id` `. The Cloud Healthcare API service account must have the `roles/storage. objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes. Corresponds to the JSON property `gcsUri` @return [String]

raw_bytes[RW]

Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response. Corresponds to the JSON property `rawBytes` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 2318
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 2323
def update!(**args)
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
  @raw_bytes = args[:raw_bytes] if args.key?(:raw_bytes)
end