All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.cloudiot.v1.GetDeviceArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.cloudiot.v1

final case class GetDeviceArgs private(
  deviceId: besom.types.Output[String],
  fieldMask: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  registryId: besom.types.Output[String]
)

object GetDeviceArgs:
  def apply(
    deviceId: besom.types.Input[String],
    fieldMask: besom.types.Input.Optional[String] = scala.None,
    location: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    registryId: besom.types.Input[String]
  )(using besom.types.Context): GetDeviceArgs =
    new GetDeviceArgs(
      deviceId = deviceId.asOutput(isSecret = false),
      fieldMask = fieldMask.asOptionOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      registryId = registryId.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[GetDeviceArgs] =
    besom.internal.Encoder.derived[GetDeviceArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetDeviceArgs] =
    besom.internal.ArgsEncoder.derived[GetDeviceArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy