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

src.apigee.v1.EnvironmentArgs.scala Maven / Gradle / Ivy

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

final case class EnvironmentArgs private(
  apiProxyType: besom.types.Output[scala.Option[besom.api.googlenative.apigee.v1.enums.EnvironmentApiProxyType]],
  deploymentType: besom.types.Output[scala.Option[besom.api.googlenative.apigee.v1.enums.EnvironmentDeploymentType]],
  description: besom.types.Output[scala.Option[String]],
  displayName: besom.types.Output[scala.Option[String]],
  forwardProxyUri: besom.types.Output[scala.Option[String]],
  hasAttachedFlowHooks: besom.types.Output[scala.Option[Boolean]],
  name: besom.types.Output[scala.Option[String]],
  nodeConfig: besom.types.Output[scala.Option[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1NodeConfigArgs]],
  organizationId: besom.types.Output[String],
  properties: besom.types.Output[scala.Option[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1PropertiesArgs]],
  `type`: besom.types.Output[scala.Option[besom.api.googlenative.apigee.v1.enums.EnvironmentType]]
)

object EnvironmentArgs:
  def apply(
    apiProxyType: besom.types.Input.Optional[besom.api.googlenative.apigee.v1.enums.EnvironmentApiProxyType] = scala.None,
    deploymentType: besom.types.Input.Optional[besom.api.googlenative.apigee.v1.enums.EnvironmentDeploymentType] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    displayName: besom.types.Input.Optional[String] = scala.None,
    forwardProxyUri: besom.types.Input.Optional[String] = scala.None,
    hasAttachedFlowHooks: besom.types.Input.Optional[Boolean] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    nodeConfig: besom.types.Input.Optional[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1NodeConfigArgs] = scala.None,
    organizationId: besom.types.Input[String],
    properties: besom.types.Input.Optional[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1PropertiesArgs] = scala.None,
    `type`: besom.types.Input.Optional[besom.api.googlenative.apigee.v1.enums.EnvironmentType] = scala.None
  )(using besom.types.Context): EnvironmentArgs =
    new EnvironmentArgs(
      apiProxyType = apiProxyType.asOptionOutput(isSecret = false),
      deploymentType = deploymentType.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      displayName = displayName.asOptionOutput(isSecret = false),
      forwardProxyUri = forwardProxyUri.asOptionOutput(isSecret = false),
      hasAttachedFlowHooks = hasAttachedFlowHooks.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      nodeConfig = nodeConfig.asOptionOutput(isSecret = false),
      organizationId = organizationId.asOutput(isSecret = false),
      properties = properties.asOptionOutput(isSecret = false),
      `type` = `type`.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy