AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProvider.fromMap constructor

AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProvider.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProvider.fromMap(Map<String, dynamic> map) {
  return AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProvider(
    allowedIssuers: (() { final guardedValue = map['allowedIssuers']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
    audiences: (() { final guardedValue = map['audiences']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
  );
}