
src.healthcare.v1.ConsentArtifact.scala Maven / Gradle / Ivy
package besom.api.googlenative.healthcare.v1
final case class ConsentArtifact private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
consentContentScreenshots: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.healthcare.v1.outputs.ImageResponse]],
consentContentVersion: besom.types.Output[String],
consentStoreId: besom.types.Output[String],
datasetId: besom.types.Output[String],
guardianSignature: besom.types.Output[besom.api.googlenative.healthcare.v1.outputs.SignatureResponse],
location: besom.types.Output[String],
metadata: besom.types.Output[scala.Predef.Map[String, String]],
name: besom.types.Output[String],
project: besom.types.Output[String],
userId: besom.types.Output[String],
userSignature: besom.types.Output[besom.api.googlenative.healthcare.v1.outputs.SignatureResponse],
witnessSignature: besom.types.Output[besom.api.googlenative.healthcare.v1.outputs.SignatureResponse]
) extends besom.CustomResource
object ConsentArtifact extends besom.ResourceCompanion[ConsentArtifact]:
/** Resource constructor for ConsentArtifact.
*
* @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
* NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
* issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
* string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
*
* @param args [[ConsentArtifactArgs]] The configuration to use to create this resource.
*
* @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource.
* Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
*
* {{{
* val res = ConsentArtifact(
* "my-resource",
* ConsentArtifactArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: ConsentArtifactArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[ConsentArtifact] =
ctx.readOrRegisterResource[ConsentArtifact, ConsentArtifactArgs]("google-native:healthcare/v1:ConsentArtifact", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:healthcare/v1:ConsentArtifact"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[ConsentArtifact] =
besom.internal.ResourceDecoder.derived[ConsentArtifact]
given decoder(using besom.types.Context): besom.types.Decoder[ConsentArtifact] =
besom.internal.Decoder.customResourceDecoder[ConsentArtifact]
given outputOps: {} with
extension(output: besom.types.Output[ConsentArtifact])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def consentContentScreenshots : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.healthcare.v1.outputs.ImageResponse]] = output.flatMap(_.consentContentScreenshots)
def consentContentVersion : besom.types.Output[String] = output.flatMap(_.consentContentVersion)
def consentStoreId : besom.types.Output[String] = output.flatMap(_.consentStoreId)
def datasetId : besom.types.Output[String] = output.flatMap(_.datasetId)
def guardianSignature : besom.types.Output[besom.api.googlenative.healthcare.v1.outputs.SignatureResponse] = output.flatMap(_.guardianSignature)
def location : besom.types.Output[String] = output.flatMap(_.location)
def metadata : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.metadata)
def name : besom.types.Output[String] = output.flatMap(_.name)
def project : besom.types.Output[String] = output.flatMap(_.project)
def userId : besom.types.Output[String] = output.flatMap(_.userId)
def userSignature : besom.types.Output[besom.api.googlenative.healthcare.v1.outputs.SignatureResponse] = output.flatMap(_.userSignature)
def witnessSignature : besom.types.Output[besom.api.googlenative.healthcare.v1.outputs.SignatureResponse] = output.flatMap(_.witnessSignature)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy