ImageResponse

data class ImageResponse(val gcsUri: String, val rawBytes: String)

Raw bytes representing consent artifact content.

Constructors

Link copied to clipboard
fun ImageResponse(gcsUri: String, rawBytes: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.