AnalystAgentPersonaArtifactsConfigDocumentGenerationOptionsDocumentExampleResourceGoogleDriveResource.fromMap constructor
AnalystAgentPersonaArtifactsConfigDocumentGenerationOptionsDocumentExampleResourceGoogleDriveResource.fromMap()
Implementation
factory AnalystAgentPersonaArtifactsConfigDocumentGenerationOptionsDocumentExampleResourceGoogleDriveResource.fromMap(Map<String, dynamic> map) {
return AnalystAgentPersonaArtifactsConfigDocumentGenerationOptionsDocumentExampleResourceGoogleDriveResource(
fileExtensionRestrictions: (() { final guardedValue = map['fileExtensionRestrictions']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
fileReference: (() { final guardedValue = map['fileReference']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}