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

src.cloudasset.v1.FeedArgs.scala Maven / Gradle / Ivy

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

final case class FeedArgs private(
  assetNames: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  assetTypes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  condition: besom.types.Output[scala.Option[besom.api.googlenative.cloudasset.v1.inputs.ExprArgs]],
  contentType: besom.types.Output[scala.Option[besom.api.googlenative.cloudasset.v1.enums.FeedContentType]],
  feedId: besom.types.Output[String],
  feedOutputConfig: besom.types.Output[besom.api.googlenative.cloudasset.v1.inputs.FeedOutputConfigArgs],
  name: besom.types.Output[String],
  relationshipTypes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  v1Id: besom.types.Output[String],
  v1Id1: besom.types.Output[String]
)

object FeedArgs:
  def apply(
    assetNames: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    assetTypes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    condition: besom.types.Input.Optional[besom.api.googlenative.cloudasset.v1.inputs.ExprArgs] = scala.None,
    contentType: besom.types.Input.Optional[besom.api.googlenative.cloudasset.v1.enums.FeedContentType] = scala.None,
    feedId: besom.types.Input[String],
    feedOutputConfig: besom.types.Input[besom.api.googlenative.cloudasset.v1.inputs.FeedOutputConfigArgs],
    name: besom.types.Input[String],
    relationshipTypes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    v1Id: besom.types.Input[String],
    v1Id1: besom.types.Input[String]
  )(using besom.types.Context): FeedArgs =
    new FeedArgs(
      assetNames = assetNames.asOptionOutput(isSecret = false),
      assetTypes = assetTypes.asOptionOutput(isSecret = false),
      condition = condition.asOptionOutput(isSecret = false),
      contentType = contentType.asOptionOutput(isSecret = false),
      feedId = feedId.asOutput(isSecret = false),
      feedOutputConfig = feedOutputConfig.asOutput(isSecret = false),
      name = name.asOutput(isSecret = false),
      relationshipTypes = relationshipTypes.asOptionOutput(isSecret = false),
      v1Id = v1Id.asOutput(isSecret = false),
      v1Id1 = v1Id1.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy