AnalystAgentPersonaArtifactsConfigSlideGenerationOptionsSlideExampleResourceGoogleDriveResource.fromMap constructor
AnalystAgentPersonaArtifactsConfigSlideGenerationOptionsSlideExampleResourceGoogleDriveResource.fromMap()
Implementation
factory AnalystAgentPersonaArtifactsConfigSlideGenerationOptionsSlideExampleResourceGoogleDriveResource.fromMap(Map<String, dynamic> map) {
return AnalystAgentPersonaArtifactsConfigSlideGenerationOptionsSlideExampleResourceGoogleDriveResource(
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); })(),
);
}