src.index.inputs.EndpointConfigurationOauthProviderGoogleArgs.scala Maven / Gradle / Ivy
package besom.api.ngrok.inputs
final case class EndpointConfigurationOauthProviderGoogleArgs private(
clientId: besom.types.Output[scala.Option[String]],
clientSecret: besom.types.Output[scala.Option[String]],
emailAddresses: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
emailDomains: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
scopes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]]
)
object EndpointConfigurationOauthProviderGoogleArgs:
def apply(
clientId: besom.types.Input.Optional[String] = scala.None,
clientSecret: besom.types.Input.Optional[String] = scala.None,
emailAddresses: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
emailDomains: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
scopes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None
)(using besom.types.Context): EndpointConfigurationOauthProviderGoogleArgs =
new EndpointConfigurationOauthProviderGoogleArgs(
clientId = clientId.asOptionOutput(isSecret = false),
clientSecret = clientSecret.asOptionOutput(isSecret = true),
emailAddresses = emailAddresses.asOptionOutput(isSecret = false),
emailDomains = emailDomains.asOptionOutput(isSecret = false),
scopes = scopes.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[EndpointConfigurationOauthProviderGoogleArgs] =
besom.internal.Encoder.derived[EndpointConfigurationOauthProviderGoogleArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointConfigurationOauthProviderGoogleArgs] =
besom.internal.ArgsEncoder.derived[EndpointConfigurationOauthProviderGoogleArgs]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy