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

src.vmmigration.v1.GroupArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.vmmigration.v1

final case class GroupArgs private(
  description: besom.types.Output[scala.Option[String]],
  displayName: besom.types.Output[scala.Option[String]],
  groupId: besom.types.Output[String],
  location: besom.types.Output[scala.Option[String]],
  migrationTargetType: besom.types.Output[scala.Option[besom.api.googlenative.vmmigration.v1.enums.GroupMigrationTargetType]],
  project: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]]
)

object GroupArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    displayName: besom.types.Input.Optional[String] = scala.None,
    groupId: besom.types.Input[String],
    location: besom.types.Input.Optional[String] = scala.None,
    migrationTargetType: besom.types.Input.Optional[besom.api.googlenative.vmmigration.v1.enums.GroupMigrationTargetType] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GroupArgs =
    new GroupArgs(
      description = description.asOptionOutput(isSecret = false),
      displayName = displayName.asOptionOutput(isSecret = false),
      groupId = groupId.asOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      migrationTargetType = migrationTargetType.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy